Searched refs:child_pid (Results 1 - 13 of 13) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest-death-test.cc252 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
472 const pid_t child_pid = fork(); local
473 GTEST_DEATH_TEST_CHECK(child_pid != -1);
474 set_child_pid(child_pid);
475 if (child_pid == 0) {
582 const pid_t child_pid = clone(&ExecDeathTestChildMain, stack_top, local
584 GTEST_DEATH_TEST_CHECK(child_pid != -1);
586 return child_pid;
632 const pid_t child_pid local
[all...]
/external/bluetooth/glib/glib/
H A Dgspawn.h92 GPid *child_pid,
105 GPid *child_pid,
/external/protobuf/gtest/src/
H A Dgtest-death-test.cc700 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
758 const pid_t child_pid = fork(); local
759 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
760 set_child_pid(child_pid);
761 if (child_pid == 0) {
902 pid_t child_pid = -1; local
917 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
925 if (use_fork && (child_pid = fork()) == 0) {
930 GTEST_DEATH_TEST_CHECK_(child_pid !
976 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local
[all...]
/external/bluetooth/glib/tests/
H A Dmapping-test.c175 GPid child_pid; local
189 0, NULL, NULL, &child_pid, &error))
206 kill (child_pid, SIGUSR1);
/external/dbus/dbus/
H A Ddbus-sysdeps-util-unix.c74 pid_t child_pid; local
88 switch ((child_pid = fork ()))
128 child_pid,
132 kill (child_pid, SIGTERM);
146 kill (child_pid, SIGTERM);
150 if (!_dbus_string_append_int (&pid, child_pid) ||
155 kill (child_pid, SIGTERM);
166 kill (child_pid, SIGTERM);
/external/gtest/src/
H A Dgtest-death-test.cc648 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
899 const pid_t child_pid = fork(); local
900 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
901 set_child_pid(child_pid);
902 if (child_pid == 0) {
1042 pid_t child_pid; local
1057 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
1065 if (use_fork && (child_pid = fork()) == 0) {
1070 GTEST_DEATH_TEST_CHECK_(child_pid !
1116 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local
[all...]
/external/bluetooth/bluez/plugins/
H A Dhciops.c56 pid_t child_pid; local
58 if (read(fd, &child_pid, sizeof(child_pid)) != sizeof(child_pid)) {
63 if (waitpid(child_pid, &status, 0) != child_pid)
64 error("waitpid(%d) failed", child_pid);
66 DBG("child %d exited", child_pid);
/external/bluetooth/glib/gio/
H A Dgunixmount.c325 GPid child_pid; local
334 &child_pid,
351 g_child_watch_add (child_pid, eject_unmount_cb, data);
H A Dgunixvolume.c377 GPid child_pid; local
393 &child_pid,
410 g_child_watch_add (child_pid, eject_mount_cb, data);
/external/gtest/test/
H A Dgtest-death-test_test.cc217 pid_t child_pid = fork(); local
218 if (child_pid == 0) {
222 waitpid(child_pid, &status, 0);
232 pid_t child_pid = fork(); local
233 if (child_pid == 0) {
238 waitpid(child_pid, &status, 0);
/external/protobuf/gtest/test/
H A Dgtest-death-test_test.cc218 pid_t child_pid = fork(); local
219 if (child_pid == 0) {
223 waitpid(child_pid, &status, 0);
233 pid_t child_pid = fork(); local
234 if (child_pid == 0) {
239 waitpid(child_pid, &status, 0);
/external/dbus/tools/
H A Ddbus-launch.c487 pid_t child_pid,
494 verbose ("babysitting, exit_with_session = %d, child_pid = %ld, read_bus_pid_fd = %d\n",
495 exit_with_session, (long) child_pid, read_bus_pid_fd);
549 if (do_waitpid (child_pid) < 0)
486 babysit(int exit_with_session, pid_t child_pid, int read_bus_pid_fd) argument
/external/ipsec-tools/src/racoon/
H A Dprivsep.c168 pid_t child_pid; local
192 switch (child_pid = fork()) {

Completed in 190 milliseconds