Home
last modified time | relevance | path

Searched refs:hval (Results 1 – 12 of 12) sorted by relevance

/PHP-8.3/ext/hash/
H A Dhash_joaat.c51 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 Dhash_fnv.c167 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 Dphp_hash_fnv.h63 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 Dphp_hash_joaat.h29 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_helpers.c369 zend_ulong hval; in zend_jit_fetch_dim_r_helper() local
475 hval = 0; in zend_jit_fetch_dim_r_helper()
478 hval = 1; in zend_jit_fetch_dim_r_helper()
617 hval = 0; in zend_jit_fetch_dim_is_helper()
620 hval = 1; in zend_jit_fetch_dim_is_helper()
721 hval = 0; in zend_jit_fetch_dim_isset_helper()
724 hval = 1; in zend_jit_fetch_dim_isset_helper()
857 hval = 0; in zend_jit_fetch_dim_rw_helper()
860 hval = 1; in zend_jit_fetch_dim_rw_helper()
990 hval = 0; in zend_jit_fetch_dim_w_helper()
[all …]
H A Dzend_jit_arm64.dasc5132 | // hval = Z_LVAL_P(dim);
5148 | // hval = Z_LVAL_P(dim);
5161 | // ZEND_HASH_INDEX_FIND(ht, hval, retval, num_undef);
5215 | // hval = Z_LVAL_P(dim);
5275 | // hval = Z_LVAL_P(dim);
5299 | // zend_error(E_WARNING,"Undefined array key " ZEND_LONG_FMT, hval);
5331 | // hval = Z_LVAL_P(dim);
5361 | // hval = Z_LVAL_P(dim);
H A Dzend_jit_x86.dasc5650 | // hval = Z_LVAL_P(dim);
5666 | // hval = Z_LVAL_P(dim);
5679 | // ZEND_HASH_INDEX_FIND(ht, hval, retval, num_undef);
5743 | // hval = Z_LVAL_P(dim);
5803 | // hval = Z_LVAL_P(dim);
5827 | // zend_error(E_WARNING,"Undefined array key " ZEND_LONG_FMT, hval);
5859 | // hval = Z_LVAL_P(dim);
5889 | // hval = Z_LVAL_P(dim);
/PHP-8.3/Zend/tests/
H A Dbug72943.phpt2 Bug #72943 (assign_dim on string doesn't reset hval)
/PHP-8.3/Zend/
H A Dzend_execute.c2479 zend_ulong hval; in zend_fetch_dimension_address_inner() local
2483 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner()
2547 hval = val.lval; in zend_fetch_dimension_address_inner()
2906 zend_ulong hval; in zend_find_array_dim_slow() local
2916 hval = 0; in zend_find_array_dim_slow()
2919 hval = 1; in zend_find_array_dim_slow()
3015 zend_ulong hval; in zend_array_key_exists_fast() local
3026 hval = Z_LVAL_P(key); in zend_array_key_exists_fast()
3036 hval = 0; in zend_array_key_exists_fast()
3039 hval = 1; in zend_array_key_exists_fast()
[all …]
H A Dzend_vm_execute.h7384 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER()
7387 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER()
9715 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMPVAR_HANDLER()
9718 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMPVAR_HANDLER()
10645 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER()
10648 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER()
12101 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CV_HANDLER()
12104 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CV_HANDLER()
20129 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CONST_HANDLER()
20132 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CONST_HANDLER()
[all …]
H A Dzend_vm_def.h6081 zend_ulong hval; variable
6094 hval = Z_LVAL_P(offset);
6107 hval = 0;
6110 hval = 1;
6114 hval = Z_RES_HANDLE_P(offset);
6580 zend_ulong hval; variable
6606 hval = Z_LVAL_P(offset);
6619 hval = 0;
6622 hval = 1;
7365 zend_ulong hval; variable
[all …]
/PHP-8.3/ext/openssl/
H A Dopenssl.c5761 zval * hval; in PHP_FUNCTION() local
5835 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zheaders), strindex, hval) { in PHP_FUNCTION()
5836 zend_string *str = zval_try_get_string(hval); in PHP_FUNCTION()
6407 zval * hval; in PHP_FUNCTION() local
6505 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zheaders), strindex, hval) { in PHP_FUNCTION()
6506 zend_string *str = zval_try_get_string(hval); in PHP_FUNCTION()

Completed in 290 milliseconds