Home
last modified time | relevance | path

Searched refs:NewPoolTString (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DInitialize.cpp447 …TField *near = new TField(new TType(EbtFloat, EbpHigh, EvqGlobal, 1), NewPoolTString("near"), zero… in InsertBuiltInFunctions()
448 …TField *far = new TField(new TType(EbtFloat, EbpHigh, EvqGlobal, 1), NewPoolTString("far"), zeroSo… in InsertBuiltInFunctions()
449 …TField *diff = new TField(new TType(EbtFloat, EbpHigh, EvqGlobal, 1), NewPoolTString("diff"), zero… in InsertBuiltInFunctions()
453 TStructure *depthRangeStruct = new TStructure(NewPoolTString("gl_DepthRangeParameters"), fields); in InsertBuiltInFunctions()
456 TVariable *depthRange = new TVariable(NewPoolTString("gl_DepthRange"), TType(depthRangeStruct)); in InsertBuiltInFunctions()
488 …symbolTable.insert(COMMON_BUILTINS, new TVariable(NewPoolTString("gl_FragCoord"), TType(EbtFloat, … in IdentifyBuiltIns()
489 …symbolTable.insert(COMMON_BUILTINS, new TVariable(NewPoolTString("gl_FrontFacing"), TType(EbtBool,… in IdentifyBuiltIns()
490 …symbolTable.insert(COMMON_BUILTINS, new TVariable(NewPoolTString("gl_PointCoord"), TType(EbtFloat,… in IdentifyBuiltIns()
491 …symbolTable.insert(ESSL1_BUILTINS, new TVariable(NewPoolTString("gl_FragColor"), TType(EbtFloat, E… in IdentifyBuiltIns()
492 …symbolTable.insert(ESSL1_BUILTINS, new TVariable(NewPoolTString("gl_FragData[gl_MaxDrawBuffers]"),… in IdentifyBuiltIns()
[all …]
Dglslang.l255 yylval->lex.string = NewPoolTString(yytext);
265 yylval->lex.string = NewPoolTString(yytext);
325 yylval->lex.string = NewPoolTString(yytext);
394 yylval->lex.string = NewPoolTString(yytext);
477 yylval->lex.string = NewPoolTString(yytext); in ES2_identifier_ES3_keyword()
DCommon.h51 inline TString* NewPoolTString(const char* s) in NewPoolTString() function
DSymbolTable.cpp283 name = NewPoolTString(copyOf.name->c_str()); in TSymbol()
Dglslang_lex.cpp2024 yylval->lex.string = NewPoolTString(yytext);
2036 yylval->lex.string = NewPoolTString(yytext);
2091 yylval->lex.string = NewPoolTString(yytext);
2327 yylval->lex.string = NewPoolTString(yytext);
3709 yylval->lex.string = NewPoolTString(yytext); in ES2_identifier_ES3_keyword()
DSymbolTable.h348 …TVariable *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr… in insertConstInt()
406 TFunction *function = new TFunction(NewPoolTString(name), *rvalue, op, ext);
DTypes.h457 mangled = NewPoolTString(""); in getMangledName()
Dglslang.y1330 $$ = context->addStructure(@1, @1, NewPoolTString(""), $4);
Dglslang_tab.cpp4318 …(yyval.interm.type) = context->addStructure((yylsp[-4]), (yylsp[-4]), NewPoolTString(""), (yyvsp[-… in yyparse()
DParseHelper.cpp2055 …TFunction *unmangledFunction = new TFunction(NewPoolTString(function->getName().c_str()), function… in parseFunctionDeclarator()
/third_party/glslang/glslang/MachineIndependent/
DScan.h68 loc[i].name = names[i] != nullptr ? NewPoolTString(names[i]) : nullptr; in numSources()
173 TString* fn_tstr = NewPoolTString(filename); in setFile()
180 TString* fn_tstr = NewPoolTString(filename); in setFile()
DParseContextBase.cpp614 … TType blockType(new TTypeList, *NewPoolTString(getGlobalUniformBlockName()), blockQualifier); in growGlobalUniformBlock()
616 globalUniformBlock = new TVariable(NewPoolTString(""), blockType, true); in growGlobalUniformBlock()
682 TType blockType(new TTypeList, *NewPoolTString(charBuffer), blockQualifier); in growAtomicCounterBlock()
685 atomicCounterBuffer = new TVariable(NewPoolTString(""), blockType, true); in growAtomicCounterBlock()
DSymbolTable.h97 changeName(NewPoolTString(newName.c_str())); in addPrefix()
226 name = NewPoolTString(param.name->c_str()); in copyParam()
278 TParameter p = { NewPoolTString(name), new TType, nullptr }; in addThisParameter()
430 symbol.changeName(NewPoolTString(buf));
759 container->changeName(NewPoolTString("")); in copyUpDeferredInsert()
DSymbolTable.cpp345 name = NewPoolTString(copyOf.name->c_str()); in TSymbol()
440 container->changeName(NewPoolTString("")); in clone()
DScan.cpp896 …case PpAtomConstString: parserToken->sType.lex.string = NewPoolTString(tokenText); retu… in tokenize()
1840 parserToken->sType.lex.string = NewPoolTString(tokenText); in identifierOrType()
DParseHelper.h172 name = NewPoolTString(intermediate.getEntryPointName().c_str()); in renameShaderFunction()
DParseHelper.cpp7537 …TString& structMemberName = *NewPoolTString(path.c_str()); // A copy is required due to declareVar… in vkRelaxedRemapUniformMembers()
7551 TString* memberName = NewPoolTString(path.c_str()); in vkRelaxedRemapFunctionParameter()
7616 TParameter param = { NewPoolTString(accessChainTraverser.path.c_str()), new TType }; in vkRelaxedRemapFunctionArgument()
7898 TString* nameString = NewPoolTString(name); in makeInternalVariable()
9066 instanceName = NewPoolTString(""); in declareBlock()
Dglslang.y563 TString* empty = NewPoolTString("");
DInitialize.cpp10234 symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData)); in identifyBuiltIns()
/third_party/glslang/glslang/Include/
DTypes.h1591 typeName = NewPoolTString(p.userDef->getTypeName().c_str()); in TType()
1686 typeName = NewPoolTString(n.c_str()); in TType()
1695 typeName = NewPoolTString(n.c_str()); in TType()
1704 typeName = NewPoolTString(n.c_str()); in TType()
1770 virtual void setFieldName(const TString& n) { fieldName = NewPoolTString(n.c_str()); } in setFieldName()
2838 fieldName = NewPoolTString(copyOf.fieldName->c_str()); in deepCopy()
2840 typeName = NewPoolTString(copyOf.typeName->c_str()); in deepCopy()
DCommon.h146 inline TString* NewPoolTString(const char* s)
/third_party/glslang/glslang/HLSL/
DhlslScanContext.cpp644 parserToken->string = NewPoolTString(tokenText); in tokenizeClass()
1048 parserToken->string = NewPoolTString(tokenText); in identifierOrType()
DhlslGrammar.cpp100 idToken.string = NewPoolTString(intermediate.implicitThisName); in acceptIdentifier()
115 token.string = NewPoolTString(idString); in acceptIdentifier()
3412 fullName = NewPoolTString(fullName->c_str()); in acceptPostfixExpression()
3560 functionName = NewPoolTString(BUILTIN_PREFIX); in acceptFunctionCall()
3567 functionName = NewPoolTString(""); in acceptFunctionCall()
DhlslParseHelper.cpp2233 TString* invocationIdName = NewPoolTString("InvocationId"); in transformEntryPoint()
3440 TString* blockName = NewPoolTString(intermediate.addCounterBufferName(name).c_str()); in declareStructBufferCounter()
4845 TVariable* variable = new TVariable(NewPoolTString(name), type); in decomposeIntrinsic()
8081 TString* nameString = NewPoolTString(name); in makeInternalVariable()
8918 instanceName = NewPoolTString(""); in declareBlock()
9437 TVariable& thisVariable = *new TVariable(NewPoolTString(""), thisStruct); in pushThisScope()
9484 TString* fullName = NewPoolTString(currentTypePrefix.back().c_str()); in getFullNamespaceName()
10002 TString* invocationIdName = NewPoolTString("InvocationId"); in addPatchConstantInvocation()
/third_party/glslang/
DREADME.md523 - it is a `TString`, in which case call `NewPoolTString()`, which gets

12