Home
last modified time | relevance | path

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

12345678910>>...50

/PHP-7.2/ext/mbstring/libmbfl/filters/
H A Dmk_emoji_tbl.pl80 $s = $key;
85 $docomo_v[$key-$docomo_min] = $docomo{$key};
188 $s = $key;
196 $kddi_v1[$key-$kddi_min1] = $kddi{$key};
198 $kddi_v2[$key-$kddi_min2] = $kddi{$key};
308 $s = $key;
311 $v = $key - $sb_min1;
315 $sb_v1[$key-$sb_min1] = $softbank{$key};
317 $sb_v2[$key-$sb_min2] = $softbank{$key};
319 $sb_v3[$key-$sb_min3] = $softbank{$key};
[all …]
/PHP-7.2/ext/standard/tests/array/
H A Darray_key_exists_variation8.phpt116 -- $key arguments are int data:
121 -- $key arguments are float data:
148 -- $key arguments are unset data:
152 -- $key arguments are int data:
188 -- $key arguments are int data:
224 -- $key arguments are int data:
260 -- $key arguments are int data:
296 -- $key arguments are int data:
332 -- $key arguments are int data:
368 -- $key arguments are int data:
[all …]
H A Deach.phpt116 ["key"]=>
127 ["key"]=>
139 ["key"]=>
150 ["key"]=>
162 ["key"]=>
173 ["key"]=>
185 ["key"]=>
195 ["key"]=>
205 ["key"]=>
215 ["key"]=>
[all …]
H A Dkey_error.phpt2 Test key() function : error conditions - Pass incorrect number of args
5 /* Prototype : mixed key(array $array_arg)
11 * Pass incorrect number of arguments to key() to test behaviour
14 echo "*** Testing key() : error conditions ***\n";
17 echo "\n-- Testing key() function with Zero arguments --\n";
18 var_dump( key() );
24 var_dump( key($array_arg, $extra_arg) );
28 *** Testing key() : error conditions ***
30 -- Testing key() function with Zero arguments --
32 Warning: key() expects exactly 1 parameter, 0 given in %s on line %d
[all …]
/PHP-7.2/ext/intl/tests/
H A Dcollator_get_sort_key_variant7.phpt60 key: 2a2c2e01070107
62 key: 2a2c3001070107
64 key: 2a2a2a01070107
68 key: 610601050105
70 key: 5c01050105
72 key: 0101
74 key: 0101
76 key: 1901050105
78 key: 5a01050105
80 key: 3a01050105
[all …]
H A Dcollator_get_sort_key_variant5.phpt61 key: 292b2d01070107
63 key: 292b2f01070107
65 key: 29292901070107
69 key: 600601050105
71 key: 5b01050105
73 key: 0101
75 key: 0101
77 key: 1801050105
79 key: 5901050105
81 key: 3901050105
[all …]
H A Dcollator_get_sort_key_variant6.phpt61 key: 292b2d01070107
63 key: 292b2f01070107
65 key: 29292901070107
69 key: 600601050105
71 key: 5b01050105
73 key: 0101
75 key: 0101
77 key: 1801050105
79 key: 5901050105
81 key: 3901050105
[all …]
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.phpt61 key: 27292b01070107
63 key: 27292d01070107
65 key: 27272701070107
69 key: 5c0a01050105
71 key: 5901050105
73 key: 0101
75 key: 0101
77 key: 1801050105
79 key: 5701050105
81 key: 3701050105
[all …]
H A Dcollator_get_sort_key_variant3.phpt61 key: 292b2d01070107
63 key: 292b2f01070107
65 key: 29292901070107
69 key: 5e0901050105
71 key: 5b01050105
73 key: 0101
75 key: 0101
77 key: 1a01050105
79 key: 5901050105
81 key: 3901050105
[all …]
H A Dcollator_get_sort_key_variant4.phpt61 key: 292b2d01070107
63 key: 292b2f01070107
65 key: 29292901070107
69 key: 5e0601050105
71 key: 5b01050105
73 key: 0101
75 key: 0101
77 key: 1a01050105
79 key: 5901050105
81 key: 3901050105
[all …]
/PHP-7.2/ext/dba/libinifile/
H A Dinifile.c132 if (key->group && *key->group) { in inifile_key_string()
134 spprintf(&result, 0, "[%s]%s", key->group, key->name ? key->name : ""); in inifile_key_string()
250 …if (skip == -1 && dba->next.key.group && dba->next.key.name && !inifile_key_cmp(&dba->next.key, ke… in inifile_fetch()
264 if (!(res=inifile_key_cmp(&ln.key, key))) { in inifile_fetch()
303 ln.key.group = estrdup(dba->curr.key.group ? dba->curr.key.group : ""); in inifile_nextkey()
307 return ln.key.group || ln.key.name; in inifile_nextkey()
338 if (key->group && strlen(key->group)) { in inifile_find_group()
372 ln.key.group = estrdup(key->group); in inifile_next_group()
374 if (inifile_key_cmp(&ln.key, key) == 2) { in inifile_next_group()
426 switch(inifile_key_cmp(&ln.key, key)) { in inifile_filter()
[all …]
/PHP-7.2/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-7.2/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: ";
63 sub-key 'non_existent' is not set.
64 sub-key 1 is set: string(1) "o"
66 sub-sub-key 'sub_sub' is not set.
69 sub-key 'non_existent' is empty.
[all …]
/PHP-7.2/ext/standard/
H A Dmail.c128 if (*(key->val+len) < 33 || *(key->val+len) > 126 || *(key->val+len) == ':') { in php_mail_build_headers_check_field_name()
189 zend_string *key; in php_mail_build_headers() local
196 if (!key) { in php_mail_build_headers()
203 if (!strncasecmp("orig-date", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers()
210 if (!strncasecmp("from", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers()
217 if (!strncasecmp("sender", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers()
224 if (!strncasecmp("reply-to", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers()
231 if (!strncasecmp("to", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers()
235 if (!strncasecmp("cc", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers()
242 if (!strncasecmp("bcc", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers()
[all …]
H A Dphp_mail.h32 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument
35 php_mail_build_headers_elem(&s, key, val); \
37 if (!strncasecmp(target, ZSTR_VAL(key), ZSTR_LEN(key))) { \
41 php_mail_build_headers_elems(&s, key, val); \
43 …LL, E_WARNING, "Extra header element '%s' cannot be other than string or array.", ZSTR_VAL(key)); \
48 #define PHP_MAIL_BUILD_HEADER_DEFAULT(s, key, val) \ argument
51 php_mail_build_headers_elem(&s, key, val); \
53 php_mail_build_headers_elems(&s, key, val); \
55 …LL, E_WARNING, "Extra header element '%s' cannot be other than string or array.", ZSTR_VAL(key)); \
/PHP-7.2/ext/gd/
H A Dgdcache.c151 int key; member
156 cacheTest( void *map, void *key ) in cacheTest() argument
158 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-7.2/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-7.2/ext/opcache/
H A Dzend_accelerator_hash.c99 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_update()
136 entry->key = key; in zend_accel_hash_update()
157 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_find_ex()
184 ZSTR_VAL(key), in zend_accel_hash_find()
185 ZSTR_LEN(key), in zend_accel_hash_find()
186 zend_string_hash_val(key), in zend_accel_hash_find()
197 ZSTR_VAL(key), in zend_accel_hash_find_entry()
198 ZSTR_LEN(key), in zend_accel_hash_find_entry()
210 key, in zend_accel_hash_str_find()
223 key, in zend_accel_hash_str_find_entry()
[all …]
/PHP-7.2/ext/openssl/tests/
H A D001.phpt2 OpenSSL private key functions
10 echo "Creating private key\n";
16 die("failed to create private key");
20 $key_file_name = __DIR__ . '/001-tmp.key';
25 echo "Export key to file\n";
42 echo "Load key using direct syntax\n";
66 Creating private key
67 Export key to file
69 Load key from file - array syntax
70 Load key using direct syntax
[all …]
H A Dopenssl_pkey_export_basic.phpt2 openssl_pkey_export() with EC key
12 $key = openssl_pkey_get_private('file://' . dirname(__FILE__) . '/private_ec.key');
13 var_dump($key);
20 // Load the private key from the exported pem string
24 // Export key with passphrase
25 openssl_pkey_export($key, $output, 'passphrase', $config_arg);
30 // Read public key
33 // The details are the same for a public or private key, expect the private key parameter 'd
42 var_dump(is_resource($key));
47 resource(%d) of type (OpenSSL key)
[all …]
/PHP-7.2/ext/hash/tests/
H A Dhash_hmac_basic.phpt17 $key = 'secret';
19 echo "gost: " . hash_hmac('gost', $content, $key) . "\n";
21 echo "md2: " . hash_hmac('md2', $content, $key) . "\n";
22 echo "md4: " . hash_hmac('md4', $content, $key) . "\n";
23 echo "md5: " . hash_hmac('md5', $content, $key) . "\n";
24 echo "ripemd128: " . hash_hmac('ripemd128', $content, $key) . "\n";
28 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n";
29 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n";
30 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n";
31 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n";
[all …]
/PHP-7.2/ext/mbstring/oniguruma/src/
H A Dst.c20 st_data_t key; member
59 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key)) argument
60 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins) argument
279 entry->key = key;\
311 st_data_t key;
409 if (EQUAL(table, *key, ptr->key)) {
413 *key = ptr->key;
419 if (EQUAL(table, ptr->next->key, *key)) {
424 *key = tmp->key;
452 if ((ptr->key != never) && EQUAL(table, ptr->key, *key)) {
[all …]
/PHP-7.2/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-7.2/ext/dba/
H A Ddba_cdb.c141 # 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
146 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument
250 char *key; in DBA_FIRSTKEY_FUNC() local
273 efree(key); in DBA_FIRSTKEY_FUNC()
274 key = NULL; in DBA_FIRSTKEY_FUNC()
283 return key; in DBA_FIRSTKEY_FUNC()
291 char *key; in DBA_NEXTKEY_FUNC() local
305 efree(key); in DBA_NEXTKEY_FUNC()
306 key = NULL; in DBA_NEXTKEY_FUNC()
[all …]

Completed in 68 milliseconds

12345678910>>...50