/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_request.c | 53 proc->tv = now; in fpm_request_accepting() 84 proc->tv = now; in fpm_request_reading_headers() 126 proc->tv = now; in fpm_request_info() 141 strlcpy(proc->auth_user, auth_user, sizeof(proc->auth_user)); in fpm_request_info() 170 proc->tv = now; in fpm_request_executing() 195 proc->tv = now; in fpm_request_end() 196 timersub(&now, &proc->accepted, &proc->duration); in fpm_request_end() 198 timersub(&proc->tv, &proc->accepted, &proc->cpu_duration); in fpm_request_end() 223 proc->tv = now; in fpm_request_finished() 291 if (!proc) { in fpm_request_is_idle() [all …]
|
H A D | fpm_status.c | 427 if (proc.cpu_duration.tv_sec == 0 && proc.cpu_duration.tv_usec == 0) { in fpm_status_handle_request() 430 …proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_stime + proc.last_request_cpu.tms_cuti… in fpm_status_handle_request() 435 duration = proc.duration; in fpm_status_handle_request() 441 proc.pid, in fpm_status_handle_request() 445 proc.requests, in fpm_status_handle_request() 447 proc.request_method[0] != '\0' ? proc.request_method : "-", in fpm_status_handle_request() 448 proc.request_uri[0] != '\0' ? proc.request_uri : "-", in fpm_status_handle_request() 451 proc.content_length, in fpm_status_handle_request() 452 proc.auth_user[0] != '\0' ? proc.auth_user : "-", in fpm_status_handle_request() 453 proc.script_filename[0] != '\0' ? proc.script_filename : "-", in fpm_status_handle_request() [all …]
|
H A D | fpm_log.c | 106 struct fpm_scoreboard_proc_s proc, *proc_p; in fpm_log_write() local 139 proc = *proc_p; in fpm_log_write() 181 …tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_stime + proc.last_request_… in fpm_log_write() 185 tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_cutime; in fpm_log_write() 189 tms_total = proc.last_request_cpu.tms_stime + proc.last_request_cpu.tms_cstime; in fpm_log_write() 207 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec + proc.duration.tv_usec / 10… in fpm_log_write() 213 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec * 1000. + proc.duration.tv_u… in fpm_log_write() 219 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.duration.tv_sec * 1000000UL + proc.duration.t… in fpm_log_write() 244 …len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.script_filename ? proc.script_filename : "-"… in fpm_log_write() 256 … len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.request_method ? proc.request_method : "-"); in fpm_log_write() [all …]
|
H A D | fpm_scoreboard.c | 204 struct fpm_scoreboard_proc_s *proc; in fpm_scoreboard_proc_acquire() local 206 proc = fpm_scoreboard_proc_get(scoreboard, child_index); in fpm_scoreboard_proc_acquire() 207 if (!proc) { in fpm_scoreboard_proc_acquire() 211 if (!fpm_spinlock(&proc->lock, nohang)) { in fpm_scoreboard_proc_acquire() 215 return proc; in fpm_scoreboard_proc_acquire() 221 if (!proc) { in fpm_scoreboard_proc_release() 225 proc->lock = 0; in fpm_scoreboard_proc_release() 249 struct fpm_scoreboard_proc_s *proc; in fpm_scoreboard_child_use() local 253 if (!proc) { in fpm_scoreboard_child_use() 256 proc->pid = pid; in fpm_scoreboard_child_use() [all …]
|
/PHP-5.5/ext/standard/tests/streams/ |
H A D | bug46024.phpt | 9 $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-5.5/ext/xsl/tests/ |
H A D | xsltprocessor_registerPHPFunctions-allfuncs.phpt | 18 $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 D | xsltprocessor_removeParameter.phpt | 12 $proc->importStylesheet($xsl); 13 $proc->setParameter('', 'key', 'value'); 14 $proc->removeParameter('', 'key'); 15 var_dump($proc->getParameter('', 'key'));
|
H A D | xsltprocessor_registerPHPFunctions-array-multiple.phpt | 22 $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 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 | bug26384.phpt | 19 $proc = new xsltprocessor; 20 if(!$proc) { 25 $proc->importStylesheet($xsl); 26 print $proc->transformToXml($dom);
|
H A D | xsltprocessor_getParameter.phpt | 12 $proc->importStylesheet($xsl); 13 $proc->setParameter('', 'key', 'value'); 14 var_dump($proc->getParameter('', 'key'));
|
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 | 22 $proc->importStylesheet($phpfuncxsl); 23 var_dump($proc->registerPHPFunctions('ucwords')); 24 var_dump($proc->registerPHPFunctions(null)); 25 var_dump($proc->transformToXml($dom));
|
H A D | xsltprocessor_registerPHPFunctions-string-multiple.phpt | 22 $proc->importStylesheet($phpfuncxsl); 23 var_dump($proc->registerPHPFunctions('ucwords')); 24 var_dump($proc->registerPHPFunctions('strpos')); 25 var_dump($proc->transformToXml($dom));
|
H A D | bug48221.phpt | 10 $proc->importStylesheet($xsl); 11 $proc->setParameter('', '', '"\''); 12 $proc->transformToXml($dom);
|
H A D | xslt003.phpt | 9 $proc->importStylesheet($xsl); 10 $proc->setParameter( "", "foo","hello world"); 12 print $proc->transformToXml($dom);
|
H A D | xsltprocessor_setparameter-nostring.phpt | 14 $proc->importStylesheet($xsl); 15 var_dump($proc->setParameter('', array(4, 'abc'))); 16 $proc->transformToXml($dom);
|
H A D | xsltprocessor_registerPHPFunctions-array.phpt | 18 $proc->importStylesheet($phpfuncxsl); 19 var_dump($proc->registerPHPFunctions(array('ucwords'))); 20 var_dump($proc->transformToXml($dom));
|
H A D | xsltprocessor_registerPHPFunctions-string.phpt | 18 $proc->importStylesheet($phpfuncxsl); 19 var_dump($proc->registerPHPFunctions('ucwords')); 20 var_dump($proc->transformToXml($dom));
|
H A D | xsltprocessor_setparameter-errorquote.phpt | 14 $proc->importStylesheet($xsl); 15 $proc->setParameter('', '', '"\''); 16 $proc->transformToXml($dom);
|
H A D | xsltprocessor_transformToDoc.phpt | 44 $proc = new XSLTProcessor(); 45 $proc->registerPHPFunctions(); 46 $proc->importStyleSheet($xsldoc); 48 var_dump($proc->transformToDoc($xmldoc)->firstChild->tagName);
|
H A D | xsltprocessor_registerPHPFunctions-array-notallowed.phpt | 18 $proc->importStylesheet($phpfuncxsl); 19 var_dump($proc->registerPHPFunctions(array())); 20 var_dump($proc->transformToXml($dom));
|
H A D | xsltprocessor_registerPHPFunctions-string-notallowed.phpt | 18 $proc->importStylesheet($phpfuncxsl); 19 var_dump($proc->registerPHPFunctions('strpos')); 20 var_dump($proc->transformToXml($dom));
|
/PHP-5.5/ext/standard/ |
H A D | proc_open.c | 238 if (proc->pipes[i] != 0) { in proc_open_rsrc_dtor() 240 proc->pipes[i] = 0; in proc_open_rsrc_dtor() 276 _php_free_envp(proc->env, proc->is_persistent); in proc_open_rsrc_dtor() 277 pefree(proc->command, proc->is_persistent); in proc_open_rsrc_dtor() 278 pefree(proc, proc->is_persistent); in proc_open_rsrc_dtor() 379 if (wait_pid == proc->child) { in PHP_FUNCTION() 911 proc->command = command; in PHP_FUNCTION() 912 proc->npipes = ndesc; in PHP_FUNCTION() 913 proc->child = child; in PHP_FUNCTION() 917 proc->env = env; in PHP_FUNCTION() [all …]
|
/PHP-5.5/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);
|