Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 226) sorted by path

12345678910

/php-src/Zend/tests/
H A Dbug38624.phpt10 $this->counter++;
31 #0 %s(%d): impl->__get('counter')
H A Dbug79836.phpt7 $counter = 0;
8 ob_start(function ($buffer) use (&$c, &$counter) {
10 ++$counter;
15 echo $counter . "\n";
H A Dstatic_variables_traits.phpt7 public static function counter() {
15 T::counter as counter1;
16 T::counter as counter2;
24 C1::counter();
27 C2::counter();
29 C1::counter();
32 C2::counter();
/php-src/Zend/
H A Dzend_gc.c288 # 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 Dltmain.sh5578 counter=1
5588 newobj=lt$counter-$objbase
5589 counter=`expr $counter + 1`
/php-src/docs/source/core/data-structures/
H A Dreference-counting.rst45 uint32_t refcount; /* reference counter 32-bit */
H A Dzval.rst155 - Same as ``ZVAL_COPY_VALUE``, but if the value is reference counted, increase the counter.
/php-src/ext/dom/
H A Dnode.c1629 size_t counter = 0; \
1631 counter++; \
1634 return counter; \
H A Dphp_dom.c2048 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()
/php-src/ext/enchant/tests/
H A Dbroker_describe.phpt27 $counter = 0;
36 …if ((isset($provider[$counter]['name']) && isset($provider[$counter]['desc']) && isset($provider[$
/php-src/ext/fileinfo/tests/
H A Dmagic10835 >8 ulelong !0 \b, reserved counter %#x
23255 # [[${counter}=%d]] in the description
23257 # [${counter}--] in the offset of the entries
36182 # file change counter
36183 >>24 ubelong x \b, file counter %u
37909 # -> cc: cleaning runs counter
H A Dmagic私はガラスを食べられます10835 >8 ulelong !0 \b, reserved counter %#x
23255 # [[${counter}=%d]] in the description
23257 # [${counter}--] in the offset of the entries
36182 # file change counter
36183 >>24 ubelong x \b, file counter %u
37909 # -> cc: cleaning runs counter
/php-src/ext/mbstring/
H A Dmbstring.c1781 __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/mbstring/tests/
H A Dencoding_tests.inc8 // Test failed counter
/php-src/ext/mysqli/tests/
H A Dmysqli_get_client_stats.phpt794 // NOTE: this will NOT update dbl_ddls counter
H A Dmysqli_last_insert_id.phpt80 // Sequence counter pattern...
/php-src/ext/mysqlnd/
H A Dmysqlnd_structs.h1323 unsigned int counter; member
/php-src/ext/opcache/jit/
H A Dzend_jit.c2859 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 Dzend_jit_internal.h163 int16_t *counter; member
328 int16_t *counter; member
H A Dzend_jit_ir.c1540 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 Dzend_jit_trace.c3329 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 Dzend_jit_vm_helpers.c252 *(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()
/php-src/ext/opcache/tests/jit/
H A Dfetch_r_001.phpt2 FETCH_R: 001 result reference counter may be decremented before use
/php-src/ext/opcache/tests/
H A Dpreload_bug78175_2.inc13 static $counter = 0;
14 return $counter++;
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeARM_32.c353 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()

Completed in 401 milliseconds

12345678910