Lines Matching refs:idx
308 …API int 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);
334 …ic zend_always_inline int _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *idx) in END_EXTERN_C()
349 return _zend_handle_numeric_str_ex(key, length, idx); in END_EXTERN_C()
352 #define ZEND_HANDLE_NUMERIC_STR(key, length, idx) \ argument
353 _zend_handle_numeric_str(key, length, &idx)
355 #define ZEND_HANDLE_NUMERIC(key, idx) \ argument
356 ZEND_HANDLE_NUMERIC_STR(ZSTR_VAL(key), ZSTR_LEN(key), idx)
410 zend_ulong idx; in zend_symtable_add_new() local
412 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_add_new()
413 return zend_hash_index_add_new(ht, idx, pData); in zend_symtable_add_new()
421 zend_ulong idx; in zend_symtable_update() local
423 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update()
424 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update()
433 zend_ulong idx; in zend_symtable_update_ind() local
435 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update_ind()
436 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update_ind()
445 zend_ulong idx; in zend_symtable_del() local
447 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del()
448 return zend_hash_index_del(ht, idx); in zend_symtable_del()
457 zend_ulong idx; in zend_symtable_del_ind() local
459 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del_ind()
460 return zend_hash_index_del(ht, idx); in zend_symtable_del_ind()
469 zend_ulong idx; in zend_symtable_find() local
471 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find()
472 return zend_hash_index_find(ht, idx); in zend_symtable_find()
481 zend_ulong idx; in zend_symtable_find_ind() local
483 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find_ind()
484 return zend_hash_index_find(ht, idx); in zend_symtable_find_ind()
493 zend_ulong idx; in zend_symtable_exists() local
495 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists()
496 return zend_hash_index_exists(ht, idx); in zend_symtable_exists()
505 zend_ulong idx; in zend_symtable_exists_ind() local
507 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists_ind()
508 return zend_hash_index_exists(ht, idx); in zend_symtable_exists_ind()
517 zend_ulong idx; in zend_symtable_str_update() local
519 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update()
520 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update()
529 zend_ulong idx; in zend_symtable_str_update_ind() local
531 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update_ind()
532 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update_ind()
541 zend_ulong idx; in zend_symtable_str_del() local
543 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del()
544 return zend_hash_index_del(ht, idx); in zend_symtable_str_del()
553 zend_ulong idx; in zend_symtable_str_del_ind() local
555 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del_ind()
556 return zend_hash_index_del(ht, idx); in zend_symtable_str_del_ind()
565 zend_ulong idx; in zend_symtable_str_find() local
567 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find()
568 return zend_hash_index_find(ht, idx); in zend_symtable_str_find()
577 zend_ulong idx; in zend_symtable_str_exists() local
579 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_exists()
580 return zend_hash_index_exists(ht, idx); in zend_symtable_str_exists()
890 zend_ulong idx; in zend_symtable_str_find_ptr() local
892 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find_ptr()
893 return zend_hash_index_find_ptr(ht, idx); in zend_symtable_str_find_ptr()
1122 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ex() local
1124 Bucket *p = ht->arData + idx; in _zend_hash_append_ex()
1136 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ex()
1148 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ptr_ex() local
1150 Bucket *p = ht->arData + idx; in _zend_hash_append_ptr_ex()
1162 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ptr_ex()
1174 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ind() local
1176 Bucket *p = ht->arData + idx; in _zend_hash_append_ind()
1188 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ind()