/dalvik/dx/src/com/android/dx/cf/direct/ |
D | ClassPathOpener.java | 91 boolean accept(String path); in accept() argument 100 public boolean accept(String path) { 161 String path = file.getPath(); in processOne() local 163 if (path.endsWith(".zip") || in processOne() 164 path.endsWith(".jar") || in processOne() 165 path.endsWith(".apk")) { in processOne() 168 if (filter.accept(path)) { in processOne() 170 return consumer.processFileBytes(path, file.lastModified(), bytes); in processOne() 266 String path = one.getName(); in processArchive() local 267 if (filter.accept(path)) { in processArchive() [all …]
|
/dalvik/dx/src/com/android/multidex/ |
D | MainDexListBuilder.java | 105 Path path = null; in MainDexListBuilder() local 113 path = new Path(pathString); in MainDexListBuilder() 115 ClassReferenceListBuilder mainListBuilder = new ClassReferenceListBuilder(path); in MainDexListBuilder() 121 keepAnnotated(path); in MainDexListBuilder() 129 if (path != null) { in MainDexListBuilder() 130 for (ClassPathElement element : path.elements) { in MainDexListBuilder() 161 private void keepAnnotated(Path path) throws FileNotFoundException { in keepAnnotated() argument 162 for (ClassPathElement element : path.getElements()) { in keepAnnotated() 166 DirectClassFile clazz = path.getClass(name); in keepAnnotated()
|
D | ClassReferenceListBuilder.java | 44 private final Path path; field in ClassReferenceListBuilder 47 public ClassReferenceListBuilder(Path path) { in ClassReferenceListBuilder() argument 48 this.path = path; in ClassReferenceListBuilder() 85 classFile = path.getClass(name); in addRoots() 88 " is missing form original class path " + path, e); in addRoots() 138 DirectClassFile classFile = path.getClass(classBinaryName + CLASS_EXTENSION); in addClassWithHierachy()
|
D | Path.java | 96 synchronized DirectClassFile getClass(String path) throws FileNotFoundException { in getClass() argument 100 InputStream in = element.open(path); in getClass() 104 classFile = new DirectClassFile(bytes, path, false); in getClass() 115 throw new FileNotFoundException("File \"" + path + "\" not found"); in getClass()
|
D | ArchivePathElement.java | 43 public InputStream open(String path) throws IOException { in open() argument 44 ZipEntry entry = archive.getEntry(path); in open() 46 throw new FileNotFoundException("File \"" + path + "\" not found"); in open()
|
D | FolderPathElement.java | 37 public InputStream open(String path) throws FileNotFoundException { in open() argument 39 path.replace(SEPARATOR_CHAR, File.separatorChar))); in open()
|
D | ClassPathElement.java | 35 InputStream open(String path) throws IOException; in open() argument
|
/dalvik/libdex/ |
D | OptInvocation.cpp | 50 static int dexOptMkdir(const char* path, int mode) in dexOptMkdir() argument 53 return mkdir(path); in dexOptMkdir() 55 return mkdir(path, mode); in dexOptMkdir()
|
D | sha1.cpp | 428 char path[MAXPATH]; in main() local 466 sprintf(path, "%s%s%s", drive, dir, f.ff_name); in main() 467 s = path; in main()
|
/dalvik/dx/src/com/android/dx/command/dexer/ |
D | Main.java | 1021 private static String fixPath(String path) { in fixPath() argument 1027 path = path.replace('\\', '/'); in fixPath() 1030 int index = path.lastIndexOf("/./"); in fixPath() 1033 return path.substring(index + 3); in fixPath() 1036 if (path.startsWith("./")) { in fixPath() 1037 return path.substring(2); in fixPath() 1040 return path; in fixPath() 1148 public boolean accept(String path) { in accept() argument 1149 return !filter.accept(path); in accept() 1161 String path = fixPath(fullPath); in accept() local [all …]
|
/dalvik/dx/src/com/android/dx/command/annotool/ |
D | AnnotationLister.java | 60 for (String path : args.files) { in process() 63 opener = new ClassPathOpener(path, true, in process()
|
/dalvik/dx/etc/ |
D | dx.bat | 21 REM Set up prog to be the path of this script, including following symlinks, 25 rem Check we have a valid Java.exe in the path.
|
D | mainDexClasses.bat | 19 rem Check we have a valid Java.exe in the path. 117 echo "Usage : %0 [--output <output file>] <application path>"
|
/dalvik/tools/hprof-conv/ |
D | HprofConv.c | 696 static FILE* fopen_or_default(const char* path, const char* mode, FILE* def) { in fopen_or_default() argument 697 if (!strcmp(path, "-")) { in fopen_or_default() 700 return fopen(path, mode); in fopen_or_default()
|
/dalvik/tools/dmtracedump/ |
D | TraceDump.c | 1663 char path[FILENAME_MAX]; in createInclusiveProfileGraphNew() local 1665 snprintf(path, FILENAME_MAX, "%s.dot", gOptions.graphFileName); in createInclusiveProfileGraphNew() 1667 snprintf(path, FILENAME_MAX, "dot-%d-%d.dot", (int)time(NULL), rand()); in createInclusiveProfileGraphNew() 1670 FILE* file = fopen(path, "w+"); in createInclusiveProfileGraphNew() 1682 snprintf(command, 1024, "dot -Tpng -o \"%s\" \"%s\"", gOptions.graphFileName, path); in createInclusiveProfileGraphNew() 1687 remove(path); in createInclusiveProfileGraphNew()
|