Home
last modified time | relevance | path

Searched refs:nKeyLength (Results 1 – 21 of 21) sorted by relevance

/PHP-5.3/Zend/
H A Dzend_hash.h45 typedef ulong (*hash_func_t)(const char *arKey, uint nKeyLength);
56 uint nKeyLength; member
87 uint nKeyLength; member
153 #define zend_hash_del(ht, arKey, nKeyLength) \ argument
155 #define zend_hash_quick_del(ht, arKey, nKeyLength, h) \ argument
266 for (; nKeyLength >= 8; nKeyLength -= 8) { in zend_inline_hash_func()
276 switch (nKeyLength) { in zend_inline_hash_func()
291 ZEND_API ulong zend_hash_func(const char *arKey, uint nKeyLength);
353 return zend_hash_del(ht, arKey, nKeyLength); in zend_symtable_del()
360 return zend_hash_find(ht, arKey, nKeyLength, pData); in zend_symtable_find()
[all …]
H A Dzend_ts_hash.h53 #define zend_ts_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ argument
55 #define zend_ts_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ argument
59 #define zend_ts_hash_quick_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \ argument
61 #define zend_ts_hash_quick_add(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \ argument
70 ZEND_API int zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength);
82 #define zend_ts_hash_del(ht, arKey, nKeyLength) \ argument
83 zend_ts_hash_del_key_or_index(ht, arKey, nKeyLength, 0, HASH_DEL_KEY)
87 ZEND_API ulong zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength);
90 ZEND_API int zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData);
95 ZEND_API int zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength);
[all …]
H A Dzend_hash.c223 if ((p->h == h) && (p->nKeyLength == nKeyLength)) { in _zend_hash_add_or_update()
255 p->nKeyLength = nKeyLength; in _zend_hash_add_or_update()
288 if ((p->h == h) && (p->nKeyLength == nKeyLength)) { in _zend_hash_quick_add_or_update()
321 p->nKeyLength = nKeyLength; in _zend_hash_quick_add_or_update()
473 && (p->nKeyLength == nKeyLength) in zend_hash_del_key_or_index()
728 hash_key.nKeyLength = p->nKeyLength; in zend_hash_apply_with_arguments()
834 hash_key.nKeyLength = p->nKeyLength; in zend_hash_replace_checker_wrapper()
884 if ((p->h == h) && (p->nKeyLength == nKeyLength)) { in zend_hash_find()
911 if ((p->h == h) && (p->nKeyLength == nKeyLength)) { in zend_hash_quick_find()
936 if ((p->h == h) && (p->nKeyLength == nKeyLength)) { in zend_hash_exists()
[all …]
H A Dzend_ts_hash.c135 ZEND_API int zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength) in zend_ts_hash_add_empty_element() argument
140 retval = zend_hash_add_empty_element(TS_HASH(ht), arKey, nKeyLength); in zend_ts_hash_add_empty_element()
195 retval = zend_hash_del_key_or_index(TS_HASH(ht), arKey, nKeyLength, h, flag); in zend_ts_hash_del_key_or_index()
201 ZEND_API ulong zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength) in zend_ts_get_hash_value() argument
206 retval = zend_get_hash_value(arKey, nKeyLength); in zend_ts_get_hash_value()
212 ZEND_API int zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData) in zend_ts_hash_find() argument
217 retval = zend_hash_find(TS_HASH(ht), arKey, nKeyLength, pData); in zend_ts_hash_find()
223 ZEND_API int zend_ts_hash_quick_find(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void *… in zend_ts_hash_quick_find() argument
228 retval = zend_hash_quick_find(TS_HASH(ht), arKey, nKeyLength, h, pData); in zend_ts_hash_quick_find()
245 ZEND_API int zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength) in zend_ts_hash_exists() argument
[all …]
H A Dzend_ini.c154 if (f->nKeyLength == 0 && s->nKeyLength == 0) { /* both numeric */ in ini_key_compare()
155 return ZEND_NORMALIZE_BOOL(f->nKeyLength - s->nKeyLength); in ini_key_compare()
156 } else if (f->nKeyLength == 0) { /* f is numeric, s is not */ in ini_key_compare()
158 } else if (s->nKeyLength == 0) { /* s is numeric, f is not */ in ini_key_compare()
161 return zend_binary_strcasecmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength); in ini_key_compare()
H A Dzend_closures.c347 …if (zend_hash_quick_find(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, (void **) &… in zval_copy_static_var()
351 …zend_hash_quick_add(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zva… in zval_copy_static_var()
373 …if (zend_hash_quick_add(target, key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zval*), NULL) ==… in zval_copy_static_var()
H A Dzend_builtin_functions.c1560 if ((hash_key->nKeyLength==0 || hash_key->arKey[0]!=0) in copy_class_or_interface_name()
1563 (ce->name_length != hash_key->nKeyLength - 1 || in copy_class_or_interface_name()
1565 add_next_index_stringl(array, hash_key->arKey, hash_key->nKeyLength - 1, 1); in copy_class_or_interface_name()
1612 if (hash_key->nKeyLength == 0 || hash_key->arKey[0] == 0) { in copy_function_name()
1617 add_next_index_stringl(internal_ar, hash_key->arKey, hash_key->nKeyLength-1, 1); in copy_function_name()
1619 add_next_index_stringl(user_ar, hash_key->arKey, hash_key->nKeyLength-1, 1); in copy_function_name()
H A Dzend_compile.c2624 …if (zend_hash_quick_find(child_function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h,… in do_inherit_method_check()
2704 …if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h,… in do_inherit_property_access_check()
2707 …zend_hash_quick_update(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, p… in do_inherit_property_access_check()
2719 …if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h,… in do_inherit_property_access_check()
2829 if (!zend_hash_quick_exists(target, key->arKey, key->nKeyLength, key->h)) { in inherit_static_prop()
2831 …if (zend_hash_quick_add(target, key->arKey, key->nKeyLength, key->h, p, sizeof(zval*), NULL) == SU… in inherit_static_prop()
2892 …if (zend_hash_quick_find(child_constants_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h… in do_inherit_constant_check()
H A Dzend_API.c972 if (hash_key->nKeyLength) { in zend_merge_property()
978 ZVAL_STRINGL(member, hash_key->arKey, hash_key->nKeyLength-1, 1); in zend_merge_property()
/PHP-5.3/ext/standard/
H A Dvar.c44 if (hash_key->nKeyLength == 0) { /* numeric key */ in php_array_element_dump()
48 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1); in php_array_element_dump()
63 if (hash_key->nKeyLength == 0) { /* numeric key */ in php_object_property_dump()
77 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1); in php_object_property_dump()
193 if (hash_key->nKeyLength == 0) { /* numeric key */ in zval_array_element_dump()
203 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1); in zval_array_element_dump()
218 if (hash_key->nKeyLength == 0) { /* numeric key */ in zval_object_property_dump()
221 zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, &class_name, &prop_name); in zval_object_property_dump()
356 if (hash_key->nKeyLength == 0) { /* numeric key */ in php_array_element_export()
393 if (hash_key->nKeyLength != 0) { in php_object_element_export()
[all …]
H A Darray.c178 if (f->nKeyLength == 0) { in php_array_key_compare()
187 if (s->nKeyLength == 0) { in php_array_key_compare()
730 if (f->nKeyLength == 0) { in php_array_user_key_compare()
738 if (s->nKeyLength == 0) { in php_array_user_key_compare()
1807 temp->nKeyLength = 0; in php_array_data_shuffle()
1877 if (p->nKeyLength == 0) { in php_splice()
1889 if (p->nKeyLength == 0) { in php_splice()
1913 if (p->nKeyLength == 0) { in php_splice()
2942 if (p->nKeyLength == 0) { in php_array_intersect_key()
3360 if (p->nKeyLength == 0) { in php_array_diff_key()
[all …]
H A Dbasic_functions.c4588 if (hash_key->nKeyLength > 0) {
4589 …add_assoc_stringl_ex(retval, hash_key->arKey, hash_key->nKeyLength, Z_STRVAL_P(entry), Z_STRLEN_P(…
4597 add_assoc_zval_ex(retval, hash_key->arKey, hash_key->nKeyLength, tmp);
5346 if (hash_key->nKeyLength == 0 ||
6108 if (!prefix_len && !hash_key->nKeyLength) {
6113 if (hash_key->nKeyLength) {
6114 php_prefix_varname(&new_key, prefix, hash_key->arKey, hash_key->nKeyLength - 1, 0 TSRMLS_CC);
/PHP-5.3/ext/phar/
H A Ddirstream.c152 static int phar_add_empty(HashTable *ht, char *arKey, uint nKeyLength) /* {{{ */ in phar_add_empty() argument
156 return zend_hash_update(ht, arKey, nKeyLength, (void *) &dummy, sizeof(void *), NULL); in phar_add_empty()
172 result = zend_binary_strcmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength); in phar_compare_dir_name()
174 result = zend_binary_strcmp(f->key.arKey.s, f->nKeyLength, s->key.arKey.s, s->nKeyLength); in phar_compare_dir_name()
H A Dphar_internal.h549 static inline int phar_make_unicode(zstr *c_var, char *arKey, uint nKeyLength TSRMLS_DC) in phar_make_unicode()
555 if (zend_string_to_unicode(conv, &c_var->u, &c_var_len, arKey, nKeyLength TSRMLS_CC) == FAILURE) { in phar_make_unicode()
/PHP-5.3/
H A D.gdbinit197 if $p->nKeyLength > 0
198 ____print_str $p->arKey $p->nKeyLength
227 if $p->nKeyLength > 0
228 ____print_str $p->arKey $p->nKeyLength
295 if $p->nKeyLength > 0
296 ____print_str $p->arKey $p->nKeyLength
/PHP-5.3/sapi/apache2handler/
H A Dapache_config.c124 …if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry… in should_overwrite_per_dir_entry()
/PHP-5.3/ext/spl/
H A Dspl_iterators.c2640 uint nKeyLength; in SPL_METHOD() local
2650 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &arKey, &nKeyLength, &value) == FAILURE… in SPL_METHOD()
2655 …zend_symtable_update(HASH_OF(intern->u.caching.zcache), arKey, nKeyLength+1, &value, sizeof(value)… in SPL_METHOD()
2665 uint nKeyLength; in SPL_METHOD() local
2675 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) { in SPL_METHOD()
2694 uint nKeyLength; in SPL_METHOD() local
2703 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) { in SPL_METHOD()
2707 zend_symtable_del(HASH_OF(intern->u.caching.zcache), arKey, nKeyLength+1); in SPL_METHOD()
2717 uint nKeyLength; in SPL_METHOD() local
2726 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) { in SPL_METHOD()
[all …]
/PHP-5.3/sapi/apache/
H A Dmod_php5.c746 …if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry… in should_overwrite_per_dir_entry()
/PHP-5.3/sapi/apache_hooks/
H A Dmod_php5.c801 …if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &new_per_dir_entry)… in should_overwrite_per_dir_entry()
/PHP-5.3/ext/reflection/
H A Dphp_reflection.c3676 if (hash_key->nKeyLength == 0) { in _adddynproperty()
3684 ZVAL_STRINGL(&member, hash_key->arKey, hash_key->nKeyLength-1, 0); in _adddynproperty()
/PHP-5.3/ext/soap/
H A Dphp_encoding.c2292 if (ht->pListTail && ht->pListTail->nKeyLength == 0) { in array_num_elements()

Completed in 144 milliseconds