Searched refs:key (Results 1 - 25 of 256) sorted by relevance

1234567891011

/PHP_5_6/ext/gd/
H A Dgdcache.c151 int key; member in struct:__anon122
156 cacheTest( void *map, void *key )
158 return (((key_value_t *)map)->key == *(int *)key);
162 cacheFetch( char **error, void *key )
170 map->key = *(int *)key;
187 int elem, key; local
191 key = 20;
192 elem = *(int *)gdCacheGet(cacheTable, &key);
[all...]
/PHP_5_6/ext/gd/libgd/
H A Dgdcache.c153 int key; member in struct:__anon144
159 cacheTest (void *map, void *key) argument
161 return (((key_value_t *) map)->key == *(int *) key);
165 cacheFetch (char **error, void *key) argument
170 map->key = *(int *) key;
187 int elem, key; local
191 key = 20;
192 elem = *(int *) gdCacheGet (cacheTable, &key);
[all...]
/PHP_5_6/ext/spl/examples/
H A Dcallbackfilteriterator.inc24 const USE_KEY = 3; /**< mode: pass key to callback */
25 const USE_BOTH = 4; /**< mode: pass value and key to callback */
27 const REPLACE = 0x00000001; /**< flag: pass key/value by reference */
32 private $key; /**< key value */
55 $this->key = parent::key();
72 return (bool) call_user_func($this->callback, &$this->key);
74 return (bool) call_user_func($this->callback, $this->key);
78 return (bool) call_user_func($this->callback, &$this->key,
[all...]
H A Ddba_dump.php38 foreach($db as $key => $val) {
39 echo "'$key' => '$val'\n";
H A Ddbareader.inc21 private $key = false;
47 $this->key = dba_firstkey($this->db);
57 $this->key = dba_nextkey($this->db);
62 * Fetches the current data if $key is valid
65 if ($this->key !== false) {
66 $this->val = dba_fetch($this->key, $this->db);
81 if ($this->db && $this->key !== false) {
89 * @return Current key.
91 function key() {
92 return $this->key;
[all...]
H A Ddirectorytree.php32 foreach(new LimitIterator(new DirectoryTreeIterator($argv[1]), @$argv[2], $length) as $key=>$file) {
/PHP_5_6/ext/exif/
H A Dexample.php16 foreach($exif as $key=>$section) {
18 echo "$key.$name: $val<br>\n";
/PHP_5_6/ext/standard/
H A Dcrypt_blowfish.h24 extern char *php_crypt_blowfish_rn(const char *key, const char *setting,
H A Dphp_crypt_r.h44 /*PHPAPI char* crypt(const char *key, const char *salt);*/
52 extern char * php_sha512_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
53 extern char * php_sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
/PHP_5_6/ext/mbstring/oniguruma/
H A Dst.c20 st_data_t key; member in struct:st_table_entry
59 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
60 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins)
218 #define PTR_NOT_EQUAL(table, ptr, hash_val, key) \
219 ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
230 if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) {\
232 while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\
[all...]
/PHP_5_6/ext/mbstring/libmbfl/filters/
H A Dmk_emoji_tbl.pl79 foreach $key (sort {hex($a) <=> hex($b)} keys(%docomo)) {
80 $s = $key;
83 $v = $key - $docomo_min;
84 #print "$ku:$pos - ". $v ."=> $docomo{$key}\n";
85 $docomo_v[$key-$docomo_min] = $docomo{$key};
107 foreach $key (sort {hex($a) <=> hex($b)} keys(%to_docomo)) {
108 $s = $to_docomo{$key};
112 $v = $to_docomo{$key} - $to_docomo_min;
114 #print "$ku:$pos = $h ($v) <= $key\
[all...]
/PHP_5_6/win32/build/
H A Dregistersyslog.php14 $key = @reg_create_key(HKEY_LOCAL_MACHINE, $PATH, KEY_ALL_ACCESS); variable
16 if (!$key)
17 $key = reg_open_key(HKEY_LOCAL_MACHINE, $PATH, KEY_ALL_ACCESS); variable
19 if ($key) {
20 reg_set_value($key, "TypesSupported", REG_DWORD, 7) or die("Types");
21 reg_set_value($key, "EventMessageFile", REG_SZ, $dll) or die("EventMessageFile");
/PHP_5_6/ext/zip/lib/
H A Dzip_source_pkware.c45 zip_uint32_t key[3];
89 ctx->key[0] = KEY0;
90 ctx->key[1] = KEY1;
91 ctx->key[2] = KEY2;
118 tmp = (zip_uint16_t)(ctx->key[2] | 2);
128 ctx->key[0] = (zip_uint32_t)crc32(ctx->key[0] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL;
129 ctx->key[1] = (ctx->key[1] + (ctx->key[
44 zip_uint32_t key[3]; member in struct:trad_pkware
[all...]
/PHP_5_6/ext/com_dotnet/
H A Dcom_iterator.c35 ulong key; member in struct:php_com_iterator
77 static void com_iter_get_key(zend_object_iterator *iter, zval *key TSRMLS_DC)
81 if (I->key == (ulong)-1) {
82 ZVAL_NULL(key);
84 ZVAL_LONG(key, I->key);
105 I->key++;
108 I->key = (ulong)-1;
113 if (I->key >= (ULONG) I->sa_max) {
114 I->key
[all...]
/PHP_5_6/ext/dba/
H A Ddba_cdb.c141 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len TSRMLS_CC)
142 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len TSRMLS_CC)
145 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len)
146 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len)
159 if (php_cdb_find(&cdb->c, key, keylen) == 1) {
161 if (php_cdb_findnext(&cdb->c, key, keyle
250 char *key; local
291 char *key; local
[all...]
/PHP_5_6/ext/hash/
H A Dhash_gost.c38 #define R(tables, key, h, i, t, l, r) \
41 round(tables, key[0], key[1]) \
42 round(tables, key[2], key[3]) \
43 round(tables, key[4], key[5]) \
44 round(tables, key[6], key[7]) \
45 round(tables, key[
213 php_hash_uint32 l, r, t, key[8], u[8], v[8], w[8], s[8], *h = context->state, *m = data; local
[all...]
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_bt.c44 #define TRACE_APPEND_KEY(key) \
45 if (zend_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \
/PHP_5_6/ext/opcache/
H A Dzend_accelerator_hash.c72 * key needs to be already allocated as it is not copied
74 zend_accel_hash_entry* zend_accel_hash_update(zend_accel_hash *accel_hash, char *key, zend_uint key_length, zend_bool indirect, void *data) argument
88 hash_value = zend_inline_hash_func(key, key_length);
96 && !memcmp(entry->key, key, key_length)) {
133 entry->key = key;
140 /* Returns the data associated with key on success
143 void* zend_accel_hash_find(zend_accel_hash *accel_hash, char *key, zend_uint key_length) argument
149 hash_value = zend_inline_hash_func(key, key_lengt
171 zend_accel_hash_find_entry(zend_accel_hash *accel_hash, char *key, zend_uint key_length) argument
196 zend_accel_hash_unlink(zend_accel_hash *accel_hash, char *key, zend_uint key_length) argument
[all...]
H A Dzend_accelerator_hash.h37 'key' and 'data' passed to zend_accel_hash_update() must be already
49 char *key; member in struct:_zend_accel_hash_entry
69 char *key,
76 char *key,
81 char *key,
86 char *key,
H A Dzend_persist.h26 uint zend_accel_script_persist_calc(zend_persistent_script *script, char *key, unsigned int key_length TSRMLS_DC);
27 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length TSRMLS_DC);
/PHP_5_6/ext/session/
H A Dmod_user_class.c74 char *key, *val; local
79 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) {
83 if (PS(default_mod)->s_read(&PS(mod_data), key, &val, &val_len TSRMLS_CC) == FAILURE) {
98 char *key, *val; local
103 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &val, &val_len) == FAILURE) {
107 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, val_len TSRMLS_CC));
115 char *key; local
120 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) {
124 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key TSRMLS_CC));
/PHP_5_6/ext/dba/libinifile/
H A Dinifile.c39 * ret = 1 key already exists - nothing done
50 void inifile_key_free(key_type *key) argument
52 if (key->group) {
53 efree(key->group);
55 if (key->name) {
56 efree(key->name);
58 memset(key, 0, sizeof(key_type));
75 inifile_key_free(&ln->key);
115 key_type key; local
119 key
130 inifile_key_string(const key_type *key) argument
245 inifile_fetch(inifile *dba, const key_type *key, int skip TSRMLS_DC) argument
328 inifile_find_group(inifile *dba, const key_type *key, size_t *pos_grp_start TSRMLS_DC) argument
365 inifile_next_group(inifile *dba, const key_type *key, size_t *pos_grp_start TSRMLS_DC) argument
461 inifile_delete_replace_append(inifile *dba, const key_type *key, const val_type *value, int append TSRMLS_DC) argument
572 inifile_replace(inifile *dba, const key_type *key, const val_type *value TSRMLS_DC) argument
580 inifile_append(inifile *dba, const key_type *key, const val_type *value TSRMLS_DC) argument
[all...]
H A Dinifile.h34 key_type key; member in struct:__anon14
48 val_type inifile_fetch(inifile *dba, const key_type *key, int skip TSRMLS_DC);
51 int inifile_delete(inifile *dba, const key_type *key TSRMLS_DC);
52 int inifile_replace(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
53 int inifile_append(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
57 char * inifile_key_string(const key_type *key);
59 void inifile_key_free(key_type *key);
/PHP_5_6/sapi/apache2filter/
H A Dphp_apache.h60 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \
66 key = elts[i].key; \
/PHP_5_6/Zend/
H A Dzend_variables.c197 ZEND_API int zval_copy_static_var(zval **p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
209 if (zend_hash_quick_find(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, (void **) &p) == FAILURE) {
213 zend_hash_quick_add(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zval*), (void**)&p);
216 zend_error(E_NOTICE,"Undefined variable: %s", key->arKey);
235 if (zend_hash_quick_add(target, key->arKey, key
[all...]

Completed in 133 milliseconds

1234567891011