Home
last modified time | relevance | path

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

12

/PHP-8.2/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.2/ext/standard/tests/streams/
H A Dglob-wrapper.phpt12 foreach ( [ __DIR__, "glob://".__DIR__ ] as $spec) {
13 echo "** Opening $spec\n";
14 $dir = opendir($spec);
16 echo "Failed to open $spec\n";
20 echo "No files in $spec\n";
/PHP-8.2/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.2/Zend/
H A Dzend_vm_gen.php577 function helper_name($name, $spec, $op1, $op2, $extra_spec) { argument
643 } else if ($spec) {
660 } else if ($spec) {
1050 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1094 if ($spec) {
1141 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1202 if ($spec) {
1334 foreach ($dsc["spec"][$spec] as $val) {
1634 $spec = key($specs);
1644 $ret[] = array($spec => $mode) + $existing;
[all …]
H A Dzend_API.c711 static const char *zend_parse_arg_impl(zval *arg, va_list *va, const char **spec, char **error, uin… in zend_parse_arg_impl() argument
713 const char *spec_walk = *spec; in zend_parse_arg_impl()
983 *spec = spec_walk; in zend_parse_arg_impl()
989 static zend_result zend_parse_arg(uint32_t arg_num, zval *arg, va_list *va, const char **spec, int … in zend_parse_arg() argument
994 expected_type = zend_parse_arg_impl(arg, va, spec, &error, arg_num); in zend_parse_arg()
1021 ZEND_API zend_result zend_parse_parameter(int flags, uint32_t arg_num, zval *arg, const char *spec,… in zend_parse_parameter() argument
1026 va_start(va, spec); in zend_parse_parameter()
1027 ret = zend_parse_arg(arg_num, arg, &va, &spec, flags); in zend_parse_parameter()
/PHP-8.2/ext/hash/
H A Dhash.c145 if (*spec == 's' || *spec == 'S') { in parse_serialize_spec()
148 } else if (*spec == 'l' || *spec == 'L') { in parse_serialize_spec()
151 } else if (*spec == 'q' || *spec == 'Q') { in parse_serialize_spec()
154 } else if (*spec == 'i' || *spec == 'I') { in parse_serialize_spec()
158 ZEND_ASSERT(*spec == 'b' || *spec == 'B'); in parse_serialize_spec()
166 ++spec; in parse_serialize_spec()
171 ++spec; in parse_serialize_spec()
176 *specp = spec; in parse_serialize_spec()
242 while (*spec != '\0' && *spec != '.') { in php_hash_serialize_spec()
243 char spec_ch = *spec; in php_hash_serialize_spec()
[all …]
H A Dphp_hash.h153 …API int php_hash_serialize_spec(const php_hashcontext_object *context, zval *zv, const char *spec);
154 …_API int php_hash_unserialize_spec(php_hashcontext_object *hash, const zval *zv, const char *spec);
/PHP-8.2/scripts/dev/
H A Dcheck_parameters.php215 $spec = $m[1][0];
216 $len = strlen($spec);
218 $char = $spec[$i];
219 switch ($char = $spec[$i]) {
280 $allow_uninit = $i+1 < $len && $spec[$i+1] === '!'
/PHP-8.2/tests/basic/
H A DGHSA-9pqp-7h25-4f32.phpt44 $spec = [
54 $handle = proc_open($cmd, $spec, $pipes, getcwd(), $env);
/PHP-8.2/ext/mbstring/tests/
H A Dutf8_error_handling.phpt2 Confirm error handling for UTF-8 complies with WHATWG spec
20 * Ref: https://encoding.spec.whatwg.org/#utf-8-decoder
H A Dutf7imap_encoding.phpt60 * This is illegal according to the spec for mUTF-7 (IMAP), but currently we are letting
64 * If ever we want to enforce this part of the spec, uncomment the following test */
/PHP-8.2/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.2/ext/date/tests/
H A Dexamine_diff.inc27 * This spec includes a "+" or "-" after the "P" in order to
/PHP-8.2/ext/dom/tests/
H A Dbug67949.phpt8 // Note: non-numeric string accesses fail on NodeLists (as per spec).
/PHP-8.2/ext/fileinfo/
H A Dmagicdata.patch56 # File format spec: https://wiki.dovecot.org/Design/Dcrypt/#File_format
/PHP-8.2/ext/intl/tests/
H A Dnormalizer_normalize_kc_cf.phpt27 /* 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.2/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.2/docs/
H A Dparameter-parsing-api.md48 int zend_parse_parameter(int flags, int arg_num, zval **arg, const char *spec, ...);

Completed in 42 milliseconds

12