Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 122) 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()
263 (proc.query_string[0] ? "?" : ""), proc.query_string, in fpm_request_check_timed_out()
274 (proc.query_string[0] ? "?" : ""), proc.query_string, in fpm_request_check_timed_out()
287 if (!proc) { in fpm_request_is_idle()
[all …]
H A Dfpm_log.c118 struct fpm_scoreboard_proc_s proc, *proc_p; in fpm_log_write() local
151 proc = *proc_p; in fpm_log_write()
197 …tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_stime + proc.last_request_… in fpm_log_write()
201 tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_cutime; in fpm_log_write()
205 tms_total = proc.last_request_cpu.tms_stime + proc.last_request_cpu.tms_cstime; in fpm_log_write()
223 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec + proc.duration.tv_usec / 10… in fpm_log_write()
263 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.script_filename ? proc.script_filename : "-"… in fpm_log_write()
275 … len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.request_method ? proc.request_method : "-"); in fpm_log_write()
407 t = &proc.accepted_epoch; in fpm_log_write()
499 if (proc->query_string[0] != '\0') { in fpm_access_log_suppress()
[all …]
H A Dfpm_status.c580 if (proc->cpu_duration.tv_sec == 0 && proc->cpu_duration.tv_usec == 0) { in fpm_status_handle_request()
583proc->last_request_cpu.tms_utime + proc->last_request_cpu.tms_stime + proc->last_request_cpu.tms_c… in fpm_status_handle_request()
587 duration = proc->duration; in fpm_status_handle_request()
593 (int) proc->pid, in fpm_status_handle_request()
597 proc->requests, in fpm_status_handle_request()
599 proc->request_method[0] != '\0' ? proc->request_method : "-", in fpm_status_handle_request()
600 proc->request_uri[0] != '\0' ? proc->request_uri : "-", in fpm_status_handle_request()
603 proc->content_length, in fpm_status_handle_request()
604 proc->auth_user[0] != '\0' ? proc->auth_user : "-", in fpm_status_handle_request()
605 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.phpt36 $proc = new XSLTProcessor();
37 $proc->importStylesheet($xsl);
38 return $proc;
46 $proc = createProcessor(["foo:var_dump(string(@href))"]);
48 $proc->transformToXml($inputdom);
57 $proc->transformToXml($inputdom);
63 $proc->transformToXml($inputdom);
69 var_dump($proc->transformToXml($inputdom));
74 $proc = createProcessor(["foo:test(string(@href))"]);
76 var_dump($proc->transformToXml($inputdom));
[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');
46 $proc = new XSLTProcessor();
47 $proc->importStylesheet($xsldoc);
50 $proc->registerPHPFunctionNS('http://exslt.org/dates-and-times', 'year', dummy_year(...));
51 echo $proc->transformToXML($xmldoc), "\n";
54 $proc->registerPHPFunctionNS('http://www.w3.org/1999/XSL/Transform', 'value-of', dummy_exit(...));
55 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 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);
H A Dbug26384.phpt19 $proc = new xsltprocessor;
20 if(!$proc) {
25 $proc->importStylesheet($xsl);
26 print $proc->transformToXml($dom);
H A Dxsltprocessor_getParameter.phpt8 $proc->importStylesheet($xsl);
9 $proc->setParameter('', 'key', 'value');
10 var_dump($proc->getParameter('', 'key'));
/php-src/ext/standard/tests/general_functions/
H A Dghsa-9fcc-425m-g385_002.phpt23 $proc = proc_open(["cmd.exe", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
24 proc_close($proc);
25 $proc = proc_open(["cmd.exe ", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes…
26 proc_close($proc);
28 proc_close($proc);
30 proc_close($proc);
33 $proc = proc_open(["cmd", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
34 proc_close($proc);
35 $proc = proc_open(["cmd ", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
36 proc_close($proc);
[all …]
H A Dghsa-9fcc-425m-g385_001.phpt23 $proc = proc_open([$batch_file_path . ".", "\"&notepad.exe"], $descriptorspec, $pipes);
24 proc_close($proc);
25 $proc = proc_open([$batch_file_path . " ", "\"&notepad.exe"], $descriptorspec, $pipes);
26 proc_close($proc);
27 $proc = proc_open([$batch_file_path . ". ", "\"&notepad.exe"], $descriptorspec, $pipes);
28 proc_close($proc);
29 $proc = proc_open([$batch_file_path . ". ... ", "\"&notepad.exe"], $descriptorspec, $pipes);
30 proc_close($proc);
31 $proc = proc_open([$batch_file_path . ". ... . ", "\"&notepad.exe"], $descriptorspec, $pipes);
32 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.c240 return proc->child; in waitpid_cached()
276 proc->pipes[i] = NULL; in proc_open_rsrc_dtor()
318 efree(proc->pipes); in proc_open_rsrc_dtor()
320 efree(proc); in proc_open_rsrc_dtor()
337 php_process_handle *proc; in PHP_FUNCTION() local
347 if (proc == NULL) { in PHP_FUNCTION()
370 if (proc == NULL) { in PHP_FUNCTION()
400 if (proc == NULL) { in PHP_FUNCTION()
1411 proc->npipes = ndesc; in PHP_FUNCTION()
1412 proc->child = child; in PHP_FUNCTION()
[all …]

Completed in 95 milliseconds

12345