/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_request.c | 53 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 D | fpm_log.c | 118 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 D | fpm_status.c | 582 if (proc->cpu_duration.tv_sec == 0 && proc->cpu_duration.tv_usec == 0) { in fpm_status_handle_request() 585 …proc->last_request_cpu.tms_utime + proc->last_request_cpu.tms_stime + proc->last_request_cpu.tms_c… in fpm_status_handle_request() 589 duration = proc->duration; in fpm_status_handle_request() 595 (int) proc->pid, in fpm_status_handle_request() 599 proc->requests, in fpm_status_handle_request() 601 proc->request_method[0] != '\0' ? proc->request_method : "-", in fpm_status_handle_request() 602 proc->request_uri[0] != '\0' ? proc->request_uri : "-", in fpm_status_handle_request() 605 proc->content_length, in fpm_status_handle_request() 606 proc->auth_user[0] != '\0' ? proc->auth_user : "-", in fpm_status_handle_request() 607 proc->script_filename[0] != '\0' ? proc->script_filename : "-", in fpm_status_handle_request() [all …]
|
H A D | fpm_scoreboard.c | 318 struct fpm_scoreboard_proc_s *proc; in fpm_scoreboard_proc_acquire() local 321 if (!proc) { in fpm_scoreboard_proc_acquire() 325 if (!fpm_spinlock(&proc->lock, nohang)) { in fpm_scoreboard_proc_acquire() 329 return proc; in fpm_scoreboard_proc_acquire() 335 if (!proc) { in fpm_scoreboard_proc_release() 339 proc->lock = 0; in fpm_scoreboard_proc_release() 360 struct fpm_scoreboard_proc_s *proc; in fpm_scoreboard_child_use() local 363 proc = fpm_scoreboard_proc_get_from_child(child); in fpm_scoreboard_child_use() 364 if (!proc) { in fpm_scoreboard_child_use() 367 proc->pid = pid; in fpm_scoreboard_child_use() [all …]
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | ghsa-9fcc-425m-g385_002.phpt | 23 $proc = proc_open(["cmd.exe", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes); 24 proc_close($proc); 25 $proc = proc_open(["cmd.exe ", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes… 26 proc_close($proc); 28 proc_close($proc); 30 proc_close($proc); 33 $proc = proc_open(["cmd", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes); 34 proc_close($proc); 35 $proc = proc_open(["cmd ", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes); 36 proc_close($proc); [all …]
|
H A D | ghsa-9fcc-425m-g385_001.phpt | 23 $proc = proc_open([$batch_file_path . ".", "\"¬epad.exe"], $descriptorspec, $pipes); 24 proc_close($proc); 25 $proc = proc_open([$batch_file_path . " ", "\"¬epad.exe"], $descriptorspec, $pipes); 26 proc_close($proc); 27 $proc = proc_open([$batch_file_path . ". ", "\"¬epad.exe"], $descriptorspec, $pipes); 28 proc_close($proc); 29 $proc = proc_open([$batch_file_path . ". ... ", "\"¬epad.exe"], $descriptorspec, $pipes); 30 proc_close($proc); 31 $proc = proc_open([$batch_file_path . ". ... . ", "\"¬epad.exe"], $descriptorspec, $pipes); 32 proc_close($proc); [all …]
|
H A D | proc_open_redirect.phpt | 27 $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 D | proc_open_null.phpt | 9 $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);
|
H A D | proc_open_array.phpt | 35 $proc = proc_open([$php, '-r', 'echo "Hello World!\n";'], $ds, $pipes); 37 proc_close($proc); 44 $proc = proc_open($cmd, $ds, $pipes); 46 proc_close($proc); 49 $proc = proc_open($cmd, $ds, $pipes, null, $env); 51 proc_close($proc); 64 $proc = proc_open($cmd, $ds, $pipes); 66 proc_close($proc);
|
/PHP-8.2/ext/xsl/tests/ |
H A D | xsltprocessor_registerPHPFunctions-allfuncs.phpt | 14 $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 D | xsltprocessor_removeParameter.phpt | 8 $proc->importStylesheet($xsl); 9 $proc->setParameter('', 'key', 'value'); 10 $proc->removeParameter('', 'key'); 11 var_dump($proc->getParameter('', 'key'));
|
H A D | xsltprocessor_registerPHPFunctions-array-multiple.phpt | 18 $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 D | xslt012.phpt | 23 $proc = new xsltprocessor; 24 if(!$proc) { 30 $proc->importStylesheet($xsl); 37 $proc->setParameter( "", $parameters); 40 print $proc->transformToXml($dom);
|
H A D | xsltprocessor_getParameter.phpt | 8 $proc->importStylesheet($xsl); 9 $proc->setParameter('', 'key', 'value'); 10 var_dump($proc->getParameter('', 'key'));
|
H A D | bug26384.phpt | 19 $proc = new xsltprocessor; 20 if(!$proc) { 25 $proc->importStylesheet($xsl); 26 print $proc->transformToXml($dom);
|
H A D | bug33853.phpt | 26 $proc = new XsltProcessor(); 27 $proc->registerPhpFunctions(); 28 $xsl = $proc->importStylesheet($xsl); 29 $newdom = $proc->transformToDoc($inputdom);
|
H A D | xsltprocessor_registerPHPFunctions-null.phpt | 18 $proc->importStylesheet($phpfuncxsl); 19 var_dump($proc->registerPHPFunctions('ucwords')); 20 var_dump($proc->registerPHPFunctions(null)); 21 var_dump($proc->transformToXml($dom));
|
H A D | xsltprocessor_registerPHPFunctions-string-multiple.phpt | 18 $proc->importStylesheet($phpfuncxsl); 19 var_dump($proc->registerPHPFunctions('ucwords')); 20 var_dump($proc->registerPHPFunctions('strpos')); 21 var_dump($proc->transformToXml($dom));
|
H A D | bug48221.phpt | 8 $proc->importStylesheet($xsl); 9 $proc->setParameter('', '', '"\''); 10 $proc->transformToXml($dom);
|
H A D | xslt003.phpt | 9 $proc->importStylesheet($xsl); 10 $proc->setParameter( "", "foo","hello world"); 12 print $proc->transformToXml($dom);
|
/PHP-8.2/ext/pdo_firebird/tests/ |
H A D | payload_server.inc | 10 $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-8.2/ext/standard/tests/streams/ |
H A D | bug46024.phpt | 14 $proc = proc_open( 19 var_dump($proc); 20 if (!$proc) { 40 proc_terminate($proc); 42 proc_terminate($proc, SIGKILL); 44 proc_terminate($proc); 46 proc_close($proc);
|
H A D | bug78883.phpt | 17 $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-8.2/sapi/cli/tests/ |
H A D | 022.phpt | 27 $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 D | bug74600.phpt | 22 $proc = proc_open("$php -c $ini_file -r 'echo \"okey\";'", $desc, $pipes); 23 if (!$proc) { 29 proc_terminate($proc); 30 proc_close($proc);
|