Home
last modified time | relevance | path

Searched refs:closer (Results 1 – 7 of 7) sorted by relevance

/system/extras/multinetwork/
Dhttpurl.cpp252 struct FdAutoCloser closer = makeTcpSocket( in main() local
255 if (closer.fd < 0) { in main()
256 return closer.fd; in main()
259 ret |= doHttpQuery(closer.fd, parameters); in main()
/system/core/fastboot/device/
Dutility.h35 PartitionHandle(const std::string& path, std::function<void()>&& closer) in PartitionHandle() argument
36 : path_(path), closer_(std::move(closer)) {} in PartitionHandle()
Dutility.cpp72 auto closer = [partition_name]() -> void { DestroyLogicalPartition(partition_name); }; in OpenLogicalPartition() local
73 *handle = PartitionHandle(dm_path, std::move(closer)); in OpenLogicalPartition()
/system/update_engine/aosp/
Dcow_converter.cc129 chromeos_update_engine::ScopedFdCloser closer{&payload_fd}; in main() local
Dota_extractor.cc232 chromeos_update_engine::ScopedFdCloser closer{&payload_fd}; in main() local
Dupdate_attempter_android_integration_test.cc157 ScopedFdCloser closer{&out_fd}; in CreateFakePartition() local
/system/update_engine/payload_generator/
Dpayload_file.cc87 ScopedFdCloser closer{&fd}; in Init() local