Home
last modified time | relevance | path

Searched refs:kType (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/
Dassert-scope.cc71 template <PerThreadAssertType kType, bool kAllow>
72 PerThreadAssertScope<kType, kAllow>::PerThreadAssertScope() in PerThreadAssertScope()
79 old_state_ = data_->Get(kType); in PerThreadAssertScope()
80 data_->Set(kType, kAllow); in PerThreadAssertScope()
84 template <PerThreadAssertType kType, bool kAllow>
85 PerThreadAssertScope<kType, kAllow>::~PerThreadAssertScope() { in ~PerThreadAssertScope()
87 data_->Set(kType, old_state_); in ~PerThreadAssertScope()
96 template <PerThreadAssertType kType, bool kAllow>
97 bool PerThreadAssertScope<kType, kAllow>::IsAllowed() { in IsAllowed()
99 return data == NULL || data->Get(kType); in IsAllowed()
[all …]
Dassert-scope.h37 template <PerThreadAssertType kType, bool kAllow>
/external/skia/src/core/
DSkLiteDL.cpp72 static const auto kType = Type::SetDrawFilter; member
84 static const auto kType = Type::Save; member
88 static const auto kType = Type::Restore; member
92 static const auto kType = Type::SaveLayer; member
110 static const auto kType = Type::Concat; member
116 static const auto kType = Type::SetMatrix; member
124 static const auto kType = Type::Translate; member
132 static const auto kType = Type::TranslateZ; member
143 static const auto kType = Type::ClipPath; member
151 static const auto kType = Type::ClipRect; member
[all …]
DSkRecord.h100 SkASSERT(Existing::kType == fRecords[i].type()); in replace()
158 fTypeAndPtr = ((uint64_t)T::kType) << kTypeShift | (uintptr_t)ptr; in set()
159 SkASSERT(this->ptr() == ptr && this->type() == T::kType); in set()
/external/skia/tests/
DRecordTestUtils.h23 void operator()(const U& r) { ptr = &r; type = U::kType; } in operator()
26 void operator()(const T&) { type = U::kType; } in operator()
34 REPORTER_ASSERT(r, T::kType == reader.type); in assert_type()
DRecorderTest.cpp27 void operator()(const T&) { ++fHistogram[T::kType]; } in operator ()()
30 int count() const { return fHistogram[T::kType]; } in count()
/external/skia/gm/
Dnonclosedpaths.cpp89 constexpr ClosureType kType[] = { in onDraw() local
107 MakePath(&path, kType[type]); in onDraw()
130 MakePath(&path, kType[type]); in onDraw()
/external/skia/src/gpu/
DGrBuffer.cpp49 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKeyForDynamicVBO() local
50 GrScratchKey::Builder builder(key, kType, 1 + (sizeof(size_t) + 3) / 4); in ComputeScratchKeyForDynamicVBO()
DGrTexture.cpp95 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local
107 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey()
DGrRenderTargetContext.cpp1572 static constexpr GrPathRendererChain::DrawType kType = GrPathRendererChain::DrawType::kColor; in internalDrawPath() local
1582 pr = this->drawingManager()->getPathRenderer(canDrawArgs, false, kType); in internalDrawPath()
1591 pr = this->drawingManager()->getPathRenderer(canDrawArgs, false, kType); in internalDrawPath()
1601 pr = this->drawingManager()->getPathRenderer(canDrawArgs, true, kType); in internalDrawPath()
/external/skia/tools/
DDumpRecord.cpp117 switch(T::kType) { SK_RECORD_TYPES(CASE); } in NameOf()
/external/skia/include/private/
DSkRecords.h168 static const Type kType = T##_Type; \