Lines Matching defs:parent
288 // message is propagated back to the parent process. Otherwise, the
298 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
299 fputc(kDeathTestInternalError, parent);
300 fprintf(parent, "%s", message.c_str());
301 fflush(parent);
348 // This is called from a death test parent process to read a failure
433 // Called in the parent process only. Reads the result code of the death
458 // Descriptor to the child's write end of the pipe to the parent process.
459 // It is always -1 in the parent process. The parent keeps its end of the
464 // Called in the parent process only. Reads the result code of the death
474 // its success), so it's okay to call this in the parent before
516 // The parent process considers the death test to be a failure if
650 // implementation uses pipes for child-to-parent communication. But due to
653 // 1. The parent creates a communication pipe and stores handles to both
655 // 2. The parent starts the child and provides it with the information
657 // 3. The child acquires the write end of the pipe and signals the parent
659 // 4. Now the parent can release the write end of the pipe on its side. If
662 // parent now has to release it, or read operations on the read end of
664 // 5. The parent reads child's output through the pipe (outcome code and
692 // Event the child process uses to signal the parent that it has
694 // event the parent can release its own handles to make sure its
804 // The child process will share the standard handles with the parent.
820 nullptr, // Inherit the parent's environment.
1113 // synchronization between descriptors and buffers in the parent process.
1126 // concurrent writes to the log files. We capture stderr in the parent
1476 DeathTestAbort("Unable to open parent process " +
1485 // The newly initialized handle is accessible only in the parent
1496 " from the parent process " +
1508 " from the parent process " +
1520 // Signals the parent that the write end of the pipe has been acquired
1521 // so the parent can release its own write end.