Lines Matching refs:parent

259 // message is propagated back to the parent process.  Otherwise, the
269 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
270 fputc(kDeathTestInternalError, parent);
271 fprintf(parent, "%s", message.c_str());
272 fflush(parent);
319 // This is called from a death test parent process to read a failure
403 // Called in the parent process only. Reads the result code of the death
426 // Descriptor to the child's write end of the pipe to the parent process.
427 // It is always -1 in the parent process. The parent keeps its end of the
432 // Called in the parent process only. Reads the result code of the death
442 // its success), so it's okay to call this in the parent before
482 // The parent process considers the death test to be a failure if
598 // implementation uses pipes for child-to-parent communication. But due to
601 // 1. The parent creates a communication pipe and stores handles to both
603 // 2. The parent starts the child and provides it with the information
605 // 3. The child acquires the write end of the pipe and signals the parent
607 // 4. Now the parent can release the write end of the pipe on its side. If
610 // parent now has to release it, or read operations on the read end of
612 // 5. The parent reads child's output through the pipe (outcome code and
640 // Event the child process uses to signal the parent that it has
642 // event the parent can release its own handles to make sure its
757 // The child process will share the standard handles with the parent.
773 NULL, // Inherit the parent's environment.
847 // synchronization between descriptors and buffers in the parent process.
860 // concurrent writes to the log files. We capture stderr in the parent
1234 DeathTestAbort("Unable to open parent process " +
1246 // The newly initialized handle is accessible only in in the parent
1257 " from the parent process " +
1271 " from the parent process " +
1283 // Signals the parent that the write end of the pipe has been acquired
1284 // so the parent can release its own write end.