Home
last modified time | relevance | path

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

123

/external/v8/src/common/
Dassert-scope.cc58 template <PerThreadAssertType kType, bool kAllow>
59 PerThreadAssertScope<kType, kAllow>::PerThreadAssertScope() { in PerThreadAssertScope()
65 data_and_old_state_.update(current_data, current_data->Get(kType)); in PerThreadAssertScope()
67 current_data->Set(kType, kAllow); in PerThreadAssertScope()
70 template <PerThreadAssertType kType, bool kAllow>
71 PerThreadAssertScope<kType, kAllow>::~PerThreadAssertScope() { in ~PerThreadAssertScope()
76 template <PerThreadAssertType kType, bool kAllow>
77 void PerThreadAssertScope<kType, kAllow>::Release() { in Release()
80 current_data->Set(kType, old_state()); in Release()
89 template <PerThreadAssertType kType, bool kAllow>
[all …]
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow_test.cc325 constexpr ArrayDataType kType = ArrayDataType::kInt32; in TEST_F() local
330 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 6)); in TEST_F()
332 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 5)); in TEST_F()
334 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 1, 1, 1, 1, 1)); in TEST_F()
338 constexpr ArrayDataType kType = ArrayDataType::kInt64; in TEST_F() local
343 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 6)); in TEST_F()
345 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 5)); in TEST_F()
347 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 1, 1, 1, 1, 1)); in TEST_F()
351 constexpr ArrayDataType kType = ArrayDataType::kUint8; in TEST_F() local
356 EXPECT_THAT(ImportAndGetData<kType>(node), ElementsAre(1, 2, 3, 4, 5, 6)); in TEST_F()
[all …]
/external/skqp/src/core/
DSkLiteDL.cpp73 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 …]
DSkRecord.h95 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/utils/
DSkJSON.h76 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/
DSkJSON.h76 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/skqp/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/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/skqp/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/gm/
Dnonclosedpaths.cpp94 constexpr ClosureType kType[] = { in onDraw() local
112 MakePath(&path, kType[type]); in onDraw()
135 MakePath(&path, kType[type]); in onDraw()
/external/dynamic_depth/internal/dynamic_depth/
Dprofile.cc12 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/
DGrGpuBuffer.cpp52 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKeyForDynamicVBO() local
53 GrScratchKey::Builder builder(key, kType, 1 + (sizeof(size_t) + 3) / 4); in ComputeScratchKeyForDynamicVBO()
DGrTexture.cpp108 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() local
120 GrScratchKey::Builder builder(key, kType, 5); in ComputeScratchKey()
/external/skia/src/core/
DSkRecord.h95 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/tensorflow/tensorflow/lite/delegates/gpu/common/
Dtensor.h49 constexpr static DataType kType = Type;
77 constexpr DataType Tensor<ShapeT, Type>::kType;
/external/skqp/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
109 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey()
/external/tensorflow/tensorflow/core/framework/
Dkernel_def_util.cc43 constraint_value_case = AttrValue::kType; in KernelAttrsMatch()
114 if (constraint_value_case != AttrValue::kType) { in KernelAttrsMatch()
/external/skqp/tools/sk_app/win/
DANGLEWindowContext_win.cpp34 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/
DANGLEWindowContext_win.cpp34 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/pdfium/fpdfsdk/
Dfpdf_annot_unittest.cpp76 ByteString type = stream_dict->GetStringFor(pdfium::annotation::kType); in TEST_F()
128 ByteString type = gs_dict->GetStringFor(pdfium::annotation::kType); in TEST_F()
/external/pdfium/constants/
Dpage_object.h14 constexpr char kType[] = "Type"; variable
/external/libchrome/components/json_schema/
Djson_schema_constants.cc37 const char kType[] = "type"; variable

123