Searched refs:fd_num (Results 1 – 7 of 7) sorted by relevance
/external/perfetto/src/tracing/ipc/ |
D | posix_shared_memory_unittest.cc | 78 const int fd_num = tmp_file.fd(); in TEST() local 79 ASSERT_EQ(0, ftruncate(fd_num, static_cast<off_t>(base::GetSysPageSize()))); in TEST() 80 ASSERT_EQ(7, base::WriteAll(fd_num, "foobar", 7)); in TEST() 91 ASSERT_FALSE(IsFileDescriptorClosed(fd_num)); in TEST() 94 ASSERT_TRUE(IsFileDescriptorClosed(fd_num)); in TEST() 100 const int fd_num = tmp_file.fd(); in TEST() local 101 ASSERT_EQ(0, ftruncate(fd_num, static_cast<off_t>(base::GetSysPageSize()))); in TEST()
|
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 253 int fd_num; in _close_fds_by_brute_force() local 261 for (fd_num = start_fd; fd_num < keep_fd; ++fd_num) { in _close_fds_by_brute_force() 262 close(fd_num); in _close_fds_by_brute_force() 271 for (fd_num = start_fd; fd_num < end_fd; ++fd_num) { in _close_fds_by_brute_force() 273 (void)close(fd_num); in _close_fds_by_brute_force()
|
/external/grpc-grpc/test/core/iomgr/ |
D | tcp_server_posix_test.cc | 384 unsigned fd_num; in test_connect() local 385 for (fd_num = 0; fd_num < num_fds; ++fd_num) { in test_connect() 386 int fd = grpc_tcp_server_port_fd(s, port_num, fd_num); in test_connect() 396 fd_num, fd, sock_family_name(addr->ss_family), dst.str); in test_connect() 404 GPR_ASSERT(result.fd_index == fd_num); in test_connect()
|
/external/toybox/toys/pending/ |
D | fsck.c | 36 int fd_num; 205 if(toys.optflags & FLAG_C) args[i++] = xmprintf("%s %d","-C", TT.fd_num); in do_fsck()
|
/external/toybox/android/linux/generated/ |
D | globals.h | 669 int fd_num; member
|
/external/toybox/android/device/generated/ |
D | globals.h | 669 int fd_num; member
|
/external/toybox/android/mac/generated/ |
D | globals.h | 669 int fd_num; member
|