Home
last modified time | relevance | path

Searched refs:mangledName (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DSymbolTable.cpp50 void TType::buildMangledName(TString& mangledName) in buildMangledName() argument
53 mangledName += 'm'; in buildMangledName()
55 mangledName += 'v'; in buildMangledName()
58 case EbtFloat: mangledName += 'f'; break; in buildMangledName()
59 case EbtInt: mangledName += 'i'; break; in buildMangledName()
60 case EbtUInt: mangledName += 'u'; break; in buildMangledName()
61 case EbtBool: mangledName += 'b'; break; in buildMangledName()
62 case EbtSampler2D: mangledName += "s2"; break; in buildMangledName()
63 case EbtSampler3D: mangledName += "s3"; break; in buildMangledName()
64 case EbtSamplerCube: mangledName += "sC"; break; in buildMangledName()
[all …]
DSymbolTable.h151 mangledName(TFunction::mangleName(*name)), in TSymbol()
160 static TString unmangleName(const TString& mangledName) in unmangleName() argument
162 return TString(mangledName.c_str(), mangledName.find_first_of('(')); in unmangleName()
168 mangledName = mangledName + p.type->getMangledName(); in addParameter()
171 const TString& getMangledName() const { return mangledName; } in getMangledName()
189 TString mangledName; variable
DTypes.h84 const TString &mangledName() const in mangledName() function
/third_party/glslang/glslang/MachineIndependent/
DSymbolTable.cpp56 void TType::buildMangledName(TString& mangledName) const in buildMangledName()
59 mangledName += 'm'; in buildMangledName()
61 mangledName += 'v'; in buildMangledName()
64 case EbtFloat: mangledName += 'f'; break; in buildMangledName()
65 case EbtInt: mangledName += 'i'; break; in buildMangledName()
66 case EbtUint: mangledName += 'u'; break; in buildMangledName()
67 case EbtBool: mangledName += 'b'; break; in buildMangledName()
68 case EbtDouble: mangledName += 'd'; break; in buildMangledName()
69 case EbtFloat16: mangledName += "f16"; break; in buildMangledName()
70 case EbtInt8: mangledName += "i8"; break; in buildMangledName()
[all …]
DSymbolTable.h247 mangledName(*name + '('), in TSymbol()
268 p.type->appendMangledName(mangledName); in addParameter()
286 mangledName.insert(0, prefix); in addPrefix()
291 assert(mangledName.compare(0, prefix.size(), prefix) == 0); in removePrefix()
292 mangledName.erase(0, prefix.size()); in removePrefix()
295 virtual const TString& getMangledName() const override { return mangledName; } in getMangledName()
342 TString mangledName; variable
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTypes.cpp450 TString mangledName(1, GetSizeMangledName(primarySize, secondarySize)); in buildMangledName() local
457 mangledName += basicMangledName[0]; in buildMangledName()
458 mangledName += basicMangledName[1]; in buildMangledName()
466 mangledName += "{s"; in buildMangledName()
469 mangledName += mStructure->name().data(); in buildMangledName()
471 mangledName += mStructure->mangledFieldList(); in buildMangledName()
472 mangledName += '}'; in buildMangledName()
475 mangledName += "{i"; in buildMangledName()
476 mangledName += mInterfaceBlock->name().data(); in buildMangledName()
477 mangledName += mInterfaceBlock->mangledFieldList(); in buildMangledName()
[all …]
DStaticType.h50 char *mangledName = typeName.getName(); in BuildStaticMangledName() local
52 name.name[1] = mangledName[0]; in BuildStaticMangledName()
53 name.name[2] = mangledName[1]; in BuildStaticMangledName()
DTypes.h116 const char *mangledName) in TType() argument
132 mMangledName(mangledName) in TType()
DSymbolTable.cpp137 const ImmutableString &mangledName, in markFunctionHasPrototypeDeclaration() argument
140 TFunction *function = findUserDefinedFunction(mangledName); in markFunctionHasPrototypeDeclaration()
DSymbolTable.h267 const TFunction *markFunctionHasPrototypeDeclaration(const ImmutableString &mangledName,
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DType_test.cpp56 char *mangledName = typeName.getName(); in TEST() local
58 if (mangledName[0] != '{') in TEST()
60 if (mangledName[0] == '0') in TEST()
61 ASSERT_TRUE(uniqueNames0.insert(mangledName[1]).second); in TEST()
62 if (mangledName[0] == '1') in TEST()
63 ASSERT_TRUE(uniqueNames1.insert(mangledName[1]).second); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.cpp465 static bool eatTerm(StringRef& mangledName, const char c) { in eatTerm() argument
466 if (mangledName.front() == c) { in eatTerm()
467 drop_front(mangledName); in eatTerm()
474 static bool eatTerm(StringRef& mangledName, const char (&str)[N]) { in eatTerm() argument
475 if (mangledName.startswith(StringRef(str, N-1))) { in eatTerm()
476 drop_front(mangledName, N-1); in eatTerm()
494 static StringRef eatLengthPrefixedName(StringRef& mangledName) { in eatLengthPrefixedName() argument
495 int const Len = eatNumber(mangledName); in eatLengthPrefixedName()
496 if (Len <= 0 || static_cast<size_t>(Len) > mangledName.size()) in eatLengthPrefixedName()
498 StringRef Res = mangledName.substr(0, Len); in eatLengthPrefixedName()
[all …]
DAMDGPULibFunc.h338 virtual bool parseFuncName(StringRef &mangledName) = 0;
419 bool parseFuncName(StringRef &mangledName) override;
/third_party/skia/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp52 const char* mangledName, in appendFunctionDecl() argument
54 this->functions().appendf("%s %s(", GrGLSLTypeString(returnType), mangledName); in appendFunctionDecl()
66 const char* mangledName, in emitFunction() argument
69 this->appendFunctionDecl(returnType, mangledName, args); in emitFunction()
82 const char* mangledName, in emitFunctionPrototype() argument
84 this->appendFunctionDecl(returnType, mangledName, args); in emitFunctionPrototype()
DGrGLSLShaderBuilder.h141 const char* mangledName,
148 const char* mangledName,
186 const char* mangledName,
/third_party/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.cpp316 String mangledName = fCallbacks->getMangledName(String(decl.name()).c_str()); in functionName() local
317 fFunctionNames.insert({&decl, mangledName}); in functionName()
318 return mangledName; in functionName()
384 String mangledName = fCallbacks->getMangledName(String(var.name()).c_str()); in writeGlobalVarDeclaration() local
387 skstd::string_view(mangledName.c_str())); in writeGlobalVarDeclaration()
396 fVariableNames.insert({&var, std::move(mangledName)}); in writeGlobalVarDeclaration()
402 String mangledName = fCallbacks->getMangledName(String(type.name()).c_str()); in writeStructDefinition() local
403 String definition = "struct " + mangledName + " {\n"; in writeStructDefinition()
408 fStructNames.insert({&type, std::move(mangledName)}); in writeStructDefinition()
DSkSLMetalCodeGenerator.cpp201 "_" + function.mangledName(); in getOutParamHelper()
284 this->writeName(function.mangledName()); in getOutParamHelper()
367 this->write(function.mangledName()); in writeFunctionCall()
1880 this->writeName(f.mangledName()); in writeFunctionDeclaration()
DSkSLGLSLCodeGenerator.cpp676 this->write(function.mangledName()); in writeFunctionCall()
1015 this->write(" " + f.mangledName() + "("); in writeFunctionDeclaration()
/third_party/vk-gl-cts/scripts/opengl/
Dgen_wrapper.py69 mangledName = getMangledName(command.name),
/third_party/skia/src/sksl/ir/
DSkSLFunctionDeclaration.h92 String mangledName() const;
DSkSLFunctionDeclaration.cpp354 String FunctionDeclaration::mangledName() const { in mangledName() function in SkSL::FunctionDeclaration
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNode_util.cpp25 const ImmutableString &mangledName = TFunctionLookup::GetMangledName(name, *arguments); in LookUpBuiltInFunction() local
26 const TSymbol *symbol = symbolTable.findBuiltIn(mangledName, shaderVersion); in LookUpBuiltInFunction()
/third_party/vk-gl-cts/scripts/egl/
Dlibrary.py53 mangledName = getFunctionMemberName(command.name),
Dgtf_wrapper.py74 mangledName = "eglw" + command.name[3:],
/third_party/typescript/src/compiler/
DmoduleNameResolver.ts2592 export function getPackageNameFromTypesPackageName(mangledName: string): string {
2593 const withoutAtTypePrefix = removePrefix(mangledName, "@types/");
2594 if (withoutAtTypePrefix !== mangledName) {
2597 return mangledName;

12