Home
last modified time | relevance | path

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

/system/utest/spawn/
A Dchild.c18 static bool has_fd(int fd) { in has_fd() function
67 bool has_stdio = has_fd(0) || has_fd(1) || has_fd(2); in check_flags()
138 return has_fd(21) && !has_fd(22) ? 71 : -1; in main()
140 return has_fd(21) && !has_fd(22) ? 72 : -2; in main()
142 return has_fd(21) && has_fd(22) && !has_fd(23) ? 73 : -3; in main()
A Dspawn.cpp24 static bool has_fd(int fd) { in has_fd() function
319 EXPECT_TRUE(has_fd(fd)); in spawn_actions_fd_test()
341 EXPECT_FALSE(has_fd(fd)); in spawn_actions_fd_test()
364 EXPECT_FALSE(has_fd(fd)); in spawn_actions_fd_test()

Completed in 6 milliseconds