Searched refs:hval (Results 1 – 10 of 10) sorted by relevance
/PHP-7.3/ext/hash/ |
H A D | hash_joaat.c | 73 joaat_buf(void *buf, size_t len, uint32_t hval) in joaat_buf() argument 79 hval += input[i]; in joaat_buf() 80 hval += (hval << 10); in joaat_buf() 81 hval ^= (hval >> 6); in joaat_buf() 84 hval += (hval << 3); in joaat_buf() 85 hval ^= (hval >> 11); in joaat_buf() 86 hval += (hval << 15); in joaat_buf() 88 return hval; in joaat_buf()
|
H A D | hash_fnv.c | 153 fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate) in fnv_32_buf() argument 164 hval *= PHP_FNV_32_PRIME; in fnv_32_buf() 167 hval ^= (uint32_t)*bp++; in fnv_32_buf() 172 hval ^= (uint32_t)*bp++; in fnv_32_buf() 175 hval *= PHP_FNV_32_PRIME; in fnv_32_buf() 180 return hval; in fnv_32_buf() 208 hval *= PHP_FNV_64_PRIME; in fnv_64_buf() 211 hval ^= (uint64_t)*bp++; in fnv_64_buf() 216 hval ^= (uint64_t)*bp++; in fnv_64_buf() 219 hval *= PHP_FNV_64_PRIME; in fnv_64_buf() [all …]
|
H A D | php_hash_fnv.h | 65 static uint32_t fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate); 66 static uint64_t fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate);
|
H A D | php_hash_joaat.h | 30 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
|
/PHP-7.3/Zend/tests/ |
H A D | bug72943.phpt | 2 Bug #72943 (assign_dim on string doesn't reset hval)
|
/PHP-7.3/Zend/ |
H A D | zend_execute.c | 1687 zend_ulong hval; in zend_fetch_dimension_address_inner() local 1691 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner() 1698 zend_undefined_offset(hval); in zend_fetch_dimension_address_inner() 1705 zend_undefined_offset(hval); in zend_fetch_dimension_address_inner() 1774 hval = Z_RES_HANDLE_P(dim); in zend_fetch_dimension_address_inner() 1777 hval = 0; in zend_fetch_dimension_address_inner() 1780 hval = 1; in zend_fetch_dimension_address_inner() 2079 zend_ulong hval; in zend_find_array_dim_slow() local 2089 hval = 0; in zend_find_array_dim_slow() 2092 hval = 1; in zend_find_array_dim_slow() [all …]
|
H A D | zend_vm_execute.h | 5553 hval = 0; 5556 hval = 1; 7665 hval = 0; 7668 hval = 1; 8947 hval = 0; 8950 hval = 1; 10757 hval = 0; 10760 hval = 1; 18596 hval = 0; 18599 hval = 1; [all …]
|
H A D | zend_vm_def.h | 5209 zend_ulong hval; variable 5222 hval = Z_LVAL_P(offset); 5235 hval = 0; 5238 hval = 1; 5561 zend_ulong hval; variable 5590 hval = Z_LVAL_P(offset); 5592 zend_hash_index_del(ht, hval); 5603 hval = 0; 5606 hval = 1; 6312 zend_ulong hval; variable [all …]
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | unicode_property_data.c | 25376 register unsigned int hval = (unsigned int )len; in hash() local 25378 switch (hval) in hash() 25381 hval += asso_values[(unsigned char)str[15]]; in hash() 25387 hval += asso_values[(unsigned char)str[11]]; in hash() 25395 hval += asso_values[(unsigned char)str[5]]; in hash() 25398 hval += asso_values[(unsigned char)str[4]]; in hash() 25402 hval += asso_values[(unsigned char)str[2]]; in hash() 25405 hval += asso_values[(unsigned char)str[1]]; in hash() 25408 hval += asso_values[(unsigned char)str[0]+2]; in hash() 25411 return hval + asso_values[(unsigned char)str[len - 1]]; in hash()
|
/PHP-7.3/ext/openssl/ |
H A D | openssl.c | 5457 zval * hval; in PHP_FUNCTION() local 5532 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zheaders), strindex, hval) { in PHP_FUNCTION() 5533 convert_to_string_ex(hval); in PHP_FUNCTION() 5536 ret = BIO_printf(outfile, "%s: %s\n", ZSTR_VAL(strindex), Z_STRVAL_P(hval)); in PHP_FUNCTION() 5538 ret = BIO_printf(outfile, "%s\n", Z_STRVAL_P(hval)); in PHP_FUNCTION()
|
Completed in 299 milliseconds