Searched refs:fd1 (Results 1 – 2 of 2) sorted by relevance
91 static int fd1 = -1; in TEST() local95 fd1 = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST()101 ASSERT_NE(-1, fd1); in TEST()106 ASSERT_EQ(1, result.count(fd1)); in TEST()109 ASSERT_NE(nullptr, strstr(result[fd1].at(0).function_name, "open")); in TEST()
156 static int fd1 = -1; in TEST() local164 fd1 = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST()171 if (fd1 == -1 || fd2 == -1 || fd3 == -1) { in TEST()177 ASSERT_EQ(fd1, events[0].fd); in TEST()