Lines Matching refs:key
56 zend_string *key; member
77 ZEND_API zval* ZEND_FASTCALL _zend_hash_add_or_update(HashTable *ht, zend_string *key, zval *pData,…
78 ZEND_API zval* ZEND_FASTCALL _zend_hash_update(HashTable *ht, zend_string *key,zval *pData ZEND_FIL…
79 ZEND_API zval* ZEND_FASTCALL _zend_hash_update_ind(HashTable *ht, zend_string *key,zval *pData ZEND…
80 ZEND_API zval* ZEND_FASTCALL _zend_hash_add(HashTable *ht, zend_string *key,zval *pData ZEND_FILE_L…
81 ZEND_API zval* ZEND_FASTCALL _zend_hash_add_new(HashTable *ht, zend_string *key,zval *pData ZEND_FI…
83 #define zend_hash_update(ht, key, pData) \ argument
84 _zend_hash_update(ht, key, pData ZEND_FILE_LINE_CC)
85 #define zend_hash_update_ind(ht, key, pData) \ argument
86 _zend_hash_update_ind(ht, key, pData ZEND_FILE_LINE_CC)
87 #define zend_hash_add(ht, key, pData) \ argument
88 _zend_hash_add(ht, key, pData ZEND_FILE_LINE_CC)
89 #define zend_hash_add_new(ht, key, pData) \ argument
90 _zend_hash_add_new(ht, key, pData ZEND_FILE_LINE_CC)
92 ZEND_API zval* ZEND_FASTCALL _zend_hash_str_add_or_update(HashTable *ht, const char *key, size_t le…
93 ZEND_API zval* ZEND_FASTCALL _zend_hash_str_update(HashTable *ht, const char *key, size_t len, zval…
94 ZEND_API zval* ZEND_FASTCALL _zend_hash_str_update_ind(HashTable *ht, const char *key, size_t len, …
95 ZEND_API zval* ZEND_FASTCALL _zend_hash_str_add(HashTable *ht, const char *key, size_t len, zval *p…
96 ZEND_API zval* ZEND_FASTCALL _zend_hash_str_add_new(HashTable *ht, const char *key, size_t len, zva…
98 #define zend_hash_str_update(ht, key, len, pData) \ argument
99 _zend_hash_str_update(ht, key, len, pData ZEND_FILE_LINE_CC)
100 #define zend_hash_str_update_ind(ht, key, len, pData) \ argument
101 _zend_hash_str_update_ind(ht, key, len, pData ZEND_FILE_LINE_CC)
102 #define zend_hash_str_add(ht, key, len, pData) \ argument
103 _zend_hash_str_add(ht, key, len, pData ZEND_FILE_LINE_CC)
104 #define zend_hash_str_add_new(ht, key, len, pData) \ argument
105 _zend_hash_str_add_new(ht, key, len, pData ZEND_FILE_LINE_CC)
126 ZEND_API zval* ZEND_FASTCALL zend_hash_add_empty_element(HashTable *ht, zend_string *key);
127 ZEND_API zval* ZEND_FASTCALL zend_hash_str_add_empty_element(HashTable *ht, const char *key, size_t…
153 ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
154 ZEND_API int ZEND_FASTCALL zend_hash_del_ind(HashTable *ht, zend_string *key);
155 ZEND_API int ZEND_FASTCALL zend_hash_str_del(HashTable *ht, const char *key, size_t len);
156 ZEND_API int ZEND_FASTCALL zend_hash_str_del_ind(HashTable *ht, const char *key, size_t len);
161 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
162 ZEND_API zval* ZEND_FASTCALL zend_hash_str_find(const HashTable *ht, const char *key, size_t len);
186 ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
196 ZEND_API void ZEND_FASTCALL zend_hash_get_current_key_zval_ex(const HashTable *ht, zval *key, Hash…
210 #define zend_hash_get_current_key_zval(ht, key) \ argument
211 zend_hash_get_current_key_zval_ex(ht, key, &(ht)->nInternalPointer)
251 ZEND_API int ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *…
276 static zend_always_inline int _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *… in END_EXTERN_C()
278 const char *tmp = key; in END_EXTERN_C()
291 return _zend_handle_numeric_str_ex(key, length, idx); in END_EXTERN_C()
294 #define ZEND_HANDLE_NUMERIC_STR(key, length, idx) \ argument
295 _zend_handle_numeric_str(key, length, &idx)
297 #define ZEND_HANDLE_NUMERIC(key, idx) \ argument
298 ZEND_HANDLE_NUMERIC_STR(ZSTR_VAL(key), ZSTR_LEN(key), idx)
301 static zend_always_inline zval *zend_hash_find_ind(const HashTable *ht, zend_string *key) in zend_hash_find_ind() argument
305 zv = zend_hash_find(ht, key); in zend_hash_find_ind()
311 static zend_always_inline int zend_hash_exists_ind(const HashTable *ht, zend_string *key) in zend_hash_exists_ind() argument
315 zv = zend_hash_find(ht, key); in zend_hash_exists_ind()
340 static zend_always_inline zval *zend_symtable_add_new(HashTable *ht, zend_string *key, zval *pData) in zend_symtable_add_new() argument
344 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_add_new()
347 return zend_hash_add_new(ht, key, pData); in zend_symtable_add_new()
352 #define zend_symbtable_add_new(ht, key, pData) \ argument
353 zend_symtable_add_new(ht, key, pData)
355 static zend_always_inline zval *zend_symtable_update(HashTable *ht, zend_string *key, zval *pData) in zend_symtable_update() argument
359 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update()
362 return zend_hash_update(ht, key, pData); in zend_symtable_update()
367 static zend_always_inline zval *zend_symtable_update_ind(HashTable *ht, zend_string *key, zval *pDa… in zend_symtable_update_ind() argument
371 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update_ind()
374 return zend_hash_update_ind(ht, key, pData); in zend_symtable_update_ind()
379 static zend_always_inline int zend_symtable_del(HashTable *ht, zend_string *key) in zend_symtable_del() argument
383 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del()
386 return zend_hash_del(ht, key); in zend_symtable_del()
391 static zend_always_inline int zend_symtable_del_ind(HashTable *ht, zend_string *key) in zend_symtable_del_ind() argument
395 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del_ind()
398 return zend_hash_del_ind(ht, key); in zend_symtable_del_ind()
403 static zend_always_inline zval *zend_symtable_find(const HashTable *ht, zend_string *key) in zend_symtable_find() argument
407 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find()
410 return zend_hash_find(ht, key); in zend_symtable_find()
415 static zend_always_inline zval *zend_symtable_find_ind(const HashTable *ht, zend_string *key) in zend_symtable_find_ind() argument
419 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find_ind()
422 return zend_hash_find_ind(ht, key); in zend_symtable_find_ind()
427 static zend_always_inline int zend_symtable_exists(HashTable *ht, zend_string *key) in zend_symtable_exists() argument
431 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists()
434 return zend_hash_exists(ht, key); in zend_symtable_exists()
439 static zend_always_inline int zend_symtable_exists_ind(HashTable *ht, zend_string *key) in zend_symtable_exists_ind() argument
443 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists_ind()
446 return zend_hash_exists_ind(ht, key); in zend_symtable_exists_ind()
522 static zend_always_inline void *zend_hash_add_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_add_ptr() argument
527 zv = zend_hash_add(ht, key, &tmp); in zend_hash_add_ptr()
536 static zend_always_inline void *zend_hash_add_new_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_add_new_ptr() argument
541 zv = zend_hash_add_new(ht, key, &tmp); in zend_hash_add_new_ptr()
578 static zend_always_inline void *zend_hash_update_ptr(HashTable *ht, zend_string *key, void *pData) in zend_hash_update_ptr() argument
583 zv = zend_hash_update(ht, key, &tmp); in zend_hash_update_ptr()
606 static zend_always_inline void *zend_hash_add_mem(HashTable *ht, zend_string *key, void *pData, siz… in zend_hash_add_mem() argument
611 if ((zv = zend_hash_add(ht, key, &tmp))) { in zend_hash_add_mem()
632 static zend_always_inline void *zend_hash_update_mem(HashTable *ht, zend_string *key, void *pData, … in zend_hash_update_mem() argument
638 return zend_hash_update_ptr(ht, key, p); in zend_hash_update_mem()
731 static zend_always_inline void *zend_hash_find_ptr(const HashTable *ht, zend_string *key) in zend_hash_find_ptr() argument
735 zv = zend_hash_find(ht, key); in zend_hash_find_ptr()
843 _key = _p->key;
848 _key = _p->key;
857 _key = _p->key; \
863 _key = _p->key; \
868 _key = _p->key; \
874 _key = _p->key; \
884 _key = _p->key; \
890 _key = _p->key; \
912 _key = _p->key; \
918 _key = _p->key; \
945 __fill_bkt->key = NULL; \
957 static zend_always_inline zval *_zend_hash_append(HashTable *ht, zend_string *key, zval *zv) in _zend_hash_append() argument
964 if (!ZSTR_IS_INTERNED(key)) { in _zend_hash_append()
966 zend_string_addref(key); in _zend_hash_append()
967 zend_string_hash_val(key); in _zend_hash_append()
969 p->key = key; in _zend_hash_append()
970 p->h = ZSTR_H(key); in _zend_hash_append()
979 static zend_always_inline zval *_zend_hash_append_ptr(HashTable *ht, zend_string *key, void *ptr) in _zend_hash_append_ptr() argument
986 if (!ZSTR_IS_INTERNED(key)) { in _zend_hash_append_ptr()
988 zend_string_addref(key); in _zend_hash_append_ptr()
989 zend_string_hash_val(key); in _zend_hash_append_ptr()
991 p->key = key; in _zend_hash_append_ptr()
992 p->h = ZSTR_H(key); in _zend_hash_append_ptr()
1001 static zend_always_inline void _zend_hash_append_ind(HashTable *ht, zend_string *key, zval *ptr) in _zend_hash_append_ind() argument
1008 if (!ZSTR_IS_INTERNED(key)) { in _zend_hash_append_ind()
1010 zend_string_addref(key); in _zend_hash_append_ind()
1011 zend_string_hash_val(key); in _zend_hash_append_ind()
1013 p->key = key; in _zend_hash_append_ind()
1014 p->h = ZSTR_H(key); in _zend_hash_append_ind()