Home
last modified time | relevance | path

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

/PHP-5.5/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.5/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.5/Zend/
H A Dzend_vm_execute.h3808 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER() local
4704 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMP_HANDLER() local
5561 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_VAR_HANDLER() local
6269 ulong hval; in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER() local
15821 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_CONST_HANDLER() local
16048 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_CONST() local
18005 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_TMP_HANDLER() local
18147 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_TMP() local
20401 ulong hval; in ZEND_UNSET_DIM_SPEC_VAR_VAR_HANDLER() local
20628 ulong hval; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_VAR() local
[all …]
H A Dzend_execute.c998 ulong hval; in zend_fetch_dimension_address_inner() local
1004 hval = zend_inline_hash_func("", 1); in zend_fetch_dimension_address_inner()
1013 hval = Z_HASH_P(dim); in zend_fetch_dimension_address_inner()
1015 ZEND_HANDLE_NUMERIC_EX(offset_key, offset_key_length+1, hval, goto num_index); in zend_fetch_dimension_address_inner()
1017 hval = INTERNED_HASH(offset_key); in zend_fetch_dimension_address_inner()
1019 hval = zend_hash_func(offset_key, offset_key_length+1); in zend_fetch_dimension_address_inner()
1046 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_fetch_dimension_address_inner()
1053 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner()
1055 if (zend_hash_index_find(ht, hval, (void **) &retval) == FAILURE) { in zend_fetch_dimension_address_inner()
1058 zend_error(E_NOTICE,"Undefined offset: %ld", hval); in zend_fetch_dimension_address_inner()
[all …]
H A Dzend_vm_def.h3623 ulong hval; variable
3631 hval = Z_LVAL_P(offset);
3637 hval = Z_HASH_P(offset);
3961 ulong hval; variable
3978 zend_hash_index_del(ht, hval);
3983 hval = Z_LVAL_P(offset);
3984 zend_hash_index_del(ht, hval);
3991 hval = Z_HASH_P(offset);
4462 ulong hval; variable
4483 hval = Z_LVAL_P(offset);
[all …]
/PHP-5.5/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.5/ext/openssl/
H A Dopenssl.c3779 zval ** hval; in PHP_FUNCTION() local
3850 while(zend_hash_get_current_data_ex(HASH_OF(zheaders), (void**)&hval, &hpos) == SUCCESS) { in PHP_FUNCTION()
3854 convert_to_string_ex(hval); in PHP_FUNCTION()
3857 BIO_printf(outfile, "%s: %s\n", strindex, Z_STRVAL_PP(hval)); in PHP_FUNCTION()
3859 BIO_printf(outfile, "%s\n", Z_STRVAL_PP(hval)); in PHP_FUNCTION()

Completed in 198 milliseconds