Home | History | Annotate | Download | only in runtime

Lines Matching defs:file

5  * you may not use this file except in compliance with the License.
144 // write to provided file
145 std::unique_ptr<File> file(OS::CreateEmptyFile(location));
146 CHECK(file.get() != nullptr);
147 if (!file->WriteFully(dex_bytes.get(), length)) {
148 PLOG(FATAL) << "Failed to write base64 as dex file";
150 if (file->FlushCloseOrErase() != 0) {
151 PLOG(FATAL) << "Could not flush and close test file.";
153 file.reset();
155 // read dex file
370 ScratchFile file;
371 UniqueCPtr<const char[]> dex_location_real(realpath(file.GetFilename().c_str(), nullptr));