| /PHP_TRUNK/ext/exif/ |
| H A D | example.php | 16 foreach($exif as $key=>$section) { 18 echo "$key.$name: $val<br>\n";
|
| /PHP_TRUNK/ext/spl/examples/ |
| H A D | callbackfilteriterator.inc | 24 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 D | dba_dump.php | 38 foreach($db as $key => $val) { 39 echo "'$key' => '$val'\n";
|
| H A D | dbareader.inc | 21 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 D | directorytree.php | 32 foreach(new LimitIterator(new DirectoryTreeIterator($argv[1]), @$argv[2], $length) as $key=>$file) {
|
| /PHP_TRUNK/ext/standard/ |
| H A D | crypt_blowfish.h | 24 extern char *php_crypt_blowfish_rn(const char *key, const char *setting,
|
| H A D | php_crypt_r.h | 44 /*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/zip/lib/ |
| H A D | zip_source_pkware.c | 45 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_TRUNK/win32/build/ |
| H A D | registersyslog.php | 14 $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 D | gdcache.c | 153 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 D | mk_emoji_tbl.pl | 79 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 D | st.c | 20 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/Zend/ |
| H A D | zend_variables.c | 192 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_TRUNK/ext/dba/ |
| H A D | dba_cdb.c | 141 # 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_TRUNK/ext/dba/libinifile/ |
| H A D | inifile.c | 39 * 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 D | inifile.h | 34 key_type key; member in struct:__anon59 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_TRUNK/ext/hash/ |
| H A D | hash_gost.c | 38 #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...] |
| /PHP_TRUNK/ext/session/ |
| H A D | mod_user_class.c | 74 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_TRUNK/sapi/apache2filter/ |
| H A D | php_apache.h | 64 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \ 70 key = elts[i].key; \
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_bt.c | 44 #define TRACE_APPEND_KEY(key) \ 45 if (zend_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \
|
| /PHP_TRUNK/ext/com_dotnet/ |
| H A D | com_iterator.c | 35 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_TRUNK/ext/opcache/ |
| H A D | zend_accelerator_hash.c | 72 * 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 D | zend_accelerator_hash.h | 37 '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 D | zend_persist.h | 26 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_TRUNK/ext/gd/ |
| H A D | gdcache.c | 151 int key; member in struct:__anon1 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...] |