/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() 267 String path = one.getName(); in processArchive() local 268 if (filter.accept(path)) { in processArchive() [all …]
|
/dalvik/dx/src/com/android/multidex/ |
D | MainDexListBuilder.java | 79 Path path = null; in MainDexListBuilder() local 87 path = new Path(pathString); in MainDexListBuilder() 89 ClassReferenceListBuilder mainListBuilder = new ClassReferenceListBuilder(path); in MainDexListBuilder() 94 keepAnnotated(path); in MainDexListBuilder() 101 if (path != null) { in MainDexListBuilder() 102 for (ClassPathElement element : path.elements) { in MainDexListBuilder() 133 private void keepAnnotated(Path path) throws FileNotFoundException { in keepAnnotated() argument 134 for (ClassPathElement element : path.getElements()) { in keepAnnotated() 138 DirectClassFile clazz = path.getClass(name); in keepAnnotated()
|
D | ClassReferenceListBuilder.java | 40 private Path path; field in ClassReferenceListBuilder 43 public ClassReferenceListBuilder(Path path) { in ClassReferenceListBuilder() argument 44 this.path = path; in ClassReferenceListBuilder() 81 classFile = path.getClass(name); in addRoots() 84 " is missing form original class path " + path, e); in addRoots() 122 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 | 52 static int dexOptMkdir(const char* path, int mode) in dexOptMkdir() argument 55 return mkdir(path); in dexOptMkdir() 57 return mkdir(path, mode); in dexOptMkdir()
|
D | sha1.cpp | 431 char path[MAXPATH]; in main() local 469 sprintf(path, "%s%s%s", drive, dir, f.ff_name); in main() 470 s = path; in main()
|
/dalvik/dx/src/com/android/dx/command/dexer/ |
D | Main.java | 978 private static String fixPath(String path) { in fixPath() argument 984 path = path.replace('\\', '/'); in fixPath() 987 int index = path.lastIndexOf("/./"); in fixPath() 990 return path.substring(index + 3); in fixPath() 993 if (path.startsWith("./")) { in fixPath() 994 return path.substring(2); in fixPath() 997 return path; in fixPath() 1105 public boolean accept(String path) { in accept() argument 1106 return !filter.accept(path); in accept() 1118 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. 109 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()
|