/PHP-7.4/ |
H A D | UPGRADING | 539 . bool sapi_windows_generate_ctrl_event(int type, int pid) - send a CTRL event
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_wrapper.c | 216 /* [out] */ DISPID *pid) in disp_getdispid() argument 231 *pid = (DISPID)Z_LVAL_P(tmp); in disp_getdispid() 398 /* [out] */ DISPID *pid) in disp_getnextdispid() argument 407 *pid = next; in disp_getnextdispid() 450 zend_ulong pid; in generate_dispids() local 464 &pid, &pos))) { in generate_dispids() 486 ZVAL_LONG(&tmp2, pid); in generate_dispids() 498 &name, &pid, &pos))) { in generate_dispids() 521 ZVAL_LONG(&tmp2, pid); in generate_dispids() 590 zend_ulong pid; in php_com_wrapper_export_as_sink() local [all …]
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | compress.c | 624 pid_t pid; in writechild() local 630 pid = fork(); in writechild() 631 if (pid == -1) { in writechild() 635 if (pid == 0) { in writechild() 644 return pid; in writechild() 692 pid_t pid; in uncompressbuf() local 721 pid = vfork(); in uncompressbuf() 722 if (pid == -1) { in uncompressbuf() 726 if (pid == 0) { in uncompressbuf() 806 w = waitpid(pid, &status, 0); in uncompressbuf()
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | magic | 9418 >>>24 ulelong x \b, pid %d 22723 >>>8 lelong <65536 \b, pid=%d
|
H A D | magic私はガラスを食べられます | 9418 >>>24 ulelong x \b, pid %d 22723 >>>8 lelong <65536 \b, pid=%d
|
/PHP-7.4/ext/ftp/tests/ |
H A D | server.inc | 22 $pid = pcntl_fork(); 27 $pid = pcntl_fork(); 28 if($pid === 0){ 54 if ($pid) {
|
/PHP-7.4/ext/libxml/tests/ |
H A D | bug51903.phpt | 26 $pid = http_server('tcp://127.0.0.1:12342', $responses); 33 http_server_kill($pid);
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_debug_mysqlnd_control_string.phpt | 77 if (false === ($pid = getmypid())) 78 $pid = "[\d]+"; 81 if (!preg_match("@^" . $pid . "*@ismU", $trace))
|
H A D | mysqli_fork.phpt | 27 $pid = pcntl_fork(); 28 switch ($pid) { 41 $wait_id = pcntl_waitpid($pid, $status); 70 pid INT NOT NULL, 79 $pid = pcntl_fork(); 81 switch ($pid) { 91 …$sql = sprintf("INSERT INTO messages(pid, sender, msg) VALUES (%d, 'child', '%%s')", posix_getpid(… 138 …T msg_id, msg_time, msg FROM messages WHERE pid = %d AND sender = 'child' ORDER BY msg_id DESC LIM… 139 …$parent_sql = sprintf("INSERT INTO messages (pid, sender, msg) VALUES (%d, 'parent', '%%s')", posi… 143 $wait_id = pcntl_waitpid($pid, $status, WNOHANG); [all …]
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd.h | 206 #define mysqlnd_kill(conn, pid) ((conn)->data)->m->kill_connection((conn)->data, (pid)) argument
|
H A D | mysqlnd_connection.c | 1126 MYSQLND_METHOD(mysqlnd_conn_data, kill)(MYSQLND_CONN_DATA * conn, unsigned int pid) 1132 DBG_INF_FMT("conn=%llu pid=%u", conn->thread_id, pid); 1135 const unsigned int process_id = pid; 1137 const unsigned int read_response = (pid != conn->thread_id);
|
H A D | mysqlnd_debug.c | 76 snprintf(pid_buffer, sizeof(pid_buffer) - 1, "%5u: ", self->pid); in MYSQLND_METHOD() 173 snprintf(pid_buffer, sizeof(pid_buffer) - 1, "%5u: ", self->pid); in MYSQLND_METHOD() 713 ret->pid = getpid(); in mysqlnd_debug_init()
|
H A D | mysqlnd_debug.h | 47 int pid; member
|
H A D | mysqlnd_structs.h | 460 …func_status (*func_mysqlnd_conn_data__kill_connection)(MYSQLND_CONN_DATA * conn, unsigned int pid);
|
/PHP-7.4/ext/oci8/tests/ |
H A D | lob_null.phpt | 22 'create or replace procedure lob_null_proc_in (pid in number, pdata in CLOB) 24 insert into lob_null_tab (id, data) values (pid, pdata); 29 'create or replace procedure lob_null_proc_out (pid in number, pdata out clob) 31 select data into pdata from lob_null_tab where id = pid;
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 4729 pid_t pid; in accel_finish_startup() 4746 pid = fork(); in accel_finish_startup() 4747 if (pid == -1) { in accel_finish_startup() 4751 } else if (pid == 0) { /* children */ in accel_finish_startup() 4768 if (waitpid(pid, &status, 0) < 0) { in accel_finish_startup() 4770 zend_accel_error(ACCEL_LOG_FATAL, "Preloading failed to waitpid(%d)", pid); in accel_finish_startup()
|
H A D | config.m4 | 35 pid_t pid; 72 pid = fork(); 73 if (pid < 0) { 75 } else if (pid == 0) { 113 pid_t pid; 124 pid = fork(); 125 if (pid < 0) { 127 } else if (pid == 0) { 165 pid_t pid; 194 pid = fork(); [all …]
|
/PHP-7.4/ext/pcntl/ |
H A D | pcntl.c | 66 ZEND_ARG_INFO(0, pid) 152 ZEND_ARG_INFO(0, pid) 160 ZEND_ARG_INFO(0, pid) 705 zend_long pid, options = 0; in PHP_FUNCTION() local 727 child_id = wait4((pid_t) pid, &status, options, &rusage); in PHP_FUNCTION() 729 child_id = waitpid((pid_t) pid, &status, options); in PHP_FUNCTION() 732 child_id = waitpid((pid_t) pid, &status, options); in PHP_FUNCTION() 1355 zend_long pid = getpid(); in PHP_FUNCTION() local 1365 pri = getpriority(who, pid); in PHP_FUNCTION() 1394 zend_long pid = getpid(); in PHP_FUNCTION() local [all …]
|
/PHP-7.4/ext/pcntl/tests/ |
H A D | 001.phpt | 16 $pid=pcntl_fork(); 17 if ($pid==0) { 22 pcntl_waitpid($pid, $status, $options); 30 $pid=pcntl_fork(); 32 if ($pid==0) { 37 posix_kill($pid, SIGTERM); 38 pcntl_waitpid($pid, $status, $options); 52 $pid=pcntl_fork(); 54 if ($pid==0) { 59 posix_kill($pid, SIGSTOP); [all …]
|
H A D | 002.phpt | 14 $pid = pcntl_fork(); 15 if ($pid == -1) { 17 } else if ($pid) { 36 posix_kill($pid, SIGTERM); 46 echo "signo === pid\n"; 47 var_dump($siginfo['pid'] === $pid); 48 pcntl_waitpid($pid, $status); 92 signo === pid
|
H A D | bug47566.phpt | 7 $pid = pcntl_fork(); 8 if ($pid == -1) { 11 } elseif ($pid) {
|
H A D | pcntl_fork_basic.phpt | 16 $pid = pcntl_fork(); 17 if ($pid > 0) { 19 var_dump($pid); 21 var_dump($pid);
|
H A D | pcntl_fork_variation.phpt | 16 $pid = pcntl_fork(); 18 if ($pid > 0) { 20 echo "father is $pid\n"; 24 echo "father ($pid) doesn't know its grandsons\n"; 29 echo "son ($pid)\n";
|
H A D | pcntl_get_last_error.phpt | 10 $pid = pcntl_wait($status); 11 var_dump($pid);
|
H A D | pcntl_realtime_signal.phpt | 11 printf("got realtime signal from %s, ruid:%s\n", $siginfo['pid'] ?? '', $siginfo['uid'] ?? '');
|