Home
last modified time | relevance | path

Searched refs:fd3 (Results 1 – 2 of 2) sorted by relevance

/bionic/libfdtrack/
Dfdtrack_test.cpp93 static int fd3 = -1; in TEST() local
97 fd3 = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST()
103 ASSERT_NE(-1, fd3); in TEST()
107 ASSERT_EQ(1, result.count(fd3)); in TEST()
110 ASSERT_NE(nullptr, strstr(result[fd3].at(0).function_name, "open")); in TEST()
/bionic/tests/
Dfdtrack_test.cpp158 static int fd3 = -1; in TEST() local
168 fd3 = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST()
171 if (fd1 == -1 || fd2 == -1 || fd3 == -1) { in TEST()
181 ASSERT_EQ(fd3, events[1].fd); in TEST()