Searched refs:tempfile2 (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/fs/stream/ |
D | stream01.c | 47 char tempfile2[40] = ""; variable 67 sprintf(tempfile2, "stream012.%d", getpid()); in main() 76 if ((stream = freopen(tempfile2, "a+", stream)) == NULL) { in main() 78 tempfile2); in main() 98 if ((stream = fopen(tempfile2, "r")) == NULL) { in main() 100 tempfile2); in main() 107 tempfile2); in main() 122 unlink(tempfile2); in main()
|
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_process_unittest.cc | 399 int tempfile2 = -1; in TEST() local 400 tempfile2 = open_broker.Open(tempfile_name, O_RDWR); in TEST() 401 ASSERT_GE(tempfile2, 0); in TEST() 405 ssize_t len = write(tempfile2, test_text, sizeof(test_text)); in TEST() 416 ASSERT_EQ(close(tempfile2), 0); in TEST()
|