Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 1228) sorted by relevance

12345678910>>...50

/php-src/ext/dom/lexbor/lexbor/core/
H A Dshs.c16 (((((key[0] * key[size - 1]) * key[0]) + size) % table_size) + 0x01)
35 const lxb_char_t *key, size_t key_len) in lexbor_shs_entry_get_static() argument
38 entry = root + lexbor_shs_make_id_m(key, key_len, root->key_len); in lexbor_shs_entry_get_static()
40 while (entry->key != NULL) in lexbor_shs_entry_get_static()
43 if (lexbor_str_data_ncmp((const lxb_char_t *) entry->key, in lexbor_shs_entry_get_static()
44 key, key_len)) in lexbor_shs_entry_get_static()
64 const lxb_char_t *key, size_t key_len) in lexbor_shs_entry_get_lower_static() argument
69 while (entry->key != NULL) in lexbor_shs_entry_get_lower_static()
73 key, key_len)) in lexbor_shs_entry_get_lower_static()
98 while (entry->key != NULL) in lexbor_shs_entry_get_upper_static()
[all …]
H A Dshs.h20 char *key; member
29 uint32_t key; member
39 const lxb_char_t *key, size_t size);
43 const lxb_char_t *key, size_t key_len);
47 const lxb_char_t *key, size_t key_len);
54 const size_t table_size, const uint32_t key) in lexbor_shs_hash_get_static() argument
58 entry = &table[ (key % table_size) + 1 ]; in lexbor_shs_hash_get_static()
61 if (entry->key == key) { in lexbor_shs_hash_get_static()
/php-src/ext/standard/tests/array/
H A Darray_key_exists_variation8.phpt98 -- $key arguments are int data:
123 -- $key arguments are unset data:
127 -- $key arguments are int data:
156 -- $key arguments are int data:
185 -- $key arguments are int data:
214 -- $key arguments are int data:
243 -- $key arguments are int data:
272 -- $key arguments are int data:
301 -- $key arguments are int data:
330 -- $key arguments are int data:
[all …]
/php-src/ext/intl/tests/
H A Dcollator_get_sort_key.phpt62 key: 27292b01070107
64 key: 27292d01070107
66 key: 27272701070107
70 key: 5c0a01050105
72 key: 5901050105
74 key: 0101
76 key: 0101
78 key: 1801050105
80 key: 5701050105
82 key: 3701050105
[all …]
H A Dcollator_get_sort_key_variant2.phpt62 key: 27292b01070107
64 key: 27292d01070107
66 key: 27272701070107
68 key: 5c0a0a01060106
70 key: 5c0a01050105
72 key: 5901050105
74 key: 0101
76 key: 1801050105
78 key: 5701050105
80 key: 3701050105
[all …]
H A Dcollator_get_sort_key_variant3.phpt62 key: 292b2d01070107
64 key: 292b2f01070107
66 key: 29292901070107
68 key: 5e090901060106
70 key: 5e0901050105
72 key: 5b01050105
74 key: 0101
76 key: 1a01050105
78 key: 5901050105
80 key: 3901050105
[all …]
H A Dcollator_get_sort_key_variant4.phpt62 key: 292b2d01070107
64 key: 292b2f01070107
66 key: 29292901070107
68 key: 5e060601060106
70 key: 5e0601050105
72 key: 5b01050105
74 key: 0101
76 key: 1a01050105
78 key: 5901050105
80 key: 3901050105
[all …]
H A Dcollator_get_sort_key_variant5.phpt62 key: 292b2d01070107
64 key: 292b2f01070107
66 key: 29292901070107
68 key: 60060601060106
70 key: 600601050105
72 key: 5b01050105
74 key: 0101
76 key: 1801050105
78 key: 5901050105
80 key: 3901050105
[all …]
H A Dcollator_get_sort_key_variant6.phpt62 key: 292b2d01070107
64 key: 292b2f01070107
66 key: 29292901070107
68 key: 60060601060106
70 key: 600601050105
72 key: 5b01050105
74 key: 0101
76 key: 1801050105
78 key: 5901050105
80 key: 3901050105
[all …]
H A Dcollator_get_sort_key_variant7.phpt61 key: 2a2c2e01070107
63 key: 2a2c3001070107
65 key: 2a2a2a01070107
67 key: 61060601060106
69 key: 610601050105
71 key: 5c01050105
73 key: 0101
75 key: 1901050105
77 key: 5a01050105
79 key: 3a01050105
[all …]
/php-src/ext/dba/libinifile/
H A Dinifile.c130 if (key->group && *key->group) { in inifile_key_string()
132 spprintf(&result, 0, "[%s]%s", key->group, key->name ? key->name : ""); in inifile_key_string()
246 …if (skip == -1 && dba->next.key.group && dba->next.key.name && !inifile_key_cmp(&dba->next.key, ke… in inifile_fetch()
260 if (!(res=inifile_key_cmp(&ln.key, key))) { in inifile_fetch()
297 ln.key.group = estrdup(dba->curr.key.group ? dba->curr.key.group : ""); in inifile_nextkey()
301 return ln.key.group || ln.key.name; in inifile_nextkey()
331 if (key->group && strlen(key->group)) { in inifile_find_group()
365 ln.key.group = estrdup(key->group); in inifile_next_group()
367 if (inifile_key_cmp(&ln.key, key) == 2) { in inifile_next_group()
418 switch(inifile_key_cmp(&ln.key, key)) { in inifile_filter()
[all …]
/php-src/ext/gd/libgd/
H A Dgdcache.c153 int key; member
159 cacheTest (void *map, void *key) in cacheTest() argument
161 return (((key_value_t *) map)->key == *(int *) key); in cacheTest()
170 map->key = *(int *) key; in cacheFetch()
187 int elem, key; in main() local
191 key = 20; in main()
193 key = 30; in main()
195 key = 40; in main()
197 key = 50; in main()
199 key = 30; in main()
[all …]
/php-src/Zend/tests/
H A Dbug60362.phpt14 echo "sub-key 1 is set: ";
17 echo "sub-key 1 is not set.\n";
22 echo "sub-key 'sub_sub' is set: ";
28 echo "sub-sub-key 0 is set: ";
42 echo "sub-key 1 is empty.\n";
44 echo "sub-key 1 is not empty: ";
64 sub-key 'non_existent' is not set.
65 sub-key 1 is set: string(1) "o"
67 sub-sub-key 'sub_sub' is not set.
70 sub-key 'non_existent' is empty.
[all …]
/php-src/ext/hash/tests/
H A Dhash_hmac_basic.phpt9 $key = 'secret';
11 echo "gost: " . hash_hmac('gost', $content, $key) . "\n";
12 echo "haval128,3: " . hash_hmac('haval128,3', $content, $key) . "\n";
13 echo "md2: " . hash_hmac('md2', $content, $key) . "\n";
14 echo "md4: " . hash_hmac('md4', $content, $key) . "\n";
15 echo "md5: " . hash_hmac('md5', $content, $key) . "\n";
20 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n";
21 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n";
22 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n";
23 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n";
[all …]
H A Dhash_hmac_file_basic.phpt28 $key = 'secret';
31 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n";
33 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n";
34 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n";
35 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
36 echo "ripemd128: " . hash_hmac_file('ripemd128', $file, $key) . "\n";
40 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n";
41 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n";
42 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n";
43 echo "sha512: " . hash_hmac_file('sha512', $file, $key) . "\n";
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dbug47859.phpt2 Bug #47859 (parse_ini_file() does not like asterisk (*) in key in the beginning)
5 var_dump(parse_ini_string('*key = "*value"'));
6 var_dump(parse_ini_string('-key = "-value"'));
9 var_dump(parse_ini_string('key* = "value*"'));
10 var_dump(parse_ini_string('key.*.* = "value.*.*"'));
11 var_dump(parse_ini_string('*.*.key = "*.*.value"'));
16 ["*key"]=>
20 ["-key"]=>
28 ["key*"]=>
32 ["key.*.*"]=>
[all …]
/php-src/ext/spl/tests/
H A Dbug80724.phpt6 foreach ($iterator as $key => $value) {
7 echo var_dump(hasSeparator($key));
11 echo var_dump(hasSeparator($iterator->key()));
14 echo var_dump(hasSeparator($iterator->key()));
17 echo var_dump(hasSeparator($iterator->key()));
20 foreach ($iterator2 as $key => $value) {
21 echo var_dump(hasSeparator($key));
25 echo var_dump(hasSeparator($iterator2->key()));
28 echo var_dump(hasSeparator($iterator2->key()));
31 echo var_dump(hasSeparator($iterator2->key()));
[all …]
/php-src/ext/opcache/tests/jit/
H A Dreg_alloc_023.phpt12 if (isset($this->a[$key])) {
13 foreach ($this->a[$key] as $i => $data) {
16 unset($this->a[$key][$i]);
21 if (isset($this->type_map[$key])) {
22 foreach ($this->b[$key] as $map_start => $_) {
24 unset($this->b[$key][$map_start]);
28 if (isset($this->c[$key])) {
29 foreach ($this->c[$key] as $map_start => $_) {
31 unset($this->c[$key][$map_start]);
35 if (isset($this->d[$key])) {
[all …]
/php-src/ext/dba/
H A Ddba_cdb.c137 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len) argument
138 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument
141 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len) argument
142 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument
155 if (php_cdb_find(&cdb->c, ZSTR_VAL(key), ZSTR_LEN(key)) == 1) { in DBA_FETCH_FUNC()
197 if (php_cdb_find(&cdb->c, ZSTR_VAL(key), ZSTR_LEN(key)) == 1) in DBA_EXISTS_FUNC()
244 zend_string *key; in DBA_FIRSTKEY_FUNC() local
268 key = NULL; in DBA_FIRSTKEY_FUNC()
276 return key; in DBA_FIRSTKEY_FUNC()
299 key = NULL; in DBA_NEXTKEY_FUNC()
[all …]
/php-src/ext/openssl/tests/
H A D001.phpt2 OpenSSL private key functions
11 echo "Creating private key\n";
17 die("failed to create private key");
21 $key_file_name = __DIR__ . '/001-tmp.key';
26 echo "Export key to file\n";
43 echo "Load key using direct syntax\n";
72 Creating private key
73 Export key to file
75 Load key from file - array syntax
78 Load key using direct syntax
[all …]
/php-src/ext/standard/
H A Dmail.c110 while (len < key->len) { in php_mail_build_headers_check_field_name()
111 if (*(key->val+len) < 33 || *(key->val+len) > 126 || *(key->val+len) == ':') { in php_mail_build_headers_check_field_name()
152 smart_str_append(s, key); in php_mail_build_headers_elem()
158 php_mail_build_headers_elems(s, key, val); in php_mail_build_headers_elem()
181 php_mail_build_headers_elem(s, key, tmp_val); in php_mail_build_headers_elems()
189 zend_string *key; in php_mail_build_headers() local
193 ZEND_HASH_FOREACH_KEY_VAL(headers, idx, key, val) { in php_mail_build_headers()
194 if (!key) { in php_mail_build_headers()
211 PHP_MAIL_BUILD_HEADER_CHECK("cc", s, key, val); in php_mail_build_headers()
213 PHP_MAIL_BUILD_HEADER_CHECK("bcc", s, key, val); in php_mail_build_headers()
[all …]
H A Dphp_mail.h25 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument
28 php_mail_build_headers_elem(&s, key, val); \
30 if (zend_string_equals_literal_ci(key, target)) { \
34 php_mail_build_headers_elems(&s, key, val); \
36 …zend_type_error("Header \"%s\" must be of type array|string, %s given", ZSTR_VAL(key), zend_zval_v…
41 #define PHP_MAIL_BUILD_HEADER_DEFAULT(s, key, val) \ argument
44 php_mail_build_headers_elem(&s, key, val); \
46 php_mail_build_headers_elems(&s, key, val); \
48 …zend_type_error("Header \"%s\" must be of type array|string, %s given", ZSTR_VAL(key), zend_zval_v…
/php-src/ext/sodium/tests/
H A Dcrypto_aead.phpt17 $key = sodium_crypto_aead_chacha20poly1305_keygen();
20 $ciphertext = sodium_crypto_aead_chacha20poly1305_encrypt($msg, $ad, $nonce, $key);
21 $msg2 = sodium_crypto_aead_chacha20poly1305_decrypt($ciphertext, $ad, $nonce, $key);
40 $key = sodium_crypto_aead_chacha20poly1305_ietf_keygen();
69 $key = sodium_crypto_aead_xchacha20poly1305_ietf_keygen();
97 $key = sodium_crypto_aead_aes256gcm_keygen();
98 $ciphertext = sodium_crypto_aead_aes256gcm_encrypt($msg, $ad, $nonce, $key);
123 $key = sodium_crypto_aead_aegis128l_keygen();
124 $ciphertext = sodium_crypto_aead_aegis128l_encrypt($msg, $ad, $nonce, $key);
149 $key = sodium_crypto_aead_aegis256_keygen();
[all …]
/php-src/tests/lang/
H A DforeachLoop.009.phpt55 key: 0; value: original.0
56 key: 1; value: original.1
57 key: 2; value: original.2
60 key: 0; value: original.0
61 key: 1; value: original.1
64 key: 0; value: original.0
65 key: 1; value: original.1
72 key: 3; value: new.0
73 key: 4; value: new.1
74 key: 5; value: new.2
[all …]
/php-src/Zend/tests/weakrefs/
H A Dweakrefs_006.phpt30 ["key"]=>
38 ["key"]=>
46 ["key"]=>
54 ["key"]=>
62 ["key"]=>
70 ["key"]=>
78 ["key"]=>
86 ["key"]=>
94 ["key"]=>
102 ["key"]=>
[all …]

Completed in 62 milliseconds

12345678910>>...50