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()
266 String path = one.getName(); in processArchive() local
267 if (filter.accept(path)) { in processArchive()
[all …]
/dalvik/dx/src/com/android/multidex/
DMainDexListBuilder.java105 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()
DClassReferenceListBuilder.java44 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()
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.cpp50 static int dexOptMkdir(const char* path, int mode) in dexOptMkdir() argument
53 return mkdir(path); in dexOptMkdir()
55 return mkdir(path, mode); in dexOptMkdir()
Dsha1.cpp428 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/
DMain.java1021 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/
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.
117 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()