Lines Matching defs:string
2142 /** Replace first occurance of <token> with <text> in <string> starting at <search_posistion>
2144 * @param token Token string
2147 * @param string String to work on
2150 std::string& string)
2154 const size_t token_position = string.find(token, search_position);
2156 string.replace(token_position, token_length, text, text_length);
2767 std::string SmokeTest::getFragmentShader(const testCase& test_case, size_t output_format_index, bool is_tested_stage)
2796 const std::string& arguments = prepareArguments(test_case);
2803 std::string fs;
2836 std::string SmokeTest::getVertexShader(const testCase& test_case, bool is_tested_stage)
2872 std::string vs;
2877 const std::string& arguments = prepareArguments(test_case);
3094 const std::string& fs = getFragmentShader(test_case, output_format_index, !test_vertex_stage);
3095 const std::string& vs = getVertexShader(test_case, test_vertex_stage);
3128 std::string SmokeTest::prepareArguments(const testCase& test_case)
3133 std::string arguments = "COORDINATESLODDERIVATIVESOFFSETSSAMPLE";
3134 const std::string& coordinates = prepareCoordinates(test_case);
3146 const std::string& derivatives_0 = prepareDerivatives(test_case, 0);
3147 const std::string& derivatives_1 = prepareDerivatives(test_case, 1);
3162 const std::string& offsets = prepareOffsets(test_case);
3176 const std::string& sample = prepareSample();
3197 std::string SmokeTest::prepareCoordinates(const testCase& test_case)
3204 std::string coordinates = "TYPE(VAL_LIST)";
3289 std::string SmokeTest::prepareDerivatives(const testCase& test_case, size_t index)
3295 std::string derivatives = "TYPE(VAL_LIST)";
3346 std::string SmokeTest::prepareOffsets(const testCase& test_case)
3352 std::string offsets = "TYPE(VAL_LIST)";
3418 std::string SmokeTest::prepareSample()
4103 const std::string& values = prepareValues(format_idx);
4104 const std::string& vs = getVertexShader(testCase(), false); /* Get blank VS */
4106 std::string fs = fs_template;
4122 std::string FunctionalTest::prepareValues(size_t format_idx)
4128 /* Prepare string */