Home
last modified time | relevance | path

Searched refs:path (Results 1 – 15 of 15) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/direct/
DClassPathOpener.java91 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/
DMainDexListBuilder.java79 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()
DClassReferenceListBuilder.java40 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()
DPath.java96 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()
DArchivePathElement.java43 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()
DFolderPathElement.java37 public InputStream open(String path) throws FileNotFoundException { in open() argument
39 path.replace(SEPARATOR_CHAR, File.separatorChar))); in open()
DClassPathElement.java35 InputStream open(String path) throws IOException; in open() argument
/dalvik/libdex/
DOptInvocation.cpp52 static int dexOptMkdir(const char* path, int mode) in dexOptMkdir() argument
55 return mkdir(path); in dexOptMkdir()
57 return mkdir(path, mode); in dexOptMkdir()
Dsha1.cpp431 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/
DMain.java978 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/
DAnnotationLister.java60 for (String path : args.files) { in process()
63 opener = new ClassPathOpener(path, true, in process()
/dalvik/dx/etc/
Ddx.bat21 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.
DmainDexClasses.bat19 rem Check we have a valid Java.exe in the path.
109 echo "Usage : %0 [--output <output file>] <application path>"
/dalvik/tools/hprof-conv/
DHprofConv.c696 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/
DTraceDump.c1663 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()