Searched refs:base_fd (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/clang/test/Analysis/ |
D | unix-api.c | 30 void openat_2(int base_fd, const char *path) { in openat_2() argument 33 …fd = openat(base_fd, path, O_RDONLY, mode, NULL); // expected-warning{{Call to 'openat' with more … in openat_2() 45 void openat_3(int base_fd, const char *path) { in openat_3() argument 47 …fd = openat(base_fd, path, O_RDONLY, NULL); // expected-warning{{The 4th argument to 'openat' is n… in openat_3()
|
/external/wayland/tests/ |
D | os-wrappers-test.c | 169 int base_fd; in do_os_wrappers_dupfd_cloexec() local 175 base_fd = socket(PF_LOCAL, SOCK_STREAM, 0); in do_os_wrappers_dupfd_cloexec() 176 assert(base_fd >= 0); in do_os_wrappers_dupfd_cloexec() 178 fd = wl_os_dupfd_cloexec(base_fd, 13); in do_os_wrappers_dupfd_cloexec() 181 close(base_fd); in do_os_wrappers_dupfd_cloexec()
|