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

123456789

/PHP_5_4/ext/exif/
H A Dexample.php16 foreach($exif as $key=>$section) {
18 echo "$key.$name: $val<br>\n";
/PHP_5_4/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 Ddbaarray.inc47 * @param $name key to read from
66 * @param $name key to write to
77 * @return whether key $name exists.
85 * Delete a key/value pair.
87 * @param $name key to delete.
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 Dinigroups.inc23 * relation. Doing so both current() and key() methods must be overwritten.
26 * key() would be needed.
43 return substr(parent::key(),1,-1);
49 function key() {
50 return substr(parent::key(),1,-1);
H A Dnocvsdir.php44 return new NoCvsDirectory($this->key());
/PHP_5_4/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_4/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_4/ext/gd/libgd/
H A Dgdcache.c153 int key; member in struct:__anon137
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_4/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_4/ext/zip/lib/
H A Dzip_source_pkware.c45 zip_uint32_t key[3];
96 ctx->key[0] = KEY0;
97 ctx->key[1] = KEY1;
98 ctx->key[2] = KEY2;
125 tmp = ctx->key[2] | 2;
135 ctx->key[0] = CRC32(ctx->key[0], b);
136 ctx->key[1] = (ctx->key[1] + (ctx->key[
44 zip_uint32_t key[3]; member in struct:trad_pkware
[all...]
/PHP_5_4/ext/gd/
H A Dgdcache.c146 int key; member in struct:__anon43
151 cacheTest( void *map, void *key )
153 return (((key_value_t *)map)->key == *(int *)key);
157 cacheFetch( char **error, void *key )
165 map->key = *(int *)key;
182 int elem, key; local
186 key = 20;
187 elem = *(int *)gdCacheGet(cacheTable, &key);
[all...]
/PHP_5_4/ext/mbstring/oniguruma/
H A Dst.c36 st_data_t key; member in struct:st_table_entry
75 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
76 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins)
234 #define PTR_NOT_EQUAL(table, ptr, hash_val, key) \
235 ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
246 if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) {\
248 while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\
[all...]
/PHP_5_4/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_4/ext/sysvsem/
H A Dphp_sysvsem.h41 int key; /* For error reporting. */ member in struct:__anon274
/PHP_5_4/sapi/apache2filter/
H A Dphp_apache.h64 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \
70 key = elts[i].key; \
/PHP_5_4/Zend/
H A Dzend_variables.c192 ZEND_API int zval_copy_static_var(zval **p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
204 if (zend_hash_quick_find(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, (void **) &p) == FAILURE) {
208 zend_hash_quick_add(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zval*), (void**)&p);
211 zend_error(E_NOTICE,"Undefined variable: %s", key->arKey);
230 if (zend_hash_quick_add(target, key->arKey, key
[all...]
/PHP_5_4/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...]
H A Ddba_inifile.c44 if (!key) { \
45 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No key specified"); \
48 ini_key = inifile_key_split((char*)key) /* keylen not needed here */
98 php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Operation not possible");
104 php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Key already exists");
143 char *result = inifile_key_string(&dba->curr.key);
155 if (!dba->curr.key.group && !dba->curr.key.name) {
160 char *result = inifile_key_string(&dba->curr.key);
/PHP_5_4/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:__anon57
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_4/ext/hash/
H A Dhash_gost.c38 #define R(key, h, i, t, l, r) \
41 round(key[0], key[1]) \
42 round(key[2], key[3]) \
43 round(key[4], key[5]) \
44 round(key[6], key[7]) \
45 round(key[
213 php_hash_uint32 l, r, t, key[8], u[8], v[8], w[8], s[8], *h = state, *m = data; local
[all...]

Completed in 40 milliseconds

123456789