Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 125) sorted by relevance

12345

/php-src/sapi/fpm/fpm/
H A Dfpm_request.c53 proc->tv = now; in fpm_request_accepting()
85 proc->tv = now; in fpm_request_reading_headers()
124 proc->tv = now; in fpm_request_info()
139 strlcpy(proc->auth_user, auth_user, sizeof(proc->auth_user)); in fpm_request_info()
167 proc->tv = now; in fpm_request_executing()
192 timersub(&now, &proc->accepted, &proc->duration); in fpm_request_end()
194 timersub(&proc->tv, &proc->accepted, &proc->cpu_duration); in fpm_request_end()
266 (proc.query_string[0] ? "?" : ""), proc.query_string, in fpm_request_check_timed_out()
277 (proc.query_string[0] ? "?" : ""), proc.query_string, in fpm_request_check_timed_out()
290 if (!proc) { in fpm_request_is_idle()
[all …]
H A Dfpm_log.c114 struct fpm_scoreboard_proc_s proc, *proc_p; in fpm_log_write() local
147 proc = *proc_p; in fpm_log_write()
193 …tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_stime + proc.last_request_… in fpm_log_write()
197 tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_cutime; in fpm_log_write()
201 tms_total = proc.last_request_cpu.tms_stime + proc.last_request_cpu.tms_cstime; in fpm_log_write()
219 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec + proc.duration.tv_usec / 10… in fpm_log_write()
259 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.script_filename ? proc.script_filename : "-"… in fpm_log_write()
271 … len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.request_method ? proc.request_method : "-"); in fpm_log_write()
403 t = &proc.accepted_epoch; in fpm_log_write()
495 if (proc->query_string[0] != '\0') { in fpm_access_log_suppress()
[all …]
H A Dfpm_status.c593 if (proc->cpu_duration.tv_sec == 0 && proc->cpu_duration.tv_usec == 0) { in fpm_status_handle_request()
596proc->last_request_cpu.tms_utime + proc->last_request_cpu.tms_stime + proc->last_request_cpu.tms_c… in fpm_status_handle_request()
600 duration = proc->duration; in fpm_status_handle_request()
606 (int) proc->pid, in fpm_status_handle_request()
610 proc->requests, in fpm_status_handle_request()
612 proc->request_method[0] != '\0' ? proc->request_method : "-", in fpm_status_handle_request()
613 proc->request_uri[0] != '\0' ? proc->request_uri : "-", in fpm_status_handle_request()
616 proc->content_length, in fpm_status_handle_request()
617 proc->auth_user[0] != '\0' ? proc->auth_user : "-", in fpm_status_handle_request()
618 proc->script_filename[0] != '\0' ? proc->script_filename : "-", in fpm_status_handle_request()
[all …]
/php-src/ext/xsl/tests/
H A DXSLTProcessor_callables.phpt15 $proc = createProcessor(["'var_dump', string(@href)"]);
17 $proc->transformToXml($inputdom);
25 $proc->registerPHPFunctions();
26 var_dump($proc->transformToXml($inputdom));
31 $proc->registerPhpFunctions([]);
36 var_dump($proc->transformToXml($inputdom));
38 $proc = createProcessor(["'notinset', string(@href)"]);
39 $proc->registerPhpFunctions([]);
41 var_dump($proc->transformToXml($inputdom));
49 $proc->registerCycle();
[all …]
H A DregisterPHPFunctionNS.phpt40 $proc = new XSLTProcessor();
41 $proc->importStylesheet($xsl);
42 return $proc;
50 $proc = createProcessor(["foo:var_dump(string(@href))"]);
54 @$proc->transformToXml($inputdom);
63 $proc->transformToXml($inputdom);
69 $proc->transformToXml($inputdom);
75 var_dump($proc->transformToXml($inputdom));
80 $proc = createProcessor(["foo:test(string(@href))"]);
82 var_dump($proc->transformToXml($inputdom));
[all …]
H A Dreq30622.phpt29 $proc = new XSLTProcessor();
30 $proc->importStyleSheet($xslDom);
34 $proc->setParameter("", "foo", "SET1");
36 var_dump($proc->getParameter("", "foo"));
39 print $proc->transformToXML($xmlDom);
44 var_dump($proc->getParameter("", "foo"));
47 print $proc->transformToXML($xmlDom);
52 var_dump($proc->getParameter("", "foo"));
55 print $proc->transformToXML($xmlDom);
59 $proc->setParameter("", ["foo" => "SET1"]);
[all …]
H A Dxsltprocessor_registerPHPFunctions-allfuncs.phpt14 $proc->importStylesheet($phpfuncxsl);
15 var_dump($proc->registerPHPFunctions());
16 var_dump($proc->transformToXml($dom));
18 //var_dump($proc->registerPHPFunctions(array()));
19 //var_dump($proc->transformToXml($dom));
H A DXSLTProcessor_callables_errors.phpt10 $proc = createProcessor([]);
12 $proc->registerPhpFunctions("nonexistent");
18 $proc->registerPhpFunctions(function () {});
24 $proc->registerPhpFunctions([function () {}]);
30 $proc->registerPhpFunctions([var_dump(...)]);
36 $proc->registerPhpFunctions(["nonexistent"]);
42 $proc->registerPhpFunctions(["" => var_dump(...)]);
48 $proc->registerPhpFunctions(["\0" => var_dump(...)]);
54 $proc->registerPhpFunctions("");
H A Dxsltprocessor_exsl_registerPhpFunctionNs.phpt7 $proc = new xsltprocessor;
8 if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');
47 $proc = new XSLTProcessor();
48 $proc->importStylesheet($xsldoc);
51 $proc->registerPHPFunctionNS('http://exslt.org/dates-and-times', 'year', dummy_year(...));
52 echo $proc->transformToXML($xmldoc), "\n";
55 $proc->registerPHPFunctionNS('http://www.w3.org/1999/XSL/Transform', 'value-of', dummy_exit(...));
56 echo $proc->transformToXML($xmldoc), "\n";
H A Dxsltprocessor_removeParameter.phpt8 $proc->importStylesheet($xsl);
9 $proc->setParameter('', 'key', 'value');
10 $proc->removeParameter('', 'key');
11 var_dump($proc->getParameter('', 'key'));
H A Dreq30622_errors.phpt10 $proc = new XSLTProcessor();
13 $proc->setParameter("urn:x", "{urn:a}x", "");
19 $proc->setParameter("urn:x", "a:b", "");
25 $proc->getParameter("urn:x", "{urn:a}x");
31 $proc->getParameter("urn:x", "a:b");
37 $proc->removeParameter("urn:x", "{urn:a}x");
43 $proc->removeParameter("urn:x", "a:b");
49 $proc->setParameter("urn:x", ":b", "");
50 $proc->setParameter("urn:x", ":", "");
H A Dxsltprocessor_registerPHPFunctions-array-multiple.phpt18 $proc->importStylesheet($phpfuncxsl);
19 var_dump($proc->registerPHPFunctions(array('strpos', 'ucwords')));
20 var_dump($proc->registerPHPFunctions(array('strrev', 'array_key_exists')));
21 var_dump($proc->registerPHPFunctions(array()));
22 var_dump($proc->transformToXml($dom));
H A DmaxTemplateDepth_modification_validation_bypass.phpt8 $proc = new XSLTProcessor();
12 $proc->maxTemplateDepth = $value;
21 $ref =& $proc->maxTemplateDepth;
29 unset($proc->maxTemplateDepth);
36 var_dump($proc);
H A DmaxTemplateVars_modification_validation_bypass.phpt8 $proc = new XSLTProcessor();
12 $proc->maxTemplateVars = $value;
21 $ref =& $proc->maxTemplateVars;
29 unset($proc->maxTemplateVars);
36 var_dump($proc);
H A Dxslt012.phpt23 $proc = new xsltprocessor;
24 if(!$proc) {
30 $proc->importStylesheet($xsl);
37 $proc->setParameter( "", $parameters);
40 print $proc->transformToXml($dom);
H A Dxslt_non_dom_node.phpt18 $proc = new xsltprocessor;
19 $xsl = $proc->importStylesheet($dom);
23 $proc->registerPHPFunctions();
25 $proc->transformToXml($xml);
/php-src/ext/standard/tests/general_functions/
H A Dghsa-9fcc-425m-g385_002.phpt26 $proc = proc_open(["cmd.exe", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
27 proc_close($proc);
28 $proc = proc_open(["cmd.exe ", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes…
29 proc_close($proc);
31 proc_close($proc);
33 proc_close($proc);
36 $proc = proc_open(["cmd", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
37 proc_close($proc);
38 $proc = proc_open(["cmd ", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
39 proc_close($proc);
[all …]
H A Dghsa-9fcc-425m-g385_001.phpt26 $proc = proc_open([$batch_file_path . ".", "\"&notepad.exe"], $descriptorspec, $pipes);
27 proc_close($proc);
28 $proc = proc_open([$batch_file_path . " ", "\"&notepad.exe"], $descriptorspec, $pipes);
29 proc_close($proc);
30 $proc = proc_open([$batch_file_path . ". ", "\"&notepad.exe"], $descriptorspec, $pipes);
31 proc_close($proc);
32 $proc = proc_open([$batch_file_path . ". ... ", "\"&notepad.exe"], $descriptorspec, $pipes);
33 proc_close($proc);
34 $proc = proc_open([$batch_file_path . ". ... . ", "\"&notepad.exe"], $descriptorspec, $pipes);
35 proc_close($proc);
[all …]
H A Dproc_open_redirect.phpt27 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes);
30 proc_close($proc);
34 $proc = proc_open($cmd, [1 => ['file', $fileName, 'w'], 2 => ['redirect', 1]], $pipes);
36 proc_close($proc);
42 $proc = proc_open($cmd, [1 => $file, 2 => ['redirect', 1]], $pipes);
44 proc_close($proc);
50 $proc = proc_open($cmd, [2 => ['redirect', 1]], $pipes);
51 proc_close($proc);
H A Dproc_open_null.phpt9 $proc = proc_open($cmd, [1 => ['null'], 2 => ['pipe', 'w']], $pipes);
12 proc_close($proc);
14 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['null']], $pipes);
17 proc_close($proc);
/php-src/ext/pdo_firebird/tests/
H A Dpayload_server.inc10 $proc = proc_open($cmd, $descriptorspec, $pipes);
17 $status = proc_get_status($proc);
20 proc_terminate($proc);
36 proc_terminate($proc);
46 $status = proc_get_status($proc);
66 proc_terminate($proc);
71 function($proc) {
72 proc_terminate($proc);
75 $status = proc_get_status($proc);
82 $proc
/php-src/ext/standard/tests/streams/
H A Dbug46024.phpt13 $proc = proc_open(
18 var_dump($proc);
19 if (!$proc) {
39 proc_terminate($proc);
41 proc_terminate($proc, SIGKILL);
43 proc_terminate($proc);
45 proc_close($proc);
H A Dbug78883.phpt17 $proc = proc_open($cmd, $descriptorspec, $pipes);
18 var_dump(is_resource($proc));
19 $pid = proc_get_status($proc)['pid'];
21 $bug_is_present = !proc_get_status($proc)['running'];
29 proc_close($proc);
/php-src/sapi/cli/tests/
H A D022.phpt27 $proc = proc_open("$php -n " . escapeshellarg($test_file), $desc, $pipes);
28 var_dump($proc);
29 if (!$proc) {
38 proc_terminate($proc);
39 proc_close($proc);
/php-src/ext/standard/
H A Dproc_open.c243 return proc->child; in waitpid_cached()
279 proc->pipes[i] = NULL; in proc_open_rsrc_dtor()
321 efree(proc->pipes); in proc_open_rsrc_dtor()
323 efree(proc); in proc_open_rsrc_dtor()
340 php_process_handle *proc; in PHP_FUNCTION() local
350 if (proc == NULL) { in PHP_FUNCTION()
373 if (proc == NULL) { in PHP_FUNCTION()
403 if (proc == NULL) { in PHP_FUNCTION()
1416 proc->npipes = ndesc; in PHP_FUNCTION()
1417 proc->child = child; in PHP_FUNCTION()
[all …]

Completed in 30 milliseconds

12345