Lines Matching refs:idx

251 …API int ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *idx);
254 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos(uint32_t idx, HashTable *ht);
255 ZEND_API HashPosition ZEND_FASTCALL zend_hash_iterator_pos_ex(uint32_t idx, zval *array);
256 ZEND_API void ZEND_FASTCALL zend_hash_iterator_del(uint32_t idx);
276 …ic zend_always_inline int _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *idx) in END_EXTERN_C()
291 return _zend_handle_numeric_str_ex(key, length, idx); in END_EXTERN_C()
294 #define ZEND_HANDLE_NUMERIC_STR(key, length, idx) \ argument
295 _zend_handle_numeric_str(key, length, &idx)
297 #define ZEND_HANDLE_NUMERIC(key, idx) \ argument
298 ZEND_HANDLE_NUMERIC_STR(ZSTR_VAL(key), ZSTR_LEN(key), idx)
342 zend_ulong idx; in zend_symtable_add_new() local
344 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_add_new()
345 return zend_hash_index_add_new(ht, idx, pData); in zend_symtable_add_new()
357 zend_ulong idx; in zend_symtable_update() local
359 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update()
360 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update()
369 zend_ulong idx; in zend_symtable_update_ind() local
371 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_update_ind()
372 return zend_hash_index_update(ht, idx, pData); in zend_symtable_update_ind()
381 zend_ulong idx; in zend_symtable_del() local
383 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del()
384 return zend_hash_index_del(ht, idx); in zend_symtable_del()
393 zend_ulong idx; in zend_symtable_del_ind() local
395 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_del_ind()
396 return zend_hash_index_del(ht, idx); in zend_symtable_del_ind()
405 zend_ulong idx; in zend_symtable_find() local
407 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find()
408 return zend_hash_index_find(ht, idx); in zend_symtable_find()
417 zend_ulong idx; in zend_symtable_find_ind() local
419 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_find_ind()
420 return zend_hash_index_find(ht, idx); in zend_symtable_find_ind()
429 zend_ulong idx; in zend_symtable_exists() local
431 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists()
432 return zend_hash_index_exists(ht, idx); in zend_symtable_exists()
441 zend_ulong idx; in zend_symtable_exists_ind() local
443 if (ZEND_HANDLE_NUMERIC(key, idx)) { in zend_symtable_exists_ind()
444 return zend_hash_index_exists(ht, idx); in zend_symtable_exists_ind()
453 zend_ulong idx; in zend_symtable_str_update() local
455 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update()
456 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update()
465 zend_ulong idx; in zend_symtable_str_update_ind() local
467 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_update_ind()
468 return zend_hash_index_update(ht, idx, pData); in zend_symtable_str_update_ind()
477 zend_ulong idx; in zend_symtable_str_del() local
479 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del()
480 return zend_hash_index_del(ht, idx); in zend_symtable_str_del()
489 zend_ulong idx; in zend_symtable_str_del_ind() local
491 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_del_ind()
492 return zend_hash_index_del(ht, idx); in zend_symtable_str_del_ind()
501 zend_ulong idx; in zend_symtable_str_find() local
503 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find()
504 return zend_hash_index_find(ht, idx); in zend_symtable_str_find()
513 zend_ulong idx; in zend_symtable_str_exists() local
515 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_exists()
516 return zend_hash_index_exists(ht, idx); in zend_symtable_str_exists()
772 zend_ulong idx; in zend_symtable_str_find_ptr() local
774 if (ZEND_HANDLE_NUMERIC_STR(str, len, idx)) { in zend_symtable_str_find_ptr()
775 return zend_hash_index_find_ptr(ht, idx); in zend_symtable_str_find_ptr()
959 uint32_t idx = ht->nNumUsed++; in _zend_hash_append() local
961 Bucket *p = ht->arData + idx; in _zend_hash_append()
973 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append()
974 ht->nNumUsed = idx + 1; in _zend_hash_append()
981 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ptr() local
983 Bucket *p = ht->arData + idx; in _zend_hash_append_ptr()
995 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ptr()
996 ht->nNumUsed = idx + 1; in _zend_hash_append_ptr()
1003 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ind() local
1005 Bucket *p = ht->arData + idx; in _zend_hash_append_ind()
1017 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in _zend_hash_append_ind()
1018 ht->nNumUsed = idx + 1; in _zend_hash_append_ind()