Home
last modified time | relevance | path

Searched refs:nNumUsed (Results 1 – 25 of 28) sorted by relevance

12

/PHP-8.1/Zend/
H A Dzend_hash.c244 .nNumUsed = 0,
259 ht->nNumUsed = 0; in _zend_hash_init_int()
422 ht->nNumUsed = nNumUsed; in zend_hash_discard()
1249 ht->nNumUsed = 0; in zend_hash_rehash()
1362 ht->nNumUsed--; in _zend_hash_del_el_ex()
1600 if (ht->nNumUsed) { in zend_hash_destroy()
1771 ht->nNumUsed = 0; in zend_hash_clean()
1810 ht->nNumUsed = 0; in zend_symtable_clean()
2133 target->nNumUsed = source->nNumUsed; in zend_array_dup()
2143 target->nNumUsed = source->nNumUsed; in zend_array_dup()
[all …]
H A Dzend_hash.h60 ((ht)->nNumUsed == (ht)->nNumOfElements)
964 Bucket *_end = __ht->arData + __ht->nNumUsed; \
976 uint32_t _idx = __ht->nNumUsed; \
979 for (_idx = __ht->nNumUsed; _idx > 0; _idx--) { \
1009 __ht->nNumUsed = _idx; \
1177 uint32_t __fill_idx = __fill_ht->nNumUsed; \
1182 __fill_ht->nNumUsed = __fill_idx; \
1224 __fill_ht->nNumUsed = __fill_idx; \
1263 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ex()
1289 uint32_t idx = ht->nNumUsed++; in _zend_hash_append_ptr_ex()
[all …]
H A Dzend_gc.c767 if (!ht->nNumUsed) goto next; in gc_scan_black()
769 end = p + ht->nNumUsed; in gc_scan_black()
891 if (!ht->nNumUsed) goto next; in gc_mark_grey()
893 end = p + ht->nNumUsed; in gc_mark_grey()
1054 if (!ht->nNumUsed) goto next; in gc_scan()
1056 end = p + ht->nNumUsed; in gc_scan()
1242 if (!ht->nNumUsed) goto next; in gc_collect_white()
1244 end = p + ht->nNumUsed; in gc_collect_white()
1399 if (!ht->nNumUsed) goto next; in gc_remove_nested_data_from_buffer()
1401 end = p + ht->nNumUsed; in gc_remove_nested_data_from_buffer()
H A Dzend_objects.c235 …zend_hash_extend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements… in zend_objects_clone_members()
H A Dzend_list.c218 uint32_t i = ht->nNumUsed; in zend_close_rsrc_list()
H A Dzend_execute_API.c188 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed; in init_executor()
189 EG(persistent_functions_count) = EG(function_table)->nNumUsed; in init_executor()
190 EG(persistent_classes_count) = EG(class_table)->nNumUsed; in init_executor()
H A Dzend_types.h375 uint32_t nNumUsed; member
446 (HT_HASH_SIZE((ht)->nTableMask) + ((size_t)(ht)->nNumUsed * sizeof(Bucket)))
H A Dzend_object_handlers.c627 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_read_property()
1759 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_has_property()
H A Dzend_generators.c617 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value()
H A Dzend_inheritance.c2577 end = p + ce->function_table.nNumUsed; in zend_lazy_class_load()
2641 end = p + ce->properties_info.nNumUsed; in zend_lazy_class_load()
2669 end = p + ce->constants_table.nNumUsed; in zend_lazy_class_load()
H A Dzend_vm_def.h2090 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) {
2246 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) {
6787 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) { in ZEND_VM_HELPER()
6901 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) {
6960 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) {
6991 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) {
8347 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) {
9842 if (UNEXPECTED(pos >= fe_ht->nNumUsed)) {
/PHP-8.1/ext/opcache/
H A Dzend_accelerator_util_funcs.c51 persistent_script->script.function_table.nNumUsed = 0; in free_persistent_script()
52 persistent_script->script.class_table.nNumUsed = 0; in free_persistent_script()
84 end = src->arData + src->nNumUsed; in zend_accel_move_user_functions()
115 end = src->arData + src->nNumUsed; in zend_accel_move_user_classes()
135 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in zend_accel_function_hash_copy()
137 end = p + source->nNumUsed; in zend_accel_function_hash_copy()
172 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in zend_accel_class_hash_copy()
174 end = p + source->nNumUsed; in zend_accel_class_hash_copy()
H A Dzend_persist_calc.c53 if ((HT_FLAGS(ht) & HASH_FLAG_UNINITIALIZED) || ht->nNumUsed == 0) { in zend_hash_persist_calc()
57 …if (!(HT_FLAGS(ht) & HASH_FLAG_PACKED) && ht->nNumUsed > HT_MIN_SIZE && ht->nNumUsed < (uint32_t)(… in zend_hash_persist_calc()
62 while (hash_size >> 2 > ht->nNumUsed) { in zend_hash_persist_calc()
65 ADD_SIZE(hash_size * sizeof(uint32_t) + ht->nNumUsed * sizeof(Bucket)); in zend_hash_persist_calc()
593 …if (new_persistent_script->script.class_table.nNumUsed != new_persistent_script->script.class_tabl… in zend_accel_script_persist_calc()
597 …if (new_persistent_script->script.function_table.nNumUsed != new_persistent_script->script.functio… in zend_accel_script_persist_calc()
H A Dzend_persist.c107 if (ht->nNumUsed == 0) { in zend_hash_persist()
126 } else if (ht->nNumUsed > HT_MIN_SIZE && ht->nNumUsed < (uint32_t)(-(int32_t)ht->nTableMask) / 4) { in zend_hash_persist()
133 while (hash_size >> 2 > ht->nNumUsed) { in zend_hash_persist()
139 …har*)ZCG(mem) + ZEND_ALIGNED_SIZE((hash_size * sizeof(uint32_t)) + (ht->nNumUsed * sizeof(Bucket))… in zend_hash_persist()
141 memcpy(ht->arData, old_buckets, ht->nNumUsed * sizeof(Bucket)); in zend_hash_persist()
147 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_persist()
H A DZendAccelerator.c1784 orig_functions_count = EG(function_table)->nNumUsed; in opcache_compile_file()
1785 orig_class_count = EG(class_table)->nNumUsed; in opcache_compile_file()
3566 zend_hash_extend(dst, dst->nNumUsed + src->nNumUsed, 0);
3605 zend_hash_extend(dst, dst->nNumUsed + src->nNumUsed, 0);
4337 Bucket *end = p + script->function_table.nNumUsed;
4340 CG(function_table)->nNumUsed + script->function_table.nNumUsed, 0);
4348 Bucket *end = p + script->class_table.nNumUsed;
4351 CG(class_table)->nNumUsed + script->class_table.nNumUsed, 0);
4358 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed;
4361 EG(persistent_functions_count) = EG(function_table)->nNumUsed;
[all …]
H A Dzend_shared_alloc.c527 return ZCG(xlat_table).nNumUsed; in zend_shared_alloc_checkpoint_xlat_table()
H A Dzend_file_cache.c314 end = p + ht->nNumUsed;
1112 end = p + ht->nNumUsed;
/PHP-8.1/ext/intl/dateformat/
H A Ddateformat_format_object.cpp104 while (idx < ht->nNumUsed) { in PHP_FUNCTION()
111 if (idx >= ht->nNumUsed || !valid_format(z)) { in PHP_FUNCTION()
120 while (idx < ht->nNumUsed) { in PHP_FUNCTION()
127 if (idx >= ht->nNumUsed || !valid_format(z)) { in PHP_FUNCTION()
/PHP-8.1/ext/standard/
H A Darray.c2964 hash->nNumUsed = n_elems;
3085 for ( ; idx < in_hash->nNumUsed ; idx++) {
3112 in_hash->nNumUsed = out_hash.nNumUsed;
3170 idx = Z_ARRVAL_P(stack)->nNumUsed;
3265 Z_ARRVAL_P(stack)->nNumUsed = k;
3336 Z_ARRVAL_P(stack)->nNumUsed = new_hash.nNumUsed;
3434 return ht->arData + ht->nNumUsed;
3492 Bucket *end = ht->arData + ht->nNumUsed;
5610 hash->nNumUsed = array_size;
5671 if ((uint32_t)num_avail < ht->nNumUsed - (ht->nNumUsed>>1)) {
[all …]
H A Dstring.c2356 while (repl_idx < repl_ht->nNumUsed) {
2363 if (repl_idx < repl_ht->nNumUsed) {
2403 while (from_idx < from_ht->nNumUsed) {
2410 if (from_idx < from_ht->nNumUsed) {
2438 while (len_idx < len_ht->nNumUsed) {
2445 if (len_idx < len_ht->nNumUsed) {
2473 while (repl_idx < repl_ht->nNumUsed) {
2480 if (repl_idx < repl_ht->nNumUsed) {
4165 while (replace_idx < replace_ht->nNumUsed) {
4172 if (replace_idx < replace_ht->nNumUsed) {
/PHP-8.1/ext/spl/
H A Dphp_spl.c481 Bucket tmp = (ht)->arData[(ht)->nNumUsed-1]; \
483 sizeof(Bucket) * ((ht)->nNumUsed - 1)); \
/PHP-8.1/ext/snmp/
H A Dsnmp.c706 while (idx_type < type_ht->nNumUsed) { in php_snmp_parse_oid()
713 if (idx_type < type_ht->nNumUsed) { in php_snmp_parse_oid()
733 while (idx_value < value_ht->nNumUsed) { in php_snmp_parse_oid()
740 if (idx_value < value_ht->nNumUsed) { in php_snmp_parse_oid()
/PHP-8.1/
H A D.gdbinit230 set $num = $ht->nNumUsed
328 set $num = $ht->nNumUsed
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_helpers.c1766 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_global_helper()
1863 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_obj_r_dynamic()
1921 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_obj_is_dynamic()
H A Dzend_jit_x86.dasc5705 | // if (EXPECTED((zend_ulong)(_h) < (zend_ulong)(_ht)->nNumUsed))
5707 | mov eax, dword [FCARG1a + offsetof(zend_array, nNumUsed)]
5717 | cmp dword [FCARG1a + offsetof(zend_array, nNumUsed)], val
5719 | cmp dword [FCARG1a + offsetof(zend_array, nNumUsed)], FCARG2a
12702 | // if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket)))
12703 | MEM_LOAD_ZTS ecx, dword, executor_globals, symbol_table.nNumUsed, r1
14994 count = jumptable->nNumUsed;
15143 uint32_t count = jumptable->nNumUsed;
15146 | cmp FCARG2a, jumptable->nNumUsed
15531 | // if (UNEXPECTED(pos >= fe_ht->nNumUsed)) {
[all …]

Completed in 411 milliseconds

12