Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 125) sorted by path

12345

/PHP-7.4/
H A DUPGRADING539 . bool sapi_windows_generate_ctrl_event(int type, int pid) - send a CTRL event
/PHP-7.4/ext/com_dotnet/
H A Dcom_wrapper.c216 /* [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 Dcompress.c624 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 Dmagic9418 >>>24 ulelong x \b, pid %d
22723 >>>8 lelong <65536 \b, pid=%d
H A Dmagic私はガラスを食べられます9418 >>>24 ulelong x \b, pid %d
22723 >>>8 lelong <65536 \b, pid=%d
/PHP-7.4/ext/ftp/tests/
H A Dserver.inc22 $pid = pcntl_fork();
27 $pid = pcntl_fork();
28 if($pid === 0){
54 if ($pid) {
/PHP-7.4/ext/libxml/tests/
H A Dbug51903.phpt26 $pid = http_server('tcp://127.0.0.1:12342', $responses);
33 http_server_kill($pid);
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_control_string.phpt77 if (false === ($pid = getmypid()))
78 $pid = "[\d]+";
81 if (!preg_match("@^" . $pid . "*@ismU", $trace))
H A Dmysqli_fork.phpt27 $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 Dmysqlnd.h206 #define mysqlnd_kill(conn, pid) ((conn)->data)->m->kill_connection((conn)->data, (pid)) argument
H A Dmysqlnd_connection.c1126 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 Dmysqlnd_debug.c76 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 Dmysqlnd_debug.h47 int pid; member
H A Dmysqlnd_structs.h460 …func_status (*func_mysqlnd_conn_data__kill_connection)(MYSQLND_CONN_DATA * conn, unsigned int pid);
/PHP-7.4/ext/oci8/tests/
H A Dlob_null.phpt22 '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 DZendAccelerator.c4729 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 Dconfig.m435 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 Dpcntl.c66 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 D001.phpt16 $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 D002.phpt14 $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 Dbug47566.phpt7 $pid = pcntl_fork();
8 if ($pid == -1) {
11 } elseif ($pid) {
H A Dpcntl_fork_basic.phpt16 $pid = pcntl_fork();
17 if ($pid > 0) {
19 var_dump($pid);
21 var_dump($pid);
H A Dpcntl_fork_variation.phpt16 $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 Dpcntl_get_last_error.phpt10 $pid = pcntl_wait($status);
11 var_dump($pid);
H A Dpcntl_realtime_signal.phpt11 printf("got realtime signal from %s, ruid:%s\n", $siginfo['pid'] ?? '', $siginfo['uid'] ?? '');

Completed in 162 milliseconds

12345