Lines Matching refs:hs

66     StackHandleScope<1> hs(self);  in AssertString()  local
68 hs.NewHandle(String::AllocFromModifiedUtf8(self, expected_utf16_length, utf8_in))); in AssertString()
111 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
112 Handle<ObjectArray<Object>> a1(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 256))); in TEST_F()
121 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
122 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F()
133 Handle<Class> aioobe = hs.NewHandle( in TEST_F()
147 Handle<mirror::Class> klass(hs.NewHandle(oa->GetClass())); in TEST_F()
157 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
158 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F()
160 MutableHandle<Array> a = hs.NewHandle( in TEST_F()
178 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
179 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[B")); in TEST_F()
181 MutableHandle<Array> a = hs.NewHandle( in TEST_F()
210 StackHandleScope<2> hs(soa.Self()); in TestPrimitiveArray() local
211 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TestPrimitiveArray()
222 Handle<Class> aioobe = hs.NewHandle( in TestPrimitiveArray()
260 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
261 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TEST_F()
272 Handle<Class> aioobe = hs.NewHandle( in TEST_F()
291 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
292 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TEST_F()
303 Handle<Class> aioobe = hs.NewHandle( in TEST_F()
321 StackHandleScope<4> hs(soa.Self()); in TEST_F() local
322 Handle<Class> int_class(hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "I"))); in TEST_F()
323 Handle<Class> int_array_class = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F()
324 MutableHandle<IntArray> dims(hs.NewHandle(IntArray::Alloc(soa.Self(), 1))); in TEST_F()
326 MutableHandle<Array> multi = hs.NewHandle(Array::CreateMultiArray(soa.Self(), int_class, dims)); in TEST_F()
361 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
362 Handle<mirror::ClassLoader> loader(hs.NewHandle(soa.Decode<ClassLoader>(class_loader))); in TEST_F()
364 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticsFromCode;", loader)); in TEST_F()
385 Handle<CharArray> char_array(hs.NewHandle(CharArray::Alloc(soa.Self(), 0))); in TEST_F()
429 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
430 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
438 Handle<String> empty(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
445 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
446 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
447 Handle<String> string_2(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
455 Handle<String> empty(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
462 StackHandleScope<5> hs(soa.Self()); in TEST_F() local
463 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
464 Handle<String> string_2(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
465 Handle<String> string_3(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "Android"))); in TEST_F()
466 Handle<String> string_4(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "and"))); in TEST_F()
467 Handle<String> string_5(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
479 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
480 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
492 StackHandleScope<4> hs(soa.Self()); in TEST_F() local
493 Handle<ClassLoader> class_loader_1(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader_1))); in TEST_F()
494 Handle<ClassLoader> class_loader_2(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader_2))); in TEST_F()
497 hs.NewHandle(linker->FindClass(soa.Self(), "LProtoCompare;", class_loader_1)); in TEST_F()
500 hs.NewHandle(linker->FindClass(soa.Self(), "LProtoCompare2;", class_loader_2)); in TEST_F()
524 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
525 Handle<String> empty(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
526 Handle<String> A(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "A"))); in TEST_F()
527 Handle<String> ABC(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
537 StackHandleScope<10> hs(soa.Self()); in TEST_F() local
538 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader))); in TEST_F()
540 Handle<Class> X = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LX;", class_loader)); in TEST_F()
541 Handle<Class> Y = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LY;", class_loader)); in TEST_F()
545 Handle<Object> x(hs.NewHandle(X->AllocObject(soa.Self()))); in TEST_F()
546 Handle<Object> y(hs.NewHandle(Y->AllocObject(soa.Self()))); in TEST_F()
556 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Class;")); in TEST_F()
558 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F()
565 hs.NewHandle<Object>(ObjectArray<Object>::Alloc(soa.Self(), Object_array_class.Get(), 1)); in TEST_F()
567 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Cloneable;")); in TEST_F()
569 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/io/Serializable;")); in TEST_F()
577 StackHandleScope<5> hs(soa.Self()); in TEST_F() local
578 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader))); in TEST_F()
579 Handle<Class> X = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LX;", class_loader)); in TEST_F()
580 Handle<Class> Y = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LY;", class_loader)); in TEST_F()
589 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;")); in TEST_F()
591 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/CharSequence;")); in TEST_F()
617 StackHandleScope<14> hs(soa.Self()); in TEST_F() local
618 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader))); in TEST_F()
619 Handle<Class> X = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LX;", class_loader)); in TEST_F()
620 Handle<Class> Y = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LY;", class_loader)); in TEST_F()
624 Handle<Class> YA = hs.NewHandle(class_linker_->FindClass(soa.Self(), "[LY;", class_loader)); in TEST_F()
625 Handle<Class> YAA = hs.NewHandle(class_linker_->FindClass(soa.Self(), "[[LY;", class_loader)); in TEST_F()
629 Handle<Class> XAA = hs.NewHandle(class_linker_->FindClass(soa.Self(), "[[LX;", class_loader)); in TEST_F()
632 Handle<Class> O = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F()
634 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")); in TEST_F()
636 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Object;")); in TEST_F()
638 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[[Ljava/lang/Object;")); in TEST_F()
645 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/io/Serializable;")); in TEST_F()
647 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/io/Serializable;")); in TEST_F()
649 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/io/Serializable;")); in TEST_F()
654 Handle<Class> IA = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F()
676 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
677 Handle<String> s(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
710 StackHandleScope<4> hs(soa.Self()); in TEST_F() local
711 Handle<String> s(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
713 Handle<Class> c(hs.NewHandle(s->GetClass())); in TEST_F()
753 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
754 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader))); in TEST_F()
756 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LX;", class_loader))); in TEST_F()
814 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
815 Handle<mirror::String> s(hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
818 Handle<mirror::ShortArray> a(hs.NewHandle(mirror::ShortArray::Alloc(soa.Self(), 2))); in TEST_F()