/external/skia/src/gpu/glsl/ |
GrGLSL_impl.h | 11 template<typename Self> 13 inline Self GrGLSLExpr<Self>::VectorCastImpl(const T& expr) { 15 return Self(0); 18 return Self(1); 20 return Self(Self::CastStr(), expr.c_str()); 23 template<typename Self> 25 inline Self GrGLSLExpr<Self>::Mul(T0 in0, T1 in1) [all...] |
/art/runtime/native/ |
scoped_fast_native_object_access.h | 33 Locks::mutator_lock_->AssertSharedHeld(Self()); 34 DCHECK((*Self()->GetManagedStack()->GetTopQuickFrame())->IsFastNative()); 36 DCHECK_EQ(Self()->GetState(), kRunnable);
|
java_lang_StringFactory.cc | 37 StackHandleScope<1> hs(soa.Self()); 41 soa.Self()->ThrowNewExceptionF("Ljava/lang/StringIndexOutOfBoundsException;", 47 mirror::String* result = mirror::String::AllocFromByteArray<true>(soa.Self(), byte_count, 58 StackHandleScope<1> hs(soa.Self()); 61 mirror::String* result = mirror::String::AllocFromCharArray<true>(soa.Self(), char_count, 73 StackHandleScope<1> hs(soa.Self()); 76 mirror::String* result = mirror::String::AllocFromString<true>(soa.Self(), string->GetLength(),
|
java_lang_Object.cc | 29 return soa.AddLocalReference<jobject>(o->Clone(soa.Self())); 35 o->Notify(soa.Self()); 41 o->NotifyAll(soa.Self()); 47 o->Wait(soa.Self()); 53 o->Wait(soa.Self(), ms, ns);
|
java_lang_reflect_Array.cc | 34 StackHandleScope<2> hs(soa.Self()); 44 mirror::Array* new_array = mirror::Array::CreateMultiArray(soa.Self(), element_class, 59 mirror::Class* array_class = class_linker->FindArrayClass(soa.Self(), &element_class); 61 CHECK(soa.Self()->IsExceptionPending()); 66 soa.Self(), array_class, length, runtime->GetHeap()->GetCurrentAllocator());
|
java_lang_Class.cc | 69 soa.Self()->ThrowNewExceptionF("Ljava/lang/ClassNotFoundException;", 75 StackHandleScope<2> hs(soa.Self()); 79 hs.NewHandle(class_linker->FindClass(soa.Self(), descriptor.c_str(), class_loader))); 93 class_linker->EnsureInitialized(soa.Self(), c, true, true); 100 StackHandleScope<1> hs(soa.Self()); 108 return soa.AddLocalReference<jobjectArray>(c->GetInterfaces()->Clone(soa.Self())); 112 Thread* self, mirror::Class* klass, bool public_only, bool force_resolve) 114 StackHandleScope<1> hs(self); 133 self, mirror::Field::ArrayClass(), array_size)); 139 auto* reflect_field = mirror::Field::CreateFromArtField(self, &field, force_resolve) [all...] |
java_lang_reflect_Constructor.cc | 35 StackHandleScope<1> hs(soa.Self()); 52 Runtime::Current()->GetClassLinker()->FindArrayClass(soa.Self(), &class_class); 57 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); 75 Runtime::Current()->GetClassLinker()->FindArrayClass(soa.Self(), &class_class); 80 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); 101 StackHandleScope<1> hs(soa.Self()); 119 StackHandleScope<1> hs(soa.Self()); 122 soa.Self()->ThrowNewExceptionF("Ljava/lang/InstantiationException;", "Can't instantiate %s %s", 131 auto* caller = GetCallingClass(soa.Self(), 2); 141 soa.Self()->ThrowNewExceptionF [all...] |
dalvik_system_VMStack.cc | 34 if (soa.Decode<mirror::Object*>(peer) == soa.Self()->GetPeer()) { 35 trace = soa.Self()->CreateInternalStackTrace<false>(soa); 38 ScopedThreadSuspension sts(soa.Self(), kNative); 45 ScopedObjectAccess soa2(soa.Self()); 73 NthCallerVisitor visitor(soa.Self(), 2); 105 ClosestUserClassLoaderVisitor visitor(soa.Self()); 113 NthCallerVisitor visitor(soa.Self(), 3);
|
java_lang_reflect_Field.cc | 33 ALWAYS_INLINE inline static bool VerifyFieldAccess(Thread* self, mirror::Field* field, 46 if (!VerifyAccess(self, obj, field->GetDeclaringClass(), field->GetAccessFlags(), 109 soa.Self()->AssertThreadSuspensionIsAllowable(); 113 StackHandleScope<2> hs(soa.Self()); 117 if (UNLIKELY(!class_linker->EnsureInitialized(soa.Self(), h_klass, true, true))) { 118 DCHECK(soa.Self()->IsExceptionPending()); 127 DCHECK(soa.Self()->IsExceptionPending()); 138 DCHECK(soa.Self()->IsExceptionPending()); 142 if (!f->IsAccessible() && !VerifyFieldAccess<false>(soa.Self(), f, o)) { 143 DCHECK(soa.Self()->IsExceptionPending()) [all...] |
java_lang_reflect_AbstractMethod.cc | 38 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), annotation_array_class, 0); 50 StackHandleScope<1> hs(soa.Self()); 63 StackHandleScope<1> hs(soa.Self());
|
/art/runtime/mirror/ |
object_test.cc | 59 Thread* self = Thread::Current(); local 60 StackHandleScope<1> hs(self); 62 hs.NewHandle(String::AllocFromModifiedUtf8(self, expected_utf16_length, utf8_in))); 98 StackHandleScope<2> hs(soa.Self()); 100 hs.NewHandle(class_linker_->AllocObjectArray<Object>(soa.Self(), 256))); 102 Object* clone = a1->Clone(soa.Self()); 109 StackHandleScope<2> hs(soa.Self()); 111 hs.NewHandle(class_linker_->AllocObjectArray<Object>(soa.Self(), 2))); 122 Class* aioobe = class_linker_->FindSystemClass(soa.Self(), 126 EXPECT_TRUE(soa.Self()->IsExceptionPending()) [all...] |
dex_cache_test.cc | 35 StackHandleScope<1> hs(soa.Self()); 38 hs.NewHandle(class_linker_->AllocDexCache(soa.Self(), 55 StackHandleScope<1> hs(soa.Self()); 58 mirror::Class* klass = class_linker->FindClass(soa.Self(), "LMain;", class_loader);
|
/external/google-benchmark/src/ |
stat.h | 33 typedef Stat1<VType, NumType> Self; 57 Stat1(const Self &stat) { 68 Self &operator=(const Self &stat) { 75 Self &operator+=(const Self &stat) { 82 Self &operator-=(const Self &stat) { 89 Self &operator*=(const VType &k) { 97 Self operator+(const Self &stat) const { return Self(*this) += stat; [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p5-generic-lambda-1y.cpp | 5 auto Fact = [](auto Self, unsigned n) -> unsigned { 6 return !n ? 1 : Self(Self, n - 1) * n; 20 auto NumParams = [](auto Self, auto h, auto ... rest) -> unsigned { 21 return 1 + Self(Self, rest...); 23 auto Base = [](auto Self, auto h) -> unsigned { 38 auto NumParams = [](auto Self, auto h, auto ... rest) { 39 return 1 + Self(Self, rest...) [all...] |
/external/clang/lib/Sema/ |
SemaCast.cpp | 51 : Self(S), SrcExpr(src), DestType(destType), 64 Sema &Self; 91 castExpr = ImplicitCastExpr::Create(Self.Context, 92 Self.Context.ARCUnbridgedCastTy, 119 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); 123 assert(Self.getLangOpts().ObjCAutoRefCount); 126 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) == 137 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.get()); 156 static TryCastResult TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, 161 static TryCastResult TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr [all...] |
/external/clang/include/clang/Serialization/ |
ContinuousRangeMap.h | 110 ContinuousRangeMap &Self; 116 explicit Builder(ContinuousRangeMap &Self) : Self(Self) { } 119 std::sort(Self.Rep.begin(), Self.Rep.end(), Compare()); 120 std::unique(Self.Rep.begin(), Self.Rep.end(), 131 Self.Rep.push_back(Val);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashBase.h | 74 typedef HashTableImpl<HashEntryTy, HashFunctionTy> Self; 113 friend class ChainIteratorBase<Self>; 114 friend class ChainIteratorBase<const Self>; 115 friend class EntryIteratorBase<Self>; 116 friend class EntryIteratorBase<const Self>;
|
HashEntry.h | 40 typedef HashEntry<KeyType, ValueType, KeyCompare> Self; 41 friend class EntryFactory<Self>;
|
/art/runtime/ |
intern_table_test.cc | 32 StackHandleScope<4> hs(soa.Self()); 36 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); 56 StackHandleScope<1> hs(soa.Self()); 58 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); 97 StackHandleScope<5> hs(soa.Self()); 99 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello"))); 101 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "world"))); 112 ReaderMutexLock mu(soa.Self(), *Locks::heap_bitmap_lock_); 120 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "still here"))); 130 StackHandleScope<2> hs(soa.Self()); [all...] |
scoped_thread_state_change.h | 36 ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) 38 : self_(self), thread_state_(new_thread_state), expected_has_no_thread_(false) { 45 DCHECK_EQ(self, Thread::Current()); 48 old_thread_state_ = self->GetState(); 83 Thread* Self() const { 107 Thread* Self() const { 134 Locks::mutator_lock_->AssertSharedHeld(Self()); 143 Locks::mutator_lock_->AssertSharedHeld(Self()); 145 return down_cast<T>(Self()->DecodeJObject(obj)); 150 Locks::mutator_lock_->AssertSharedHeld(Self()); [all...] |
proxy_test.cc | 38 mirror::Class* javaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); 46 soa.Self()->AssertNoPendingException(); 59 soa.Self()->AssertNoPendingException(); 68 mirror::Method::CreateFromArtMethod(soa.Self(), method))); 73 mirror::Method::CreateFromArtMethod(soa.Self(), method))); 79 mirror::Method::CreateFromArtMethod(soa.Self(), method))); 85 mirror::Method::CreateFromArtMethod(soa.Self(), &m))); 92 soa.Self()->AssertNoPendingException(); 97 soa.Self()->AssertNoPendingException(); 106 StackHandleScope<4> hs(soa.Self()); [all...] |
transaction_test.cc | 34 StackHandleScope<2> hs(soa.Self()); 43 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), 46 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); 49 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), 52 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); 56 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", 59 class_linker_->VerifyClass(soa.Self(), h_klass); 63 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader)); 65 class_linker_->VerifyClass(soa.Self(), h_klass); 73 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true) [all...] |
/art/runtime/gc/ |
heap_test.cc | 48 StackHandleScope<1> hs(soa.Self()); 50 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); 52 StackHandleScope<1> hs2(soa.Self()); 54 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), c.Get(), 2048))); 56 mirror::String* string = mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!");
|
/art/benchmark/jobject-benchmark/ |
jobject_benchmark.cc | 54 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); 55 soa.Vm()->DeleteGlobalRef(soa.Self(), ref); 64 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); 68 soa.Vm()->DeleteGlobalRef(soa.Self(), ref); 77 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); 78 soa.Vm()->DeleteWeakGlobalRef(soa.Self(), ref); 87 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); 91 soa.Vm()->DeleteWeakGlobalRef(soa.Self(), ref);
|
/external/clang/test/SemaTemplate/ |
enum-argument.cpp | 6 typedef C<v> Self;
|