Lines Matching refs:idx

224 …API int ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *idx);
227 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos(uint32_t idx, HashTable *ht);
228 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos_ex(uint32_t idx, zval *array);
229 ZEND_API void ZEND_FASTCALL zend_hash_iterator_del(uint32_t idx);
249 …ic zend_always_inline int _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *idx) in END_EXTERN_C()
264 return _zend_handle_numeric_str_ex(key, length, idx); in END_EXTERN_C()
267 #define ZEND_HANDLE_NUMERIC_STR(key, length, idx) \ argument
268 _zend_handle_numeric_str(key, length, &idx)
270 #define ZEND_HANDLE_NUMERIC(key, idx) \ argument
271 ZEND_HANDLE_NUMERIC_STR(ZSTR_VAL(key), ZSTR_LEN(key), idx)
315 zend_ulong idx; in zend_symtable_add_new() local
317 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_add_new()
318 return zend_hash_index_add_new(ht, idx, pData); in zend_symtable_add_new()
330 zend_ulong idx; in zend_symtable_update() local
332 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update()
333 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update()
342 zend_ulong idx; in zend_symtable_update_ind() local
344 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update_ind()
345 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update_ind()
354 zend_ulong idx; in zend_symtable_del() local
356 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del()
357 return zend_hash_index_del(ht, idx); in zend_symtable_del()
366 zend_ulong idx; in zend_symtable_del_ind() local
368 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del_ind()
369 return zend_hash_index_del(ht, idx); in zend_symtable_del_ind()
378 zend_ulong idx; in zend_symtable_find() local
380 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find()
381 return zend_hash_index_find(ht, idx); in zend_symtable_find()
390 zend_ulong idx; in zend_symtable_find_ind() local
392 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find_ind()
393 return zend_hash_index_find(ht, idx); in zend_symtable_find_ind()
402 zend_ulong idx; in zend_symtable_exists() local
404 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists()
405 return zend_hash_index_exists(ht, idx); in zend_symtable_exists()
414 zend_ulong idx; in zend_symtable_exists_ind() local
416 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists_ind()
417 return zend_hash_index_exists(ht, idx); in zend_symtable_exists_ind()
426 zend_ulong idx; in zend_symtable_str_update() local
428 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update()
429 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update()
438 zend_ulong idx; in zend_symtable_str_update_ind() local
440 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update_ind()
441 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update_ind()
450 zend_ulong idx; in zend_symtable_str_del() local
452 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del()
453 return zend_hash_index_del(ht, idx); in zend_symtable_str_del()
462 zend_ulong idx; in zend_symtable_str_del_ind() local
464 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del_ind()
465 return zend_hash_index_del(ht, idx); in zend_symtable_str_del_ind()
474 zend_ulong idx; in zend_symtable_str_find() local
476 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find()
477 return zend_hash_index_find(ht, idx); in zend_symtable_str_find()
486 zend_ulong idx; in zend_symtable_str_exists() local
488 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_exists()
489 return zend_hash_index_exists(ht, idx); in zend_symtable_str_exists()
745 zend_ulong idx; in zend_symtable_str_find_ptr() local
747 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find_ptr()
748 return zend_hash_index_find_ptr(ht, idx); in zend_symtable_str_find_ptr()
932 uint32_t idx = ht->nNumUsed++; in _zend_hash_append() local
934 Bucket *p = ht->arData + idx; in _zend_hash_append()
946 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append()
947 ht->nNumUsed = idx + 1; in _zend_hash_append()
954 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ptr() local
956 Bucket *p = ht->arData + idx; in _zend_hash_append_ptr()
968 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ptr()
969 ht->nNumUsed = idx + 1; in _zend_hash_append_ptr()
976 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ind() local
978 Bucket *p = ht->arData + idx; in _zend_hash_append_ind()
990 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ind()
991 ht->nNumUsed = idx + 1; in _zend_hash_append_ind()