Home
last modified time | relevance | path

Searched refs:classPath (Results 1 – 25 of 81) sorted by relevance

1234

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java46 protected final ClassPath classPath; field in ArrayProto
50 public ArrayProto(@Nonnull ClassPath classPath, @Nonnull String type) { in ArrayProto() argument
51 this.classPath = classPath; in ArrayProto()
69 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
108 return classPath.getClass("Ljava/lang/Object;"); in getCommonSuperclass()
112 TypeProto thisClass = classPath.getClass(elementType); in getCommonSuperclass()
113 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType); in getCommonSuperclass()
121 return classPath.getClass(makeArrayType(mergedClass.getType(), dimensions)); in getCommonSuperclass()
125 return classPath.getClass(makeArrayType("Ljava/lang/Object;", dimensions)); in getCommonSuperclass()
138 return classPath.getClass("Ljava/lang/Object;"); in getCommonSuperclass()
[all …]
DUnknownClassProto.java42 @Nonnull protected final ClassPath classPath; field in UnknownClassProto
44 public UnknownClassProto(@Nonnull ClassPath classPath) { in UnknownClassProto() argument
45 this.classPath = classPath; in UnknownClassProto()
49 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
61 return classPath.getClass("Ljava/lang/Object;"); in getCommonSuperclass()
74 return classPath.getClass("Ljava/lang/Object;").getFieldByOffset(fieldOffset); in getFieldByOffset()
80 return classPath.getClass("Ljava/lang/Object;").getMethodByVtableIndex(vtableIndex); in getMethodByVtableIndex()
84 return classPath.getClass("Ljava/lang/Object;").findMethodIndexInVtable(method); in findMethodIndexInVtable()
DClassProto.java65 @Nonnull protected final ClassPath classPath; field in ClassProto
73 public ClassProto(@Nonnull ClassPath classPath, @Nonnull String type) { in ClassProto() argument
77 this.classPath = classPath; in ClassProto()
82 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
93 return classPath.getClassDef(type);
140 interfaceDef = classPath.getClassDef(interfaceType);
148 … ClassProto interfaceProto = (ClassProto) classPath.getClass(interfaceType);
175 … ClassProto superclassProto = (ClassProto) classPath.getClass(superclass);
337 return classPath.getUnknownClass(); in getCommonSuperclass()
357 return classPath.getUnknownClass(); in getCommonSuperclass()
[all …]
DPrimitiveProto.java43 protected final ClassPath classPath; field in PrimitiveProto
46 public PrimitiveProto(@Nonnull ClassPath classPath, @Nonnull String type) { in PrimitiveProto() argument
47 this.classPath = classPath; in PrimitiveProto()
52 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
DCustomInlineMethodResolver.java52 @Nonnull private final ClassPath classPath; field in CustomInlineMethodResolver
55 public CustomInlineMethodResolver(@Nonnull ClassPath classPath, @Nonnull String inlineTable) { in CustomInlineMethodResolver() argument
56 this.classPath = classPath; in CustomInlineMethodResolver()
84 …public CustomInlineMethodResolver(@Nonnull ClassPath classPath, @Nonnull File inlineTable) throws … in CustomInlineMethodResolver() argument
85 this(classPath, Files.toString(inlineTable, Charset.forName("UTF-8"))); in CustomInlineMethodResolver()
120 TypeProto typeProto = classPath.getClass(className); in parseAndResolveInlineMethod()
DMethodAnalyzer.java80 @Nonnull private final ClassPath classPath; field in MethodAnalyzer
98 public MethodAnalyzer(@Nonnull ClassPath classPath, @Nonnull Method method, in MethodAnalyzer() argument
100 this.classPath = classPath; in MethodAnalyzer()
145 return classPath; in getClassPath()
166 classPath.getClass(method.getDefiningClass()))); in analyze()
170 classPath.getClass(method.getDefiningClass()))); in analyze()
305 RegisterType.getRegisterType(classPath, parameter)); in propagateParameterTypes()
1097 …resultRegisterType = RegisterType.getRegisterType(classPath, ((MethodReference)reference).getRetur…
1099 resultRegisterType = RegisterType.getRegisterType(classPath, (TypeReference)reference);
1117 classPath.getClass("Ljava/lang/Throwable;"));
[all …]
DClassPath.java168 …lassPath fromClassPath(Iterable<String> classPathDirs, Iterable<String> classPath, DexFile dexFile, in fromClassPath() argument
170 return fromClassPath(classPathDirs, classPath, dexFile, api, api == 17, experimental); in fromClassPath()
174 …lassPath fromClassPath(Iterable<String> classPathDirs, Iterable<String> classPath, DexFile dexFile, in fromClassPath() argument
180 for (String classPathEntry: classPath) { in fromClassPath()
200 …lassPath fromClassPath(Iterable<String> classPathDirs, Iterable<String> classPath, DexFile dexFile, in fromClassPath() argument
205 for (String classPathEntry: classPath) { in fromClassPath()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DPathClass.java21 private String classPath; field in PathClass
24 public PathClass(String classPath, String className) { in PathClass() argument
25 this.classPath = classPath; in PathClass()
30 return classPath; in getClassPath()
38 return classPath + "!" + className; in toString()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/
DSuperclassChainTest.java60 …ClassPath classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.forApi(19), … in testGetSuperclassChain() local
62 TypeProto objectClassProto = classPath.getClass("Ljava/lang/Object;"); in testGetSuperclassChain()
63 TypeProto oneClassProto = classPath.getClass("Ltest/one;"); in testGetSuperclassChain()
64 TypeProto twoClassProto = classPath.getClass("Ltest/two;"); in testGetSuperclassChain()
65 TypeProto threeClassProto = classPath.getClass("Ltest/three;"); in testGetSuperclassChain()
91 …ClassPath classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.forApi(19), … in testGetSuperclassChain_Unresolved() local
93 TypeProto unknownClassProto = classPath.getUnknownClass(); in testGetSuperclassChain_Unresolved()
94 TypeProto oneClassProto = classPath.getClass("Ltest/one;"); in testGetSuperclassChain_Unresolved()
95 TypeProto twoClassProto = classPath.getClass("Ltest/two;"); in testGetSuperclassChain_Unresolved()
96 TypeProto threeClassProto = classPath.getClass("Ltest/three;"); in testGetSuperclassChain_Unresolved()
/external/proguard/src/proguard/wtk/
DProGuardObfuscator.java66 String classPath, in run() argument
82 configuration.libraryJars = classPath(classPath); in run()
113 private ClassPath classPath(String classPathString) in classPath() method in ProGuardObfuscator
115 ClassPath classPath = new ClassPath(); in classPath() local
134 classPath.add(classPathEntry); in classPath()
140 return classPath; in classPath()
/external/icu/icu4j/perf-tests/
Dcollationperf.pl43 $classPath = "out\\lib\\icu4j-perf-tests.jar;..\\icu4j.jar";
45 $classPath = "out/lib/icu4j-perf-tests.jar:../icu4j.jar";
78 …$iStrCol = `java -classpath $classPath com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -…
80 …doKeyTimes("java -classpath $classPath com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -…
90 …$wStrCol = `java -classpath $classPath com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -…
92 …doKeyTimes("java -classpath $classPath com.ibm.icu.dev.test.perf.CollationPerformanceTest -terse -…
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCustomMethodInlineTableTest.java72 …ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of… in testCustomMethodInlineTable_Virtual() local
74 …InlineMethodResolver inlineMethodResolver = new CustomInlineMethodResolver(classPath, "Lblah;->bla… in testCustomMethodInlineTable_Virtual()
75 …MethodAnalyzer methodAnalyzer = new MethodAnalyzer(classPath, method, inlineMethodResolver, false); in testCustomMethodInlineTable_Virtual()
99 …ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of… in testCustomMethodInlineTable_Static() local
101 …InlineMethodResolver inlineMethodResolver = new CustomInlineMethodResolver(classPath, "Lblah;->bla… in testCustomMethodInlineTable_Static()
102 …MethodAnalyzer methodAnalyzer = new MethodAnalyzer(classPath, method, inlineMethodResolver, false); in testCustomMethodInlineTable_Static()
126 …ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of… in testCustomMethodInlineTable_Direct() local
128 …InlineMethodResolver inlineMethodResolver = new CustomInlineMethodResolver(classPath, "Lblah;->bla… in testCustomMethodInlineTable_Direct()
129 …MethodAnalyzer methodAnalyzer = new MethodAnalyzer(classPath, method, inlineMethodResolver, false); in testCustomMethodInlineTable_Direct()
DCommonSuperclassTest.java54 private final ClassPath classPath; field in CommonSuperclassTest
57 classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.forApi(19), in CommonSuperclassTest()
97 TypeProto commonSuperclassProto = classPath.getClass(commonSuperclass); in superclassTest()
98 TypeProto type1Proto = classPath.getClass(type1); in superclassTest()
99 TypeProto type2Proto = classPath.getClass(type2); in superclassTest()
134classPath.getClass(onetwo).getCommonSuperclass(new ClassProto(classPath, onetwo)).getType()); in testGetCommonSuperclass()
/external/proguard/src/proguard/ant/
DConfigurationTask.java331 private ClassPath extendClassPath(ClassPath classPath, in extendClassPath() argument
335 if (classPath == null) in extendClassPath()
337 classPath = new ClassPath(); in extendClassPath()
340 classPathElement.appendClassPathEntriesTo(classPath, in extendClassPath()
343 return classPath; in extendClassPath()
347 private ClassPath extendClassPath(ClassPath classPath, in extendClassPath() argument
352 if (classPath == null) in extendClassPath()
354 classPath = new ClassPath(); in extendClassPath()
357 classPath.addAll(additionalClassPath); in extendClassPath()
360 return classPath; in extendClassPath()
/external/emma/tools/java/com/vladium/tools/
DClassDep.java51 final URL [] classPath; in main() local
54 classPath = new URL [tokenizer.countTokens ()]; in main()
58 classPath [i] = new File (tokenizer.nextToken ()).toURL (); in main()
75 final ClassDep _this = new ClassDep (rootSet, classPath); in main()
99 public ClassDep (final String [] rootSet, final URL [] classPath) in ClassDep() argument
104 if (classPath == null) in ClassDep()
108 m_classPath = classPath; in ClassDep()
/external/proguard/src/proguard/
DInputReader.java133 ClassPath classPath, in readInput() argument
137 classPath, in readInput()
139 classPath.size(), in readInput()
148 ClassPath classPath, in readInput() argument
155 ClassPathEntry entry = classPath.get(index); in readInput()
DOutputWriter.java97 ClassPath classPath, in writeOutput() argument
108 DataEntryWriterFactory.createDataEntryWriter(classPath, in writeOutput()
177 classPath, in writeOutput()
187 …throw (IOException)new IOException("Can't write [" + classPath.get(fromOutputIndex).getName() + "]… in writeOutput()
DClassPath.java70 public boolean addAll(ClassPath classPath) in addAll() argument
72 return classPathEntries.addAll(classPath.classPathEntries); in addAll()
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DFieldGapOrderTest.java48 … ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), false, 66); in testOldOrder() local
49 ClassProto classProto = (ClassProto)classPath.getClass("LGapOrder;"); in testOldOrder()
62 … ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), false, 67); in testNewOrder() local
63 ClassProto classProto = (ClassProto)classPath.getClass("LGapOrder;"); in testNewOrder()
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java41 protected LoaderClassPath classPath; field in ScopedClassPool
86 classPath = new LoaderClassPath(cl); in ScopedClassPool()
87 this.insertClassPath(classPath); in ScopedClassPool()
119 this.removeClassPath(classPath); in close()
120 classPath.close(); in close()
/external/proguard/src/proguard/gui/
DClassPathPanel.java207 public void setClassPath(ClassPath classPath) in setClassPath() argument
211 if (classPath != null) in setClassPath()
213 for (int index = 0; index < classPath.size(); index++) in setClassPath()
215 listModel.addElement(classPath.get(index)); in setClassPath()
236 ClassPath classPath = new ClassPath(); in getClassPath() local
239 classPath.add((ClassPathEntry)listModel.get(index)); in getClassPath()
242 return classPath; in getClassPath()
/external/eyes-free/AccessCheck/src/com/android/accessibility/
DAccessibilityValidationContentHandler.java117 String classPath = "android.widget." + localName; in startElement() local
119 potentialClass = sValidationClassLoader.loadClass(classPath); in startElement()
127 if (mExclusionList.contains(classPath)) { in startElement()
130 mExclusionList.add(classPath); in startElement()
/external/vogar/src/vogar/target/
DClassPathScanner.java47 private final String[] classPath; field in ClassPathScanner
51 classPath = getClassPath(); in ClassPathScanner()
94 for (String entry : classPath) { in findClasses()
272 String classPath = System.getProperty("java.class.path"); in getClassPath() local
274 return classPath.split(Pattern.quote(separator)); in getClassPath()
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassPathIterator.java43 public ClassPathIterator(String classPath) throws IOException { in ClassPathIterator() argument
44 this(new File(System.getProperty("user.dir")), classPath, null); in ClassPathIterator()
47 public ClassPathIterator(File parent, String classPath, String delim) throws IOException { in ClassPathIterator() argument
51 StringTokenizer st = new StringTokenizer(classPath, delim); in ClassPathIterator()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetProviderICU.java89 public final Charset charsetForName(String charsetName, String classPath) { in charsetForName() argument
90 return charsetForName(charsetName, classPath, null); in charsetForName()
102 public Charset charsetForName(String charsetName, String classPath, ClassLoader loader) { in charsetForName() argument
105 cs = new CharsetMBCS(charsetName, charsetName, new String[0], classPath, loader); in charsetForName()

1234