Searched refs:kType (Results 1 – 12 of 12) sorted by relevance
/external/v8/src/ |
D | assert-scope.cc | 71 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 …]
|
D | assert-scope.h | 37 template <PerThreadAssertType kType, bool kAllow>
|
/external/skia/tests/ |
D | RecordTestUtils.h | 23 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()
|
D | RecorderTest.cpp | 27 void operator()(const T&) { ++fHistogram[T::kType]; } in operator ()() 30 int count() const { return fHistogram[T::kType]; } in count()
|
/external/skia/gm/ |
D | nonclosedpaths.cpp | 89 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/ |
D | GrVertexBuffer.h | 19 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local 21 GrScratchKey::Builder builder(key, kType, 2); in ComputeScratchKey()
|
D | GrIndexBuffer.h | 20 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local 22 GrScratchKey::Builder builder(key, kType, 2); in ComputeScratchKey()
|
D | GrTexture.cpp | 97 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local 107 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey()
|
/external/skia/src/core/ |
D | SkRecord.h | 104 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()
|
D | SkRemote.cpp | 543 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/ |
D | DumpRecord.cpp | 98 switch(T::kType) { SK_RECORD_TYPES(CASE); } in NameOf()
|
/external/skia/include/private/ |
D | SkRecords.h | 187 static const Type kType = T##_Type; \
|