Lines Matching refs:unique_ptr
34 using ::std::unique_ptr;
51 std::unique_ptr<android::InputStream> manifest_in = manifest_file->OpenInputStream(); in DetermineApkFormat()
61 std::unique_ptr<io::IData> manifest_data = manifest_file->OpenAsData(); in DetermineApkFormat()
64 std::unique_ptr<xml::XmlResource> manifest = in DetermineApkFormat()
75 std::unique_ptr<LoadedApk> LoadedApk::LoadApkFromPath(StringPiece path, in LoadApkFromPath()
79 std::unique_ptr<io::ZipFileCollection> apk = io::ZipFileCollection::Create(path, &error); in LoadApkFromPath()
97 std::unique_ptr<LoadedApk> LoadedApk::LoadProtoApkFromFileCollection( in LoadProtoApkFromFileCollection()
98 const android::Source& source, unique_ptr<io::IFileCollection> collection, in LoadProtoApkFromFileCollection()
100 std::unique_ptr<ResourceTable> table; in LoadProtoApkFromFileCollection()
105 std::unique_ptr<android::InputStream> in = table_file->OpenInputStream(); in LoadProtoApkFromFileCollection()
132 std::unique_ptr<android::InputStream> manifest_in = manifest_file->OpenInputStream(); in LoadProtoApkFromFileCollection()
146 std::unique_ptr<xml::XmlResource> manifest = DeserializeXmlResourceFromPb(pb_node, &error); in LoadProtoApkFromFileCollection()
156 std::unique_ptr<LoadedApk> LoadedApk::LoadBinaryApkFromFileCollection( in LoadBinaryApkFromFileCollection()
157 const android::Source& source, unique_ptr<io::IFileCollection> collection, in LoadBinaryApkFromFileCollection()
159 std::unique_ptr<ResourceTable> table; in LoadBinaryApkFromFileCollection()
164 std::unique_ptr<io::IData> data = table_file->OpenAsData(); in LoadBinaryApkFromFileCollection()
182 std::unique_ptr<io::IData> manifest_data = manifest_file->OpenAsData(); in LoadBinaryApkFromFileCollection()
189 std::unique_ptr<xml::XmlResource> manifest = in LoadBinaryApkFromFileCollection()
224 std::unique_ptr<io::IFileCollectionIterator> iterator = apk_->Iterator(); in WriteToArchive()
314 std::unique_ptr<xml::XmlResource> LoadedApk::LoadXml(const std::string& file_path, in LoadXml()
322 std::unique_ptr<xml::XmlResource> doc; in LoadXml()
324 std::unique_ptr<android::InputStream> in = file->OpenInputStream(); in LoadXml()
344 std::unique_ptr<io::IData> data = file->OpenAsData(); in LoadXml()