Home | History | Annotate | Download | only in gtest

Lines Matching refs:FILE

32 // This file implements death tests.
72 "Indicates the file, line number, temporal index of "
73 "the single death test to run, and a file descriptor to "
174 FILE* parent = fdopen(flag->status_fd, "w");
192 DeathTestAbort("CHECK failed: File %s, line %d: %s", \
211 DeathTestAbort("CHECK failed: File %s, line %d: %s != -1", \
229 const char* file, int line, DeathTest** test) {
231 statement, regex, file, line, test);
265 // File descriptors for communicating the death test's status byte.
287 // Reads an internal failure message from a file descriptor, then calls
428 // Writes a status byte to the child's status file desriptor, then
463 // When we fork the process below, the log file buffers are copied, but the
464 // file descriptors are shared. We flush all log files here so that closing
465 // the file descriptors in the child process doesn't throw off the
469 // thread writes to the log file.
497 const char* file, int line) :
498 ForkingDeathTest(statement, regex), file_(file), line_(line) { }
501 // The name of the file in which the death test is located.
543 int close_fd; // File descriptor to close; the read end of a pipe
646 const char* file, int line,
662 if (!(flag->file == file && flag->line == line &&
670 *test = new ExecDeathTest(statement, regex, file, line);
743 internal_run_death_test_flag->file = fields[0].c_str();