Searched refs:closer (Results 1 – 7 of 7) sorted by relevance
252 struct FdAutoCloser closer = makeTcpSocket( in main() local255 if (closer.fd < 0) { in main()256 return closer.fd; in main()259 ret |= doHttpQuery(closer.fd, parameters); in main()
35 PartitionHandle(const std::string& path, std::function<void()>&& closer) in PartitionHandle() argument36 : path_(path), closer_(std::move(closer)) {} in PartitionHandle()
72 auto closer = [partition_name]() -> void { DestroyLogicalPartition(partition_name); }; in OpenLogicalPartition() local73 *handle = PartitionHandle(dm_path, std::move(closer)); in OpenLogicalPartition()
129 chromeos_update_engine::ScopedFdCloser closer{&payload_fd}; in main() local
232 chromeos_update_engine::ScopedFdCloser closer{&payload_fd}; in main() local
157 ScopedFdCloser closer{&out_fd}; in CreateFakePartition() local
87 ScopedFdCloser closer{&fd}; in Init() local