Home
last modified time | relevance | path

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

12

/PHP-8.1/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 --
H A Drange_variation.phpt618 range(): Argument #3 ($step) must be of type int|float, array given
/PHP-8.1/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.1/Zend/tests/generators/
H A Dxrange.phpt6 function xrange($start, $end, $step = 1) {
7 for ($i = $start; $i <= $end; $i += $step) {
/PHP-8.1/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.1/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.1/ext/pdo_sqlite/
H A Dsqlite_driver.stub.php11 …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()
473 do_callback(&func->astep, &func->step, argc, argv, context, 1); in php_sqlite3_func_step_callback()
625 ZVAL_COPY(&func->step, &step_fci.function_name); in PHP_METHOD()
712 zend_get_gc_buffer_add_zval(gc_buffer, &func->step); in pdo_sqlite_get_gc()
/PHP-8.1/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_createaggregate_002.phpt23 PDO::sqliteCreateAggregate(): Argument #2 ($step) must be a valid callback, function "a" not found …
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_prompt.h35 PHPDBG_COMMAND(step);
/PHP-8.1/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.1/ext/sqlite3/
H A Dphp_sqlite3_structs.h55 zval func, step, fini; member
H A Dsqlite3.c884 sqlite3_do_callback(&func->astep, &func->step, argc, argv, context, 1); in php_sqlite3_callback_step()
1017 ZVAL_COPY(&func->step, &step_fci.function_name); in PHP_METHOD()
2166 if (!Z_ISUNDEF(func->step)) { in php_sqlite3_object_free_storage()
2167 zval_ptr_dtor(&func->step); in php_sqlite3_object_free_storage()
2212 zend_get_gc_buffer_add_zval(gc_buffer, &func->step); in php_sqlite3_get_gc()
/PHP-8.1/ext/gd/tests/
H A Dimagegammacorrect_variation2.phpt2 Apply imagegammacorrect() to a step wedge
/PHP-8.1/ext/snmp/
H A Dsnmp.c129 int step; member
434 if ((st & SNMP_CMD_SET) && objid_query->count > objid_query->step) { in php_snmp_internal()
461 …for (count = 0; objid_query->offset < objid_query->count && count < objid_query->step; objid_query… in php_snmp_internal()
597 …SNMP_CMD_GETNEXT) && response->errstat == SNMP_ERR_TOOBIG && objid_query->step > 1) { /* Answer wi… in php_snmp_internal()
598 …uery->offset = ((objid_query->offset > objid_query->step) ? (objid_query->offset - objid_query->st… in php_snmp_internal()
599 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.1/ext/standard/tests/file/windows_acls/
H A Dcommon.inc116 returns false. If the $perm_entry contains 'N' skip this step.
/PHP-8.1/ext/standard/
H A Darray.c2688 double __calc_size = ((start - end) / step) + 1; \
2716 double step = 1.0; local
2727 step = zval_get_double(zstep);
2730 if (step < 0.0) {
2731 step *= -1;
2739 zend_long lstep = (zend_long) step;
2804 if (low - high < step || step <= 0) {
2818 if (high - low < step || step <= 0) {
2845 if (step <= 0) {
2850 lstep = (zend_ulong)step;
[all …]
/PHP-8.1/ext/ldap/tests/
H A DREADME.md57 The next step is to go into the PHP-Source-directory. Configure and make the
/PHP-8.1/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.1/docs/
H A Dmailinglist-rules.md60 2. Consider taking a step back from a very active thread now and then. Maybe
/PHP-8.1/main/streams/
H A Dstreams.c1467 int step = CHUNK_SIZE; in _php_stream_copy_to_mem() local
1514 max_len = MAX(ssbuf.sb.st_size - src->position, 0) + step; in _php_stream_copy_to_mem()
1516 max_len = step; in _php_stream_copy_to_mem()
1526 result = zend_string_extend(result, max_len + step, persistent); in _php_stream_copy_to_mem()
1527 max_len += step; in _php_stream_copy_to_mem()

Completed in 97 milliseconds

12