Home
last modified time | relevance | path

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

/system/core/crash_reporter/
Dcrash_reporter.cc238 int new_fd = -1; in OpenStandardFileDescriptors() local
244 new_fd = open("/dev/null", 0); in OpenStandardFileDescriptors()
245 CHECK_GE(new_fd, 0) << "Unable to open /dev/null"; in OpenStandardFileDescriptors()
246 } while (new_fd >= 0 && new_fd <= 2); in OpenStandardFileDescriptors()
247 close(new_fd); in OpenStandardFileDescriptors()
/system/update_engine/payload_generator/
Dblock_mapping.cc150 int new_fd = HANDLE_EINTR(open(new_part.c_str(), O_RDONLY)); in MapPartitionBlocks() local
152 ScopedFdCloser new_fd_closer(&new_fd); in MapPartitionBlocks()
157 new_fd, 0, new_size / block_size, new_block_ids)); in MapPartitionBlocks()