Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 39) sorted by relevance

12

/PHP-8.2/ext/standard/tests/array/
H A Drange_errors.phpt10 echo "\n-- Testing ( (low < high) && (step = 0) ) --\n";
23 echo "\n\n-- Testing ( (low > high) && (step = 0) ) --\n";
36 echo "\n\n-- Testing ( (low < high) && (high-low < step) ) --\n";
43 echo "\n\n-- Testing ( (low > high) && (low-high < step) ) --\n";
86 foreach( $step_arr as $step ) {
88 var_dump( range( 1, 5, $step ) );
97 -- Testing ( (low < high) && (step = 0) ) --
98 range(): Argument #3 ($step) must not exceed the specified range
102 -- Testing ( (low > high) && (step = 0) ) --
107 -- Testing ( (low < high) && (high-low < step) ) --
[all …]
H A Drange.phpt39 echo "\n-- Passing step with Low and High --\n";
46 echo "\n-- Testing basic string with step --\n";
333 -- Passing step with Low and High --
431 -- Testing basic string with step --
/PHP-8.2/ext/standard/tests/streams/
H A Dproc_open_bug51800_right2.phpt27 $step = 1024;
30 fwrite(STDOUT, substr($data0, $i0, $step));
31 fwrite(STDERR, substr($data1, $i1, $step));
32 $i0 += $step;
33 $i1 += $step;
/PHP-8.2/Zend/tests/generators/
H A Dxrange.phpt6 function xrange($start, $end, $step = 1) {
7 for ($i = $start; $i <= $end; $i += $step) {
/PHP-8.2/ext/pdo_sqlite/tests/
H A Dgh13998.phpt7 $step = function () {
16 $db->sqliteCreateAggregate('S', $step, $finalize, 1);
H A Dpdo_sqlite_createaggregate_002.phpt23 PDO::sqliteCreateAggregate(): Argument #2 ($step) must be a valid callback, function "a" not found …
/PHP-8.2/sapi/fpm/tests/
H A Dbug74083-concurrent-reload.phpt42 $step = 1000;
44 for ($interval = 0; $interval < $max_interval; $interval += $step) {
52 echo "Reached interval $interval us with $step us steps\n";
H A Dbug76601-reload-child-signals.phpt53 $step = 1000;
55 for ($interval = 0; $interval < $max_interval; $interval += $step) {
63 echo "Reached interval $interval us with $step us steps\n";
/PHP-8.2/ext/random/
H A Dengine_pcgoneseq128xslrr64.c28 static inline void step(php_random_status_state_pcgoneseq128xslrr64 *s) in step() function
40 step(s); in seed128()
42 step(s); in seed128()
54 step(s); in generate()
/PHP-8.2/sapi/cli/tests/
H A Dsapi_windows_set_ctrl_handler.phpt50 $max = 5000; $total = 0; $step = 100;
52 usleep($step);
53 $total += $step;
/PHP-8.2/ext/pdo_sqlite/
H A Dsqlite_driver.stub.php14 …public function sqliteCreateAggregate(string $name, callable $step, callable $finalize, int $numAr… argument
H A Dsqlite_driver_arginfo.h13 ZEND_ARG_TYPE_INFO(0, step, IS_CALLABLE, 0)
H A Dphp_pdo_sqlite_int.h37 zval func, step, fini; member
H A Dsqlite_driver.c118 if (!Z_ISUNDEF(func->step)) { in pdo_sqlite_cleanup_callbacks()
119 zval_ptr_dtor(&func->step); in pdo_sqlite_cleanup_callbacks()
472 do_callback(&func->astep, &func->step, argc, argv, context, 1); in php_sqlite3_func_step_callback()
624 ZVAL_COPY(&func->step, &step_fci.function_name); in PHP_METHOD()
711 zend_get_gc_buffer_add_zval(gc_buffer, &func->step); in pdo_sqlite_get_gc()
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_prompt.h35 PHPDBG_COMMAND(step);
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_jit_simd_inc.h133 SLJIT_ASSERT(step >= 0 && step <= 3); in fast_forward_char_pair_sse2_compare()
137 if (step == 0) in fast_forward_char_pair_sse2_compare()
151 if (step != 2) in fast_forward_char_pair_sse2_compare()
163 switch (step) in fast_forward_char_pair_sse2_compare()
1160 SLJIT_ASSERT(step >= 0 && step <= 1); in replicate_imm_vector()
1164 if (step == 1) in replicate_imm_vector()
1175 if (step == 0) in replicate_imm_vector()
1201 SLJIT_ASSERT(step >= 0 && step <= 2); in fast_forward_char_pair_sse2_compare()
1203 if (step == 1) in fast_forward_char_pair_sse2_compare()
1215 if (step == 0 && compare_type == vector_compare_match1i) in fast_forward_char_pair_sse2_compare()
[all …]
/PHP-8.2/ext/sqlite3/
H A Dphp_sqlite3_structs.h55 zval func, step, fini; member
/PHP-8.2/ext/gd/tests/
H A Dimagegammacorrect_variation2.phpt2 Apply imagegammacorrect() to a step wedge
/PHP-8.2/ext/snmp/
H A Dsnmp.c109 int step; member
414 if ((st & SNMP_CMD_SET) && objid_query->count > objid_query->step) { in php_snmp_internal()
441 …for (count = 0; objid_query->offset < objid_query->count && count < objid_query->step; objid_query… in php_snmp_internal()
577 …SNMP_CMD_GETNEXT) && response->errstat == SNMP_ERR_TOOBIG && objid_query->step > 1) { /* Answer wi… in php_snmp_internal()
578 …uery->offset = ((objid_query->offset > objid_query->step) ? (objid_query->offset - objid_query->st… in php_snmp_internal()
579 objid_query->step /= 2; in php_snmp_internal()
784 objid_query->step = objid_query->count; in php_snmp_parse_oid()
1276 objid_query.step = snmp_object->max_oids; in php_snmp()
/PHP-8.2/ext/standard/tests/file/windows_acls/
H A Dcommon.inc116 returns false. If the $perm_entry contains 'N' skip this step.
/PHP-8.2/ext/standard/
H A Darray.c2667 double __calc_size = ((start - end) / step) + 1; \
2695 double step = 1.0; local
2706 step = zval_get_double(zstep);
2709 if (step < 0.0) {
2710 step *= -1;
2718 zend_long lstep = (zend_long) step;
2783 if (low - high < step || step <= 0) {
2797 if (high - low < step || step <= 0) {
2824 if (step <= 0) {
2829 lstep = (zend_ulong)step;
[all …]
/PHP-8.2/ext/ldap/tests/
H A DREADME.md57 The next step is to go into the PHP-Source-directory. Configure and make the
/PHP-8.2/docs/
H A Dmailinglist-rules.md60 2. Consider taking a step back from a very active thread now and then. Maybe
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_unbuffered_2050.phpt42 PDO::query() will prepare and execute a statement in one step.
/PHP-8.2/main/streams/
H A Dstreams.c1493 int step = CHUNK_SIZE; in _php_stream_copy_to_mem() local
1540 max_len = MAX(ssbuf.sb.st_size - src->position, 0) + step; in _php_stream_copy_to_mem()
1542 max_len = step; in _php_stream_copy_to_mem()
1552 result = zend_string_extend(result, max_len + step, persistent); in _php_stream_copy_to_mem()
1553 max_len += step; in _php_stream_copy_to_mem()

Completed in 57 milliseconds

12