Lines Matching refs:idx
260 …API int ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *idx);
263 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos(uint32_t idx, HashTable *ht);
264 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos_ex(uint32_t idx, zval *array);
265 ZEND_API void ZEND_FASTCALL zend_hash_iterator_del(uint32_t idx);
285 …ic zend_always_inline int _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *idx) in END_EXTERN_C()
300 return _zend_handle_numeric_str_ex(key, length, idx); in END_EXTERN_C()
303 #define ZEND_HANDLE_NUMERIC_STR(key, length, idx) \ argument
304 _zend_handle_numeric_str(key, length, &idx)
306 #define ZEND_HANDLE_NUMERIC(key, idx) \ argument
307 ZEND_HANDLE_NUMERIC_STR(ZSTR_VAL(key), ZSTR_LEN(key), idx)
351 zend_ulong idx; in zend_symtable_add_new() local
353 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_add_new()
354 return zend_hash_index_add_new(ht, idx, pData); in zend_symtable_add_new()
362 zend_ulong idx; in zend_symtable_update() local
364 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update()
365 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update()
374 zend_ulong idx; in zend_symtable_update_ind() local
376 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update_ind()
377 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update_ind()
386 zend_ulong idx; in zend_symtable_del() local
388 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del()
389 return zend_hash_index_del(ht, idx); in zend_symtable_del()
398 zend_ulong idx; in zend_symtable_del_ind() local
400 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del_ind()
401 return zend_hash_index_del(ht, idx); in zend_symtable_del_ind()
410 zend_ulong idx; in zend_symtable_find() local
412 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find()
413 return zend_hash_index_find(ht, idx); in zend_symtable_find()
422 zend_ulong idx; in zend_symtable_find_ind() local
424 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find_ind()
425 return zend_hash_index_find(ht, idx); in zend_symtable_find_ind()
434 zend_ulong idx; in zend_symtable_exists() local
436 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists()
437 return zend_hash_index_exists(ht, idx); in zend_symtable_exists()
446 zend_ulong idx; in zend_symtable_exists_ind() local
448 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists_ind()
449 return zend_hash_index_exists(ht, idx); in zend_symtable_exists_ind()
458 zend_ulong idx; in zend_symtable_str_update() local
460 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update()
461 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update()
470 zend_ulong idx; in zend_symtable_str_update_ind() local
472 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update_ind()
473 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update_ind()
482 zend_ulong idx; in zend_symtable_str_del() local
484 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del()
485 return zend_hash_index_del(ht, idx); in zend_symtable_str_del()
494 zend_ulong idx; in zend_symtable_str_del_ind() local
496 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del_ind()
497 return zend_hash_index_del(ht, idx); in zend_symtable_str_del_ind()
506 zend_ulong idx; in zend_symtable_str_find() local
508 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find()
509 return zend_hash_index_find(ht, idx); in zend_symtable_str_find()
518 zend_ulong idx; in zend_symtable_str_exists() local
520 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_exists()
521 return zend_hash_index_exists(ht, idx); in zend_symtable_str_exists()
804 zend_ulong idx; in zend_symtable_str_find_ptr() local
806 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find_ptr()
807 return zend_hash_index_find_ptr(ht, idx); in zend_symtable_str_find_ptr()
1019 uint32_t idx = ht->nNumUsed++; in _zend_hash_append() local
1021 Bucket *p = ht->arData + idx; in _zend_hash_append()
1033 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append()
1034 ht->nNumUsed = idx + 1; in _zend_hash_append()
1041 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ptr() local
1043 Bucket *p = ht->arData + idx; in _zend_hash_append_ptr()
1055 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ptr()
1056 ht->nNumUsed = idx + 1; in _zend_hash_append_ptr()
1063 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ind() local
1065 Bucket *p = ht->arData + idx; in _zend_hash_append_ind()
1077 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ind()
1078 ht->nNumUsed = idx + 1; in _zend_hash_append_ind()