Home
last modified time | relevance | path

Searched refs:ScopedFdCloser (Results 1 – 11 of 11) sorted by relevance

/system/update_engine/common/
Dutils.h363 class ScopedFdCloser {
365 explicit ScopedFdCloser(int* fd) : fd_(fd) {} in ScopedFdCloser() function
366 ~ScopedFdCloser() { in ~ScopedFdCloser()
375 DISALLOW_COPY_AND_ASSIGN(ScopedFdCloser);
410 fd_closer_.reset(new ScopedFdCloser(&fd_));
433 std::unique_ptr<ScopedFdCloser> fd_closer_;
Dtest_utils.cc160 ScopedFdCloser loop_device_fd_closer(&loop_device_fd); in BindToUnusedLoopDeviceLegacy()
182 ScopedFdCloser data_fd_closer(&data_fd); in BindToUnusedLoopDevice()
190 ScopedFdCloser loop_fd_closer(&loop_device_fd); in BindToUnusedLoopDevice()
207 ScopedFdCloser loop_device_fd_closer(&loop_device_fd); in UnbindLoopDevice()
Dutils.cc118 ScopedFdCloser fd_closer(&fd); in WriteFile()
533 ScopedFdCloser fd_closer(&fd); in SetBlockDeviceReadOnly()
904 ScopedFdCloser fd_closer(&fd); in ReadExtents()
/system/update_engine/payload_generator/
Dblock_mapping.cc152 ScopedFdCloser old_fd_closer(&old_fd); in MapPartitionBlocks()
153 ScopedFdCloser new_fd_closer(&new_fd); in MapPartitionBlocks()
Dpayload_file.cc85 ScopedFdCloser closer{&fd}; in Init()
253 ScopedFdCloser blobs_fd_closer(&blobs_fd); in WritePayload()
290 ScopedFdCloser in_fd_closer(&in_fd); in ReorderDataBlobs()
Dblock_mapping_unittest.cc59 ScopedFdCloser old_fd_closer(&old_fd); in TEST_F()
Dfull_update_generator.cc147 ScopedFdCloser in_fd_closer(&in_fd); in GenerateOperations()
Dab_generator_unittest.cc113 ScopedFdCloser data_fd_closer(&data_fd); in TestSplitReplaceOrReplaceXzOperation()
275 ScopedFdCloser data_fd_closer(&data_fd); in TestMergeReplaceOrReplaceXzOperations()
/system/update_engine/aosp/
Dcow_converter.cc89 chromeos_update_engine::ScopedFdCloser closer{&payload_fd}; in main()
/system/update_engine/cros/
Dp2p_manager.cc536 ScopedFdCloser fd_closer(&fd); in FileShare()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc198 ScopedFdCloser fd_closer(&fd); in WriteSparseFile()
209 ScopedFdCloser fd_closer(&fd); in WriteByteAtOffset()