Searched defs:proc (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_request.c41 struct fpm_scoreboard_proc_s *proc; local
46 proc = fpm_scoreboard_proc_acquire(NULL, -1, 0);
47 if (proc == NULL) {
48 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard");
52 proc->request_stage = FPM_REQUEST_ACCEPTING;
53 proc->tv = now;
54 fpm_scoreboard_proc_release(proc);
63 struct fpm_scoreboard_proc_s *proc; local
77 proc = fpm_scoreboard_proc_acquire(NULL, -1, 0);
78 if (proc
108 struct fpm_scoreboard_proc_s *proc; local
158 struct fpm_scoreboard_proc_s *proc; local
177 struct fpm_scoreboard_proc_s *proc; local
211 struct fpm_scoreboard_proc_s *proc; local
232 struct fpm_scoreboard_proc_s proc, *proc_p; local
289 struct fpm_scoreboard_proc_s *proc; local
303 struct fpm_scoreboard_proc_s *proc; local
[all...]
H A Dfpm_log.c104 struct fpm_scoreboard_proc_s proc, *proc_p; local
137 proc = *proc_p;
179 tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_stime + proc.last_request_cpu.tms_cutime + proc.last_request_cpu.tms_cstime;
183 tms_total = proc.last_request_cpu.tms_utime + proc.last_request_cpu.tms_cutime;
187 tms_total = proc.last_request_cpu.tms_stime + proc
[all...]
H A Dfpm_scoreboard.c210 struct fpm_scoreboard_proc_s *proc; local
212 proc = fpm_scoreboard_proc_get(scoreboard, child_index);
213 if (!proc) {
217 if (!fpm_spinlock(&proc->lock, nohang)) {
221 return proc;
225 void fpm_scoreboard_proc_release(struct fpm_scoreboard_proc_s *proc) /* {{{ */ argument
227 if (!proc) {
231 proc->lock = 0;
255 struct fpm_scoreboard_proc_s *proc; local
258 proc
[all...]
H A Dfpm_status.c52 struct fpm_scoreboard_proc_s proc; local
408 proc = *scoreboard_p->procs[i];
420 if (proc.query_string[0] != '\0') {
422 query_string = proc.query_string;
424 tmp_query_string = php_escape_html_entities_ex((unsigned char *)proc.query_string, strlen(proc.query_string), 1, ENT_HTML_IGNORE_ERRORS & ENT_COMPAT, NULL, 1 TSRMLS_CC);
431 if (proc.cpu_duration.tv_sec == 0 && proc.cpu_duration.tv_usec == 0) {
434 cpu = (proc.last_request_cpu.tms_utime + proc
[all...]
/PHP_TRUNK/
H A Dserver-tests.php176 $proc = proc_open($commandline, array( variable
181 if (!$proc)
203 proc_terminate($proc);
214 $code = proc_close($proc);
H A Drun-tests.php1080 $proc = proc_open($commandline, array( variable
1086 if (!$proc) {
1111 proc_terminate($proc, 9);
1123 $stat = proc_get_status($proc);
1129 $code = proc_close($proc);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c36535 FARPROC proc; local
[all...]
/PHP_TRUNK/win32/build/
H A Dmkdist.php76 $proc = proc_open($cmd, variable
111 proc_close($proc);
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c266 ZEND_ARG_INFO(0, proc)
3462 /* {{{ proto resource odbc_procedurecolumns(resource connection_id [, string qualifier, string owner, string proc, string column])
3469 char *cat = NULL, *schema = NULL, *proc = NULL, *col = NULL; local
3478 &proc, &proc_len, &col, &col_len) == FAILURE) {
3502 proc, SAFE_SQL_NTS(proc),
3537 char *cat = NULL, *schema = NULL, *proc = NULL; local
3545 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!ss", &pv_conn, &cat, &cat_len, &schema, &schema_len, &proc, &proc_len) == FAILURE) {
3569 proc, SAFE_SQL_NTS(proc) );
[all...]
/PHP_TRUNK/ext/standard/
H A Dproc_open.c40 #include <proc.h>
191 struct php_process_handle *proc = (struct php_process_handle*)rsrc->ptr; local
202 for (i = 0; i < proc->npipes; i++) {
203 if (proc->pipes[i] != 0) {
204 GC_REFCOUNT(proc->pipes[i])--;
205 zend_list_close(proc->pipes[i]);
206 proc->pipes[i] = 0;
212 WaitForSingleObject(proc->childHandle, INFINITE);
214 GetExitCodeProcess(proc->childHandle, &wstatus);
220 CloseHandle(proc
262 struct php_process_handle *proc; local
292 struct php_process_handle *proc; local
312 struct php_process_handle *proc; local
451 struct php_process_handle *proc; local
[all...]
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c467 process_pair *proc; local
554 proc = process_get(NULL TSRMLS_CC);
565 proc->prochnd = process.hProcess;
566 proc->stream = stream;

Completed in 149 milliseconds