/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | SymbolTable.cpp | 50 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 …]
|
D | SymbolTable.h | 151 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
|
D | Types.h | 84 const TString &mangledName() const in mangledName() function
|
/third_party/glslang/glslang/MachineIndependent/ |
D | SymbolTable.cpp | 56 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 …]
|
D | SymbolTable.h | 247 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/ |
D | Types.cpp | 450 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 …]
|
D | StaticType.h | 50 char *mangledName = typeName.getName(); in BuildStaticMangledName() local 52 name.name[1] = mangledName[0]; in BuildStaticMangledName() 53 name.name[2] = mangledName[1]; in BuildStaticMangledName()
|
D | Types.h | 116 const char *mangledName) in TType() argument 132 mMangledName(mangledName) in TType()
|
D | SymbolTable.cpp | 137 const ImmutableString &mangledName, in markFunctionHasPrototypeDeclaration() argument 140 TFunction *function = findUserDefinedFunction(mangledName); in markFunctionHasPrototypeDeclaration()
|
D | SymbolTable.h | 267 const TFunction *markFunctionHasPrototypeDeclaration(const ImmutableString &mangledName,
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | Type_test.cpp | 56 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/ |
D | AMDGPULibFunc.cpp | 465 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 …]
|
D | AMDGPULibFunc.h | 338 virtual bool parseFuncName(StringRef &mangledName) = 0; 419 bool parseFuncName(StringRef &mangledName) override;
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLShaderBuilder.cpp | 52 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()
|
D | GrGLSLShaderBuilder.h | 141 const char* mangledName, 148 const char* mangledName, 186 const char* mangledName,
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLPipelineStageCodeGenerator.cpp | 316 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()
|
D | SkSLMetalCodeGenerator.cpp | 201 "_" + 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()
|
D | SkSLGLSLCodeGenerator.cpp | 676 this->write(function.mangledName()); in writeFunctionCall() 1015 this->write(" " + f.mangledName() + "("); in writeFunctionDeclaration()
|
/third_party/vk-gl-cts/scripts/opengl/ |
D | gen_wrapper.py | 69 mangledName = getMangledName(command.name),
|
/third_party/skia/src/sksl/ir/ |
D | SkSLFunctionDeclaration.h | 92 String mangledName() const;
|
D | SkSLFunctionDeclaration.cpp | 354 String FunctionDeclaration::mangledName() const { in mangledName() function in SkSL::FunctionDeclaration
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 25 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/ |
D | library.py | 53 mangledName = getFunctionMemberName(command.name),
|
D | gtf_wrapper.py | 74 mangledName = "eglw" + command.name[3:],
|
/third_party/typescript/src/compiler/ |
D | moduleNameResolver.ts | 2592 export function getPackageNameFromTypesPackageName(mangledName: string): string { 2593 const withoutAtTypePrefix = removePrefix(mangledName, "@types/"); 2594 if (withoutAtTypePrefix !== mangledName) { 2597 return mangledName;
|