Lines Matching refs:pid
52 static void DelayedWrite(int* pid, int* fd) { in DelayedWrite() argument
56 if ((*pid = fork()) == 0) { in DelayedWrite()
63 ASSERT_LT(0, *pid); in DelayedWrite()
69 static void DelayedWriteCleanup(int pid, int fd) { in DelayedWriteCleanup() argument
74 AssertChildExited(pid, 0); in DelayedWriteCleanup()
115 int pid, fd; in TEST() local
116 DelayedWrite(&pid, &fd); in TEST()
125 DelayedWriteCleanup(pid, fd); in TEST()
170 int pid, fd; in TEST() local
171 DelayedWrite(&pid, &fd); in TEST()
180 DelayedWriteCleanup(pid, fd); in TEST()