Home
last modified time | relevance | path

Searched refs:spec (Results 1 – 25 of 30) sorted by relevance

12

/PHP-8.0/ext/standard/tests/general_functions/
H A Dproc_open_pipes3.phpt7 $spec[$i] = array('pipe', 'w');
13 $spec[$i] = array('pi');
14 proc_open("$php -n $callee", $spec, $pipes);
16 $spec[$i] = 1;
18 proc_open("$php -n $callee", $spec, $pipes);
23 $spec[$i] = array('pipe', "test");
24 proc_open("$php -n $callee", $spec, $pipes);
27 $spec[$i] = array('file', "test", "z");
28 proc_open("$php -n $callee", $spec, $pipes);
34 Warning: proc_open(): pi is not a valid descriptor spec/mode in %s on line %d
H A Dproc_open_pipes2.phpt6 $spec = array();
10 proc_open("$php -n $callee", $spec, $pipes);
12 var_dump(count($spec));
H A Dproc_open_pipes1.phpt7 $spec[$i] = array('pipe', 'w');
12 proc_open("$php -n $callee", $spec, $pipes);
14 var_dump(count($spec));
H A Dproc_open_sockets1.phpt11 $spec = [
17 $proc = proc_open($cmd, $spec, $pipes);
H A Dproc_open_sockets3.phpt33 $spec = [
38 $proc = proc_open($cmd, $spec, $pipes);
H A Dproc_open_sockets2.phpt42 $spec = [
47 $proc = proc_open($cmd, $spec, $pipes);
/PHP-8.0/ext/standard/tests/streams/
H A Dglob-wrapper.phpt11 foreach ( [ __DIR__, "glob://".__DIR__ ] as $spec) {
12 echo "** Opening $spec\n";
13 $dir = opendir($spec);
15 echo "Failed to open $spec\n";
19 echo "No files in $spec\n";
/PHP-8.0/ext/ffi/tests/
H A Dutils.inc23 foreach (['__attribute__((fastcall))', '__fastcall', '__vectorcall'] as $spec) {
25 … ffi_cdef("extern size_t $spec zend_list_insert(void *ptr, int type);", ffi_get_php_dll_name());
26 return "$spec ";
H A Dbug78714.phpt2 Bug #78714 (funcs returning pointer can't use call convention spec)
/PHP-8.0/Zend/
H A Dzend_vm_gen.php610 function helper_name($name, $spec, $op1, $op2, $extra_spec) { argument
675 } else if ($spec) {
692 } else if ($spec) {
1085 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1129 if ($spec) {
1176 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1237 if ($spec) {
1369 foreach ($dsc["spec"][$spec] as $val) {
1667 $spec = key($specs);
1677 $ret[] = array($spec => $mode) + $existing;
[all …]
H A Dzend_API.c620 static const char *zend_parse_arg_impl(zval *arg, va_list *va, const char **spec, char **error) /* … in zend_parse_arg_impl() argument
622 const char *spec_walk = *spec; in zend_parse_arg_impl()
891 *spec = spec_walk; in zend_parse_arg_impl()
897 static zend_result zend_parse_arg(uint32_t arg_num, zval *arg, va_list *va, const char **spec, int … in zend_parse_arg() argument
902 expected_type = zend_parse_arg_impl(arg, va, spec, &error); in zend_parse_arg()
929 ZEND_API zend_result zend_parse_parameter(int flags, uint32_t arg_num, zval *arg, const char *spec,… in zend_parse_parameter() argument
934 va_start(va, spec); in zend_parse_parameter()
935 ret = zend_parse_arg(arg_num, arg, &va, &spec, flags); in zend_parse_parameter()
H A Dzend_API.h315 ZEND_API zend_result zend_parse_parameter(int flags, uint32_t arg_num, zval *arg, const char *spec,…
1806 #define Z_PARAM_VARIADIC_EX(spec, dest, dest_num, post_varargs) do { \ argument
1823 #define Z_PARAM_VARIADIC(spec, dest, dest_num) \ argument
1824 Z_PARAM_VARIADIC_EX(spec, dest, dest_num, 0)
H A Dzend_vm_execute.h63291 if (spec & SPEC_EXTRA_MASK) {
63292 if (spec & SPEC_RULE_RETVAL) {
63515 spec = 3396 | SPEC_RULE_OP1;
63538 spec = 3392;
63540 spec = 3393;
63545 spec = 3394;
63547 spec = 3395;
63552 spec = 2548;
63557 spec = 2547;
63562 spec = 3446;
[all …]
/PHP-8.0/ext/hash/
H A Dhash.c137 if (*spec == 's' || *spec == 'S') { in parse_serialize_spec()
140 } else if (*spec == 'l' || *spec == 'L') { in parse_serialize_spec()
143 } else if (*spec == 'q' || *spec == 'Q') { in parse_serialize_spec()
146 } else if (*spec == 'i' || *spec == 'I') { in parse_serialize_spec()
150 ZEND_ASSERT(*spec == 'b' || *spec == 'B'); in parse_serialize_spec()
158 ++spec; in parse_serialize_spec()
163 ++spec; in parse_serialize_spec()
168 *specp = spec; in parse_serialize_spec()
234 while (*spec != '\0' && *spec != '.') { in php_hash_serialize_spec()
235 char spec_ch = *spec; in php_hash_serialize_spec()
[all …]
H A Dphp_hash.h146 …API int php_hash_serialize_spec(const php_hashcontext_object *context, zval *zv, const char *spec);
147 …_API int php_hash_unserialize_spec(php_hashcontext_object *hash, const zval *zv, const char *spec);
/PHP-8.0/scripts/dev/
H A Dcheck_parameters.php214 $spec = $m[1][0];
215 $len = strlen($spec);
217 $char = $spec[$i];
218 switch ($char = $spec[$i]) {
279 $allow_uninit = $i+1 < $len && $spec[$i+1] === '!'
/PHP-8.0/sapi/cli/tests/
H A Dsapi_windows_set_ctrl_handler.phpt28 $spec = [0 => ["pipe", "r"], 1 => ["pipe", "w"]];
30 …$proc = proc_open($cmd, $spec, $pipes, NULL, NULL, ["bypass_shell" => true, "create_process_group"…
/PHP-8.0/ext/date/tests/
H A Dexamine_diff.inc27 * This spec includes a "+" or "-" after the "P" in order to
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_debug_append.phpt18 die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
H A Dmysqli_debug_control_string.phpt18 die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
H A Dmysqli_debug_mysqlnd_control_string.phpt18 die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
/PHP-8.0/ext/intl/tests/
H A Dnormalizer_normalize_kc_cf.phpt26 /* just make sure all the form constants are defined as in the api spec */
H A Dnormalizer_normalize.phpt31 /* just make sure all the form constants are defined as in the api spec */
/PHP-8.0/ext/standard/tests/strings/
H A Dchunk_split_variation12.phpt138 spec"To check " in heredoc".I'm sure it'll \work!i@! ch@r$ "To check " in heredoc".I'm sure it'll \…
/PHP-8.0/docs/
H A Dparameter-parsing-api.md48 int zend_parse_parameter(int flags, int arg_num, zval **arg, const char *spec, ...);

Completed in 228 milliseconds

12