Home
last modified time | relevance | path

Searched refs:fd_num (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/src/tracing/ipc/
Dposix_shared_memory_unittest.cc71 const int fd_num = tmp_file.fd(); in TEST() local
72 ASSERT_EQ(0, ftruncate(fd_num, base::kPageSize)); in TEST()
73 ASSERT_EQ(7, base::WriteAll(fd_num, "foobar", 7)); in TEST()
83 ASSERT_FALSE(IsFileDescriptorClosed(fd_num)); in TEST()
86 ASSERT_TRUE(IsFileDescriptorClosed(fd_num)); in TEST()
/external/python/cpython3/Modules/
D_posixsubprocess.c225 int fd_num; in _close_fds_by_brute_force() local
233 for (fd_num = start_fd; fd_num < keep_fd; ++fd_num) { in _close_fds_by_brute_force()
234 close(fd_num); in _close_fds_by_brute_force()
239 for (fd_num = start_fd; fd_num < end_fd; ++fd_num) { in _close_fds_by_brute_force()
240 close(fd_num); in _close_fds_by_brute_force()
/external/grpc-grpc/test/core/iomgr/
Dtcp_server_posix_test.cc384 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/
Dfsck.c36 int fd_num;
205 if(toys.optflags & FLAG_C) args[i++] = xmprintf("%s %d","-C", TT.fd_num); in do_fsck()
/external/toybox/generated/
Dglobals.h599 int fd_num; member