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

/dalvik/dx/src/com/android/dx/cf/direct/
H A DClassPathOpener.java33 * Opens all the class files found in a class path element. Path elements
57 * Provides the file name and byte array for a class path element.
60 * filesystem path.
72 * this path element. Processing will continue if possible.
91 boolean accept(String path); argument
100 public boolean accept(String path) {
108 * @param pathname {@code non-null;} path element to process
121 * @param pathname {@code non-null;} path element to process
136 * Processes a path element.
161 String path
[all...]
/dalvik/dx/src/com/android/multidex/
H A DClassPathElement.java23 * An element of the class path in which class files can be found.
31 * @param path a '/' separated relative path to the wanted file.
33 * @throws IOException if the path can not be found or if an error occurred while opening it.
35 InputStream open(String path) throws IOException; argument
H A DMainDexListBuilder.java105 Path path = null;
113 path = new Path(pathString);
115 ClassReferenceListBuilder mainListBuilder = new ClassReferenceListBuilder(path);
121 keepAnnotated(path);
129 if (path != null) {
130 for (ClassPathElement element : path.elements) {
161 private void keepAnnotated(Path path) throws FileNotFoundException { argument
162 for (ClassPathElement element : path.getElements()) {
166 DirectClassFile clazz = path.getClass(name);
H A DArchivePathElement.java43 public InputStream open(String path) throws IOException { argument
44 ZipEntry entry = archive.getEntry(path);
46 throw new FileNotFoundException("File \"" + path + "\" not found");
H A DPath.java96 synchronized DirectClassFile getClass(String path) throws FileNotFoundException { argument
100 InputStream in = element.open(path);
104 classFile = new DirectClassFile(bytes, path, false);
115 throw new FileNotFoundException("File \"" + path + "\" not found");
H A DFolderPathElement.java37 public InputStream open(String path) throws FileNotFoundException { argument
39 path.replace(SEPARATOR_CHAR, File.separatorChar)));
H A DClassReferenceListBuilder.java44 private final Path path; field in class:ClassReferenceListBuilder
47 public ClassReferenceListBuilder(Path path) { argument
48 this.path = path;
85 classFile = path.getClass(name);
88 " is missing form original class path " + path, e);
151 DirectClassFile classFile = path.getClass(classBinaryName + CLASS_EXTENSION);
164 // Ignore: The referenced type is not in the path it must be part of the libraries.
/dalvik/dx/junit-tests/com/android/dx/merge/
H A DDexMergerTest.java65 String path = clazz.getName().replace('.', '/') + ".class";
67 try (InputStream in = getClass().getClassLoader().getResourceAsStream(path);
70 ZipEntry entry = new ZipEntry(path);
/dalvik/libdex/
H A DOptInvocation.cpp50 static int dexOptMkdir(const char* path, int mode) argument
53 return mkdir(path);
55 return mkdir(path, mode);
77 * Get the absolute path of the Jar or DEX file.
82 * Generate the absolute path. This doesn't do everything it
104 /* Turn the path into a flat filename by replacing
137 /* Tack on the file name for the actual cache file path.
H A Dsha1.cpp429 char path[MAXPATH]; local
467 sprintf(path, "%s%s%s", drive, dir, f.ff_name);
468 s = path;
/dalvik/dx/src/com/android/dx/command/dexer/
H A DMain.java135 "that is an indication that the path you are on will ultimately\n" +
670 * be the path of a class file, a jar file, or a directory
1016 * Returns the "fixed" version of a given file path, suitable for
1017 * use as a path within a {@code .jar} file and for checking
1020 * the path, and if it finds it, it takes the portion after to be
1021 * the fixed path. If that isn't found but the path starts with
1026 * @param path {@code non-null;} the path to "fix"
1028 * the given {@code path})
1030 fixPath(String path) argument
1157 accept(String path) argument
1199 accept(String path) argument
1217 getSimpleName(String path) argument
[all...]
/dalvik/dx/etc/
H A 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.
H A DmainDexClasses.bat19 rem Check we have a valid Java.exe in the path.
126 echo "Usage : %0 [--output <output file>] <application path>"
/dalvik/dx/src/com/android/dx/command/annotool/
H A DAnnotationLister.java60 for (String path : args.files) {
63 opener = new ClassPathOpener(path, true,
/dalvik/tools/hprof-conv/
H A DHprofConv.c701 static FILE* fopen_or_default(const char* path, const char* mode, FILE* def) { argument
702 if (!strcmp(path, "-")) {
705 return fopen(path, mode);

Completed in 302 milliseconds