/php-src/Zend/ |
H A D | zend_hash.c | 254 .nNumUsed = 0, 269 ht->nNumUsed = 0; in _zend_hash_init_int() 444 ht->nNumUsed = nNumUsed; in zend_hash_discard() 1452 ht->nNumUsed--; in _zend_hash_packed_del_val() 1478 ht->nNumUsed--; in _zend_hash_del_el_ex() 1940 ht->nNumUsed = 0; in zend_hash_clean() 1980 ht->nNumUsed = 0; in zend_symtable_clean() 2412 target->nNumUsed = source->nNumUsed; in zend_array_dup_elements() 2463 target->nNumUsed = source->nNumUsed; in zend_array_dup() 2479 target->nNumUsed = source->nNumUsed; in zend_array_dup() [all …]
|
H A D | zend_hash.h | 63 ((ht)->nNumUsed == (ht)->nNumOfElements) 1016 uint32_t _count = __ht->nNumUsed; \ 1024 uint32_t _idx = __ht->nNumUsed; \ 1061 uint32_t _idx = __ht->nNumUsed; \ 1264 uint32_t _idx = __ht->nNumUsed; \ 1295 __ht->nNumUsed = _idx; \ 1470 zend_ulong _idx = __ht->nNumUsed; \ 1577 __fill_ht->nNumUsed = __fill_idx; \ 1623 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ex() 1649 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ptr_ex() [all …]
|
H A D | zend_list.c | 218 uint32_t i = ht->nNumUsed; in zend_close_rsrc_list()
|
H A D | zend_objects.c | 265 …zend_hash_extend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements… in zend_objects_clone_members()
|
H A D | zend_gc.c | 939 n = ht->nNumUsed; in gc_scan_black() 1114 n = ht->nNumUsed; in gc_mark_grey() 1326 n = ht->nNumUsed; in gc_scan() 1567 n = ht->nNumUsed; in gc_collect_white() 1754 n = ht->nNumUsed; in gc_remove_nested_data_from_buffer()
|
H A D | zend_property_hooks.c | 206 if (pos >= properties->nNumUsed) { in zho_dynamic_it_fetch_current()
|
H A D | zend_types.h | 406 uint32_t nNumUsed; member 477 (HT_HASH_SIZE((ht)->nTableMask) + ((size_t)(ht)->nNumUsed * sizeof(Bucket))) 485 (HT_HASH_SIZE((ht)->nTableMask) + ((size_t)(ht)->nNumUsed * sizeof(zval)))
|
H A D | zend_execute_API.c | 191 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed; in init_executor() 192 EG(persistent_functions_count) = EG(function_table)->nNumUsed; in init_executor() 193 EG(persistent_classes_count) = EG(class_table)->nNumUsed; in init_executor()
|
H A D | zend_generators.c | 656 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value() 674 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value()
|
H A D | zend_vm_def.h | 2130 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { 2304 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { 7010 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) { in ZEND_VM_HELPER() 7124 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) { 7146 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) { 7206 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) { 7225 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) { 7257 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) { 8590 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) { 10340 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) { [all …]
|
H A D | zend_object_handlers.c | 756 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_read_property() 2189 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_has_property()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 58 persistent_script->script.function_table.nNumUsed = 0; in free_persistent_script() 59 persistent_script->script.class_table.nNumUsed = 0; in free_persistent_script() 103 end = src->arData + src->nNumUsed; in zend_accel_move_user_functions() 134 end = src->arData + src->nNumUsed; in zend_accel_move_user_classes() 154 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in _zend_accel_function_hash_copy() 156 end = p + source->nNumUsed; in _zend_accel_function_hash_copy() 205 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in _zend_accel_class_hash_copy() 207 end = p + source->nNumUsed; in _zend_accel_class_hash_copy()
|
H A D | zend_persist_calc.c | 54 if ((HT_FLAGS(ht) & HASH_FLAG_UNINITIALIZED) || ht->nNumUsed == 0) { in zend_hash_persist_calc() 60 } else if (ht->nNumUsed > HT_MIN_SIZE && ht->nNumUsed < (uint32_t)(-(int32_t)ht->nTableMask) / 4) { in zend_hash_persist_calc() 65 while (hash_size >> 2 > ht->nNumUsed) { in zend_hash_persist_calc() 68 ADD_SIZE(hash_size * sizeof(uint32_t) + ht->nNumUsed * sizeof(Bucket)); in zend_hash_persist_calc() 626 …if (new_persistent_script->script.class_table.nNumUsed != new_persistent_script->script.class_tabl… in zend_accel_script_persist_calc() 630 …if (new_persistent_script->script.function_table.nNumUsed != new_persistent_script->script.functio… in zend_accel_script_persist_calc()
|
H A D | zend_persist.c | 111 if (ht->nNumUsed == 0) { in zend_hash_persist() 130 } else if (ht->nNumUsed > HT_MIN_SIZE && ht->nNumUsed < (uint32_t)(-(int32_t)ht->nTableMask) / 4) { in zend_hash_persist() 137 while (hash_size >> 2 > ht->nNumUsed) { in zend_hash_persist() 143 …har*)ZCG(mem) + ZEND_ALIGNED_SIZE((hash_size * sizeof(uint32_t)) + (ht->nNumUsed * sizeof(Bucket))… in zend_hash_persist() 145 memcpy(ht->arData, old_buckets, ht->nNumUsed * sizeof(Bucket)); in zend_hash_persist() 151 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_persist()
|
H A D | ZendAccelerator.c | 1800 orig_functions_count = EG(function_table)->nNumUsed; in opcache_compile_file() 1801 orig_class_count = EG(class_table)->nNumUsed; in opcache_compile_file() 3582 zend_hash_extend(dst, dst->nNumUsed + src->nNumUsed, 0); 3621 zend_hash_extend(dst, dst->nNumUsed + src->nNumUsed, 0); 4310 Bucket *end = p + script->function_table.nNumUsed; 4313 CG(function_table)->nNumUsed + script->function_table.nNumUsed, 0); 4321 Bucket *end = p + script->class_table.nNumUsed; 4324 CG(class_table)->nNumUsed + script->class_table.nNumUsed, 0); 4331 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed; 4334 EG(persistent_functions_count) = EG(function_table)->nNumUsed; [all …]
|
H A D | zend_file_cache.c | 322 end = p + ht->nNumUsed; 335 end = p + ht->nNumUsed; 1203 end = p + ht->nNumUsed; 1214 end = p + ht->nNumUsed;
|
H A D | zend_shared_alloc.c | 566 return ZCG(xlat_table).nNumUsed; in zend_shared_alloc_checkpoint_xlat_table()
|
/php-src/ext/standard/ |
H A D | array.c | 3233 zend_long i = hash->nNumUsed; 3297 hash->nNumUsed = n_elems; 3501 in_hash->nNumUsed = out_hash.nNumUsed; 3558 idx = Z_ARRVAL_P(stack)->nNumUsed; 3581 idx = Z_ARRVAL_P(stack)->nNumUsed; 3671 Z_ARRVAL_P(stack)->nNumUsed = k; 3760 Z_ARRVAL_P(stack)->nNumUsed = new_hash.nNumUsed; 3858 return ht->arData + ht->nNumUsed; 3885 return ht->arPacked + ht->nNumUsed; 6160 hash->nNumUsed = array_size; [all …]
|
H A D | string.c | 2400 while (repl_idx < repl_ht->nNumUsed) { 2408 while (repl_idx < repl_ht->nNumUsed) { 2416 if (repl_idx < repl_ht->nNumUsed) { 2457 while (from_idx < from_ht->nNumUsed) { 2465 while (from_idx < from_ht->nNumUsed) { 2473 if (from_idx < from_ht->nNumUsed) { 2502 while (len_idx < len_ht->nNumUsed) { 2510 while (len_idx < len_ht->nNumUsed) { 2518 if (len_idx < len_ht->nNumUsed) { 2547 while (repl_idx < repl_ht->nNumUsed) { [all …]
|
/php-src/ext/snmp/ |
H A D | snmp.c | 690 while (idx_type < type_ht->nNumUsed) { in php_snmp_parse_oid() 698 while (idx_type < type_ht->nNumUsed) { in php_snmp_parse_oid() 706 if (idx_type < type_ht->nNumUsed) { in php_snmp_parse_oid() 727 while (idx_value < value_ht->nNumUsed) { in php_snmp_parse_oid() 735 while (idx_value < value_ht->nNumUsed) { in php_snmp_parse_oid() 743 if (idx_value < value_ht->nNumUsed) { in php_snmp_parse_oid()
|
/php-src/ext/spl/ |
H A D | php_spl.c | 478 Bucket tmp = (ht)->arData[(ht)->nNumUsed-1]; \ 480 sizeof(Bucket) * ((ht)->nNumUsed - 1)); \
|
/php-src/ |
H A D | .gdbinit | 230 set $num = $ht->nNumUsed 329 set $num = $ht->nNumUsed
|
/php-src/ext/dom/ |
H A D | token_list.c | 646 return iterator->pos >= token_set->nNumUsed ? FAILURE : SUCCESS; in dom_token_list_it_valid()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1860 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_global_helper() 1962 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_obj_r_dynamic() 2018 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_obj_is_dynamic() 2072 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_obj_r_dynamic_ex() 2124 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_obj_is_dynamic_ex()
|
/php-src/ext/zend_test/ |
H A D | test.c | 742 zend_hash_extend(parameter, parameter->nNumUsed + 10, true); in ZEND_FUNCTION()
|