Home
last modified time | relevance | path

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

/PHP-8.1/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.h65 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 Dphp_hash_joaat.h29 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_helpers.c379 zend_ulong hval; in zend_jit_fetch_dim_r_helper() local
485 hval = 0; in zend_jit_fetch_dim_r_helper()
488 hval = 1; in zend_jit_fetch_dim_r_helper()
627 hval = 0; in zend_jit_fetch_dim_is_helper()
630 hval = 1; in zend_jit_fetch_dim_is_helper()
729 hval = 0; in zend_jit_fetch_dim_isset_helper()
732 hval = 1; in zend_jit_fetch_dim_isset_helper()
865 hval = 0; in zend_jit_fetch_dim_rw_helper()
868 hval = 1; in zend_jit_fetch_dim_rw_helper()
998 hval = 0; in zend_jit_fetch_dim_w_helper()
[all …]
H A Dzend_jit_x86.dasc5671 | // hval = Z_LVAL_P(dim);
5687 | // hval = Z_LVAL_P(dim);
5700 | // ZEND_HASH_INDEX_FIND(ht, hval, retval, num_undef);
5764 | // hval = Z_LVAL_P(dim);
5824 | // hval = Z_LVAL_P(dim);
5848 | // zend_error(E_WARNING,"Undefined array key " ZEND_LONG_FMT, hval);
5880 | // hval = Z_LVAL_P(dim);
5910 | // hval = Z_LVAL_P(dim);
H A Dzend_jit_arm64.dasc5143 | // hval = Z_LVAL_P(dim);
5159 | // hval = Z_LVAL_P(dim);
5172 | // ZEND_HASH_INDEX_FIND(ht, hval, retval, num_undef);
5226 | // hval = Z_LVAL_P(dim);
5286 | // hval = Z_LVAL_P(dim);
5310 | // zend_error(E_WARNING,"Undefined array key " ZEND_LONG_FMT, hval);
5342 | // hval = Z_LVAL_P(dim);
5372 | // hval = Z_LVAL_P(dim);
/PHP-8.1/Zend/tests/
H A Dbug72943.phpt2 Bug #72943 (assign_dim on string doesn't reset hval)
/PHP-8.1/Zend/
H A Dzend_execute.c2411 zend_ulong hval; in zend_fetch_dimension_address_inner() local
2415 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner()
2479 hval = val.lval; in zend_fetch_dimension_address_inner()
2838 zend_ulong hval; in zend_find_array_dim_slow() local
2848 hval = 0; in zend_find_array_dim_slow()
2851 hval = 1; in zend_find_array_dim_slow()
2947 zend_ulong hval; in zend_array_key_exists_fast() local
2958 hval = Z_LVAL_P(key); in zend_array_key_exists_fast()
2968 hval = 0; in zend_array_key_exists_fast()
2971 hval = 1; in zend_array_key_exists_fast()
[all …]
H A Dzend_vm_execute.h7188 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER()
7191 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER()
9377 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMPVAR_HANDLER()
9380 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMPVAR_HANDLER()
10307 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER()
10310 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER()
11741 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CV_HANDLER()
11744 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CV_HANDLER()
19726 hval = 0; in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CONST_HANDLER()
19729 hval = 1; in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CONST_HANDLER()
[all …]
H A Dzend_vm_def.h5989 zend_ulong hval; variable
6002 hval = Z_LVAL_P(offset);
6015 hval = 0;
6018 hval = 1;
6022 hval = Z_RES_HANDLE_P(offset);
6463 zend_ulong hval; variable
6489 hval = Z_LVAL_P(offset);
6502 hval = 0;
6505 hval = 1;
7216 zend_ulong hval; variable
[all …]
/PHP-8.1/ext/openssl/
H A Dopenssl.c5673 zval * hval; in PHP_FUNCTION() local
5747 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zheaders), strindex, hval) { in PHP_FUNCTION()
5748 zend_string *str = zval_try_get_string(hval); in PHP_FUNCTION()
6319 zval * hval; in PHP_FUNCTION() local
6417 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zheaders), strindex, hval) { in PHP_FUNCTION()
6418 zend_string *str = zval_try_get_string(hval); in PHP_FUNCTION()

Completed in 384 milliseconds