Home
last modified time | relevance | path

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

/PHP-5.4/ext/hash/
H A Dhash_joaat.c74 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 Dhash_fnv.c151 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 Dphp_hash_fnv.h67 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 Dphp_hash_joaat.h32 static php_hash_uint32 joaat_buf(void *buf, size_t len, php_hash_uint32 hval);
/PHP-5.4/sapi/caudium/
H A Dcaudium.c285 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.4/Zend/
H A Dzend_vm_execute.h3686 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER() local
4401 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMP_HANDLER() local
5077 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_VAR_HANDLER() local
5622 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER() local
13943 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_CONST_HANDLER() local
14170 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_CONST() local
15950 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_TMP_HANDLER() local
16092 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_TMP() local
18169 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_VAR_HANDLER() local
18396 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_VAR() local
[all …]
H A Dzend_execute.c999 ulong hval; in zend_fetch_dimension_address_inner() local
1005 hval = zend_inline_hash_func("", 1); in zend_fetch_dimension_address_inner()
1014 hval = Z_HASH_P(dim); in zend_fetch_dimension_address_inner()
1016 ZEND_HANDLE_NUMERIC_EX(offset_key, offset_key_length+1, hval, goto num_index); in zend_fetch_dimension_address_inner()
1018 hval = INTERNED_HASH(offset_key); in zend_fetch_dimension_address_inner()
1020 hval = zend_hash_func(offset_key, offset_key_length+1); in zend_fetch_dimension_address_inner()
1047 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_fetch_dimension_address_inner()
1054 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner()
1056 if (zend_hash_index_find(ht, hval, (void **) &retval) == FAILURE) { in zend_fetch_dimension_address_inner()
1059 zend_error(E_NOTICE,"Undefined offset: %ld", hval); in zend_fetch_dimension_address_inner()
[all …]
H A Dzend_vm_def.h3592 ulong hval; variable
3600 hval = Z_LVAL_P(offset);
3606 hval = Z_HASH_P(offset);
3942 ulong hval; variable
3959 zend_hash_index_del(ht, hval);
3964 hval = Z_LVAL_P(offset);
3965 zend_hash_index_del(ht, hval);
3972 hval = Z_HASH_P(offset);
4454 ulong hval; variable
4475 hval = Z_LVAL_P(offset);
[all …]
/PHP-5.4/sapi/roxen/
H A Droxen.c289 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.4/ext/openssl/
H A Dopenssl.c3713 zval ** hval; in PHP_FUNCTION() local
3784 while(zend_hash_get_current_data_ex(HASH_OF(zheaders), (void**)&hval, &hpos) == SUCCESS) { in PHP_FUNCTION()
3788 convert_to_string_ex(hval); in PHP_FUNCTION()
3791 BIO_printf(outfile, "%s: %s\n", strindex, Z_STRVAL_PP(hval)); in PHP_FUNCTION()
3793 BIO_printf(outfile, "%s\n", Z_STRVAL_PP(hval)); in PHP_FUNCTION()

Completed in 149 milliseconds