Home
last modified time | relevance | path

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

/PHP-7.2/ext/hash/
H A Dhash_joaat.c75 joaat_buf(void *buf, size_t len, uint32_t hval) in joaat_buf() argument
81 hval += input[i]; in joaat_buf()
82 hval += (hval << 10); in joaat_buf()
83 hval ^= (hval >> 6); in joaat_buf()
86 hval += (hval << 3); in joaat_buf()
87 hval ^= (hval >> 11); in joaat_buf()
88 hval += (hval << 15); in joaat_buf()
90 return hval; in joaat_buf()
H A Dhash_fnv.c155 fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate) in fnv_32_buf() argument
167 hval *= PHP_FNV_32_PRIME; in fnv_32_buf()
170 hval ^= (uint32_t)*bp++; in fnv_32_buf()
173 hval ^= (uint32_t)*bp++; in fnv_32_buf()
176 hval *= PHP_FNV_32_PRIME; in fnv_32_buf()
181 return hval; in fnv_32_buf()
209 hval *= PHP_FNV_64_PRIME; in fnv_64_buf()
212 hval ^= (uint64_t)*bp++; in fnv_64_buf()
215 hval ^= (uint64_t)*bp++; in fnv_64_buf()
218 hval *= PHP_FNV_64_PRIME; in fnv_64_buf()
[all …]
H A Dphp_hash_fnv.h67 static uint32_t fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate);
68 static uint64_t fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate);
H A Dphp_hash_joaat.h32 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
/PHP-7.2/Zend/tests/
H A Dbug72943.phpt2 Bug #72943 (assign_dim on string doesn't reset hval)
/PHP-7.2/ext/mbstring/oniguruma/src/
H A Dunicode_property_data.c23003 register unsigned int hval = len; in hash() local
23005 switch (hval) in hash()
23008 hval += asso_values[(unsigned char)str[15]]; in hash()
23014 hval += asso_values[(unsigned char)str[11]]; in hash()
23022 hval += asso_values[(unsigned char)str[5]]; in hash()
23025 hval += asso_values[(unsigned char)str[4]]; in hash()
23029 hval += asso_values[(unsigned char)str[2]]; in hash()
23032 hval += asso_values[(unsigned char)str[1]]; in hash()
23035 hval += asso_values[(unsigned char)str[0]]; in hash()
23038 return hval + asso_values[(unsigned char)str[len - 1]]; in hash()
/PHP-7.2/Zend/
H A Dzend_execute.c1495 zend_ulong hval; in zend_fetch_dimension_address_inner() local
1499 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner()
1501 ZEND_HASH_INDEX_FIND(ht, hval, retval, num_undef); in zend_fetch_dimension_address_inner()
1506 zend_error(E_NOTICE,"Undefined offset: " ZEND_LONG_FMT, hval); in zend_fetch_dimension_address_inner()
1513 zend_error(E_NOTICE,"Undefined offset: " ZEND_LONG_FMT, hval); in zend_fetch_dimension_address_inner()
1514 retval = zend_hash_index_update(ht, hval, &EG(uninitialized_zval)); in zend_fetch_dimension_address_inner()
1523 if (ZEND_HANDLE_NUMERIC(offset_key, hval)) { in zend_fetch_dimension_address_inner()
1578 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_fetch_dimension_address_inner()
1582 hval = Z_RES_HANDLE_P(dim); in zend_fetch_dimension_address_inner()
1585 hval = 0; in zend_fetch_dimension_address_inner()
[all …]
H A Dzend_vm_execute.h5861 hval = 0;
5864 hval = 1;
6097 hval = 0;
6100 hval = 1;
7646 hval = 0;
7649 hval = 1;
9882 hval = 0;
9885 hval = 1;
9974 hval = 0;
9977 hval = 1;
[all …]
H A Dzend_vm_def.h5169 zend_ulong hval; variable
5182 hval = Z_LVAL_P(offset);
5195 hval = 0;
5198 hval = 1;
5507 zend_ulong hval; variable
5549 hval = 0;
5552 hval = 1;
6360 zend_ulong hval; variable
6385 hval = Z_LVAL_P(offset);
6398 hval = 0;
[all …]
/PHP-7.2/ext/openssl/
H A Dopenssl.c5407 zval * hval; in PHP_FUNCTION() local
5482 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zheaders), strindex, hval) { in PHP_FUNCTION()
5483 convert_to_string_ex(hval); in PHP_FUNCTION()
5486 ret = BIO_printf(outfile, "%s: %s\n", ZSTR_VAL(strindex), Z_STRVAL_P(hval)); in PHP_FUNCTION()
5488 ret = BIO_printf(outfile, "%s\n", Z_STRVAL_P(hval)); in PHP_FUNCTION()
/PHP-7.2/
H A DNEWS2483 . Fixed bug #72943 (assign_dim on string doesn't reset hval). (Laruence)

Completed in 237 milliseconds