Searched refs:tokenStr (Results 1 – 5 of 5) sorted by relevance
295 const std::string tokenStr = configStr.substr(token_s, token_e-token_s); in DecodeResourceLimits() local306 if (tokenStr == "MaxLights") in DecodeResourceLimits()308 else if (tokenStr == "MaxClipPlanes") in DecodeResourceLimits()310 else if (tokenStr == "MaxTextureUnits") in DecodeResourceLimits()312 else if (tokenStr == "MaxTextureCoords") in DecodeResourceLimits()314 else if (tokenStr == "MaxVertexAttribs") in DecodeResourceLimits()316 else if (tokenStr == "MaxVertexUniformComponents") in DecodeResourceLimits()318 else if (tokenStr == "MaxVaryingFloats") in DecodeResourceLimits()320 else if (tokenStr == "MaxVertexTextureImageUnits") in DecodeResourceLimits()322 else if (tokenStr == "MaxCombinedTextureImageUnits") in DecodeResourceLimits()[all …]
189 const char* tokenStr = getSimpleTokenStr(token.getType()); in processToken() local190 if (prevIsIdentifierChar && isIdentifierChar(tokenStr[0])) in processToken()192 m_line += tokenStr; in processToken()
342 TokenStream tokenStr; in generate() local343 shader.tokenize(m_state, tokenStr); in generate()352 printer.append(tokenStr); in generate()
209 bool ContainsToken(const std::string &tokenStr, char delimiter, const std::string &token) in ContainsToken() argument219 std::string::size_type end = tokenStr.find(delimiter, start); in ContainsToken()222 end = tokenStr.length(); in ContainsToken()225 if (length == token.length() && tokenStr.compare(start, length, token) == 0) in ContainsToken()230 } while (start < tokenStr.size()); in ContainsToken()
88 bool ContainsToken(const std::string &tokenStr, char delimiter, const std::string &token);