Home
last modified time | relevance | path

Searched refs:new_fd (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_generator/
Dblock_mapping.cc151 int new_fd = HANDLE_EINTR(open(new_part.c_str(), O_RDONLY)); in MapPartitionBlocks() local
153 ScopedFdCloser new_fd_closer(&new_fd); in MapPartitionBlocks()
158 new_fd, 0, new_size / block_size, new_block_ids)); in MapPartitionBlocks()
/system/netd/server/
DTetherController.cpp119 int setPosixSpawnFileActionsAddDup2(posix_spawn_file_actions_t* fa, int fd, int new_fd) { in setPosixSpawnFileActionsAddDup2() argument
124 return posix_spawn_file_actions_adddup2(fa, fd, new_fd); in setPosixSpawnFileActionsAddDup2()
/system/netd/resolv/
Dresolver_test.cpp1228 int new_fd = accept4(s, reinterpret_cast<struct sockaddr *>(&cliaddr), &sin_size, SOCK_CLOEXEC); in TEST_F() local
1229 ASSERT_TRUE(new_fd > 0); in TEST_F()
1241 write(new_fd, garbage.data(), garbage.size()); in TEST_F()
1242 close(new_fd); in TEST_F()