Home | History | Annotate | Download | only in src

Lines Matching defs:parent

210 // message is propagated back to the parent process.  Otherwise, the
220 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
221 fputc(kDeathTestInternalError, parent);
222 fprintf(parent, "%s", message.c_str());
223 fflush(parent);
268 // This is called from a death test parent process to read a failure
352 // Called in the parent process only. Reads the result code of the death
375 // Descriptor to the child's write end of the pipe to the parent process.
376 // It is always -1 in the parent process. The parent keeps its end of the
381 // Called in the parent process only. Reads the result code of the death
391 // its success), so it's okay to call this in the parent before
431 // The parent process considers the death test to be a failure if
547 // implementation uses pipes for child-to-parent communication. But due to
550 // 1. The parent creates a communication pipe and stores handles to both
552 // 2. The parent starts the child and provides it with the information
554 // 3. The child acquires the write end of the pipe and signals the parent
556 // 4. Now the parent can release the write end of the pipe on its side. If
559 // parent now has to release it, or read operations on the read end of
561 // 5. The parent reads child's output through the pipe (outcome code and
589 // Event the child process uses to signal the parent that it has
591 // event the parent can release its own handles to make sure its
710 // The child process will share the standard handles with the parent.
726 NULL, // Inherit the parent's environment.
800 // synchronization between descriptors and buffers in the parent process.
813 // concurrent writes to the log files. We capture stderr in the parent
1121 DeathTestAbort(String::Format("Unable to open parent process %u",
1133 // The newly initialized handle is accessible only in in the parent
1143 "Unable to duplicate the pipe handle %Iu from the parent process %u",
1156 "Unable to duplicate the event handle %Iu from the parent process %u",
1168 // Signals the parent that the write end of the pipe has been acquired
1169 // so the parent can release its own write end.