/php-src/ext/dom/ |
H A D | php_dom.c | 2048 int counter = 1; in dom_get_ns_resolve_prefix_conflict() local 2052 if (counter > 1000) { in dom_get_ns_resolve_prefix_conflict() 2055 snprintf(prefix, sizeof(prefix), "default%d", counter++); in dom_get_ns_resolve_prefix_conflict()
|
H A D | node.c | 1629 size_t counter = 0; \ 1631 counter++; \ 1634 return counter; \
|
/php-src/docs/source/core/data-structures/ |
H A D | reference-counting.rst | 45 uint32_t refcount; /* reference counter 32-bit */
|
H A D | zval.rst | 155 - Same as ``ZVAL_COPY_VALUE``, but if the value is reference counted, increase the counter.
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 1781 __m128i counter = _mm_setzero_si128(); /* Vector of 16 continuation-byte counters */ in mb_fast_strlen_utf8() local 1787 counter = _mm_add_epi8(counter, _mm_and_si128(lt, delta)); /* Update the 16 counters */ in mb_fast_strlen_utf8() 1792 len -= _mm_sum_epu8(counter); in mb_fast_strlen_utf8() 1793 counter = _mm_setzero_si128(); in mb_fast_strlen_utf8() 1801 len -= _mm_sum_epu8(counter); /* Fold in any remaining non-zero values in the 16 counters */ in mb_fast_strlen_utf8()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 1540 ir_ref counter = ir_LOAD_U32(ref); in jit_GC_ADDREF2() local 1541 ir_STORE(ref, ir_ADD_U32(counter, ir_CONST_U32(2))); in jit_GC_ADDREF2() 1546 ir_ref counter = ir_LOAD_U32(ref); in jit_GC_DELREF() local 1547 counter = ir_SUB_U32(counter, ir_CONST_U32(1)); in jit_GC_DELREF() 1548 ir_STORE(ref, counter); in jit_GC_DELREF() 1549 return counter; in jit_GC_DELREF() 2251 addr = ir_LOAD_A(ir_ADD_OFFSET(jit_extension, offsetof(zend_jit_op_array_hot_extension, counter))); in _zend_jit_hybrid_hot_counter_stub() 2325 …addr = ir_LOAD_A(ir_ADD_OFFSET(ir_ADD_A(offset, jit_IP(jit)), offsetof(zend_op_trace_info, counter… in _zend_jit_hybrid_trace_counter_stub() 6290 ir_ref ref, counter, if_not_zero; in zend_jit_assign_to_variable() local 6305 counter = jit_GC_DELREF(jit, ref); in zend_jit_assign_to_variable() [all …]
|
H A D | zend_jit_trace.c | 3329 if (!ZEND_OP_TRACE_INFO(next_opline, offset)->counter) { in zend_jit_trace_setup_ret_counter() 3330 ZEND_OP_TRACE_INFO(next_opline, offset)->counter = in zend_jit_trace_setup_ret_counter() 7541 if (ZEND_OP_TRACE_INFO(opline, offset)->counter) { in zend_jit_trace_is_bad_root() 7542 *ZEND_OP_TRACE_INFO(opline, offset)->counter = in zend_jit_trace_is_bad_root() 7893 ++(*ZEND_OP_TRACE_INFO(opline, offset)->counter); in zend_jit_trace_hot_root() 8046 uint8_t *counter = JIT_G(exit_counters) + in zend_jit_trace_exit_is_bad() local 8052 (*counter)++; in zend_jit_trace_exit_is_bad() 8058 uint8_t *counter = JIT_G(exit_counters) + in zend_jit_trace_exit_is_hot() local 8061 if (*counter + 1 >= JIT_G(hot_side_exit)) { in zend_jit_trace_exit_is_hot() 8064 (*counter)++; in zend_jit_trace_exit_is_hot() [all …]
|
H A D | zend_jit.c | 2859 uintptr_t counter; in zend_jit_check_funcs() local 2877 counter = (uintptr_t)ZEND_COUNTER_INFO(op_array); in zend_jit_check_funcs() 2881 if (((double)counter / (double)zend_jit_profile_counter) > JIT_G(prof_threshold)) { in zend_jit_check_funcs() 2991 …jit_extension->counter = &zend_jit_hot_counters[zend_jit_op_array_hash(op_array) & (ZEND_HOT_COUNT… in zend_jit_setup_hot_counters()
|
H A D | zend_jit_vm_helpers.c | 252 *(jit_extension->counter) -= ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func)); in zend_jit_func_counter_helper() 254 if (UNEXPECTED(*(jit_extension->counter) <= 0)) { in zend_jit_func_counter_helper() 255 *(jit_extension->counter) = ZEND_JIT_COUNTER_INIT; in zend_jit_func_counter_helper() 272 *(jit_extension->counter) -= ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop)); in zend_jit_loop_counter_helper() 274 if (UNEXPECTED(*(jit_extension->counter) <= 0)) { in zend_jit_loop_counter_helper() 275 *(jit_extension->counter) = ZEND_JIT_COUNTER_INIT; in zend_jit_loop_counter_helper() 348 *(ZEND_OP_TRACE_INFO(opline, offset)->counter) -= cost; in zend_jit_trace_counter_helper() 350 if (UNEXPECTED(*(ZEND_OP_TRACE_INFO(opline, offset)->counter) <= 0)) { in zend_jit_trace_counter_helper() 351 *(ZEND_OP_TRACE_INFO(opline, offset)->counter) = ZEND_JIT_COUNTER_INIT; in zend_jit_trace_counter_helper()
|
H A D | zend_jit_internal.h | 163 int16_t *counter; member 328 int16_t *counter; member
|
/php-src/Zend/ |
H A D | zend_gc.c | 288 # define GC_BENCH_INC(counter) GC_G(counter)++ argument 289 # define GC_BENCH_DEC(counter) GC_G(counter)-- argument 290 # define GC_BENCH_PEAK(peak, counter) do { \ argument 291 if (GC_G(counter) > GC_G(peak)) { \ 292 GC_G(peak) = GC_G(counter); \ 296 # define GC_BENCH_INC(counter) argument 297 # define GC_BENCH_DEC(counter) argument 298 # define GC_BENCH_PEAK(peak, counter) argument
|
/php-src/build/ |
H A D | ltmain.sh | 5578 counter=1 5588 newobj=lt$counter-$objbase 5589 counter=`expr $counter + 1`
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_get_client_stats.phpt | 794 // NOTE: this will NOT update dbl_ddls counter
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_structs.h | 1323 unsigned int counter; member
|
/php-src/ext/sodium/ |
H A D | libsodium_arginfo.h | 498 ZEND_ARG_TYPE_INFO(0, counter, IS_LONG, 0)
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeARM_32.c | 353 sljit_uw counter = 0; in patch_pc_relative_loads() local 373 const_pool[ind] = counter; in patch_pc_relative_loads() 374 ind = counter; in patch_pc_relative_loads() 375 counter++; in patch_pc_relative_loads() 391 return counter; in patch_pc_relative_loads()
|
H A D | sljitNativeARM_T2_32.c | 583 sljit_s32 counter; in get_imm() local 599 counter = 8; in get_imm() 601 counter += 16; in get_imm() 605 counter += 8; in get_imm() 609 counter += 4; in get_imm() 613 counter += 2; in get_imm() 617 counter += 1; in get_imm() 621 SLJIT_ASSERT(counter <= 31); in get_imm() 626 …return ((imm >> 24) & 0x7f) | COPY_BITS(counter, 4, 26, 1) | COPY_BITS(counter, 1, 12, 3) | COPY_B… in get_imm()
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 365 int counter = 0; in sxe_prop_dim_write() local 486 ++counter; in sxe_prop_dim_write() 497 ++counter; in sxe_prop_dim_write() 518 ++counter; in sxe_prop_dim_write() 526 ++counter; in sxe_prop_dim_write() 536 ++counter; in sxe_prop_dim_write() 545 if (counter == 1) { in sxe_prop_dim_write() 556 } else if (counter > 1) { in sxe_prop_dim_write()
|
/php-src/ext/opcache/tests/jit/ |
H A D | fetch_r_001.phpt | 2 FETCH_R: 001 result reference counter may be decremented before use
|
/php-src/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_b_64bit.phpt | 87 $counter = 1; 89 echo "-- Iteration $counter --\n"; 91 $counter++;
|
H A D | debug_zval_dump_b.phpt | 83 $counter = 1; 85 echo "-- Iteration $counter --\n"; 87 $counter++;
|
/php-src/ext/mbstring/tests/ |
H A D | encoding_tests.inc | 8 // Test failed counter
|
/php-src/sapi/fpm/tests/ |
H A D | status.inc | 237 "# TYPE phpfpm_start_since counter\n" . 240 "# TYPE phpfpm_accepted_connections counter\n" . 246 "# TYPE phpfpm_max_listen_queue counter\n" . 261 "# TYPE phpfpm_max_active_processes counter\n" . 264 "# TYPE phpfpm_max_children_reached counter\n" . 267 "# TYPE phpfpm_slow_requests counter\n" .
|
/php-src/ext/standard/tests/strings/ |
H A D | implode_variation.phpt | 47 $counter = 1; 49 echo "-- Iteration $counter --\n"; 55 $counter++;
|
H A D | join_error1.phpt | 80 $counter = 1; 82 echo "-- Iteration $counter --\n"; 91 $counter ++;
|