Home
last modified time | relevance | path

Searched refs:key (Results 226 – 250 of 1053) sorted by path

12345678910>>...43

/PHP-7.4/ext/gd/
H A Dgd.c4098 zend_string *key; in php_imagettftext_common() local
4101 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(EXT), key, item) { in php_imagettftext_common()
4102 if (key == NULL) { in php_imagettftext_common()
4105 if (strcmp("linespacing", ZSTR_VAL(key)) == 0) { in php_imagettftext_common()
/PHP-7.4/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 …]
H A Dgdft.c337 static int fontTest (void *element, void *key) in fontTest() argument
340 fontkey_t *b = (fontkey_t *) key; in fontTest()
364 static void *fontFetch (char **error, void *key) argument
367 fontkey_t *b = (fontkey_t *) key;
558 static int tweenColorTest (void *element, void *key) argument
561 tweencolorkey_t *b = (tweencolorkey_t *) key;
575 static void * tweenColorFetch (char **error, void *key) argument
578 tweencolorkey_t *b = (tweencolorkey_t *) key;
/PHP-7.4/ext/gd/tests/
H A Dimagecolorallocate_variation5.phpt40 foreach($values as $key => $value) {
41 echo "\n--$key--\n";
H A Dimagecolorallocate_variation6.phpt32 foreach($values as $key => $value) {
33 echo "\n--$key--\n";
/PHP-7.4/ext/hash/
H A Dhash.c370 if (!key || (ZSTR_LEN(key) == 0)) { in PHP_FUNCTION()
386 hash->key = NULL; in PHP_FUNCTION()
401 memcpy(K, ZSTR_VAL(key), ZSTR_LEN(key)); in PHP_FUNCTION()
552 efree(hash->key); in PHP_FUNCTION()
553 hash->key = NULL; in PHP_FUNCTION()
1106 efree(key); in PHP_FUNCTION()
1143 if (hash->key) { in php_hashcontext_dtor()
1145 efree(hash->key); in php_hashcontext_dtor()
1146 hash->key = NULL; in php_hashcontext_dtor()
1171 if (oldobj->key) { in php_hashcontext_clone()
[all …]
H A Dhash_gost.c39 round(tables, key[0], key[1]) \
40 round(tables, key[2], key[3]) \
41 round(tables, key[4], key[5]) \
42 round(tables, key[6], key[7]) \
43 round(tables, key[0], key[1]) \
44 round(tables, key[2], key[3]) \
45 round(tables, key[4], key[5]) \
46 round(tables, key[6], key[7]) \
47 round(tables, key[0], key[1]) \
48 round(tables, key[2], key[3]) \
[all …]
H A Dphp_hash.h54 unsigned char *key; member
/PHP-7.4/ext/hash/tests/
H A Dbug52240.phpt2 Bug #52240 (hash_copy() does not copy the HMAC key, causes wrong results and PHP crashes)
H A Dhash_hkdf_basic.phpt13 $ikm = 'input key material';
H A Dhash_hkdf_edges.phpt13 $ikm = 'input key material';
H A Dhash_hkdf_error.phpt11 $ikm = 'input key material';
H A Dhash_hmac_basic.phpt15 $key = 'secret';
17 echo "gost: " . hash_hmac('gost', $content, $key) . "\n";
19 echo "md2: " . hash_hmac('md2', $content, $key) . "\n";
20 echo "md4: " . hash_hmac('md4', $content, $key) . "\n";
21 echo "md5: " . hash_hmac('md5', $content, $key) . "\n";
22 echo "ripemd128: " . hash_hmac('ripemd128', $content, $key) . "\n";
26 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n";
27 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n";
28 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n";
29 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n";
[all …]
H A Dhash_hmac_error.phpt6 * proto string hash_hmac ( string algo, string data, string key [, bool raw_output] )
13 $key = 'secret';
22 var_dump(hash_hmac('md5', $data, $key, TRUE, $extra_arg));
25 var_dump(hash_hmac('foo', $data, $key));
28 var_dump(hash_hmac('crc32', $data, $key));
H A Dhash_hmac_file_basic.phpt34 $key = 'secret';
37 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n";
39 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n";
40 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n";
41 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
46 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n";
47 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n";
48 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n";
49 echo "sha512: " . hash_hmac_file('sha512', $file, $key) . "\n";
50 echo "snefru: " . hash_hmac_file('snefru', $file, $key) . "\n";
[all …]
H A Dhash_hmac_file_error.phpt6 /* Prototype : string hash_hmac_file ( string algo, string filename, string key [, bool raw_output…
15 $key = 'secret';
24 hash_hmac_file('crc32', $file, $key, TRUE, $extra_arg);
27 hash_hmac_file('foo', $file, $key, TRUE);
30 hash_hmac_file('crc32', $file, $key, TRUE);
33 hash_hmac_file('md5', $file.chr(0).$file, $key, TRUE);
H A Dhash_init_error.phpt16 echo "-- Testing hash_init() function with HASH_HMAC and no key --\n";
34 -- Testing hash_init() function with HASH_HMAC and no key --
36 Warning: hash_init(): HMAC requested without a key %s on line %d
39 Warning: hash_init(): HMAC requested without a key %s on line %d
H A Dhash_pbkdf2_basic.phpt6 /* Prototype : string hash_hmac(string $algo, string $data, string $key [, int $length = 0 [, bool…
/PHP-7.4/ext/imap/
H A Dphp_imap.c636 static zval *add_assoc_object(zval *arg, char *key, zval *tmp) in add_assoc_object() argument
645 return zend_hash_str_update(symtable, key, strlen(key), tmp); in add_assoc_object()
3580 zend_string *key; in PHP_FUNCTION() local
3722 if (key == NULL) continue; in PHP_FUNCTION()
3725 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION()
3762 if (key == NULL) continue; in PHP_FUNCTION()
3765 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION()
3844 if (key == NULL) continue; in PHP_FUNCTION()
3847 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION()
3884 if (key == NULL) continue; in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/imap/tests/
H A Dimap_fetchbody_basic.phpt29 foreach ($options as $key => $option) {
30 echo "-- Option is $key --\n";
31 switch ($key) {
H A Dimap_fetchheader_basic.phpt25 foreach ($options as $key => $option) {
26 echo "-- Option is $key --\n";
27 if ($key == 'FT_UID') {
H A Dimap_fetchstructure_basic.phpt30 foreach ($fields as $key) {
31 var_dump(isset($z->$key));
H A Dimap_headerinfo_basic.phpt25 foreach ($fields as $key) {
26 var_dump(isset($z->$key));
H A Dimap_rfc822_parse_headers_basic.phpt25 foreach ($fields as $key) {
26 var_dump(isset($z->$key));
/PHP-7.4/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp138 static void _breakiterator_parts_get_current_key(zend_object_iterator *iter, zval *key) in _breakiterator_parts_get_current_key() argument
141 ZVAL_LONG(key, iter->index); in _breakiterator_parts_get_current_key()
242 …ction *IntlPartsIterator_get_method(zend_object **object_ptr, zend_string *method, const zval *key) in IntlPartsIterator_get_method() argument
248 if (key == NULL) { in IntlPartsIterator_get_method()
252 lc_method_name = Z_STR_P(key); in IntlPartsIterator_get_method()
261 ret = Z_OBJ_HANDLER_P(break_iter_zv, get_method)(object_ptr, method, key); in IntlPartsIterator_get_method()
266 ret = zend_std_get_method(object_ptr, method, key); in IntlPartsIterator_get_method()
269 if (key == NULL) { in IntlPartsIterator_get_method()

Completed in 108 milliseconds

12345678910>>...43