Lines Matching defs:string
34 #include <string>
62 static void replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::string& string);
157 std::string message;
226 std::string message;
356 const std::vector<std::string>& extensions = context.getContextInfo().getExtensions();
360 std::string message = "Required extension is not supported: ";
369 /** Replace first occurance of <token> with <text> in <string> starting at <search_posistion>
371 * @param token Token string
374 * @param string String to work on
376 void Utils::replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::string& string)
380 const size_t token_position = string.find(token, search_position);
383 if (std::string::npos == token_position)
385 string.append("\n\nInvalid token: ");
386 string.append(token);
388 TCU_FAIL(string.c_str());
392 string.replace(token_position, token_length, text, text_length);
868 std::string cs_code = m_compute_shader_code;
894 std::string shader_code[N_FUNCTIONAL_TEST_SHADER_STAGES];