Searched refs:ScopedFdCloser (Results 1 – 11 of 11) sorted by relevance
363 class ScopedFdCloser {365 explicit ScopedFdCloser(int* fd) : fd_(fd) {} in ScopedFdCloser() function366 ~ScopedFdCloser() { in ~ScopedFdCloser()375 DISALLOW_COPY_AND_ASSIGN(ScopedFdCloser);410 fd_closer_.reset(new ScopedFdCloser(&fd_));433 std::unique_ptr<ScopedFdCloser> fd_closer_;
160 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()
118 ScopedFdCloser fd_closer(&fd); in WriteFile()533 ScopedFdCloser fd_closer(&fd); in SetBlockDeviceReadOnly()904 ScopedFdCloser fd_closer(&fd); in ReadExtents()
152 ScopedFdCloser old_fd_closer(&old_fd); in MapPartitionBlocks()153 ScopedFdCloser new_fd_closer(&new_fd); in MapPartitionBlocks()
85 ScopedFdCloser closer{&fd}; in Init()253 ScopedFdCloser blobs_fd_closer(&blobs_fd); in WritePayload()290 ScopedFdCloser in_fd_closer(&in_fd); in ReorderDataBlobs()
59 ScopedFdCloser old_fd_closer(&old_fd); in TEST_F()
147 ScopedFdCloser in_fd_closer(&in_fd); in GenerateOperations()
113 ScopedFdCloser data_fd_closer(&data_fd); in TestSplitReplaceOrReplaceXzOperation()275 ScopedFdCloser data_fd_closer(&data_fd); in TestMergeReplaceOrReplaceXzOperations()
89 chromeos_update_engine::ScopedFdCloser closer{&payload_fd}; in main()
536 ScopedFdCloser fd_closer(&fd); in FileShare()
198 ScopedFdCloser fd_closer(&fd); in WriteSparseFile()209 ScopedFdCloser fd_closer(&fd); in WriteByteAtOffset()