Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 25 of 45) sorted by relevance

12

/art/test/1339-dead-reference-safe/src/
DMain.java24 public static boolean ensureCompiled(Class cls, String methodName) throws NoSuchMethodException { in ensureCompiled() argument
25 Method m = cls.getDeclaredMethod(methodName); in ensureCompiled()
26 if (isAotCompiled(cls, methodName)) { in ensureCompiled()
30 if (hasJitCompiledEntrypoint(cls, methodName)) { in ensureCompiled()
63 public static native boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument
64 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
/art/test/952-invoke-custom/src/
DTestVariableArityLinkerMethod.java57 String methodName, in bsmWithStringArray() argument
61 printBsmArgs("bsmWithStringArray", lookup, methodName, methodType, arityArgs); in bsmWithStringArray()
62 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmWithStringArray()
128 String methodName, in bsmWithIntAndStringArray() argument
136 methodName, in bsmWithIntAndStringArray()
140 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmWithIntAndStringArray()
214 String methodName, in bsmWithLongAndIntArray() argument
219 printBsmArgs("bsmWithLongAndIntArray", lookup, methodName, methodType, extraArg, arityArgs); in bsmWithLongAndIntArray()
220 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmWithLongAndIntArray()
252 String methodName, in bsmWithFloatAndLongArray() argument
[all …]
DTestBadBootstrapArguments.java30 String methodName, in bsm() argument
38 System.out.print(methodName); in bsm()
46 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsm()
220 String methodName, in bsmZBCS() argument
265 String methodName, in bsmDJ() argument
275 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmDJ()
309 String methodName, in bsmDoubleLong() argument
319 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmDoubleLong()
DTestDynamicBootstrapArguments.java38 String methodName = name + otherNameComponent + nameSuffix; in bsm() local
39 MethodHandle mh = lookup.findStatic(definingClass, methodName, methodType); in bsm()
/art/tools/dmtracedump/
Dtracedump.cc166 const char* methodName; member
297 const char* methodName, const char* signature, const char* fileName, in initMethodEntry() argument
301 method->methodName = methodName; in initMethodEntry()
336 if (methodA->methodName == nullptr || methodB->methodName == nullptr) { in compareElapsedExclusive()
343 result = strcmp(methodA->methodName, methodB->methodName); in compareElapsedExclusive()
366 if (methodA->methodName == nullptr || methodB->methodName == nullptr) { in compareElapsedInclusive()
373 result = strcmp(methodA->methodName, methodB->methodName); in compareElapsedInclusive()
398 if (methodA->methodName == nullptr || methodB->methodName == nullptr) { in compareTimedMethod()
405 result = strcmp(methodA->methodName, methodB->methodName); in compareTimedMethod()
466 if (methodA->methodName == nullptr || methodB->methodName == nullptr) { in compareMethodNames()
[all …]
Dcreatetesttrace.cc67 char* methodName; member
212 records[nextRecord].methodName = nullptr; in parseInputFile()
223 records[nextRecord].methodName = strndup(save_cp, len); in parseInputFile()
370 if (pRecord->className == nullptr || pRecord->methodName == nullptr) { in writeKeyMethods()
375 pRecord->className, pRecord->methodName); in writeKeyMethods()
378 pRecord->className, pRecord->methodName, pRecord->signature); in writeKeyMethods()
/art/test/671-npe-field-opts/src/
DMain.java59 static void check(NullPointerException npe, int mainLine, int methodLine, String methodName) { in check() argument
61 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check()
66 String declaringClass, String methodName, in checkElement() argument
69 assertEquals(methodName, element.getMethodName()); in checkElement()
/art/test/674-hiddenapi/src-ex/
DJLI.java78 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindVirtual() argument
80 return lookup.findVirtual(klass, methodName, methodType) != null; in canDiscoverWithLookupFindVirtual()
89 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindStatic() argument
91 return lookup.findStatic(klass, methodName, methodType) != null; in canDiscoverWithLookupFindStatic()
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DNewMethodCaller.java49 public String methodName; field in NewMethodCaller.AssociatedMutation
67 methodName, in getString()
79 methodName = elements[5]; in parseString()
130 mutation.methodName = "gc"; in generateMutation()
169 mutation.methodName, mutation.signature); in applyMutation()
180 mutation.className, mutation.methodName, mutation.signature, insertionPoint)); in applyMutation()
/art/test/667-jit-jni-stub/src/
DMain.java174 public native static void callThrough(Class<?> cls, String methodName); in callThrough() argument
179 public native static boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
180 public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument
181 public native static boolean hasJitCompiledCode(Class<?> cls, String methodName); in hasJitCompiledCode() argument
/art/test/674-hotness-compiled/src/
DMain.java44 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument
45 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
/art/test/680-checker-deopt-dex-pc-0/src/
DMain.java55 public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument
56 public native static void ensureJitCompiled(Class<?> cls, String methodName); in ensureJitCompiled() argument
/art/tools/checker/file_format/c1visualizer/
Dparser.py58 methodName = line.split("\"")[1].strip()
59 if not methodName:
61 state.lastMethodName = methodName
/art/test/048-reflect-v8/src/
DAnnotationTest.java195 String methodName, Class<?> annotationUseClass) { in printMethodAnnotationsByType() argument
198 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodAnnotationsByType()
235 String methodName, Class<?> annotationUseClass) { in printMethodDeclaredAnnotation() argument
238 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodDeclaredAnnotation()
276 Class<A> annotationClass, String methodName, Class<?> annotationUseClass) { in printMethodDeclaredAnnotationByType() argument
279 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodDeclaredAnnotationByType()
/art/test/570-checker-osr/src/
DMain.java298 public static native boolean isInOsrCode(String methodName); in isInOsrCode() argument
299 public static native boolean isInInterpreter(String methodName); in isInInterpreter() argument
300 public static native void ensureHasProfilingInfo(String methodName); in ensureHasProfilingInfo() argument
301 public static native void ensureHasOsrCode(String methodName); in ensureHasOsrCode() argument
/art/test/910-methods/src/art/
DTest910.java41 private static void testMethod(String className, String methodName, Class<?>... types) in testMethod() argument
44 testMethod(base, methodName, types); in testMethod()
47 private static void testMethod(Class<?> base, String methodName, Class<?>... types) in testMethod() argument
49 Method m = base.getDeclaredMethod(methodName, types); in testMethod()
/art/test/570-checker-osr-locals/src/
DMain.java108 public static native boolean isInOsrCode(String methodName); in isInOsrCode() argument
109 public static native boolean isInInterpreter(String methodName); in isInInterpreter() argument
/art/test/667-jit-jni-stub/
Djit_jni_stub_test.cc41 void Java_Main_callThrough(JNIEnv* env, jclass, jclass klass, jstring methodName) { in Java_Main_callThrough() argument
43 std::string name = soa.Decode<mirror::String>(methodName)->ToModifiedUtf8(); in Java_Main_callThrough()
/art/test/716-jli-jit-samples/src-art/
DMain.java29 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument
92 for (String methodName : methodNames) { in testMethodHandleCounters()
93 Method invokeMethod = MethodHandle.class.getMethod(methodName, Object[].class); in testMethodHandleCounters()
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java86 private int findMethodIdInsertionPoint(String className, String methodName, String signature) { in findMethodIdInsertionPoint() argument
88 int nameIdx = findString(methodName); in findMethodIdInsertionPoint()
169 private int createMethodId(String className, String methodName, String signature) { in createMethodId() argument
185 int methodNameStringIdx = findOrCreateString(methodName); in createMethodId()
194 int newMethodIdIdx = findMethodIdInsertionPoint(className, methodName, signature); in createMethodId()
208 className, methodName, signature, newMethodIdIdx)); in createMethodId()
218 private int findMethodId(String className, String methodName, String signature) { in findMethodId() argument
223 int nameIdx = findString(methodName); in findMethodId()
248 public int findOrCreateMethodId(String className, String methodName, String shorty) { in findOrCreateMethodId() argument
249 int methodIdIdx = findMethodId(className, methodName, shorty); in findOrCreateMethodId()
[all …]
/art/test/629-vdex-speed/src/
DMain.java25 private native static boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
/art/test/708-jit-cache-churn/src/
DMain.java30 static native void ensureJitCompiled(Class<?> klass, String methodName); in ensureJitCompiled() argument
/art/dexlist/
Ddexlist.cc96 const char* methodName = pDexFile->StringDataByIdx(pMethodId.name_idx_); in dumpMethod() local
104 strcmp(gOptions.methodToFind, methodName) != 0)) { in dumpMethod()
128 className.get(), methodName, typeDesc, fileName, first_line); in dumpMethod()
/art/test/652-deopt-intrinsic/src/
DMain.java47 public static native void ensureJitCompiled(Class<?> cls, String methodName); in ensureJitCompiled() argument
/art/test/655-jit-clinit/src/
DMain.java27 public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument

12