Lines Matching refs:parent
282 // message is propagated back to the parent process. Otherwise, the
292 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
293 fputc(kDeathTestInternalError, parent);
294 fprintf(parent, "%s", message.c_str());
295 fflush(parent);
342 // This is called from a death test parent process to read a failure
426 // Called in the parent process only. Reads the result code of the death
451 // Descriptor to the child's write end of the pipe to the parent process.
452 // It is always -1 in the parent process. The parent keeps its end of the
457 // Called in the parent process only. Reads the result code of the death
467 // its success), so it's okay to call this in the parent before
511 // The parent process considers the death test to be a failure if
628 // implementation uses pipes for child-to-parent communication. But due to
631 // 1. The parent creates a communication pipe and stores handles to both
633 // 2. The parent starts the child and provides it with the information
635 // 3. The child acquires the write end of the pipe and signals the parent
637 // 4. Now the parent can release the write end of the pipe on its side. If
640 // parent now has to release it, or read operations on the read end of
642 // 5. The parent reads child's output through the pipe (outcome code and
670 // Event the child process uses to signal the parent that it has
672 // event the parent can release its own handles to make sure its
786 // The child process will share the standard handles with the parent.
802 nullptr, // Inherit the parent's environment.
1133 // synchronization between descriptors and buffers in the parent process.
1146 // concurrent writes to the log files. We capture stderr in the parent
1537 DeathTestAbort("Unable to open parent process " +
1547 // The newly initialized handle is accessible only in the parent
1558 " from the parent process " +
1572 " from the parent process " +
1584 // Signals the parent that the write end of the pipe has been acquired
1585 // so the parent can release its own write end.