/art/libartbase/base/ |
D | os.h | 28 typedef ::unix_file::FdFile File; typedef 35 static File* OpenFileForReading(const char* name); 38 static File* OpenFileReadWrite(const char* name); 42 static File* CreateEmptyFile(const char* name); 46 static File* CreateEmptyFileWriteOnly(const char* name); 49 static File* OpenFileWithFlags(const char* name, int flags, bool auto_flush = true);
|
D | os_linux.cc | 32 File* OS::OpenFileForReading(const char* name) { in OpenFileForReading() 36 File* OS::OpenFileReadWrite(const char* name) { in OpenFileReadWrite() 40 static File* CreateEmptyFile(const char* name, int extra_flags) { in CreateEmptyFile() 48 File* OS::CreateEmptyFile(const char* name) { in CreateEmptyFile() 52 File* OS::CreateEmptyFileWriteOnly(const char* name) { in CreateEmptyFileWriteOnly() 61 File* OS::OpenFileWithFlags(const char* name, int flags, bool auto_flush) { in OpenFileWithFlags() 65 std::unique_ptr<File> file( in OpenFileWithFlags() 66 new File(name, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, check_usage)); in OpenFileWithFlags()
|
D | file_magic.cc | 32 File OpenAndReadMagic(const char* filename, uint32_t* magic, std::string* error_msg) { in OpenAndReadMagic() 34 File fd(filename, O_RDONLY, /* check_usage= */ false); in OpenAndReadMagic() 37 return File(); in OpenAndReadMagic() 41 return File(); in OpenAndReadMagic()
|
/art/test/595-profile-saving/src/ |
D | Main.java | 16 import java.io.File; 25 File file = null; in main() 35 File.class, Method.class); in main() 39 Method bootMethod = File.class.getDeclaredMethod("delete"); in main() 53 static void testAddMethodToProfile(File file, Method m) { in testAddMethodToProfile() 79 private static File createTempFile() throws Exception { in createTempFile() 81 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 85 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 88 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile()
|
/art/test/130-hprof/src/ |
D | Main.java | 17 import java.io.File; 53 File dumpFile = null; in createDumpAndConv() 54 File convFile = null; in createDumpAndConv() 63 File hprof_conv = getHprofConf(); in createDumpAndConv() 185 private static File getHprofConf() { in getHprofConf() 187 File libDir = new File(System.getProperty("java.library.path").split(":")[0]); in getHprofConf() 188 return new File(new File(libDir.getParentFile(), "bin"), "hprof-conv"); in getHprofConf() 191 private static File createDump() { in createDump() 194 File f = getDumpFile(); in createDump() 233 private static File getDumpFile() { in getDumpFile() [all …]
|
/art/test/151-OpenFileLimit/src/ |
D | Main.java | 29 List<File> files = new ArrayList<File>(); in main() 33 File file = createTempFile(); in main() 69 private static File createTempFile() throws Exception { in createTempFile() 71 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 75 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 78 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile()
|
/art/test/909-attach-agent/src-art/ |
D | Main.java | 23 import java.io.File; 60 File tmp = null; in attachWithClassLoader() 62 tmp = File.createTempFile("lib", ".so"); in attachWithClassLoader() 86 private static void prepare(String in, File tmp) throws Exception { in prepare() 88 File orig = find(in); in prepare() 110 private static File find(String in) { in find() 113 File f = new File(path + "/" + in); in find()
|
/art/test/802-deoptimization/src/ |
D | DeoptimizationController.java | 17 import java.io.File; 28 private static File createTempFile() throws Exception { in createTempFile() 30 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 34 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 37 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 43 File tempFile = null; in startDeoptimization()
|
/art/test/570-checker-osr/src/ |
D | DeoptimizationController.java | 20 import java.io.File; 31 private static File createTempFile() throws Exception { in createTempFile() 33 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 37 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 40 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 46 File tempFile = null; in startDeoptimization()
|
/art/test/2230-profile-save-hotness/src-art/ |
D | Main.java | 18 import java.io.File; 37 File file = null; in main() 77 private static File createTempFile() throws Exception { in createTempFile() 79 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 83 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 86 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile()
|
/art/test/674-hiddenapi/src-art/ |
D | Main.java | 18 import java.io.File; 139 if (new File(candidate).exists()) { in prepareNativeLibFileName() 157 File tempFile = new File(System.getenv("DEX_LOCATION"), tempFileName); in createNativeLibCopy() 158 Files.copy(new File(nativeLibFileName).toPath(), tempFile.toPath()); in createNativeLibCopy() 173 new File(System.getenv("DEX_LOCATION"), "674-hiddenapi.jar").getAbsolutePath(); 175 new File(new File(System.getenv("DEX_LOCATION"), "res"), "boot.jar").getAbsolutePath(); 177 new File(System.getenv("DEX_LOCATION"), "674-hiddenapi-ex.jar").getAbsolutePath();
|
/art/runtime/ |
D | elf_file.h | 43 static ElfFile* Open(File* file, 50 static ElfFile* Open(File* file, 57 bool Load(File* file, 87 static bool Strip(File* file, std::string* error_msg); 91 static bool Fixup(File* file, uint64_t oat_data_begin);
|
D | elf_file_impl.h | 46 static ElfFileImpl* Open(File* file, 51 static ElfFileImpl* Open(File* file, 116 bool Load(File* file, 133 bool Strip(File* file, std::string* error_msg); 136 ElfFileImpl(File* file, bool writable, bool program_header_only); 142 bool Setup(File* file, int prot, int flags, bool low_4gb, std::string* error_msg); 144 bool SetMap(File* file, MemMap&& map, std::string* error_msg); 168 bool CheckSectionsExist(File* file, std::string* error_msg) const;
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | OverviewHandlerTest.java | 21 import java.io.File; 31 new File("my.hprof.file"), in noCrash() 32 new File("my.base.hprof.file"), in noCrash()
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
D | UniqueProgramTrackerListener.java | 23 import java.io.File; 112 File file = new File(databaseFile); in loadUniqueProgsData() 139 File file = new File(databaseFile); in saveUniqueProgsData() 196 File before = new File(fuzzedFile); in saveDivergentProgram() 197 File after = new File(String.format("divergent_programs/%d.dex", currentSeed)); in saveDivergentProgram()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | OverviewHandler.java | 23 import java.io.File; 29 private File mHprof; 30 private File mBaseHprof; 33 public OverviewHandler(AhatSnapshot snapshot, File hprof, File basehprof, Reachability retained) { in OverviewHandler()
|
D | Main.java | 27 import java.io.File; 66 private static AhatSnapshot loadHeapDump(File hprof, in loadHeapDump() 99 File hprof = null; in main() 100 File hprofbase = null; in main() 111 map.readFromFile(new File(args[i])); in main() 119 mapbase.readFromFile(new File(args[i])); in main() 131 hprofbase = new File(args[i]); in main() 152 hprof = new File(args[i]); in main()
|
/art/test/530-regression-lse/src/ |
D | Main.java | 17 import java.io.File; 38 File f = File.createTempFile("mapped", "tmp"); in allocateMapped()
|
/art/test/676-resolve-field-type/src-art/ |
D | Main.java | 18 import java.io.File; 28 new File(System.getenv("DEX_LOCATION"), "676-resolve-field-type-ex.jar").getAbsolutePath();
|
/art/libelffile/stream/ |
D | file_output_stream.h | 28 explicit FileOutputStream(File* file); 39 File* const file_;
|
/art/test/693-vdex-inmem-loader-evict/src/ |
D | Main.java | 19 import java.io.File; 88 File folder = new File(DEX_LOCATION, "oat"); in getCurrentCacheSize() 89 File[] subfolders = folder.listFiles(); in getCurrentCacheSize() 94 for (File f : folder.listFiles()) { in getCurrentCacheSize()
|
/art/tools/dexfuzz/src/dexfuzz/ |
D | Options.java | 22 import java.io.File; 219 File folder = new File(value); in handleKeyValueOption() 223 for (File file : folder.listFiles()) { in handleKeyValueOption() 333 File seedFile = new File("fuzzingseed.dex"); in validateOptions() 350 File likelihoodsFile = new File("likelihoods.txt"); in validateOptions()
|
/art/dex2oat/linker/ |
D | oat_writer.h | 153 File&& dex_file_fd, 174 bool WriteAndOpenDexFiles(File* vdex_file, 295 File* file, 299 File* file, 302 bool SeekToDexFile(OutputStream* out, File* file, OatDexFile* oat_dex_file); 305 File* file, 309 File* file, 311 File* dex_file); 316 bool OpenDexFiles(File* file, 372 std::vector<std::unique_ptr<File>> raw_dex_files_;
|
/art/compiler/jit/ |
D | jit_logger.h | 127 std::unique_ptr<File> perf_file_; 128 std::unique_ptr<File> jit_dump_file_;
|
/art/test/545-tracing-and-jit/src/ |
D | Main.java | 17 import java.io.File; 33 private static File file; 52 private static File createTempFile() throws Exception { in createTempFile() 54 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 58 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile() 61 return File.createTempFile(TEMP_FILE_NAME_PREFIX, TEMP_FILE_NAME_SUFFIX); in createTempFile()
|