Lines Matching refs:arKey

45 typedef ulong (*hash_func_t)(const char *arKey, uint nKeyLength);
63 char arKey[1]; /* Must be last element */ member
86 char *arKey; member
107 ZEND_API int _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pDat…
108 #define zend_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ argument
109 …_zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LIN…
110 #define zend_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ argument
111 …_zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_ADD ZEND_FILE_LINE_C…
113 ZEND_API int _zend_hash_quick_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, ulon…
114 #define zend_hash_quick_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \ argument
115 …_zend_hash_quick_add_or_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest, HASH_UPDATE ZEND…
116 #define zend_hash_quick_add(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \ argument
117 …_zend_hash_quick_add_or_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest, HASH_ADD ZEND_FI…
125 ZEND_API int zend_hash_add_empty_element(HashTable *ht, const char *arKey, uint nKeyLength);
152 ZEND_API int zend_hash_del_key_or_index(HashTable *ht, const char *arKey, uint nKeyLength, ulong h,…
153 #define zend_hash_del(ht, arKey, nKeyLength) \ argument
154 zend_hash_del_key_or_index(ht, arKey, nKeyLength, 0, HASH_DEL_KEY)
155 #define zend_hash_quick_del(ht, arKey, nKeyLength, h) \ argument
156 zend_hash_del_key_or_index(ht, arKey, nKeyLength, h, HASH_DEL_KEY_QUICK)
160 ZEND_API ulong zend_get_hash_value(const char *arKey, uint nKeyLength);
163 ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData);
164 ZEND_API int zend_hash_quick_find(const HashTable *ht, const char *arKey, uint nKeyLength, ulong h,…
168 ZEND_API int zend_hash_exists(const HashTable *ht, const char *arKey, uint nKeyLength);
169 ZEND_API int zend_hash_quick_exists(const HashTable *ht, const char *arKey, uint nKeyLength, ulong …
261 static inline ulong zend_inline_hash_func(const char *arKey, uint nKeyLength) in zend_inline_hash_func() argument
267 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func()
268 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func()
269 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func()
270 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func()
271 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func()
272 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func()
273 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func()
274 hash = ((hash << 5) + hash) + *arKey++; in zend_inline_hash_func()
277 case 7: hash = ((hash << 5) + hash) + *arKey++; /* fallthrough... */ in zend_inline_hash_func()
278 case 6: hash = ((hash << 5) + hash) + *arKey++; /* fallthrough... */ in zend_inline_hash_func()
279 case 5: hash = ((hash << 5) + hash) + *arKey++; /* fallthrough... */ in zend_inline_hash_func()
280 case 4: hash = ((hash << 5) + hash) + *arKey++; /* fallthrough... */ in zend_inline_hash_func()
281 case 3: hash = ((hash << 5) + hash) + *arKey++; /* fallthrough... */ in zend_inline_hash_func()
282 case 2: hash = ((hash << 5) + hash) + *arKey++; /* fallthrough... */ in zend_inline_hash_func()
283 case 1: hash = ((hash << 5) + hash) + *arKey++; break; in zend_inline_hash_func()
291 ZEND_API ulong zend_hash_func(const char *arKey, uint nKeyLength);
343 static inline int zend_symtable_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pDa…
345 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_update(ht, idx, pData, nDataSize, pDest));
346 return zend_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest);
350 static inline int zend_symtable_del(HashTable *ht, const char *arKey, uint nKeyLength) in zend_symtable_del() argument
352 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_del(ht, idx)); in zend_symtable_del()
353 return zend_hash_del(ht, arKey, nKeyLength); in zend_symtable_del()
357 static inline int zend_symtable_find(HashTable *ht, const char *arKey, uint nKeyLength, void **pDat… in zend_symtable_find() argument
359 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_find(ht, idx, pData)); in zend_symtable_find()
360 return zend_hash_find(ht, arKey, nKeyLength, pData); in zend_symtable_find()
364 static inline int zend_symtable_exists(HashTable *ht, const char *arKey, uint nKeyLength) in zend_symtable_exists() argument
366 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_exists(ht, idx)); in zend_symtable_exists()
367 return zend_hash_exists(ht, arKey, nKeyLength); in zend_symtable_exists()
370 static inline int zend_symtable_update_current_key_ex(HashTable *ht, const char *arKey, uint nKeyLe… in zend_symtable_update_current_key_ex() argument
372 …ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_update_current_key_ex(ht, HASH_KEY_IS_LONG, NULL,… in zend_symtable_update_current_key_ex()
373 return zend_hash_update_current_key_ex(ht, HASH_KEY_IS_STRING, arKey, nKeyLength, 0, mode, pos); in zend_symtable_update_current_key_ex()
375 #define zend_symtable_update_current_key(ht,arKey,nKeyLength,mode) \ argument
376 zend_symtable_update_current_key_ex(ht, arKey, nKeyLength, mode, NULL)