Home
last modified time | relevance | path

Searched refs:Lookup (Results 1 – 25 of 41) sorted by relevance

12

/art/libartbase/base/
Dmemory_type_table_test.cc177 EXPECT_EQ(builder.Lookup(range.Start() - 1u), nullptr); in TEST()
180 const MemoryTypeRange<int>* first = builder.Lookup(range.Start()); in TEST()
184 const MemoryTypeRange<int>* last = builder.Lookup(range.Limit() - 1u); in TEST()
188 EXPECT_EQ(builder.Lookup(range.Limit()), nullptr); in TEST()
204 ASSERT_TRUE(builder.Lookup(0x0) == nullptr); in TEST()
205 ASSERT_TRUE(builder.Lookup(0x8) == nullptr); in TEST()
207 auto first = builder.Lookup(range.Start()); in TEST()
211 auto last = builder.Lookup(range.Limit() - 1); in TEST()
252 ASSERT_NE(builder.Lookup(0x0900u), nullptr); in TEST()
253 EXPECT_EQ(builder.Lookup(0x0900u)->Start(), 0x0800u); in TEST()
[all …]
Dmemory_type_table.h97 const MemoryTypeRange<T>* Lookup(uintptr_t address) const { in Lookup() function
145 inline const MemoryTypeRange<T>* Lookup(uintptr_t address) const;
271 const MemoryTypeRange<T>* MemoryTypeTable<T>::Builder::Lookup(uintptr_t address) const { in Lookup() function
/art/test/674-hiddenapi/src-ex/
DJLI.java23 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindGetter()
34 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindSetter()
45 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindStaticGetter()
56 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindStaticSetter()
67 MethodHandles.Lookup lookup, Class<?> klass, MethodType methodType) { in canDiscoverWithLookupFindConstructor()
78 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindVirtual()
89 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindStatic()
DChildClass.java252 final MethodHandles.Lookup lookup = MethodHandles.lookup(); in checkField()
268 final MethodHandles.Lookup publicLookup = MethodHandles.publicLookup(); in checkField()
344 final MethodHandles.Lookup lookup = MethodHandles.lookup(); in checkMethod()
426 final MethodHandles.Lookup lookup = MethodHandles.lookup(); in checkConstructor()
432 final MethodHandles.Lookup publicLookup = MethodHandles.publicLookup(); in checkConstructor()
/art/test/952-invoke-custom/src/
DTestVariableArityLinkerMethod.java56 MethodHandles.Lookup lookup, in bsmWithStringArray()
72 MethodHandles.Lookup.class,
95 MethodHandles.Lookup.class,
114 MethodHandles.Lookup.class,
127 MethodHandles.Lookup lookup, in bsmWithIntAndStringArray()
150 MethodHandles.Lookup.class,
175 MethodHandles.Lookup.class,
198 MethodHandles.Lookup.class,
213 MethodHandles.Lookup lookup, in bsmWithLongAndIntArray()
230 MethodHandles.Lookup.class,
[all …]
DTestBadBootstrapArguments.java29 MethodHandles.Lookup lookup, in bsm()
56 MethodHandles.Lookup.class,
84 MethodHandles.Lookup.class,
113 MethodHandles.Lookup.class,
139 MethodHandles.Lookup.class,
168 MethodHandles.Lookup.class,
196 MethodHandles.Lookup.class,
219 MethodHandles.Lookup lookup, in bsmZBCS()
238 MethodHandles.Lookup.class,
264 MethodHandles.Lookup lookup, in bsmDJ()
[all …]
DTestInvocationKinds.java30 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupStaticFieldGetter()
52 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupStaticFieldSetter()
76 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupInstanceFieldSetter()
99 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupInstanceFieldGetter()
143 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupVirtual()
181 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupConstructor()
DTestLinkerUnrelatedBSM.java29 MethodHandles.Lookup.class,
55 MethodHandles.Lookup.class,
DTestLinkerMethodMinimalArguments.java37 parameterTypes = {MethodHandles.Lookup.class, String.class, MethodType.class},
60 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod()
DTestDynamicBootstrapArguments.java30 MethodHandles.Lookup lookup, in bsm()
50 MethodHandles.Lookup.class,
DTestLinkerMethodMultipleArgumentTypes.java36 MethodHandles.Lookup.class,
79 MethodHandles.Lookup caller, in linkerMethod()
DUnrelatedBSM.java25 MethodHandles.Lookup lookup, String name, MethodType methodType, Class<?> target) in bsm()
DTestInvokeCustomWithConcurrentThreads.java72 parameterTypes = {MethodHandles.Lookup.class, String.class, MethodType.class}
86 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod()
/art/test/dexdump/
Dinvoke-custom.lst21 0x00003fb4 20 UnrelatedBSM bsm (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang…
29 0x00001bc4 170 TestBadBootstrapArguments bsm (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Str…
30 0x00001c80 90 TestBadBootstrapArguments bsmDJ (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/St…
31 0x00001cec 90 TestBadBootstrapArguments bsmDoubleLong (Ljava/lang/invoke/MethodHandles$Lookup;Ljava…
32 0x00001b6c 26 TestBadBootstrapArguments bsmReturningInteger (Ljava/lang/invoke/MethodHandles$Lookup
33 0x00001b98 26 TestBadBootstrapArguments bsmReturningObject (Ljava/lang/invoke/MethodHandles$Lookup;…
34 …nts bsmReturningTestersConstantCallsite (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;…
35 0x00001dac 16 TestBadBootstrapArguments bsmReturningVoid (Ljava/lang/invoke/MethodHandles$Lookup;Lj…
36 0x00001d58 10 TestBadBootstrapArguments bsmZBCS (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/…
67 0x00002970 86 TestDynamicBootstrapArguments bsm (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/…
[all …]
Dinvoke-custom.txt658 …alvik/annotation/Signature; value={ "(" "Ljava/lang/invoke/MethodHandles$Lookup;" "Ljava/lang/Stri…
689 …type : '(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/Metho…
696 … |[003fa4] UnrelatedBSM.bsm:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;…
697 … |0000: invoke-virtual {v2, v5, v3, v4}, Ljava/lang/invoke/MethodHandles$Lookup;.findStatic:(Ljava…
709 0x0000 - 0x000a reg=2 lookup Ljava/lang/invoke/MethodHandles$Lookup;
1003 …s; name="bsmDoubleLong" parameterTypes={ Ljava/lang/invoke/MethodHandles$Lookup; Ljava/lang/String…
1005 …apArguments; name="bsm" parameterTypes={ Ljava/lang/invoke/MethodHandles$Lookup; Ljava/lang/String…
1007 …apArguments; name="bsm" parameterTypes={ Ljava/lang/invoke/MethodHandles$Lookup; Ljava/lang/String…
1009 …e="bsmReturningInteger" parameterTypes={ Ljava/lang/invoke/MethodHandles$Lookup; Ljava/lang/String…
1011 …apArguments; name="bsm" parameterTypes={ Ljava/lang/invoke/MethodHandles$Lookup; Ljava/lang/String…
[all …]
/art/test/952-invoke-custom/util-src/annotations/
DBootstrapMethod.java24 import java.lang.invoke.MethodHandles.Lookup;
44 Class<?>[] parameterTypes() default {Lookup.class, String.class, MethodType.class}; in parameterTypes()
/art/test/953-invoke-polymorphic-compiler/src/
DMain.java19 import java.lang.invoke.MethodHandles.Lookup;
227 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnBooleanTest()
255 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnCharTest()
264 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnByteTest()
273 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnShortTest()
282 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnIntTest()
291 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnLongTest()
300 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnFloatTest()
309 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnDoubleTest()
318 MethodHandles.Lookup lookup = MethodHandles.lookup(); in $opt$ReturnStringTest()
[all …]
/art/runtime/
Dsubtype_check_test.cc220 static MockSubtypeCheck Lookup(MockClass* klass) { in Lookup() function
350 EXPECT_EQ(SubtypeCheckInfo::kUninitialized, SCTree::Lookup(kls).GetState()); in TEST_F()
360 SCTree root = SCTree::Lookup(root_); in TEST_F()
370 SCTree root = SCTree::Lookup(root_); in TEST_F()
378 SCTree child_tree = SCTree::Lookup(child); in TEST_F()
395 SCTree root = SCTree::Lookup(root_); in TEST_F()
403 SCTree child_tree = SCTree::Lookup(child); in TEST_F()
420 SCTree root = SCTree::Lookup(root_); in TEST_F()
428 SCTree child_tree = SCTree::Lookup(child); in TEST_F()
438 SCTree child2_tree = SCTree::Lookup(child2); in TEST_F()
[all …]
Dclass_table_test.cc91 EXPECT_EQ(table.Lookup(descriptor_x, ComputeModifiedUtf8Hash(descriptor_x)), h_X.Get()); in TEST_F()
92 EXPECT_EQ(table.Lookup("NOT_THERE", ComputeModifiedUtf8Hash("NOT_THERE")), nullptr); in TEST_F()
/art/test/959-invoke-polymorphic-accessors/
Dexpected.txt2 Passed MethodHandles.Lookup tests for accessors.
/art/libdexfile/dex/
Dtype_lookup_table_test.cc46 uint32_t class_def_idx = table.Lookup(descriptor, hash); in TEST_P()
/art/test/004-JniTest/
Dexpected.txt62 Clinit Lookup: ClassWithoutClinit: <NSME Exception>
63 Clinit Lookup: ClassWithClinit: Main$ClassWithClinit()(Class: class java.lang.reflect.Constructor)
/art/test/956-methodhandles/src/
DMain.java20 import java.lang.invoke.MethodHandles.Lookup;
44 public static final Lookup lookup = MethodHandles.lookup();
52 public static final Lookup lookup = MethodHandles.lookup();
56 public static final Lookup lookup = MethodHandles.lookup();
64 public static final Lookup lookup = MethodHandles.lookup();
68 public static final Lookup lookup = MethodHandles.lookup();
81 public MethodHandles.Lookup getLookup() { in getLookup()
90 public MethodHandles.Lookup getLookup() { in getLookup()
266 static final MethodHandles.Lookup lookup = MethodHandles.lookup();
564 MethodHandles.Lookup lookupInG = g.getLookup(); in testUnreflects()
[all …]
/art/test/955-methodhandles-smali/smali/
DMain.smali26 …-static {}, Ljava/lang/invoke/MethodHandles;->publicLookup()Ljava/lang/invoke/MethodHandles$Lookup;
29 # Call Lookup.findVirtual(defc, name, type);
30 …invoke-virtual {v0, p0, p1, p2}, Ljava/lang/invoke/MethodHandles$Lookup;->findVirtual(Ljava/lang/C…
43 …-static {}, Ljava/lang/invoke/MethodHandles;->publicLookup()Ljava/lang/invoke/MethodHandles$Lookup;
46 # Call Lookup.findStatic(defc, name, type);
47 …invoke-virtual {v0, p0, p1, p2}, Ljava/lang/invoke/MethodHandles$Lookup;->findStatic(Ljava/lang/Cl…
/art/compiler/optimizing/
Dgvn.cc85 DCHECK(Lookup(instruction) == nullptr); in Add()
98 HInstruction* Lookup(HInstruction* instruction) const { in Lookup() function in art::ValueSet
488 HInstruction* existing = set->Lookup(current); in VisitBasicBlock()

12