/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() 90 template <PerThreadAssertType kType, bool kAllow> 91 void PerThreadAssertScope<kType, kAllow>::Release() { in Release() 93 data_->Set(kType, old_state_); in Release() 102 template <PerThreadAssertType kType, bool kAllow> [all …]
|
D | assert-scope.h | 37 template <PerThreadAssertType kType, bool kAllow>
|
/external/tensorflow/tensorflow/lite/toco/ |
D | import_tensorflow_test.cc | 287 constexpr ArrayDataType kType = ArrayDataType::kInt32; in TEST_F() local 292 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 6)); in TEST_F() 294 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 5)); in TEST_F() 296 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 1, 1, 1, 1, 1)); in TEST_F() 300 constexpr ArrayDataType kType = ArrayDataType::kInt64; in TEST_F() local 305 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 6)); in TEST_F() 307 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 5)); in TEST_F() 309 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 1, 1, 1, 1, 1)); in TEST_F() 313 constexpr ArrayDataType kType = ArrayDataType::kUint8; in TEST_F() local 318 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 6)); in TEST_F() [all …]
|
/external/v8/src/compiler/ |
D | machine-operator.cc | 1049 #define EXCHANGE(kType) \ in Word32AtomicExchange() argument 1050 if (type == MachineType::kType()) { \ in Word32AtomicExchange() 1051 return &cache_.kWord32AtomicExchange##kType; \ in Word32AtomicExchange() 1060 #define COMPARE_EXCHANGE(kType) \ in Word32AtomicCompareExchange() argument 1061 if (type == MachineType::kType()) { \ in Word32AtomicCompareExchange() 1062 return &cache_.kWord32AtomicCompareExchange##kType; \ in Word32AtomicCompareExchange() 1070 #define ADD(kType) \ in Word32AtomicAdd() argument 1071 if (type == MachineType::kType()) { \ in Word32AtomicAdd() 1072 return &cache_.kWord32AtomicAdd##kType; \ in Word32AtomicAdd() 1080 #define SUB(kType) \ in Word32AtomicSub() argument [all …]
|
/external/skia/src/core/ |
D | SkLiteDL.cpp | 73 static const auto kType = Type::Flush; member 78 static const auto kType = Type::Save; member 82 static const auto kType = Type::Restore; member 86 static const auto kType = Type::SaveLayer; member 109 static const auto kType = Type::SaveBehind; member 119 static const auto kType = Type::Concat; member 125 static const auto kType = Type::SetMatrix; member 133 static const auto kType = Type::Translate; member 142 static const auto kType = Type::ClipPath; member 150 static const auto kType = Type::ClipRect; member [all …]
|
D | SkRecord.h | 95 SkASSERT(Existing::kType == fRecords[i].type()); in replace() 150 fType = T::kType; in set() 152 SkASSERT(this->ptr() == ptr && this->type() == T::kType); in set()
|
/external/skqp/src/core/ |
D | SkLiteDL.cpp | 73 static const auto kType = Type::Flush; member 78 static const auto kType = Type::Save; member 82 static const auto kType = Type::Restore; member 86 static const auto kType = Type::SaveLayer; member 109 static const auto kType = Type::SaveBehind; member 119 static const auto kType = Type::Concat; member 125 static const auto kType = Type::SetMatrix; member 133 static const auto kType = Type::Translate; member 142 static const auto kType = Type::ClipPath; member 150 static const auto kType = Type::ClipRect; member [all …]
|
D | SkRecord.h | 95 SkASSERT(Existing::kType == fRecords[i].type()); in replace() 153 fTypeAndPtr = ((uint64_t)T::kType) << kTypeShift | (uintptr_t)ptr; in set() 154 SkASSERT(this->ptr() == ptr && this->type() == T::kType); in set()
|
/external/skqp/src/utils/ |
D | SkJSON.h | 76 bool is() const { return this->getType() == T::kType; } in is() 208 static constexpr Type kType = Type::kNull; 215 static constexpr Type kType = Type::kBool; 227 static constexpr Type kType = Type::kNumber; 246 static constexpr Type kType = vtype; variable 249 SkASSERT(this->getType() == kType); in size() 254 SkASSERT(this->getType() == kType); in begin() 260 SkASSERT(this->getType() == kType); in end() 266 SkASSERT(this->getType() == kType); 280 static constexpr Type kType = Type::kString;
|
/external/skia/src/utils/ |
D | SkJSON.h | 76 bool is() const { return this->getType() == T::kType; } in is() 208 static constexpr Type kType = Type::kNull; 215 static constexpr Type kType = Type::kBool; 227 static constexpr Type kType = Type::kNumber; 246 static constexpr Type kType = vtype; variable 249 SkASSERT(this->getType() == kType); in size() 254 SkASSERT(this->getType() == kType); in begin() 260 SkASSERT(this->getType() == kType); in end() 266 SkASSERT(this->getType() == kType); 280 static constexpr Type kType = Type::kString;
|
/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/skqp/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 constexpr ClosureType kType[] = { in onDraw() local 107 MakePath(&path, kType[type]); in onDraw() 130 MakePath(&path, kType[type]); in onDraw()
|
/external/skqp/gm/ |
D | nonclosedpaths.cpp | 89 constexpr ClosureType kType[] = { in onDraw() local 107 MakePath(&path, kType[type]); in onDraw() 130 MakePath(&path, kType[type]); in onDraw()
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | profile.cc | 12 const char kType[] = "Type"; variable 102 if (!deserializer->ParseString(DynamicDepthConst::Profile(), kType, in FromDeserializer() 126 if (!serializer->WriteProperty(DynamicDepthConst::Profile(), kType, type_)) { in Serialize()
|
/external/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 22 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKeyForDynamicVBO() local 23 GrScratchKey::Builder builder(key, kType, 1 + (sizeof(size_t) + 3) / 4); in ComputeScratchKeyForDynamicVBO()
|
D | GrTexture.cpp | 95 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local 109 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey()
|
/external/skqp/src/gpu/ |
D | GrBuffer.cpp | 49 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKeyForDynamicVBO() local 50 GrScratchKey::Builder builder(key, kType, 1 + (sizeof(size_t) + 3) / 4); in ComputeScratchKeyForDynamicVBO()
|
D | GrTexture.cpp | 95 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local 109 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey()
|
/external/skqp/tools/sk_app/win/ |
D | ANGLEWindowContext_win.cpp | 34 static constexpr EGLint kType = EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE; in get_angle_egl_display() local 35 static constexpr EGLint attribs[] = {EGL_PLATFORM_ANGLE_TYPE_ANGLE, kType, EGL_NONE}; in get_angle_egl_display()
|
/external/skia/tools/sk_app/win/ |
D | ANGLEWindowContext_win.cpp | 34 static constexpr EGLint kType = EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE; in get_angle_egl_display() local 35 static constexpr EGLint attribs[] = {EGL_PLATFORM_ANGLE_TYPE_ANGLE, kType, EGL_NONE}; in get_angle_egl_display()
|
/external/flatbuffers/src/ |
D | idl_gen_js_ts.cpp | 42 enum AnnotationType { kParam = 0, kType = 1, kReturns = 2 }; enumerator 293 case kType: { in GenTypeAnnotation() 419 GenTypeAnnotation(kType, WrapInNameSpace(*type.enum_def), "", in GenGetter() 445 GenTypeAnnotation(kType, WrapInNameSpace(*value.type.enum_def), in GenDefaultValue() 630 code += " * " + GenTypeAnnotation(kType, "flatbuffers.ByteBuffer", ""); in GenStruct() 637 code += " * " + GenTypeAnnotation(kType, "number", ""); in GenStruct() 661 code += " * " + GenTypeAnnotation(kType, "flatbuffers.ByteBuffer", ""); in GenStruct() 666 code += " * " + GenTypeAnnotation(kType, "number", ""); in GenStruct() 933 kType, WrapInNameSpace(*field.value.type.enum_def), in GenStruct()
|
/external/skqp/tools/ |
D | DumpRecord.cpp | 118 switch (T::kType) { SK_RECORD_TYPES(CASE) } in NameOf()
|