• Home
  • Raw
  • Download

Lines Matching refs:m_curTokenStr

432 	std::string					m_curTokenStr;  member in glu::sl::ShaderParser
571 m_curPtr += m_curTokenStr.length(); in advanceToken()
575 m_curTokenStr = ""; in advanceToken()
596 m_curTokenStr = "<EOF>"; in advanceToken()
661 m_curTokenStr = string(m_curPtr, end - m_curPtr); in advanceToken()
667 if (m_curTokenStr == s_named[ndx].str) in advanceToken()
697 m_curTokenStr = string(m_curPtr, p - m_curPtr); in advanceToken()
702 m_curTokenStr = string(m_curPtr, p - m_curPtr); in advanceToken()
723 m_curTokenStr = string(m_curPtr, (int)(p - m_curPtr)); in advanceToken()
744 m_curTokenStr = string(m_curPtr, (int)(p - m_curPtr)); in advanceToken()
776 m_curTokenStr = s_simple[ndx].str; in advanceToken()
783 m_curTokenStr = *m_curPtr; in advanceToken()
796 …parseError((string("unexpected token '") + m_curTokenStr + "', expecting '" + getTokenName(token) … in assumeToken()
924 parseError(std::string() + "invalid shader stage name, got " + m_curTokenStr); in getShaderStageLiteralFlag()
978 elems[scalarNdx].float32 = signMult * parseFloatLiteral(m_curTokenStr.c_str()); in parseValueElement()
991 elems[scalarNdx].int32 = signMult * parseIntLiteral(m_curTokenStr.c_str()); in parseValueElement()
999 parseError(string("unexpected token, expecting bool: " + m_curTokenStr)); in parseValueElement()
1038 parseError(string("unexpected token when parsing value data type: " + m_curTokenStr)); in parseValue()
1045 valueName = m_curTokenStr; in parseValue()
1047 valueName = parseStringLiteral(m_curTokenStr.c_str()); in parseValue()
1050 parseError(string("unexpected token when parsing value name: " + m_curTokenStr)); in parseValue()
1083 parseError(string("unexpected token in value element array: " + m_curTokenStr)); in parseValue()
1109 parseError(string("unexpected token when parsing a value block: " + m_curTokenStr)); in parseValueBlock()
1137 parseError(string("stage already set in the shader stage set: " + m_curTokenStr)); in parseShaderStageList()
1143 parseError(string("invalid shader stage set token: " + m_curTokenStr)); in parseShaderStageList()
1157 if (m_curTokenStr == "extension") in parseRequirement()
1168 anyExtensionStringList.push_back(parseStringLiteral(m_curTokenStr.c_str())); in parseRequirement()
1180 anyExtensionStringList.push_back(parseStringLiteral(m_curTokenStr.c_str())); in parseRequirement()
1184 parseError(string("invalid extension list token: " + m_curTokenStr)); in parseRequirement()
1196 else if (m_curTokenStr == "limit") in parseRequirement()
1204 limitEnum = getGLEnumFromName(parseStringLiteral(m_curTokenStr.c_str())); in parseRequirement()
1211 limitValue = parseIntLiteral(m_curTokenStr.c_str()); in parseRequirement()
1216 else if (m_curTokenStr == "full_glsl_es_100_support") in parseRequirement()
1223 parseError(string("invalid requirement value: " + m_curTokenStr)); in parseRequirement()
1230 if (m_curTokenStr == "pass") in parseExpectResult()
1232 else if (m_curTokenStr == "compile_fail") in parseExpectResult()
1234 else if (m_curTokenStr == "link_fail") in parseExpectResult()
1236 else if (m_curTokenStr == "compile_or_link_fail") in parseExpectResult()
1238 else if (m_curTokenStr == "validation_fail") in parseExpectResult()
1240 else if (m_curTokenStr == "build_successful") in parseExpectResult()
1243 parseError(string("invalid expected result value: " + m_curTokenStr)); in parseExpectResult()
1254 versionNum = parseIntLiteral(m_curTokenStr.c_str()); in parseGLSLVersion()
1259 postfix = m_curTokenStr; in parseGLSLVersion()
1317 source = parseShaderSource(m_curTokenStr.c_str()); in parsePipelineProgram()
1332 parseError(string("invalid pipeline program value: " + m_curTokenStr)); in parsePipelineProgram()
1347 string caseName = m_curTokenStr; in parseShaderCase()
1375 description = parseStringLiteral(m_curTokenStr.c_str()); in parseShaderCase()
1402 source = parseShaderSource(m_curTokenStr.c_str()); in parseShaderCase()
1443 parseError(string("unexpected token while parsing shader case: " + m_curTokenStr)); in parseShaderCase()
1571 string name = m_curTokenStr; in parseShaderGroup()
1576 string description = parseStringLiteral(m_curTokenStr.c_str()); in parseShaderGroup()
1593 parseError(string("unexpected token while parsing shader group: " + m_curTokenStr)); in parseShaderGroup()
1610 importFileName = parseStringLiteral(m_curTokenStr.c_str()); in parseImport()
1634 m_curTokenStr = ""; in parse()
1652 parseError(string("invalid token encountered at main level: '") + m_curTokenStr + "'"); in parse()