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

1234567891011

/PHP_TRUNK/ext/exif/
H A Dexample.php16 foreach($exif as $key=>$section) {
18 echo "$key.$name: $val<br>\n";
/PHP_TRUNK/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) {
H A Dnocvsdir.php44 return new NoCvsDirectory($this->key());
/PHP_TRUNK/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_TRUNK/ext/gd/libgd/
H A Dgdcache.c153 int key; member in struct:__anon139
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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/ext/gd/
H A Dgdcache.c151 int key; member in struct:__anon63
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_TRUNK/ext/opcache/
H A Dzend_persist.h26 uint zend_accel_script_persist_calc(zend_persistent_script *script, char *key, unsigned int key_length);
27 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length);
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 zend_string *key);
80 zend_string *key);
84 char *key,
89 char *key,
94 char *key,
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, uint32_t 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 static zend_always_inline void* zend_accel_hash_find_ex(zend_accel_hash *accel_hash, char *key, uint32_t key_length, zend_ulong hash_value, int data) argument
148 && !memcmp(entry->key, key, key_lengt
171 zend_accel_hash_find(zend_accel_hash *accel_hash, zend_string *key) argument
184 zend_accel_hash_find_entry(zend_accel_hash *accel_hash, zend_string *key) argument
197 zend_accel_hash_str_find(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
210 zend_accel_hash_str_find_entry(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
220 zend_accel_hash_unlink(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_iterator.c35 zend_ulong key; member in struct:php_com_iterator
74 static void com_iter_get_key(zend_object_iterator *iter, zval *key) argument
78 if (I->key == (zend_ulong)-1) {
79 ZVAL_NULL(key);
81 ZVAL_LONG(key, I->key);
102 I->key++;
105 I->key = (ulong)-1;
110 if (I->key >= (ULONG) I->sa_max) {
111 I->key
[all...]
/PHP_TRUNK/ext/dba/
H A Ddba_cdb.c141 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len)
142 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len)
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_TRUNK/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) argument
328 inifile_find_group(inifile *dba, const key_type *key, size_t *pos_grp_start) argument
365 inifile_next_group(inifile *dba, const key_type *key, size_t *pos_grp_start) argument
416 inifile_filter(inifile *dba, inifile *from, const key_type *key, zend_bool *found) argument
464 inifile_delete_replace_append(inifile *dba, const key_type *key, const val_type *value, int append, zend_bool *found) argument
567 inifile_delete(inifile *dba, const key_type *key) argument
575 inifile_delete_ex(inifile *dba, const key_type *key, zend_bool *found) argument
583 inifile_replace(inifile *dba, const key_type *key, const val_type *value) argument
591 inifile_replace_ex(inifile *dba, const key_type *key, const val_type *value, zend_bool *found) argument
599 inifile_append(inifile *dba, const key_type *key, const val_type *value) argument
[all...]
H A Dinifile.h34 key_type key; member in struct:__anon59
48 val_type inifile_fetch(inifile *dba, const key_type *key, int skip);
51 int inifile_delete(inifile *dba, const key_type *key);
52 int inifile_delete_ex(inifile *dba, const key_type *key, zend_bool *found);
53 int inifile_replace(inifile *dba, const key_type *key, const val_type *val);
54 int inifile_replace_ex(inifile *dba, const key_type *key, const val_type *val, zend_bool *found);
55 int inifile_append(inifile *dba, const key_type *key, const val_type *val);
59 char * inifile_key_string(const key_type *key);
61 void inifile_key_free(key_type *key);
/PHP_TRUNK/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_TRUNK/ext/zip/lib/
H A Dzip_source_pkware.c42 zip_uint32_t key[3]; member in struct:trad_pkware
82 ctx->key[0] = KEY0;
83 ctx->key[1] = KEY1;
84 ctx->key[2] = KEY2;
109 tmp = (zip_uint16_t)(ctx->key[2] | 2);
119 ctx->key[0] = (zip_uint32_t)crc32(ctx->key[0] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL;
120 ctx->key[1] = (ctx->key[1] + (ctx->key[
[all...]
/PHP_TRUNK/ext/json/
H A Djson_parser.y49 zend_string *key;
65 %type <value> start object key value array errlex
70 %destructor { zend_string_release($$.key); zval_dtor(&$$.val); } <pair>
76 int php_json_parser_object_update(php_json_parser *parser, zval *object, zend_string *key, zval *zvalue);
133 if (php_json_parser_object_update(parser, &$$, $1.key, &$1.val) == FAILURE)
138 if (php_json_parser_object_update(parser, &$1, $3.key, &$3.val) == FAILURE)
149 key ':' value
151 $$.key = Z_STR($1);
154 | key errlex
202 key label
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_user_class.c75 zend_string *key; local
79 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &key) == FAILURE) {
83 if (PS(default_mod)->s_read(&PS(mod_data), key, &val, PS(gc_maxlifetime)) == FAILURE) {
96 zend_string *key, *val; local
100 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS", &key, &val) == FAILURE) {
104 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, PS(gc_maxlifetime)));
112 zend_string *key; local
116 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &key) == FAILURE) {
120 RETURN_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key));
163 zend_string *key; local
180 zend_string *key, *val; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_hash.h47 zend_string *key; member in struct:_zend_hash_key
68 ZEND_API zval* ZEND_FASTCALL _zend_hash_add_or_update(HashTable *ht, zend_string *key, zval *pData, uint32_t flag ZEND_FILE_LINE_DC);
69 ZEND_API zval* ZEND_FASTCALL _zend_hash_update(HashTable *ht, zend_string *key,zval *pData ZEND_FILE_LINE_DC);
70 ZEND_API zval* ZEND_FASTCALL _zend_hash_update_ind(HashTable *ht, zend_string *key,zval *pData ZEND_FILE_LINE_DC);
71 ZEND_API zval* ZEND_FASTCALL _zend_hash_add(HashTable *ht, zend_string *key,zval *pData ZEND_FILE_LINE_DC);
72 ZEND_API zval* ZEND_FASTCALL _zend_hash_add_new(HashTable *ht, zend_string *key,zval *pData ZEND_FILE_LINE_DC);
74 #define zend_hash_update(ht, key, pData) \
75 _zend_hash_update(ht, key, pData ZEND_FILE_LINE_CC)
76 #define zend_hash_update_ind(ht, key, pData) \
77 _zend_hash_update_ind(ht, key, pDat
245 _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *idx) argument
270 zend_hash_find_ind(const HashTable *ht, zend_string *key) argument
280 zend_hash_exists_ind(const HashTable *ht, zend_string *key) argument
300 zend_symtable_update(HashTable *ht, zend_string *key, zval *pData) argument
312 zend_symtable_update_ind(HashTable *ht, zend_string *key, zval *pData) argument
324 zend_symtable_del(HashTable *ht, zend_string *key) argument
336 zend_symtable_del_ind(HashTable *ht, zend_string *key) argument
348 zend_symtable_find(const HashTable *ht, zend_string *key) argument
360 zend_symtable_find_ind(const HashTable *ht, zend_string *key) argument
372 zend_symtable_exists(HashTable *ht, zend_string *key) argument
455 zend_hash_add_ptr(HashTable *ht, zend_string *key, void *pData) argument
469 zend_hash_add_new_ptr(HashTable *ht, zend_string *key, void *pData) argument
511 zend_hash_update_ptr(HashTable *ht, zend_string *key, void *pData) argument
539 zend_hash_add_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
565 zend_hash_update_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
664 zend_hash_find_ptr(const HashTable *ht, zend_string *key) argument
890 _zend_hash_append(HashTable *ht, zend_string *key, zval *zv) argument
912 _zend_hash_append_ptr(HashTable *ht, zend_string *key, void *ptr) argument
934 _zend_hash_append_ind(HashTable *ht, zend_string *key, zval *ptr) argument
[all...]

Completed in 83 milliseconds

1234567891011