Home
last modified time | relevance | path

Searched refs:engine (Results 1 – 25 of 137) sorted by relevance

123456

/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_types.phpt119 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", -11, 20);
120 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", NULL, 40);
124 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", 1, 100);
125 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", NULL, 120);
126 func_mysqli_stmt_get_result($link, $engine, "i", "BOOLEAN", 0, 140);
155 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT", -1, 1780);
163 func_mysqli_stmt_get_result($link, $engine, "d", "FLOAT", NULL, 620);
184 func_mysqli_stmt_get_result($link, $engine, "s", "DATE", NULL, 880);
194 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", NULL, 1020);
199 func_mysqli_stmt_get_result($link, $engine, "s", "YEAR", NULL, 1080);
[all …]
H A Dmysqli_fetch_array_oo.phpt74 // don't bail, engine might not support the datatype
144 func_mysqli_fetch_array($mysqli, $engine, "BOOL", 1, "1", 60);
145 func_mysqli_fetch_array($mysqli, $engine, "BOOL", NULL, NULL, 70);
146 func_mysqli_fetch_array($mysqli, $engine, "BOOLEAN", 0, "0", 80);
173 func_mysqli_fetch_array($mysqli, $engine, "FLOAT", NULL, NULL, 300);
190 func_mysqli_fetch_array($mysqli, $engine, "DATE", NULL, NULL, 430);
200 func_mysqli_fetch_array($mysqli, $engine, "TIME", NULL, NULL, 500);
203 func_mysqli_fetch_array($mysqli, $engine, "YEAR", NULL, NULL, 530);
237 func_mysqli_fetch_array($mysqli, $engine, "BLOB", "a", "a", 780);
239 func_mysqli_fetch_array($mysqli, $engine, "BLOB", NULL, NULL, 790);
[all …]
H A Dmysqli_stmt_bind_result.phpt156 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT", -11, 20);
157 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT", NULL, 40);
161 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOL", 1, 100);
162 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOL", NULL, 120);
163 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOLEAN", 0, 140);
192 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", -1, 1780);
200 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT", NULL, 620);
221 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE", NULL, 880);
231 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", NULL, 1020);
236 func_mysqli_stmt_bind_result($link, $engine, "s", "YEAR", NULL, 1080);
[all …]
H A Dmysqli_fetch_all.phpt87 // don't bail, engine might not support the datatype
161 func_mysqli_fetch_all($link, $engine, "BOOL", 1, "1", 60);
162 func_mysqli_fetch_all($link, $engine, "BOOL", NULL, NULL, 70);
163 func_mysqli_fetch_all($link, $engine, "BOOLEAN", 0, "0", 80);
208 func_mysqli_fetch_all($link, $engine, "DATE", NULL, NULL, 430);
218 func_mysqli_fetch_all($link, $engine, "TIME", NULL, NULL, 500);
222 func_mysqli_fetch_all($link, $engine, "YEAR", NULL, NULL, 530);
256 func_mysqli_fetch_all($link, $engine, "BLOB", "a", "a", 780);
258 func_mysqli_fetch_all($link, $engine, "BLOB", NULL, NULL, 790);
260 func_mysqli_fetch_all($link, $engine, "TEXT", "a", "a", 800);
[all …]
H A Dmysqli_fetch_all_oo.phpt90 // don't bail, engine might not support the datatype
163 func_mysqli_fetch_all_oo($link, $engine, "BOOL", 1, "1", 60);
164 func_mysqli_fetch_all_oo($link, $engine, "BOOL", NULL, NULL, 70);
165 func_mysqli_fetch_all_oo($link, $engine, "BOOLEAN", 0, "0", 80);
210 func_mysqli_fetch_all_oo($link, $engine, "DATE", NULL, NULL, 430);
222 func_mysqli_fetch_all_oo($link, $engine, "TIME", NULL, NULL, 500);
226 func_mysqli_fetch_all_oo($link, $engine, "YEAR", NULL, NULL, 530);
260 func_mysqli_fetch_all_oo($link, $engine, "BLOB", "a", "a", 780);
262 func_mysqli_fetch_all_oo($link, $engine, "BLOB", NULL, NULL, 790);
264 func_mysqli_fetch_all_oo($link, $engine, "TEXT", "a", "a", 800);
[all …]
H A Dmysqli_fetch_array.phpt72 // don't bail, engine might not support the datatype
149 func_mysqli_fetch_array($link, $engine, "TINYINT", -11, "-11", 20);
154 func_mysqli_fetch_array($link, $engine, "BOOL", 1, "1", 60);
155 func_mysqli_fetch_array($link, $engine, "BOOL", NULL, NULL, 70);
156 func_mysqli_fetch_array($link, $engine, "BOOLEAN", 0, "0", 80);
183 func_mysqli_fetch_array($link, $engine, "FLOAT", NULL, NULL, 300);
201 func_mysqli_fetch_array($link, $engine, "DATE", NULL, NULL, 430);
212 func_mysqli_fetch_array($link, $engine, "TIME", NULL, NULL, 500);
216 func_mysqli_fetch_array($link, $engine, "YEAR", NULL, NULL, 530);
254 func_mysqli_fetch_array($link, $engine, "TEXT", "a", "a", 800);
[all …]
H A Dmysqli_stmt_bind_param.phpt200 func_mysqli_stmt_bind_datatype($link, $engine, "i", "TINYINT", -11, 20);
201 func_mysqli_stmt_bind_datatype($link, $engine, "i", "TINYINT", NULL, 30);
205 func_mysqli_stmt_bind_datatype($link, $engine, "i", "BOOL", 1, 60);
206 func_mysqli_stmt_bind_datatype($link, $engine, "i", "BOOL", NULL, 70);
207 func_mysqli_stmt_bind_datatype($link, $engine, "i", "BOOLEAN", 0, 80);
243 func_mysqli_stmt_bind_datatype($link, $engine, "d", "FLOAT", NULL, 310);
271 func_mysqli_stmt_bind_datatype($link, $engine, "s", "DATE", NULL, 440);
281 func_mysqli_stmt_bind_datatype($link, $engine, "s", "TIME", NULL, 510);
285 func_mysqli_stmt_bind_datatype($link, $engine, "s", "YEAR", NULL, 540);
321 func_mysqli_stmt_bind_datatype($link, $engine, "b", "BLOB", "", 790);
[all …]
H A Dmysqli_stmt_fetch_geom.phpt18 function func_mysqli_stmt_fetch_geom($link, $engine, $sql_type, $bind_value, $offset) {
25 …sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sql_type, $engine))) {
125 func_mysqli_stmt_fetch_geom($link, $engine, "GEOMETRY", "$geomFromText('POINT(2 2)')", 20);
126 func_mysqli_stmt_fetch_geom($link, $engine, "POINT", "$geomFromText('POINT(1 1)')", 40);
127 …func_mysqli_stmt_fetch_geom($link, $engine, "LINESTRING", "$geomFromText('LINESTRING(0 0,1 1,2 2)'…
128 …func_mysqli_stmt_fetch_geom($link, $engine, "POLYGON", "$geomFromText('POLYGON((0 0,10 0,10 10,0 1…
129 …func_mysqli_stmt_fetch_geom($link, $engine, "MULTIPOINT", "$geomFromText('MULTIPOINT(1 1, 2 2)')",…
130 …func_mysqli_stmt_fetch_geom($link, $engine, "MULTILINESTRING", "$geomFromText('MULTILINESTRING((0 …
131 …func_mysqli_stmt_fetch_geom($link, $engine, "MULTIPOLYGON", "$geomFromText('MULTIPOLYGON(((0 0,10 …
132 …func_mysqli_stmt_fetch_geom($link, $engine, "GEOMETRYCOLLECTION", "$geomFromText('GEOMETRYCOLLECTI…
H A Dmysqli_stmt_get_result_geom.phpt21 function func_mysqli_stmt_get_result_geom($link, $engine, $sql_type, $bind_value, $offset) {
28 …sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sql_type, $engine))) {
127 func_mysqli_stmt_get_result_geom($link, $engine, "GEOMETRY", "$geomFromText('POINT(2 2)')", 20);
128 func_mysqli_stmt_get_result_geom($link, $engine, "POINT", "$geomFromText('POINT(1 1)')", 40);
129 …func_mysqli_stmt_get_result_geom($link, $engine, "LINESTRING", "$geomFromText('LINESTRING(0 0,1 1,…
130 …func_mysqli_stmt_get_result_geom($link, $engine, "POLYGON", "$geomFromText('POLYGON((0 0,10 0,10 1…
131 …func_mysqli_stmt_get_result_geom($link, $engine, "MULTIPOINT", "$geomFromText('MULTIPOINT(1 1, 2 2…
132 …func_mysqli_stmt_get_result_geom($link, $engine, "MULTILINESTRING", "$geomFromText('MULTILINESTRIN…
133 …func_mysqli_stmt_get_result_geom($link, $engine, "MULTIPOLYGON", "$geomFromText('MULTIPOLYGON(((0 …
134 …func_mysqli_stmt_get_result_geom($link, $engine, "GEOMETRYCOLLECTION", "$geomFromText('GEOMETRYCOL…
/PHP-8.3/ext/random/
H A Dengine_mt19937.c283 engine->algo->seed(engine->status, seed); in PHP_METHOD()
297 generated = engine->algo->generate(engine->status); in PHP_METHOD()
298 size = engine->status->last_generated_size; in PHP_METHOD()
326 ZVAL_ARR(&t, zend_std_get_properties(&engine->std)); in PHP_METHOD()
332 if (!engine->algo->serialize(engine->status, Z_ARRVAL(t))) { in PHP_METHOD()
363 object_properties_load(&engine->std, Z_ARRVAL_P(t)); in PHP_METHOD()
375 if (!engine->algo->unserialize(engine->status, Z_ARRVAL_P(t))) { in PHP_METHOD()
390 if (!engine->std.properties) { in PHP_METHOD()
391 rebuild_object_properties(&engine->std); in PHP_METHOD()
395 if (engine->algo->serialize) { in PHP_METHOD()
[all …]
H A Dengine_xoshiro256starstar.c177 php_random_engine *engine = Z_RANDOM_ENGINE_P(ZEND_THIS); in PHP_METHOD() local
178 php_random_status_state_xoshiro256starstar *state = engine->status->state; in PHP_METHOD()
189 php_random_engine *engine = Z_RANDOM_ENGINE_P(ZEND_THIS); in PHP_METHOD() local
190 php_random_status_state_xoshiro256starstar *state = engine->status->state; in PHP_METHOD()
201 php_random_engine *engine = Z_RANDOM_ENGINE_P(ZEND_THIS); in PHP_METHOD() local
202 php_random_status_state_xoshiro256starstar *state = engine->status->state; in PHP_METHOD()
238 seed256(engine->status, t[0], t[1], t[2], t[3]); in PHP_METHOD()
244 engine->algo->seed(engine->status, (uint64_t) int_seed); in PHP_METHOD()
H A Dengine_pcgoneseq128xslrr64.c141 php_random_engine *engine = Z_RANDOM_ENGINE_P(ZEND_THIS); in PHP_METHOD() local
142 php_random_status_state_pcgoneseq128xslrr64 *state = engine->status->state; in PHP_METHOD()
170 seed128(engine->status, php_random_uint128_constant(t[0], t[1])); in PHP_METHOD()
176 engine->algo->seed(engine->status, int_seed); in PHP_METHOD()
185 php_random_engine *engine = Z_RANDOM_ENGINE_P(ZEND_THIS); in PHP_METHOD() local
186 php_random_status_state_pcgoneseq128xslrr64 *state = engine->status->state; in PHP_METHOD()
/PHP-8.3/ext/random/tests/02_engine/
H A Dxoshiro256starstar_value.phpt8 $engine = new Xoshiro256StarStar(1234);
11 $engine->generate();
14 $engine->jump();
15 $engine->jumpLong();
17 var_dump(bin2hex($engine->generate()));
H A Dxoshiro256starstar_seed.phpt9 $engine = new Xoshiro256StarStar(random_int(PHP_INT_MIN, PHP_INT_MAX));
13 $engine = new Xoshiro256StarStar(random_bytes(32));
18 $engine = new Xoshiro256StarStar(1.0);
26 $engine = new Xoshiro256StarStar('foobar');
34 $engine = new Xoshiro256StarStar(str_repeat("\x00", 32));
41 $engine = new Xoshiro256StarStar(str_repeat("\x01\x02\x03\x04\x05\x06\x07\x08", 4));
43 var_dump($engine);
46 $engine->generate();
49 var_dump(bin2hex($engine->generate()));
H A Dpcgoneseq128xslrr64_seed.phpt9 $engine = new PcgOneseq128XslRr64(random_int(PHP_INT_MIN, PHP_INT_MAX));
13 $engine = new PcgOneseq128XslRr64(random_bytes(16));
18 $engine = new PcgOneseq128XslRr64(1.0);
26 $engine = new PcgOneseq128XslRr64('foobar');
33 $engine = new PcgOneseq128XslRr64(str_repeat("\x01\x02\x03\x04\x05\x06\x07\x08", 2));
35 var_dump($engine);
38 $engine->generate();
41 var_dump(bin2hex($engine->generate()));
H A Dpcgoneseq128xslrr64_value.phpt8 $engine = new PcgOneseq128XslRr64(1234);
11 $engine->generate();
14 $engine->jump(1234567);
16 var_dump(bin2hex($engine->generate()));
H A Dall_serialize_native.phpt15 foreach ($engines as $engine) {
16 echo $engine::class, PHP_EOL;
19 $engine->generate();
22 $engine2 = unserialize(serialize($engine));
25 if ($engine->generate() !== $engine2->generate()) {
H A Dall_serialize_user.phpt16 foreach ($engines as $engine) {
17 echo $engine::class, PHP_EOL;
20 $engine->generate();
23 $engine2 = unserialize(serialize($engine));
26 if ($engine->generate() !== $engine2->generate()) {
H A Dmt19937_value.phpt8 $engine = new Mt19937(1234);
11 $engine->generate();
14 var_dump(bin2hex($engine->generate()));
H A Duser_compatibility.phpt19 foreach ($engines as $engine) {
20 echo $engine::class, PHP_EOL;
22 $native_engine = clone $engine;
23 $user_engine = new TestWrapperEngine(clone $engine);
H A Dpcgoneseq128xslrr64_jump_error.phpt8 $engine = new PcgOneseq128XslRr64(1234);
12 $engine->jump(-1);
18 if ($engine->generate() !== $referenceEngine->generate()) {
/PHP-8.3/ext/random/tests/03_randomizer/
H A Dengine_unsafe_empty_string.phpt78 A random engine must return a non-empty string
79 A random engine must return a non-empty string
80 A random engine must return a non-empty string
81 A random engine must return a non-empty string
82 A random engine must return a non-empty string
83 A random engine must return a non-empty string
84 A random engine must return a non-empty string
85 A random engine must return a non-empty string
86 A random engine must return a non-empty string
H A Dconstruct_twice.phpt2 Random: Randomizer: Calling __construct() fails due to readonly $engine property
41 var_dump($randomizer->engine::class);
47 Cannot modify readonly property Random\Randomizer::$engine
48 Cannot modify readonly property Random\Randomizer::$engine
49 Cannot modify readonly property Random\Randomizer::$engine
50 Cannot modify readonly property Random\Randomizer::$engine
H A Dcompatibility_user.phpt20 foreach ($engines as $engine) {
21 echo $engine::class, PHP_EOL;
23 $native_randomizer = new Randomizer(clone $engine);
24 $user_randomizer = new Randomizer(new TestWrapperEngine(clone $engine));
H A Dreadonly.phpt2 Random: Randomizer: The engine property must be readonly
14 $randomizer->engine = new Xoshiro256StarStar(1234);
29 Cannot modify readonly property Random\Randomizer::$engine

Completed in 34 milliseconds

123456