Home
last modified time | relevance | path

Searched refs:beginsWith (Results 1 – 25 of 39) sorted by relevance

12

/third_party/vk-gl-cts/framework/delibs/decpp/
DdeStringUtil.cpp117 bool beginsWith (const std::string& s, const std::string& prefix) in beginsWith() function
176 DE_TEST_ASSERT(beginsWith("foobar", "foobar")); in StringUtil_selfTest()
177 DE_TEST_ASSERT(beginsWith("foobar", "foo")); in StringUtil_selfTest()
178 DE_TEST_ASSERT(beginsWith("foobar", "f")); in StringUtil_selfTest()
179 DE_TEST_ASSERT(beginsWith("foobar", "")); in StringUtil_selfTest()
180 DE_TEST_ASSERT(beginsWith("", "")); in StringUtil_selfTest()
181 DE_TEST_ASSERT(!beginsWith("foobar", "bar")); in StringUtil_selfTest()
182 DE_TEST_ASSERT(!beginsWith("foobar", "foobarbaz")); in StringUtil_selfTest()
183 DE_TEST_ASSERT(!beginsWith("", "foo")); in StringUtil_selfTest()
DdeStringUtil.hpp50 bool beginsWith (const std::string& s, const std::string& prefix);
/third_party/vk-gl-cts/scripts/verify/
Dverify.py94 def beginsWith (str, prefix): function
109 if beginsWith(line, "CONFORM_VERSION:"):
116 elif beginsWith(line, "PRODUCT:"):
118 elif beginsWith(line, "CPU:"):
123 elif beginsWith(line, "OS:"):
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DProgramPrelude.cpp3087 if (textureName.beginsWith("metal::depth2d<")) in BuildFuncToEmitter()
3098 if (textureName.beginsWith("metal::depthcube<")) in BuildFuncToEmitter()
3109 if (textureName.beginsWith("metal::depth2d_array<")) in BuildFuncToEmitter()
3120 if (textureName.beginsWith("metal::texture2d_array<")) in BuildFuncToEmitter()
3181 if (textureName.beginsWith("metal::depth2d<")) in BuildFuncToEmitter()
3188 if (textureName.beginsWith("metal::depth2d_array<")) in BuildFuncToEmitter()
3195 if (textureName.beginsWith("metal::depthcube<")) in BuildFuncToEmitter()
3202 if (textureName.beginsWith("metal::texturecube<")) in BuildFuncToEmitter()
3231 if (textureName.beginsWith("metal::depth2d<")) in BuildFuncToEmitter()
3238 if (textureName.beginsWith("metal::depth2d_array<")) in BuildFuncToEmitter()
[all …]
DName.cpp57 bool Name::beginsWith(const Name &prefix) const in beginsWith() function in Name
63 return mRawName.beginsWith(prefix.mRawName); in beginsWith()
89 if (mRawName.beginsWith(kAngleInternalPrefix)) in emit()
DName.h55 bool beginsWith(const Name &prefix) const;
DIdGen.cpp44 if (baseName.beginsWith(kAngleInternalPrefix)) in createNewName()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DUtilsHLSL.cpp841 if (!string.beginsWith("gl_")) in Decorate()
857 ASSERT(!name.beginsWith("f_")); in DecorateVariableIfNeeded()
858 ASSERT(!name.beginsWith("_")); in DecorateVariableIfNeeded()
879 ASSERT(!func->name().beginsWith("f_")); in DecorateFunctionIfNeeded()
880 ASSERT(!func->name().beginsWith("_")); in DecorateFunctionIfNeeded()
883 ASSERT(!func->name().beginsWith("gl_")); in DecorateFunctionIfNeeded()
DImmutableString.h65 bool beginsWith(const char *prefix) const { return angle::BeginsWith(data(), prefix); } in beginsWith() function
66 constexpr bool beginsWith(const ImmutableString &prefix) const in beginsWith() function
DSymbol.cpp222 return SymbolType() == SymbolType::BuiltIn && name().beginsWith(kAtomicCounterName); in isAtomicCounterFunction()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DImmutableString.h65 bool beginsWith(const char *prefix) const { return angle::BeginsWith(data(), prefix); } in beginsWith() function
66 constexpr bool beginsWith(const ImmutableString &prefix) const in beginsWith() function
DUtilsHLSL.cpp860 ASSERT(!name.beginsWith("f_")); in DecorateVariableIfNeeded()
861 ASSERT(!name.beginsWith("_")); in DecorateVariableIfNeeded()
882 ASSERT(!func->name().beginsWith("f_")); in DecorateFunctionIfNeeded()
883 ASSERT(!func->name().beginsWith("_")); in DecorateFunctionIfNeeded()
DSymbol.cpp252 return SymbolType() == SymbolType::BuiltIn && name().beginsWith(kAtomicCounterName); in isAtomicCounterFunction()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_data_dataAbility.js57 this.beginsWith = function (...args) { method
215 this.beginsWith = function (...args) { method
Dohos_data_dataSharePredicates.js55 this.beginsWith = function (...args) { method
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRegenerateStructNames.cpp59 if (userType->name().beginsWith(kPrefix)) in visitSymbol()
DRewriteCubeMapSamplersAs2DArray.cpp779 if (!function->name().beginsWith("textureCube")) in convertBuiltinFunction()
846 if (function->name().beginsWith("textureCubeLod")) in convertBuiltinFunction()
850 else if (function->name().beginsWith("textureCubeGrad")) in convertBuiltinFunction()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/
DRegenerateStructNames.cpp84 if (userType->name().beginsWith(kPrefix)) in visitSymbol()
/third_party/vk-gl-cts/framework/common/
DtcuStringTemplate.cpp102 else if (de::beginsWith(flagsStr, kDefaultFlag)) in specialize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp850 DE_ASSERT(de::beginsWith(fullName, "VK_FORMAT_")); in getFormatCaseName()
894 DE_ASSERT(de::beginsWith(fullName, prefix)); in getShortComponentSwizzleName()
1025 DE_ASSERT(de::beginsWith(fullName, "VK_SAMPLER_ADDRESS_")); in getAddressModesCaseName()
1041 DE_ASSERT(de::beginsWith(fullNameU, "VK_SAMPLER_ADDRESS_")); in getAddressModesCaseName()
1042 DE_ASSERT(de::beginsWith(fullNameV, "VK_SAMPLER_ADDRESS_")); in getAddressModesCaseName()
1043 DE_ASSERT(de::beginsWith(fullNameW, "VK_SAMPLER_ADDRESS_")); in getAddressModesCaseName()
DvktPipelineImageViewTests.cpp348 DE_ASSERT(de::beginsWith(fullName, "VK_FORMAT_")); in getFormatCaseName()
604 DE_ASSERT(de::beginsWith(fullName, "VK_COMPONENT_SWIZZLE_")); in getComponentSwizzleCaseName()
DvktPipelineDepthTests.cpp837 DE_ASSERT(de::beginsWith(fullName, "VK_FORMAT_")); in getFormatCaseName()
850 DE_ASSERT(de::beginsWith(fullOpName, "VK_COMPARE_OP_")); in getCompareOpsName()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp759 if (!function->name().beginsWith("textureCube")) in convertBuiltinFunction()
828 if (function->name().beginsWith("textureCubeLod")) in convertBuiltinFunction()
833 else if (function->name().beginsWith("textureCubeGrad")) in convertBuiltinFunction()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkShaderToSpirV.cpp232 if (de::beginsWith(src, "#version")) in getShaderStageSource()
/third_party/vk-gl-cts/modules/glshared/
DglsFboUtil.cpp188 if (de::beginsWith(extension, "GL_")) in checkExtensionSupport()
209 if (de::beginsWith(extension, "GL_")) in getExtensionDescription()

12