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/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 static const ClosureType kType[] = { in onDraw() local
107 MakePath(&path, kType[type]); in onDraw()
130 MakePath(&path, kType[type]); in onDraw()
/external/skia/src/gpu/
DGrVertexBuffer.h19 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local
21 GrScratchKey::Builder builder(key, kType, 2); in ComputeScratchKey()
DGrIndexBuffer.h20 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local
22 GrScratchKey::Builder builder(key, kType, 2); in ComputeScratchKey()
DGrTexture.cpp97 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local
107 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey()
/external/skia/src/core/
DSkRecord.h104 SkASSERT(Existing::kType == fRecords[i].type()); in replace()
162 fTypeAndPtr = ((uint64_t)T::kType) << kTypeShift | (uintptr_t)ptr; in set()
163 SkASSERT(this->ptr() == ptr && this->type() == T::kType); in set()
DSkRemote.cpp543 template <typename T, Type kType>
552 SkASSERT(id.type() == kType); in set()
557 SkASSERT(id.type() == kType); in remove()
562 SkASSERT(id.type() == kType); in find()
573 template <typename T, Type kType>
583 SkASSERT(id.type() == kType); in set()
588 SkASSERT(id.type() == kType); in remove()
596 SkASSERT(id.type() == kType); in find()
711 template <typename T, Type kType>
718 SkASSERT(id.type() == kType); in set()
/external/skia/tools/
DDumpRecord.cpp98 switch(T::kType) { SK_RECORD_TYPES(CASE); } in NameOf()
/external/skia/include/private/
DSkRecords.h187 static const Type kType = T##_Type; \