Lines Matching refs:idx
350 …PI bool ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *idx);
353 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos(uint32_t idx, HashTable *ht);
354 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos_ex(uint32_t idx, zval *array);
355 ZEND_API void ZEND_FASTCALL zend_hash_iterator_del(uint32_t idx);
396 …c zend_always_inline bool _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *idx) in END_EXTERN_C()
411 return _zend_handle_numeric_str_ex(key, length, idx); in END_EXTERN_C()
414 #define ZEND_HANDLE_NUMERIC_STR(key, length, idx) \ argument
415 _zend_handle_numeric_str(key, length, &idx)
417 #define ZEND_HANDLE_NUMERIC(key, idx) \ argument
418 ZEND_HANDLE_NUMERIC_STR(ZSTR_VAL(key), ZSTR_LEN(key), idx)
472 zend_ulong idx; in zend_symtable_add_new() local
474 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_add_new()
475 return zend_hash_index_add_new(ht, idx, pData); in zend_symtable_add_new()
483 zend_ulong idx; in zend_symtable_update() local
485 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update()
486 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update()
495 zend_ulong idx; in zend_symtable_update_ind() local
497 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update_ind()
498 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update_ind()
507 zend_ulong idx; in zend_symtable_del() local
509 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del()
510 return zend_hash_index_del(ht, idx); in zend_symtable_del()
519 zend_ulong idx; in zend_symtable_del_ind() local
521 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del_ind()
522 return zend_hash_index_del(ht, idx); in zend_symtable_del_ind()
531 zend_ulong idx; in zend_symtable_find() local
533 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find()
534 return zend_hash_index_find(ht, idx); in zend_symtable_find()
543 zend_ulong idx; in zend_symtable_find_ind() local
545 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find_ind()
546 return zend_hash_index_find(ht, idx); in zend_symtable_find_ind()
555 zend_ulong idx; in zend_symtable_exists() local
557 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists()
558 return zend_hash_index_exists(ht, idx); in zend_symtable_exists()
567 zend_ulong idx; in zend_symtable_exists_ind() local
569 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists_ind()
570 return zend_hash_index_exists(ht, idx); in zend_symtable_exists_ind()
579 zend_ulong idx; in zend_symtable_str_update() local
581 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update()
582 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update()
591 zend_ulong idx; in zend_symtable_str_update_ind() local
593 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update_ind()
594 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update_ind()
603 zend_ulong idx; in zend_symtable_str_del() local
605 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del()
606 return zend_hash_index_del(ht, idx); in zend_symtable_str_del()
615 zend_ulong idx; in zend_symtable_str_del_ind() local
617 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del_ind()
618 return zend_hash_index_del(ht, idx); in zend_symtable_str_del_ind()
627 zend_ulong idx; in zend_symtable_str_find() local
629 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find()
630 return zend_hash_index_find(ht, idx); in zend_symtable_str_find()
639 zend_ulong idx; in zend_symtable_str_exists() local
641 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_exists()
642 return zend_hash_index_exists(ht, idx); in zend_symtable_str_exists()
960 zend_ulong idx; in zend_symtable_str_find_ptr() local
962 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find_ptr()
963 return zend_hash_index_find_ptr(ht, idx); in zend_symtable_str_find_ptr()
1615 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ex() local
1617 Bucket *p = ht->arData + idx; in _zend_hash_append_ex()
1629 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ex()
1641 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ptr_ex() local
1643 Bucket *p = ht->arData + idx; in _zend_hash_append_ptr_ex()
1655 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ptr_ex()
1667 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ind() local
1669 Bucket *p = ht->arData + idx; in _zend_hash_append_ind()
1681 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ind()