Searched refs:hval (Results 1 – 10 of 10) sorted by relevance
/PHP-5.6/ext/hash/ |
H A D | hash_joaat.c | 74 joaat_buf(void *buf, size_t len, php_hash_uint32 hval) in joaat_buf() argument 80 hval += input[i]; in joaat_buf() 81 hval += (hval << 10); in joaat_buf() 82 hval ^= (hval >> 6); in joaat_buf() 85 hval += (hval << 3); in joaat_buf() 86 hval ^= (hval >> 11); in joaat_buf() 87 hval += (hval << 15); in joaat_buf() 89 return hval; in joaat_buf()
|
H A D | hash_fnv.c | 151 fnv_32_buf(void *buf, size_t len, php_hash_uint32 hval, int alternate) in fnv_32_buf() argument 163 hval *= PHP_FNV_32_PRIME; in fnv_32_buf() 166 hval ^= (php_hash_uint32)*bp++; in fnv_32_buf() 169 hval ^= (php_hash_uint32)*bp++; in fnv_32_buf() 172 hval *= PHP_FNV_32_PRIME; in fnv_32_buf() 177 return hval; in fnv_32_buf() 205 hval *= PHP_FNV_64_PRIME; in fnv_64_buf() 208 hval ^= (php_hash_uint64)*bp++; in fnv_64_buf() 211 hval ^= (php_hash_uint64)*bp++; in fnv_64_buf() 214 hval *= PHP_FNV_64_PRIME; in fnv_64_buf() [all …]
|
H A D | php_hash_fnv.h | 67 static php_hash_uint32 fnv_32_buf(void *buf, size_t len, php_hash_uint32 hval, int alternate); 68 static php_hash_uint64 fnv_64_buf(void *buf, size_t len, php_hash_uint64 hval, int alternate);
|
H A D | php_hash_joaat.h | 32 static php_hash_uint32 joaat_buf(void *buf, size_t len, php_hash_uint32 hval);
|
/PHP-5.6/sapi/caudium/ |
H A D | caudium.c | 285 struct pike_string *hval, *ind, *hind; in php_caudium_set_header() local 304 hval = make_shared_string(value); in php_caudium_set_header() 313 hval = begin_shared_string(soldval->u.string->len + 1 + vallen); in php_caudium_set_header() 314 MEMCPY(hval->str, soldval->u.string->str, soldval->u.string->len); in php_caudium_set_header() 315 STR0(hval)[soldval->u.string->len] = '\0'; in php_caudium_set_header() local 316 MEMCPY(hval->str+soldval->u.string->len+1, value, vallen); in php_caudium_set_header() 317 hval = end_shared_string(hval); in php_caudium_set_header() 319 hval = make_shared_string(value); in php_caudium_set_header() 323 hsval.u.string = hval; in php_caudium_set_header() 327 free_string(hval); in php_caudium_set_header()
|
/PHP-5.6/Zend/ |
H A D | zend_vm_execute.h | 4090 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER() local 5004 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMP_HANDLER() local 5871 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_VAR_HANDLER() local 6594 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER() local 16250 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_CONST_HANDLER() local 16473 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_CONST() local 18455 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_TMP_HANDLER() local 18593 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_TMP() local 20874 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_VAR_HANDLER() local 21097 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_VAR() local [all …]
|
H A D | zend_execute.c | 1034 ulong hval; in zend_fetch_dimension_address_inner() local 1040 hval = zend_inline_hash_func("", 1); in zend_fetch_dimension_address_inner() 1049 hval = Z_HASH_P(dim); in zend_fetch_dimension_address_inner() 1051 ZEND_HANDLE_NUMERIC_EX(offset_key, offset_key_length+1, hval, goto num_index); in zend_fetch_dimension_address_inner() 1052 hval = str_hash(offset_key, offset_key_length); in zend_fetch_dimension_address_inner() 1078 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_fetch_dimension_address_inner() 1085 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner() 1087 if (zend_hash_index_find(ht, hval, (void **) &retval) == FAILURE) { in zend_fetch_dimension_address_inner() 1090 zend_error(E_NOTICE,"Undefined offset: %ld", hval); in zend_fetch_dimension_address_inner() 1097 zend_error(E_NOTICE,"Undefined offset: %ld", hval); in zend_fetch_dimension_address_inner() [all …]
|
H A D | zend_vm_def.h | 3850 ulong hval; variable 3858 hval = Z_LVAL_P(offset); 3864 hval = Z_HASH_P(offset); 4184 ulong hval; variable 4201 zend_hash_index_del(ht, hval); 4206 hval = Z_LVAL_P(offset); 4207 zend_hash_index_del(ht, hval); 4214 hval = Z_HASH_P(offset); 4700 ulong hval; variable 4720 hval = Z_LVAL_P(offset); [all …]
|
/PHP-5.6/sapi/roxen/ |
H A D | roxen.c | 289 struct pike_string *hval, *ind, *hind; in php_roxen_set_header() local 295 hval = make_shared_string(value); in php_roxen_set_header() 313 hsval.u.string = hval; in php_roxen_set_header() 316 free_string(hval); in php_roxen_set_header()
|
/PHP-5.6/ext/openssl/ |
H A D | openssl.c | 4344 zval ** hval; in PHP_FUNCTION() local 4415 while(zend_hash_get_current_data_ex(HASH_OF(zheaders), (void**)&hval, &hpos) == SUCCESS) { in PHP_FUNCTION() 4419 convert_to_string_ex(hval); in PHP_FUNCTION() 4422 BIO_printf(outfile, "%s: %s\n", strindex, Z_STRVAL_PP(hval)); in PHP_FUNCTION() 4424 BIO_printf(outfile, "%s\n", Z_STRVAL_PP(hval)); in PHP_FUNCTION()
|
Completed in 170 milliseconds