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

12345678

/PHP_5_3/ext/dba/tests/
H A Ddba_handler.inc29 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_3/ext/exif/
H A Dexample.php16 foreach($exif as $key=>$section) {
18 echo "$key.$name: $val<br>\n";
/PHP_5_3/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
69 * @param $name key to write to
80 * @return whether key $name exists.
88 * Delete a key/value pair.
90 * @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_3/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_3/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_3/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_3/ext/gd/
H A Dgdcache.c146 int key; member in struct:__anon118
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_3/ext/gd/libgd/
H A Dgdcache.c153 int key; member in struct:__anon134
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_3/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_3/ext/com_dotnet/
H A Dcom_iterator.c35 ulong key; member in struct:php_com_iterator
82 if (I->key == (ulong)-1) {
85 *int_key = I->key;
106 I->key++;
109 I->key = (ulong)-1;
114 if (I->key >= (ULONG) I->sa_max) {
115 I->key = (ulong)-1;
118 I->key++;
119 if (php_com_safearray_get_elem(&I->safe_array, &I->v, (LONG)I->key TSRMLS_CC) == 0) {
120 I->key
[all...]
/PHP_5_3/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_3/ext/dba/libinifile/
H A Dinifile.c40 * ret = 1 key already exists - nothing done
51 void inifile_key_free(key_type *key) argument
53 if (key->group) {
54 efree(key->group);
56 if (key->name) {
57 efree(key->name);
59 memset(key, 0, sizeof(key_type));
76 inifile_key_free(&ln->key);
116 key_type key; local
120 key
131 inifile_key_string(const key_type *key) argument
246 inifile_fetch(inifile *dba, const key_type *key, int skip TSRMLS_DC) argument
329 inifile_find_group(inifile *dba, const key_type *key, size_t *pos_grp_start TSRMLS_DC) argument
366 inifile_next_group(inifile *dba, const key_type *key, size_t *pos_grp_start TSRMLS_DC) argument
462 inifile_delete_replace_append(inifile *dba, const key_type *key, const val_type *value, int append TSRMLS_DC) argument
573 inifile_replace(inifile *dba, const key_type *key, const val_type *value TSRMLS_DC) argument
581 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:__anon39
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_3/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...]
/PHP_5_3/ext/sysvsem/
H A Dphp_sysvsem.h41 int key; /* For error reporting. */ member in struct:__anon231
H A Dsysvsem.c61 ZEND_ARG_INFO(0, key)
116 * same key. Semaphore 0 (SYSVSEM_SEM) is the actual semaphore, it is
186 /* {{{ proto resource sem_get(int key [, int max_acquire [, int perm [, int auto_release]])
187 Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously */
190 long key, max_acquire = 1, perm = 0666, auto_release = 1; local
196 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|lll", &key, &max_acquire, &perm, &auto_release)) {
206 semid = semget(key, 3, perm|IPC_CREAT);
208 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno));
240 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed acquiring SYSVSEM_SETVAL for key
[all...]
/PHP_5_3/sapi/apache2filter/
H A Dphp_apache.h64 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \
70 key = elts[i].key; \

Completed in 79 milliseconds

12345678