Lines Matching refs:nKeyLength

46 typedef ulong (*hash_func_t)(const char *arKey, uint nKeyLength);
57 uint nKeyLength; member
88 uint nKeyLength; member
108 ZEND_API int _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pDat…
109 #define zend_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ argument
110 …_zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LIN…
111 #define zend_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ argument
112 …_zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_ADD ZEND_FILE_LINE_C…
114 ZEND_API int _zend_hash_quick_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, ulon…
115 #define zend_hash_quick_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \ argument
116 …_zend_hash_quick_add_or_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest, HASH_UPDATE ZEND…
117 #define zend_hash_quick_add(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \ argument
118 …_zend_hash_quick_add_or_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest, HASH_ADD ZEND_FI…
126 ZEND_API int zend_hash_add_empty_element(HashTable *ht, const char *arKey, uint nKeyLength);
153 ZEND_API int zend_hash_del_key_or_index(HashTable *ht, const char *arKey, uint nKeyLength, ulong h,…
154 #define zend_hash_del(ht, arKey, nKeyLength) \ argument
155 zend_hash_del_key_or_index(ht, arKey, nKeyLength, 0, HASH_DEL_KEY)
156 #define zend_hash_quick_del(ht, arKey, nKeyLength, h) \ argument
157 zend_hash_del_key_or_index(ht, arKey, nKeyLength, h, HASH_DEL_KEY_QUICK)
161 ZEND_API ulong zend_get_hash_value(const char *arKey, uint nKeyLength);
164 ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData);
165 ZEND_API int zend_hash_quick_find(const HashTable *ht, const char *arKey, uint nKeyLength, ulong h,…
169 ZEND_API int zend_hash_exists(const HashTable *ht, const char *arKey, uint nKeyLength);
170 ZEND_API int zend_hash_quick_exists(const HashTable *ht, const char *arKey, uint nKeyLength, ulong …
264 static inline ulong zend_inline_hash_func(const char *arKey, uint nKeyLength) in zend_inline_hash_func() argument
269 for (; nKeyLength >= 8; nKeyLength -= 8) { in zend_inline_hash_func()
279 switch (nKeyLength) { in zend_inline_hash_func()
294 ZEND_API ulong zend_hash_func(const char *arKey, uint nKeyLength);
351 static inline int zend_symtable_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pDa…
353 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_update(ht, idx, pData, nDataSize, pDest));
354 return zend_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest);
358 static inline int zend_symtable_del(HashTable *ht, const char *arKey, uint nKeyLength) in zend_symtable_del() argument
360 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_del(ht, idx)); in zend_symtable_del()
361 return zend_hash_del(ht, arKey, nKeyLength); in zend_symtable_del()
365 static inline int zend_symtable_find(HashTable *ht, const char *arKey, uint nKeyLength, void **pDat… in zend_symtable_find() argument
367 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_find(ht, idx, pData)); in zend_symtable_find()
368 return zend_hash_find(ht, arKey, nKeyLength, pData); in zend_symtable_find()
372 static inline int zend_symtable_exists(HashTable *ht, const char *arKey, uint nKeyLength) in zend_symtable_exists() argument
374 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_exists(ht, idx)); in zend_symtable_exists()
375 return zend_hash_exists(ht, arKey, nKeyLength); in zend_symtable_exists()
378 …_symtable_update_current_key_ex(HashTable *ht, const char *arKey, uint nKeyLength, int mode, HashP… in zend_symtable_update_current_key_ex() argument
380 …ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_update_current_key_ex(ht, HASH_KEY_IS_LONG, NULL,… in zend_symtable_update_current_key_ex()
381 return zend_hash_update_current_key_ex(ht, HASH_KEY_IS_STRING, arKey, nKeyLength, 0, mode, pos); in zend_symtable_update_current_key_ex()
383 #define zend_symtable_update_current_key(ht,arKey,nKeyLength,mode) \ argument
384 zend_symtable_update_current_key_ex(ht, arKey, nKeyLength, mode, NULL)