Home
last modified time | relevance | path

Searched refs:isValid (Results 1 – 25 of 1132) sorted by relevance

12345678910>>...46

/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_id.cpp67 bool isValid(const spv_instruction_t* inst);
70 bool isValid(const spv_instruction_t* inst, const spv_opcode_desc);
94 bool idUsage::isValid<SpvOpUndef>(const spv_instruction_t *inst,
102 bool idUsage::isValid<SpvOpMemberName>(const spv_instruction_t* inst, in isValid() function in __anon583ac0540111::idUsage
125 bool idUsage::isValid<SpvOpLine>(const spv_instruction_t* inst, in isValid() function in __anon583ac0540111::idUsage
138 bool idUsage::isValid<SpvOpDecorate>(const spv_instruction_t* inst, in isValid() function in __anon583ac0540111::idUsage
157 bool idUsage::isValid<SpvOpMemberDecorate>(const spv_instruction_t* inst, in isValid() function in __anon583ac0540111::idUsage
183 bool idUsage::isValid<SpvOpGroupDecorate>(const spv_instruction_t* inst, in isValid() function in __anon583ac0540111::idUsage
197 bool idUsage::isValid<SpvOpGroupMemberDecorate>( in isValid() function in __anon583ac0540111::idUsage
234 bool idUsage::isValid<SpvOpExtInst>(const spv_instruction_t *inst,
[all …]
/third_party/flutter/skia/src/gpu/
DGrBackendSurface.cpp88 if (this->isValid() && GrBackendApi::kOpenGL == fBackend) { in asGLFormat()
95 SkASSERT(ycbcrInfo.isValid()); in MakeVk()
109 if (fVk.fYcbcrConversionInfo.isValid() && fVk.fYcbcrConversionInfo.fExternalFormat) { in GrBackendFormat()
116 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in asVkFormat()
124 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in getVkYcbcrConversionInfo()
140 if (this->isValid() && GrBackendApi::kDawn == fBackend) { in asDawnFormat()
157 if (this->isValid() && GrBackendApi::kMetal == fBackend) { in asMtlFormat()
173 if (this->isValid() && GrBackendApi::kMock == fBackend) { in asMockColorType()
182 if (ycbcrInfo->isValid()) { in makeTexture2D()
376 if (this->isValid() && GrBackendApi::kOpenGL == fBackend) { in cleanup()
[all …]
DGrResourceCache.cpp162 if (resource->resourcePriv().getScratchKey().isValid() && in insertResource()
163 !resource->getUniqueKey().isValid()) { in insertResource()
193 if (resource->resourcePriv().getScratchKey().isValid() && in removeResource()
194 !resource->getUniqueKey().isValid()) { in removeResource()
197 if (resource->getUniqueKey().isValid()) { in removeResource()
286 SkASSERT(!resource->getUniqueKey().isValid() && in operator ()()
287 resource->resourcePriv().getScratchKey().isValid()); in operator ()()
301 SkASSERT(scratchKey.isValid()); in findAndRefScratchResource()
332 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey()
333 if (!resource->getUniqueKey().isValid()) { in willRemoveScratchKey()
[all …]
/third_party/flutter/skia/src/gpu/gradients/generated/
DGrUnrolledBinaryGradientColorizer.cpp143 scale2_3Var.isValid() ? args.fUniformHandler->getUniformCStr(scale2_3Var) in emitCode()
145 bias2_3Var.isValid() ? args.fUniformHandler->getUniformCStr(bias2_3Var) in emitCode()
148 scale4_5Var.isValid() ? args.fUniformHandler->getUniformCStr(scale4_5Var) in emitCode()
150 bias4_5Var.isValid() ? args.fUniformHandler->getUniformCStr(bias4_5Var) in emitCode()
152 scale6_7Var.isValid() ? args.fUniformHandler->getUniformCStr(scale6_7Var) in emitCode()
154 bias6_7Var.isValid() ? args.fUniformHandler->getUniformCStr(bias6_7Var) in emitCode()
165 scale8_9Var.isValid() ? args.fUniformHandler->getUniformCStr(scale8_9Var) in emitCode()
167 bias8_9Var.isValid() ? args.fUniformHandler->getUniformCStr(bias8_9Var) in emitCode()
169 scale10_11Var.isValid() ? args.fUniformHandler->getUniformCStr(scale10_11Var) in emitCode()
171 bias10_11Var.isValid() ? args.fUniformHandler->getUniformCStr(bias10_11Var) in emitCode()
[all …]
/third_party/skia/src/gpu/
DGrBackendSurface.cpp108 if (this->isValid() && GrBackendApi::kOpenGL == fBackend) { in asGLFormat()
118 SkASSERT(ycbcrInfo.isValid()); in MakeVk()
129 if ((fVk.fYcbcrConversionInfo.isValid() && fVk.fYcbcrConversionInfo.fExternalFormat) || in GrBackendFormat()
137 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in asVkFormat()
145 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in getVkYcbcrConversionInfo()
162 if (this->isValid() && GrBackendApi::kDawn == fBackend) { in asDawnFormat()
179 if (this->isValid() && GrBackendApi::kMetal == fBackend) { in asMtlFormat()
196 if (this->isValid() && GrBackendApi::kDirect3D == fBackend) { in asDxgiFormat()
216 if (!this->isValid()) { in channelMask()
249 if (!this->isValid()) { in desc()
[all …]
DGrYUVATextureProxies.cpp35 SkASSERT(!this->isValid()); in GrYUVATextureProxies()
42 SkASSERT(!this->isValid()); in GrYUVATextureProxies()
50 SkASSERT(!this->isValid()); in GrYUVATextureProxies()
57 SkASSERT(!this->isValid()); in GrYUVATextureProxies()
66 SkASSERT(this->isValid()); in GrYUVATextureProxies()
77 SkASSERT(!this->isValid()); in GrYUVATextureProxies()
87 SkASSERT(!this->isValid()); in GrYUVATextureProxies()
98 SkASSERT(!this->isValid()); in GrYUVATextureProxies()
116 SkASSERT(!this->isValid()); in GrYUVATextureProxies()
125 SkASSERT(this->isValid()); in GrYUVATextureProxies()
DGrYUVABackendTextures.cpp30 if (!yuvaInfo.isValid()) { in GrYUVABackendTextureInfo()
32 SkASSERT(!this->isValid()); in GrYUVABackendTextureInfo()
37 if (!formats[i].isValid() || formats[i].backend() != formats[0].backend()) { in GrYUVABackendTextureInfo()
39 SkASSERT(!this->isValid()); in GrYUVABackendTextureInfo()
47 SkASSERT(!this->isValid()); in GrYUVABackendTextureInfo()
51 SkASSERT(this->isValid()); in GrYUVABackendTextureInfo()
83 if (!fYUVAInfo.isValid()) { in GrYUVABackendTextures()
90 if (!textures[i].isValid() || in GrYUVABackendTextures()
/third_party/skia/tests/
DDescriptorTest.cpp25 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
36 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
40 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
51 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
55 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
69 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
73 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
84 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
95 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
98 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
[all …]
DDeferredDisplayListTest.cpp196 if (!backendFormat.isValid()) { in createCharacterization()
212 SkAssertResult(c.isValid()); in createDDL()
240 if (!backendRT.isValid()) { in make()
283 SkASSERT(!c.isValid()); in make()
289 if (texture.isValid()) { in make()
292 SkASSERT(c.isValid()); in make()
343 if (!char1.isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
352 if (!char2.isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
368 SkASSERT(valid.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
371 SkASSERT(!inval1.isValid() && !inval2.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/third_party/skia/src/core/
DSkTLazy.h30 if (that.isValid()) {
39 if (that.isValid()) {
66 if (this->isValid()) { in set()
75 if (this->isValid()) { in set()
87 if (this->isValid()) { in reset()
97 bool isValid() const { return SkToBool(fPtr); } in isValid() function
103 T* get() const { SkASSERT(this->isValid()); return fPtr; } in get()
156 fObj = fLazy.isValid() ? fLazy.get() : that.fObj;
162 fObj = fLazy.isValid() ? fLazy.get() : that.fObj;
169 SkASSERT(!fLazy.isValid()); in init()
[all …]
DSkYUVAPixmaps.cpp23 GrRenderable::kNo).isValid()) { in SupportedDataTypes()
27 GrRenderable::kNo).isValid()) { in SupportedDataTypes()
31 GrRenderable::kNo).isValid()) { in SupportedDataTypes()
35 GrRenderable::kNo).isValid()) { in SupportedDataTypes()
82 if (!yuvaInfo.isValid()) { in SkYUVAPixmapInfo()
84 SkASSERT(!this->isValid()); in SkYUVAPixmapInfo()
113 SkASSERT(!this->isValid()); in SkYUVAPixmapInfo()
115 SkASSERT(this->isValid()); in SkYUVAPixmapInfo()
140 if (!this->isValid()) { in computeTotalBytes()
151 if (!this->isValid()) { in initPixmapsFromSingleAllocation()
[all …]
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java44 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload")); in testIsValid()
45 assertFalse(FieldMaskUtil.isValid(NestedTestAllTypes.class, "nonexist")); in testIsValid()
46 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.optional_int32")); in testIsValid()
47 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.repeated_int32")); in testIsValid()
48 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.optional_nested_message")); in testIsValid()
49 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.repeated_nested_message")); in testIsValid()
50 assertFalse(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.nonexist")); in testIsValid()
53 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("payload"))); in testIsValid()
55 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("nonexist"))); in testIsValid()
57 FieldMaskUtil.isValid( in testIsValid()
[all …]
/third_party/flutter/skia/src/core/
DSkTLazy.h30 if (that.isValid()) {
39 if (that.isValid()) {
66 if (this->isValid()) { in set()
75 if (this->isValid()) { in set()
87 if (this->isValid()) { in reset()
97 bool isValid() const { return SkToBool(fPtr); } in isValid() function
103 T* get() const { SkASSERT(this->isValid()); return fPtr; } in get()
156 fObj = fLazy.isValid() ? fLazy.get() : that.fObj;
162 fObj = fLazy.isValid() ? fLazy.get() : that.fObj;
169 SkASSERT(!fLazy.isValid()); in init()
[all …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/test/
Deventpair_test.dart15 expect(pair.first.isValid, isTrue);
16 expect(pair.second.isValid, isTrue);
22 expect(pair.first.isValid, isTrue);
23 expect(pair.second.isValid, isTrue);
25 expect(pair.first.duplicate(ZX.RIGHT_SAME_RIGHTS).isValid, isTrue);
26 expect(pair.second.duplicate(ZX.RIGHT_SAME_RIGHTS).isValid, isTrue);
32 expect(pair.first.isValid, isFalse);
33 expect(pair.second.isValid, isTrue);
36 expect(pair.second.isValid, isFalse);
Dhandle_test.dart12 expect(pair.first.isValid, isTrue);
13 expect(pair.second.isValid, isTrue);
16 expect(duplicate.isValid, isTrue);
19 expect(failedDuplicate.isValid, isFalse);
25 expect(duplicate.isValid, isFalse);
/third_party/flutter/skia/tests/
DDescriptorTest.cpp25 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
37 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
41 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
53 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
57 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
72 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
76 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
88 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
101 REPORTER_ASSERT(r, !desc->isValid()); in DEF_TEST()
104 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST()
/third_party/skia/third_party/externals/swiftshader/tests/SystemUnitTests/
Dunittests.cpp31 ASSERT_FALSE(memfd.isValid()); in TEST()
39 ASSERT_TRUE(memfd.isValid()); in TEST()
50 ASSERT_FALSE(memfd.isValid()); in TEST()
53 ASSERT_TRUE(memfd.isValid()); in TEST()
60 ASSERT_TRUE(memfd.isValid()); in TEST()
63 ASSERT_FALSE(memfd.isValid()); in TEST()
84 ASSERT_TRUE(memfd2.isValid()); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCRegisterInfo.h209 assert(isValid() && "Cannot move off the end of the list."); in advance()
217 bool isValid() const { return List; } in isValid() function
623 bool isValid() const { return SRIter.isValid(); } in isValid() function
650 for (MCSuperRegIterator I(RegA, this); I.isValid(); ++I) in isSuperRegister()
719 bool isValid() const { return RUIter.isValid(); } in isValid() function
757 bool isValid() const { in isValid() function
763 assert(isValid() && "Cannot move off the end of the list.");
787 for (RI = MCRegUnitIterator(Reg, MCRI); RI.isValid(); ++RI) { in MCRegAliasIterator()
788 for (RRI = MCRegUnitRootIterator(*RI, MCRI); RRI.isValid(); ++RRI) { in MCRegAliasIterator()
789 for (SI = MCSuperRegIterator(*RRI, MCRI, true); SI.isValid(); ++SI) { in MCRegAliasIterator()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSMLoc.h30 bool isValid() const { return Ptr != nullptr; } in isValid() function
56 assert(Start.isValid() == End.isValid() && in SMRange()
60 bool isValid() const { return Start.isValid(); } in isValid() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSMLoc.h29 bool isValid() const { return Ptr != nullptr; } in isValid() function
55 assert(Start.isValid() == End.isValid() && in SMRange()
59 bool isValid() const { return Start.isValid(); } in isValid() function
/third_party/flutter/skia/src/gpu/effects/generated/
DGrRectBlurEffect.cpp52 rectFVar.isValid() ? args.fUniformHandler->getUniformCStr(rectFVar) : "float4(0)", in emitCode()
53 rectFVar.isValid() ? args.fUniformHandler->getUniformCStr(rectFVar) : "float4(0)", in emitCode()
54 rectHVar.isValid() ? args.fUniformHandler->getUniformCStr(rectHVar) : "half4(0)", in emitCode()
55 rectHVar.isValid() ? args.fUniformHandler->getUniformCStr(rectHVar) : "half4(0)"); in emitCode()
64 rectFVar.isValid() ? args.fUniformHandler->getUniformCStr(rectFVar) : "float4(0)", in emitCode()
65 rectFVar.isValid() ? args.fUniformHandler->getUniformCStr(rectFVar) : "float4(0)", in emitCode()
66 rectHVar.isValid() ? args.fUniformHandler->getUniformCStr(rectHVar) : "half4(0)"); in emitCode()
75 rectHVar.isValid() ? args.fUniformHandler->getUniformCStr(rectHVar) : "half4(0)"); in emitCode()
/third_party/flutter/skia/src/sksl/
DSkSLFileOutputStream.h27 bool isValid() const override { in isValid() function
33 if (isValid()) { in write8()
42 if (isValid()) { in writeText()
50 if (isValid()) { in write()
60 if (isValid() && fclose(fFile)) { in close()
/third_party/skia/src/sksl/
DSkSLFileOutputStream.h29 bool isValid() const override { in isValid() function
35 if (isValid()) { in write8()
44 if (isValid()) { in writeText()
52 if (isValid()) { in write()
62 if (isValid() && fclose(fFile)) { in close()
/third_party/skia/modules/svg/src/
DSkSVGFe.cpp21 const auto x = fX.isValid() ? *fX : SkSVGLength(0, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
22 const auto y = fY.isValid() ? *fY : SkSVGLength(0, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
23 const auto w = fWidth.isValid() ? *fWidth : SkSVGLength(100, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
24 const auto h = fHeight.isValid() ? *fHeight : SkSVGLength(100, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
78 return SkRect::MakeXYWH(fX.isValid() ? boundaries.fLeft : defaultSubregion.fLeft, in resolveFilterSubregion()
79 fY.isValid() ? boundaries.fTop : defaultSubregion.fTop, in resolveFilterSubregion()
80 fWidth.isValid() ? boundaries.width() : defaultSubregion.width(), in resolveFilterSubregion()
81 fHeight.isValid() ? boundaries.height() : defaultSubregion.height()); in resolveFilterSubregion()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTwine.h178 assert(isValid() && "Invalid twine!"); in Twine()
184 assert(isValid() && "Invalid twine!"); in Twine()
214 bool isValid() const { in isValid() function
257 assert(isValid() && "Invalid twine!"); in Twine()
274 assert(isValid() && "Invalid twine!"); in Twine()
283 assert(isValid() && "Invalid twine!"); in Twine()
289 assert(isValid() && "Invalid twine!"); in Twine()
296 assert(isValid() && "Invalid twine!"); in Twine()
303 assert(isValid() && "Invalid twine!"); in Twine()
361 assert(isValid() && "Invalid twine!"); in Twine()
[all …]

12345678910>>...46