Home
last modified time | relevance | path

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

12345

/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_request.c52 proc->tv = now; in fpm_request_accepting()
83 proc->tv = now; in fpm_request_reading_headers()
123 proc->tv = now; in fpm_request_info()
138 strlcpy(proc->auth_user, auth_user, sizeof(proc->auth_user)); in fpm_request_info()
167 proc->tv = now; in fpm_request_executing()
193 timersub(&now, &proc->accepted, &proc->duration); in fpm_request_end()
195 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_status.c431 if (proc.cpu_duration.tv_sec == 0 && proc.cpu_duration.tv_usec == 0) { in fpm_status_handle_request()
434proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_stime + proc.last_request_cpu.tms_cuti… in fpm_status_handle_request()
439 duration = proc.duration; in fpm_status_handle_request()
445 proc.pid, in fpm_status_handle_request()
449 proc.requests, in fpm_status_handle_request()
451 proc.request_method[0] != '\0' ? proc.request_method : "-", in fpm_status_handle_request()
452 proc.request_uri[0] != '\0' ? proc.request_uri : "-", in fpm_status_handle_request()
455 proc.content_length, in fpm_status_handle_request()
456 proc.auth_user[0] != '\0' ? proc.auth_user : "-", in fpm_status_handle_request()
457 proc.script_filename[0] != '\0' ? proc.script_filename : "-", in fpm_status_handle_request()
[all …]
H A Dfpm_log.c105 struct fpm_scoreboard_proc_s proc, *proc_p; in fpm_log_write() local
138 proc = *proc_p; in fpm_log_write()
180 …tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_stime + proc.last_request_… in fpm_log_write()
184 tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_cutime; in fpm_log_write()
188 tms_total = proc.last_request_cpu.tms_stime + proc.last_request_cpu.tms_cstime; in fpm_log_write()
206 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec + proc.duration.tv_usec / 10… in fpm_log_write()
212 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec * 1000. + proc.duration.tv_u… in fpm_log_write()
218 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.duration.tv_sec * 1000000UL + proc.duration.t… in fpm_log_write()
243 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.script_filename ? proc.script_filename : "-"… in fpm_log_write()
255 … len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.request_method ? proc.request_method : "-"); in fpm_log_write()
[all …]
H A Dfpm_scoreboard.c214 struct fpm_scoreboard_proc_s *proc; in fpm_scoreboard_proc_acquire() local
216 proc = fpm_scoreboard_proc_get(scoreboard, child_index); in fpm_scoreboard_proc_acquire()
217 if (!proc) { in fpm_scoreboard_proc_acquire()
221 if (!fpm_spinlock(&proc->lock, nohang)) { in fpm_scoreboard_proc_acquire()
225 return proc; in fpm_scoreboard_proc_acquire()
231 if (!proc) { in fpm_scoreboard_proc_release()
235 proc->lock = 0; in fpm_scoreboard_proc_release()
256 struct fpm_scoreboard_proc_s *proc; in fpm_scoreboard_child_use() local
260 if (!proc) { in fpm_scoreboard_child_use()
263 proc->pid = pid; in fpm_scoreboard_child_use()
[all …]
/PHP-7.2/ext/standard/tests/streams/
H A Dbug46024.phpt9 $proc = proc_open(
14 var_dump($proc);
15 if (!$proc) {
35 proc_terminate($proc);
37 proc_terminate($proc, SIGKILL);
39 proc_terminate($proc);
41 proc_close($proc);
/PHP-7.2/ext/xsl/tests/
H A Dxsltprocessor_registerPHPFunctions-allfuncs.phpt18 $proc->importStylesheet($phpfuncxsl);
19 var_dump($proc->registerPHPFunctions());
20 var_dump($proc->transformToXml($dom));
22 //var_dump($proc->registerPHPFunctions(array()));
23 //var_dump($proc->transformToXml($dom));
H A Dxsltprocessor_removeParameter.phpt12 $proc->importStylesheet($xsl);
13 $proc->setParameter('', 'key', 'value');
14 $proc->removeParameter('', 'key');
15 var_dump($proc->getParameter('', 'key'));
H A Dxsltprocessor_registerPHPFunctions-array-multiple.phpt22 $proc->importStylesheet($phpfuncxsl);
23 var_dump($proc->registerPHPFunctions(array('strpos', 'ucwords')));
24 var_dump($proc->registerPHPFunctions(array('strrev', 'array_key_exists')));
25 var_dump($proc->registerPHPFunctions(array()));
26 var_dump($proc->transformToXml($dom));
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 Dbug26384.phpt19 $proc = new xsltprocessor;
20 if(!$proc) {
25 $proc->importStylesheet($xsl);
26 print $proc->transformToXml($dom);
H A Dxsltprocessor_getParameter.phpt12 $proc->importStylesheet($xsl);
13 $proc->setParameter('', 'key', 'value');
14 var_dump($proc->getParameter('', 'key'));
H A Dbug33853.phpt26 $proc = new XsltProcessor();
27 $proc->registerPhpFunctions();
28 $xsl = $proc->importStylesheet($xsl);
29 $newdom = $proc->transformToDoc($inputdom);
H A Dxsltprocessor_registerPHPFunctions-null.phpt22 $proc->importStylesheet($phpfuncxsl);
23 var_dump($proc->registerPHPFunctions('ucwords'));
24 var_dump($proc->registerPHPFunctions(null));
25 var_dump($proc->transformToXml($dom));
H A Dxsltprocessor_registerPHPFunctions-string-multiple.phpt22 $proc->importStylesheet($phpfuncxsl);
23 var_dump($proc->registerPHPFunctions('ucwords'));
24 var_dump($proc->registerPHPFunctions('strpos'));
25 var_dump($proc->transformToXml($dom));
H A Dbug48221.phpt10 $proc->importStylesheet($xsl);
11 $proc->setParameter('', '', '"\'');
12 $proc->transformToXml($dom);
H A Dxslt003.phpt9 $proc->importStylesheet($xsl);
10 $proc->setParameter( "", "foo","hello world");
12 print $proc->transformToXml($dom);
H A Dxsltprocessor_setparameter-nostring.phpt14 $proc->importStylesheet($xsl);
15 var_dump($proc->setParameter('', array(4, 'abc')));
16 $proc->transformToXml($dom);
H A Dxsltprocessor_registerPHPFunctions-string.phpt18 $proc->importStylesheet($phpfuncxsl);
19 var_dump($proc->registerPHPFunctions('ucwords'));
20 var_dump($proc->transformToXml($dom));
H A Dxsltprocessor_registerPHPFunctions-array.phpt18 $proc->importStylesheet($phpfuncxsl);
19 var_dump($proc->registerPHPFunctions(array('ucwords')));
20 var_dump($proc->transformToXml($dom));
H A Dxsltprocessor_setparameter-errorquote.phpt14 $proc->importStylesheet($xsl);
15 $proc->setParameter('', '', '"\'');
16 $proc->transformToXml($dom);
H A Dxsltprocessor_transformToDoc.phpt44 $proc = new XSLTProcessor();
45 $proc->registerPHPFunctions();
46 $proc->importStyleSheet($xsldoc);
48 var_dump($proc->transformToDoc($xmldoc)->firstChild->tagName);
/PHP-7.2/ext/standard/
H A Dproc_open.c187 if (proc->pipes[i] != 0) { in proc_open_rsrc_dtor()
190 proc->pipes[i] = 0; in proc_open_rsrc_dtor()
226 _php_free_envp(proc->env, proc->is_persistent); in proc_open_rsrc_dtor()
227 pefree(proc->pipes, proc->is_persistent); in proc_open_rsrc_dtor()
228 pefree(proc->command, proc->is_persistent); in proc_open_rsrc_dtor()
229 pefree(proc, proc->is_persistent); in proc_open_rsrc_dtor()
868 proc->command = command; in PHP_FUNCTION()
870 proc->npipes = ndesc; in PHP_FUNCTION()
871 proc->child = child; in PHP_FUNCTION()
875 proc->env = env; in PHP_FUNCTION()
[all …]
/PHP-7.2/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);
H A Dbug74600.phpt22 $proc = proc_open("$php -c $ini_file -r 'echo \"okey\";'", $desc, $pipes);
23 if (!$proc) {
29 proc_terminate($proc);
30 proc_close($proc);
H A D023.phpt30 $proc = proc_open("$php -c $ini_file -r 'echo ini_get(\"memory_limit\");'", $desc, $pipes);
31 if (!$proc) {
37 proc_terminate($proc);
38 proc_close($proc);

Completed in 31 milliseconds

12345