Searched refs:hval (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/hash/ |
H A D | hash_joaat.c | 51 uint32_t hval = context->state; in PHP_JOAATFinal() local 52 hval += (hval << 3); in PHP_JOAATFinal() 53 hval ^= (hval >> 11); in PHP_JOAATFinal() 54 hval += (hval << 15); in PHP_JOAATFinal() 57 memcpy(digest, &hval, 4); in PHP_JOAATFinal() 60 unsigned char *c = (unsigned char *) &hval; in PHP_JOAATFinal() 80 joaat_buf(void *buf, size_t len, uint32_t hval) in joaat_buf() argument 86 hval += input[i]; in joaat_buf() 87 hval += (hval << 10); in joaat_buf() 88 hval ^= (hval >> 6); in joaat_buf() [all …]
|
H A D | hash_fnv.c | 167 fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate) in fnv_32_buf() argument 178 hval *= PHP_FNV_32_PRIME; in fnv_32_buf() 181 hval ^= (uint32_t)*bp++; in fnv_32_buf() 186 hval ^= (uint32_t)*bp++; in fnv_32_buf() 189 hval *= PHP_FNV_32_PRIME; in fnv_32_buf() 194 return hval; in fnv_32_buf() 222 hval *= PHP_FNV_64_PRIME; in fnv_64_buf() 225 hval ^= (uint64_t)*bp++; in fnv_64_buf() 230 hval ^= (uint64_t)*bp++; in fnv_64_buf() 233 hval *= PHP_FNV_64_PRIME; in fnv_64_buf() [all …]
|
H A D | php_hash_fnv.h | 63 static uint32_t fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate); 64 static uint64_t fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate);
|
H A D | php_hash_joaat.h | 29 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_encoding.c | 281 unsigned int hval = len; in mbfl_name2encoding_perfect_hash() local 283 switch (hval) in mbfl_name2encoding_perfect_hash() 286 hval += asso_values[(unsigned char)str[6]]; in mbfl_name2encoding_perfect_hash() 289 hval += asso_values[(unsigned char)str[5]]; in mbfl_name2encoding_perfect_hash() 292 hval += asso_values[(unsigned char)str[4]]; in mbfl_name2encoding_perfect_hash() 296 hval += asso_values[(unsigned char)str[2]]; in mbfl_name2encoding_perfect_hash() 300 hval += asso_values[(unsigned char)str[0]]; in mbfl_name2encoding_perfect_hash() 303 return hval + asso_values[(unsigned char)str[len - 1]]; in mbfl_name2encoding_perfect_hash()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 463 zend_ulong hval; in zend_jit_fetch_dim_r_helper() local 569 hval = 0; in zend_jit_fetch_dim_r_helper() 572 hval = 1; in zend_jit_fetch_dim_r_helper() 711 hval = 0; in zend_jit_fetch_dim_is_helper() 714 hval = 1; in zend_jit_fetch_dim_is_helper() 815 hval = 0; in zend_jit_fetch_dim_isset_helper() 818 hval = 1; in zend_jit_fetch_dim_isset_helper() 951 hval = 0; in zend_jit_fetch_dim_rw_helper() 954 hval = 1; in zend_jit_fetch_dim_rw_helper() 1084 hval = 0; in zend_jit_fetch_dim_w_helper() [all …]
|
/php-src/Zend/tests/ |
H A D | bug72943.phpt | 2 Bug #72943 (assign_dim on string doesn't reset hval)
|
/php-src/Zend/ |
H A D | zend_execute.c | 2675 zend_ulong hval; in zend_fetch_dimension_address_inner() local 2679 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner() 2743 hval = val.lval; in zend_fetch_dimension_address_inner() 3102 zend_ulong hval; in zend_find_array_dim_slow() local 3112 hval = 0; in zend_find_array_dim_slow() 3115 hval = 1; in zend_find_array_dim_slow() 3211 zend_ulong hval; in zend_array_key_exists_fast() local 3222 hval = Z_LVAL_P(key); in zend_array_key_exists_fast() 3232 hval = 0; in zend_array_key_exists_fast() 3235 hval = 1; in zend_array_key_exists_fast() [all …]
|
H A D | zend_vm_execute.h | 7741 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER() 7744 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER() 10126 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMPVAR_HANDLER() 10129 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMPVAR_HANDLER() 11051 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER() 11054 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER() 12617 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CV_HANDLER() 12620 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CV_HANDLER() 20794 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CONST_HANDLER() 20797 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CONST_HANDLER() [all …]
|
H A D | zend_vm_def.h | 6193 zend_ulong hval; variable 6206 hval = Z_LVAL_P(offset); 6219 hval = 0; 6222 hval = 1; 6226 hval = Z_RES_HANDLE_P(offset); 6690 zend_ulong hval; variable 6716 hval = Z_LVAL_P(offset); 6729 hval = 0; 6732 hval = 1; 7490 zend_ulong hval; variable [all …]
|
/php-src/ext/openssl/ |
H A D | openssl.c | 5987 zval * hval; in PHP_FUNCTION() local 6061 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zheaders), strindex, hval) { in PHP_FUNCTION() 6062 zend_string *str = zval_try_get_string(hval); in PHP_FUNCTION() 6633 zval * hval; in PHP_FUNCTION() local 6731 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zheaders), strindex, hval) { in PHP_FUNCTION() 6732 zend_string *str = zval_try_get_string(hval); in PHP_FUNCTION()
|
Completed in 198 milliseconds