| /PHP_5_4/ext/dba/tests/ |
| H A D | dba_handler.inc | 29 echo dba_exists("key$i", $db_file) ? "Y" : "N"; 49 dba_insert("key number 6", "The 6th value", $db_writer); 50 @dba_insert("key number 6", "The 6th value inserted again would be an error", $db_writer); 54 echo dba_fetch("key number 6", $db_writer)."\n"; 61 $key = dba_firstkey($db_file); 63 while($key) { 64 $res[$key] = dba_fetch($key, $db_file); 65 $key = dba_nextkey($db_file);
|
| /PHP_5_4/ext/exif/ |
| H A D | example.php | 16 foreach($exif as $key=>$section) { 18 echo "$key.$name: $val<br>\n";
|
| /PHP_5_4/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 | dbaarray.inc | 47 * @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 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) {
|
| H A D | nocvsdir.php | 44 return new NoCvsDirectory($this->key());
|
| /PHP_5_4/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_5_4/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_5_4/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_5_4/ext/gd/ |
| H A D | gdcache.c | 146 int key; member in struct:__anon121 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/gd/libgd/ |
| H A D | gdcache.c | 153 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 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_5_4/ext/mbstring/oniguruma/ |
| H A D | st.c | 36 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/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_5_4/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...] |
| H A D | dba_inifile.c | 44 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 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:__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 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_5_4/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_5_4/ext/sysvsem/ |
| H A D | php_sysvsem.h | 41 int key; /* For error reporting. */ member in struct:__anon258
|
| /PHP_5_4/sapi/apache2filter/ |
| H A D | php_apache.h | 64 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \ 70 key = elts[i].key; \
|