Lines Matching refs:file
113 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in OpenDexFileBase64() local
114 CHECK(file.get() != NULL); in OpenDexFileBase64()
115 if (!file->WriteFully(dex_bytes.get(), length)) { in OpenDexFileBase64()
118 if (file->FlushCloseOrErase() != 0) { in OpenDexFileBase64()
121 file.reset(); in OpenDexFileBase64()
178 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in FixChecksumAndOpen() local
179 CHECK(file.get() != NULL); in FixChecksumAndOpen()
180 if (!file->WriteFully(bytes, length)) { in FixChecksumAndOpen()
183 if (file->FlushCloseOrErase() != 0) { in FixChecksumAndOpen()
186 file.reset(); in FixChecksumAndOpen()
212 std::unique_ptr<const DexFile> file(FixChecksumAndOpen(dex_bytes.get(), length, location, in ModifyAndLoad() local
214 return file.get() != nullptr; in ModifyAndLoad()