Home
last modified time | relevance | path

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

12

/external/deqp/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);
/external/eigen/bench/btl/generic_bench/
Dbtl.hh118 bool beginsWith(const BtlString& str) const in beginsWith() function in BtlString
176 if (config[i].beginsWith("-a")) in BtlConfig()
187 else if (config[i].beginsWith("-t")) in BtlConfig()
198 else if (config[i].beginsWith("--overwrite")) in BtlConfig()
202 else if (config[i].beginsWith("--nocheck")) in BtlConfig()
206 else if (config[i].beginsWith("--real")) in BtlConfig()
/external/deqp/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:"):
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DProgramPrelude.cpp3054 if (textureName.beginsWith("metal::depth2d<")) in BuildFuncToEmitter()
3065 if (textureName.beginsWith("metal::depthcube<")) in BuildFuncToEmitter()
3076 if (textureName.beginsWith("metal::depth2d_array<")) in BuildFuncToEmitter()
3087 if (textureName.beginsWith("metal::texture2d_array<")) in BuildFuncToEmitter()
3148 if (textureName.beginsWith("metal::depth2d<")) in BuildFuncToEmitter()
3155 if (textureName.beginsWith("metal::depth2d_array<")) in BuildFuncToEmitter()
3162 if (textureName.beginsWith("metal::depthcube<")) in BuildFuncToEmitter()
3169 if (textureName.beginsWith("metal::texturecube<")) in BuildFuncToEmitter()
3198 if (textureName.beginsWith("metal::depth2d<")) in BuildFuncToEmitter()
3205 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()
78 if (mRawName.beginsWith(kAngleInternalPrefix)) in emit()
DName.h55 bool beginsWith(const Name &prefix) const;
DIdGen.cpp44 if (baseName.beginsWith(kAngleInternalPrefix)) in createNewName()
DRewriteKeywords.cpp263 if (name.beginsWith(kAngleInternalPrefix)) in needsRenamingImpl()
/external/angle/src/compiler/translator/
DUtilsHLSL.cpp842 if (!string.beginsWith("gl_")) in Decorate()
858 ASSERT(!name.beginsWith("f_")); in DecorateVariableIfNeeded()
859 ASSERT(!name.beginsWith("_")); in DecorateVariableIfNeeded()
880 ASSERT(!func->name().beginsWith("f_")); in DecorateFunctionIfNeeded()
881 ASSERT(!func->name().beginsWith("_")); in DecorateFunctionIfNeeded()
884 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.cpp251 return SymbolType() == SymbolType::BuiltIn && name().beginsWith(kAtomicCounterName); in isAtomicCounterFunction()
DValidateAST.cpp315 if (variable->name().beginsWith("gl_")) in variableNeedsDeclaration()
/external/angle/src/compiler/translator/tree_ops/gl/
DRegenerateStructNames.cpp84 if (userType->name().beginsWith(kPrefix)) in visitSymbol()
/external/deqp/framework/common/
DtcuStringTemplate.cpp98 else if (de::beginsWith(flagsStr, kDefaultFlag)) in specialize()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp849 DE_ASSERT(de::beginsWith(fullName, "VK_FORMAT_")); in getFormatCaseName()
893 DE_ASSERT(de::beginsWith(fullName, prefix)); in getShortComponentSwizzleName()
1024 DE_ASSERT(de::beginsWith(fullName, "VK_SAMPLER_ADDRESS_")); in getAddressModesCaseName()
1040 DE_ASSERT(de::beginsWith(fullNameU, "VK_SAMPLER_ADDRESS_")); in getAddressModesCaseName()
1041 DE_ASSERT(de::beginsWith(fullNameV, "VK_SAMPLER_ADDRESS_")); in getAddressModesCaseName()
1042 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()
DvktPipelineImageTests.cpp402 DE_ASSERT(de::beginsWith(fullName, "VK_FORMAT_")); in getFormatCaseName()
/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp756 if (!function->name().beginsWith("textureCube")) in convertBuiltinFunction()
825 if (function->name().beginsWith("textureCubeLod")) in convertBuiltinFunction()
830 else if (function->name().beginsWith("textureCubeGrad")) in convertBuiltinFunction()
/external/deqp/external/vulkancts/framework/vulkan/
DvkShaderToSpirV.cpp230 if (de::beginsWith(src, "#version")) in getShaderStageSource()
/external/deqp/modules/glshared/
DglsFboUtil.cpp188 if (de::beginsWith(extension, "GL_")) in checkExtensionSupport()
209 if (de::beginsWith(extension, "GL_")) in getExtensionDescription()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp644 if (!de::beginsWith(m_xfbVaryings[ndx], "gl_")) in isValid()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp303 if (originSymbol->getName().beginsWith("gl_LastFragData")) in GetBasicTypeForSubpassInput()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp951 DE_ASSERT(de::beginsWith(fullName, "VK_FORMAT_")); in getFormatShortString()

12