Home
last modified time | relevance | path

Searched refs:key (Results 251 – 275 of 1229) sorted by relevance

1...<<11121314151617181920>>...50

/php-src/Zend/Optimizer/
H A Dcompact_literals.c103 ZSTR_H(key) = zend_string_hash_func(key); in add_static_slot()
104 ZSTR_H(key) += kind; in add_static_slot()
115 zend_string_release_ex(key, 0); in add_static_slot()
123 ZSTR_H(key) = zend_string_hash_val(key) + bias; in bias_key()
134 zend_string *key; in create_str_cache_key() local
137 key = zend_string_concat2( in create_str_cache_key()
142 key = zend_string_concat3( in create_str_cache_key()
150 bias_key(key, num_related - 1); in create_str_cache_key()
151 return key; in create_str_cache_key()
166 zend_string *key = NULL; in zend_optimizer_compact_literals() local
[all …]
/php-src/ext/standard/tests/array/
H A Dnext_basic.phpt12 echo key($array) . " => " . current($array) . "\n";
15 echo key($array) . " => " . current($array) . "\n";
18 echo key($array) . " => " . current($array) . "\n";
H A Darray_search.phpt8 $arr3 = array('c','key'=>'d');
9 $arr4 = array("a\0b"=>'e','key'=>'d', 'f');
28 string(3) "key"
H A Darray_rand_variation4.phpt16 /*1*/ array(1 => 'one', 2 => 2, 1234567890 => 'big', -1 => 'negative key',
17 0 => "zero key"),
21 '12twelve' => 12.00, "" => 'empty string', " " => "space key"),
35 "NULL" => 'key5', "\n" => 'newline as key',
36 "\t" => "tab as key", "'" => 'single quote as key',
37 '"' => 'double quote as key', "\0" => "null char as key")
H A Darray_flip_variation2.phpt25 // default key
26 'one', //expected: default key 0, value will be replaced by 'bool_key4'
35 'key' => 'string_key1',
51 // binary key
79 string(3) "key"
H A Darray_walk_basic2.phpt10 function test_alter(&$item, $key, $prefix)
15 var_dump($key); // key
20 function test_print($item, $key)
25 var_dump($key); // key
H A Darray_walk_recursive_basic2.phpt10 function test_alter(&$item, $key, $prefix)
15 var_dump($key); // key
20 function test_print($item, $key)
25 var_dump($key); // key
/php-src/ext/opcache/tests/jit/
H A Dgh12812.phpt2 GH-12812: JIT: Integer string in variable used as offset produces wrong undefined array key warning
25 Warning: Undefined array key 7 in %s on line %d
28 Warning: Undefined array key 7 in %s on line %d
/php-src/ext/spl/tests/
H A Ddualiterator.inc109 /** @return key value depending on KEY_* flags
111 function key(): mixed
117 return $this->lhs->key();
119 return $this->rhs->key();
134 * current and key values or both are non valid.
140 && $this->lhs->key() === $this->rhs->key()
145 * and key values or both are non valid.
151 && $this->lhs->key() == $this->rhs->key()
H A Diterator_034.phpt64 function key(): int
67 return parent::key();
127 RecursiveArrayIteratorIterator::key()
137 RecursiveArrayIteratorIterator::key()
147 RecursiveArrayIteratorIterator::key()
153 RecursiveArrayIteratorIterator::key()
165 RecursiveArrayIteratorIterator::key()
171 RecursiveArrayIteratorIterator::key()
/php-src/ext/sysvshm/tests/
H A D005.phpt13 $key = ftok(__FILE__, 't');
14 $s = shm_attach($key, 1024);
41 Warning: shm_get_var(): Variable key 1000 doesn't exist in %s005.php on line %d
44 Warning: shm_get_var(): Variable key -10000 doesn't exist in %s005.php on line %d
/php-src/ext/phar/tests/tar/
H A Dphar_buildfromiterator4.phpt25 function key(): mixed {
26 echo "key\n";
27 return key($this->a);
52 key
H A Dphar_buildfromiterator9.phpt25 function key(): mixed {
26 echo "key\n";
27 return key($this->a);
52 key
H A Dphar_buildfromiterator7.phpt25 function key(): mixed {
26 echo "key\n";
27 return key($this->a);
51 key
/php-src/ext/phar/tests/zip/
H A Dphar_buildfromiterator9.phpt25 function key(): mixed {
26 echo "key\n";
27 return key($this->a);
51 key
H A Dphar_buildfromiterator4.phpt25 function key(): mixed {
26 echo "key\n";
27 return key($this->a);
51 key
H A Dphar_buildfromiterator7.phpt25 function key(): mixed {
26 echo "key\n";
27 return key($this->a);
51 key
/php-src/ext/dba/
H A Ddba_db4.c153 gkey.data = ZSTR_VAL(key);
154 gkey.size = ZSTR_LEN(key);
176 gkey.data = ZSTR_VAL(key);
177 gkey.size = ZSTR_LEN(key);
197 gkey.data = ZSTR_VAL(key);
198 gkey.size = ZSTR_LEN(key);
221 gkey.data = ZSTR_VAL(key);
222 gkey.size = ZSTR_LEN(key);
247 zend_string *key = NULL; local
258 key = zend_string_init(gkey.data, gkey.size, /* persistent */ false);
[all …]
/php-src/tests/lang/
H A DforeachLoopObjects.001.phpt2 Foreach loop on objects - basic loop with just value and key => value.
23 echo "\nCheck key and value after the loop.\n";
34 echo "\nCheck key and value after the loop.\n";
49 Check key and value after the loop.
65 Check key and value after the loop.
/php-src/ext/phar/tests/
H A Dphar_buildfromiterator7.phpt25 function key(): mixed {
26 echo "key\n";
27 return key($this->a);
51 key
H A Dphar_buildfromiterator9.phpt25 function key(): mixed {
26 echo "key\n";
27 return key($this->a);
57 key
/php-src/TSRM/
H A Dtsrm_win32.h26 key_t key; member
102 TSRM_API int shmget(key_t key, size_t size, int flags);
103 TSRM_API void *shmat(int key, const void *shmaddr, int flags);
105 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
/php-src/Zend/tests/generators/
H A Dgh8289.phpt9 public function key(): mixed {
10 if ($k = parent::key()) {
31 #0 %s(%d): IteratorIterator@anonymous->key()
/php-src/ext/standard/
H A Dcrypt_freesec.c377 (uint32_t)(uint8_t)key[3] | in des_setkey()
378 ((uint32_t)(uint8_t)key[2] << 8) | in des_setkey()
380 ((uint32_t)(uint8_t)key[0] << 24); in des_setkey()
382 (uint32_t)(uint8_t)key[7] | in des_setkey()
383 ((uint32_t)(uint8_t)key[6] << 8) | in des_setkey()
385 ((uint32_t)(uint8_t)key[4] << 24); in des_setkey()
624 *q++ = *key << 1; in _crypt_extended_r()
625 if (*key) in _crypt_extended_r()
626 key++; in _crypt_extended_r()
653 while (*key) { in _crypt_extended_r()
[all …]
/php-src/ext/hash/
H A Dhash.c582 char *data, *key; in PHP_FUNCTION() local
599 char *data, *key; in PHP_FUNCTION() local
636 if (!key || (ZSTR_LEN(key) == 0)) { in PHP_FUNCTION()
652 hash->key = NULL; in PHP_FUNCTION()
667 memcpy(K, ZSTR_VAL(key), ZSTR_LEN(key)); in PHP_FUNCTION()
814 efree(hash->key); in PHP_FUNCTION()
815 hash->key = NULL; in PHP_FUNCTION()
1218 if (key) { in PHP_FUNCTION()
1349 efree(key); in PHP_FUNCTION()
1382 if (hash->key) { in php_hashcontext_dtor()
[all …]

Completed in 49 milliseconds

1...<<11121314151617181920>>...50