Lines Matching refs:idx
308 …PI bool ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *idx);
311 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos(uint32_t idx, HashTable *ht);
312 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos_ex(uint32_t idx, zval *array);
313 ZEND_API void ZEND_FASTCALL zend_hash_iterator_del(uint32_t idx);
354 …c zend_always_inline bool _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *idx) in END_EXTERN_C()
369 return _zend_handle_numeric_str_ex(key, length, idx); in END_EXTERN_C()
372 #define ZEND_HANDLE_NUMERIC_STR(key, length, idx) \ argument
373 _zend_handle_numeric_str(key, length, &idx)
375 #define ZEND_HANDLE_NUMERIC(key, idx) \ argument
376 ZEND_HANDLE_NUMERIC_STR(ZSTR_VAL(key), ZSTR_LEN(key), idx)
430 zend_ulong idx; in zend_symtable_add_new() local
432 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_add_new()
433 return zend_hash_index_add_new(ht, idx, pData); in zend_symtable_add_new()
441 zend_ulong idx; in zend_symtable_update() local
443 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update()
444 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update()
453 zend_ulong idx; in zend_symtable_update_ind() local
455 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update_ind()
456 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update_ind()
465 zend_ulong idx; in zend_symtable_del() local
467 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del()
468 return zend_hash_index_del(ht, idx); in zend_symtable_del()
477 zend_ulong idx; in zend_symtable_del_ind() local
479 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del_ind()
480 return zend_hash_index_del(ht, idx); in zend_symtable_del_ind()
489 zend_ulong idx; in zend_symtable_find() local
491 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find()
492 return zend_hash_index_find(ht, idx); in zend_symtable_find()
501 zend_ulong idx; in zend_symtable_find_ind() local
503 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find_ind()
504 return zend_hash_index_find(ht, idx); in zend_symtable_find_ind()
513 zend_ulong idx; in zend_symtable_exists() local
515 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists()
516 return zend_hash_index_exists(ht, idx); in zend_symtable_exists()
525 zend_ulong idx; in zend_symtable_exists_ind() local
527 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists_ind()
528 return zend_hash_index_exists(ht, idx); in zend_symtable_exists_ind()
537 zend_ulong idx; in zend_symtable_str_update() local
539 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update()
540 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update()
549 zend_ulong idx; in zend_symtable_str_update_ind() local
551 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update_ind()
552 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update_ind()
561 zend_ulong idx; in zend_symtable_str_del() local
563 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del()
564 return zend_hash_index_del(ht, idx); in zend_symtable_str_del()
573 zend_ulong idx; in zend_symtable_str_del_ind() local
575 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del_ind()
576 return zend_hash_index_del(ht, idx); in zend_symtable_str_del_ind()
585 zend_ulong idx; in zend_symtable_str_find() local
587 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find()
588 return zend_hash_index_find(ht, idx); in zend_symtable_str_find()
597 zend_ulong idx; in zend_symtable_str_exists() local
599 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_exists()
600 return zend_hash_index_exists(ht, idx); in zend_symtable_str_exists()
918 zend_ulong idx; in zend_symtable_str_find_ptr() local
920 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find_ptr()
921 return zend_hash_index_find_ptr(ht, idx); in zend_symtable_str_find_ptr()
1193 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ex() local
1195 Bucket *p = ht->arData + idx; in _zend_hash_append_ex()
1207 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ex()
1219 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ptr_ex() local
1221 Bucket *p = ht->arData + idx; in _zend_hash_append_ptr_ex()
1233 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ptr_ex()
1245 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ind() local
1247 Bucket *p = ht->arData + idx; in _zend_hash_append_ind()
1259 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ind()