Searched refs:ScopedFdCloser (Results 1 – 15 of 15) sorted by relevance
139 ScopedFdCloser loop_device_fd_closer(&loop_device_fd); in BindToUnusedLoopDevice()153 ScopedFdCloser data_fd_closer(&data_fd); in BindToUnusedLoopDevice()183 ScopedFdCloser loop_device_fd_closer(&loop_device_fd); in UnbindLoopDevice()
332 class ScopedFdCloser {334 explicit ScopedFdCloser(int* fd) : fd_(fd) {} in ScopedFdCloser() function335 ~ScopedFdCloser() { in ~ScopedFdCloser()344 DISALLOW_COPY_AND_ASSIGN(ScopedFdCloser);
181 ScopedFdCloser fd_closer(&fd); in WriteFile()628 ScopedFdCloser fd_closer(&fd); in SetBlockDeviceReadOnly()999 ScopedFdCloser fd_closer(&fd); in ReadExtents()
152 ScopedFdCloser old_fd_closer(&old_fd); in MapPartitionBlocks()153 ScopedFdCloser new_fd_closer(&new_fd); in MapPartitionBlocks()
59 ScopedFdCloser old_fd_closer(&old_fd); in TEST_F()
77 ScopedFdCloser data_file_fd_closer(&data_file_fd); in GenerateUpdatePayloadFile()
60 ScopedFdCloser out_blobs_fd_closer_{&out_blobs_fd_};
147 ScopedFdCloser in_fd_closer(&in_fd); in GenerateOperations()
267 ScopedFdCloser blobs_fd_closer(&blobs_fd); in WritePayload()304 ScopedFdCloser in_fd_closer(&in_fd); in ReorderDataBlobs()
115 ScopedFdCloser data_fd_closer(&data_fd); in TestSplitReplaceOrReplaceBzOperation()279 ScopedFdCloser data_fd_closer(&data_fd); in TestMergeReplaceOrReplaceBzOperations()
118 blob_fd_closer_.reset(new ScopedFdCloser(&blob_fd_)); in CreateBlobFile()141 std::unique_ptr<ScopedFdCloser> blob_fd_closer_;
117 ScopedFdCloser fd_closer(&fd); in ReadChannelFromMisc()142 ScopedFdCloser fd_closer(&fd); in WriteChannelToMisc()
541 ScopedFdCloser fd_closer(&fd); in FileShare()
91 ScopedFdCloser fd_closer(&fd); in Update()143 ScopedFdCloser fd_closer(&fd); in EncodeFEC()
151 ScopedFdCloser fd_closer(&fd); in WriteSparseFile()162 ScopedFdCloser fd_closer(&fd); in WriteByteAtOffset()