Lines Matching refs:replaceToken
1581 void replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::string& st… in replaceToken() function
1680 replaceToken("SEPARATOR", search_position, separator, string); in insertElementOfList()
1687 replaceToken("LIST", search_position, "ELEMENTSEPARATORLIST", string); in insertElementOfList()
1693 replaceToken("ELEMENT", search_position, element, string); in insertElementOfList()
1709 replaceToken("SEPARATOR", search_position, separator, string); in endList()
1712 replaceToken("LIST", search_position, "", string); in endList()
4086 replaceToken("QUALIFIERS ", position, "", definition); in GetDefinition()
4090 replaceToken("QUALIFIERS", position, m_qualifiers.c_str(), definition); in GetDefinition()
4126 replaceToken("STORAGE", position, storage_str, definition); in GetDefinition()
4131 replaceToken("TYPE", position, m_builtin.GetGLSLTypeName(), definition); in GetDefinition()
4137 replaceToken("TYPE", position, m_interface->m_name.c_str(), definition); in GetDefinition()
4143 replaceToken("TYPE", position, block_definition.c_str(), definition); in GetDefinition()
4148 replaceToken("NAME", position, m_name.c_str(), definition); in GetDefinition()
4153 replaceToken("ARRAY", position, "", definition); in GetDefinition()
4160 replaceToken("ARRAY", position, buffer, definition); in GetDefinition()
4253 replaceToken("NAME", position, m_name.c_str(), definition); in GetDefinition()
4262 replaceToken("MEMBER_LIST", position, member_list, definition); in GetDefinition()
4268 replaceToken("MEMBER_DEFINITION", position, member_definition.c_str(), definition); in GetDefinition()
4272 replaceToken("MEMBER_LIST", position, "", definition); in GetDefinition()
4722 Utils::replaceToken(prefix, position, stage_prefix, name); in cloneVariableForStage()
4796 Utils::replaceToken(prefix, position, stage_prefix, name); in CloneBlockForStage()
4882 replaceToken("GLOBALS", position, globals.c_str(), interface); in GetInterfaceForStage()
4883 replaceToken("STRUCTURES", position, structures.c_str(), interface); in GetInterfaceForStage()
4884 replaceToken("UNIFORMS", position, uniforms.c_str(), interface); in GetInterfaceForStage()
4885 replaceToken("INPUTS", position, inputs.c_str(), interface); in GetInterfaceForStage()
4886 replaceToken("OUTPUTS", position, outputs.c_str(), interface); in GetInterfaceForStage()
4887 replaceToken("STORAGE", position, ssbs.c_str(), interface); in GetInterfaceForStage()
5728 Utils::replaceToken("INTERFACE", position, interface.c_str(), source); in test()
5729 Utils::replaceToken("CALCULATIONS", position, calculations.c_str(), source); in test()
5730 Utils::replaceToken("ASSIGNMENTS", position, assignments.c_str(), source); in test()
6598 Utils::replaceToken("0u", position, buffer, verification); in test()
6605 Utils::replaceToken("0u", position, "in_vs_first.x", verification); in test()
6609 Utils::replaceToken("0u", position, "31u", verification); in test()
6679 Utils::replaceToken("OUT", pass_position, out_name.c_str(), passthrough); in test()
6680 Utils::replaceToken("IN", pass_position, in_name.c_str(), passthrough); in test()
6764 Utils::replaceToken("EXPECTED", verification_position, expected.c_str(), verification); in test()
6765 Utils::replaceToken("NAME", verification_position, name.c_str(), verification); in test()
7323 Utils::replaceToken("VERSION", position, shader_version, source); in test()
7336 Utils::replaceToken("PERVERTEX", position, per_vertex, source); in test()
7339 Utils::replaceToken("INTERFACE", position, shader_interface.c_str(), source); in test()
7340 Utils::replaceToken("VERIFICATION", position, verification.c_str(), source); in test()
8303 Utils::replaceToken("CONSTANT", position, getConstantName(test_case.m_constant), source); in test()
8333 Utils::replaceToken("CONSTANT", position, getConstantName(test_case.m_constant), assignment); in test()
8341 Utils::replaceToken("ASSIGNMENT", position, assignment.c_str(), source); in test()
8490 Utils::replaceToken("MAX_TRANSFORM_FEEDBACK_BUFFERS", position, buffer, verification); in test()
8493 …Utils::replaceToken("MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS", position, buffer, verificatio… in test()
8549 Utils::replaceToken("GOHAN_DIV", position, buffer, globals); in test()
8552 Utils::replaceToken("GOTEN_DIV", position, buffer, globals); in test()
8606 Utils::replaceToken("EXPECTED_GOHAN_SUM", position, buffer, verification); in test()
8609 Utils::replaceToken("EXPECTED_GOTEN_SUM", position, buffer, verification); in test()
8737 Utils::replaceToken("BASIC_SIZE", position, buffer, globals); in test()
8740 Utils::replaceToken("TYPE_ALIGN", position, buffer, globals); in test()
8743 Utils::replaceToken("TYPE_SIZE", position, buffer, globals); in test()
8994 Utils::replaceToken("QUALIFIER", layout_position, qualifier, layout); in test()
9023 Utils::replaceToken("LAYOUT", position, layout.c_str(), source); in test()
9027 Utils::replaceToken("LAYOUT", position, "layout (std140) ", source); in test()
9426 Utils::replaceToken("OFFSET", position, buffer, source); in test()
9427 Utils::replaceToken("TYPE", position, type_name, source); in test()
9428 Utils::replaceToken("TYPE", position, type_name, source); in test()
9899 Utils::replaceToken("B_OFFSET", position, buffer, source); in test()
9900 Utils::replaceToken("B_TYPE", position, b_type_name, source); in test()
9902 Utils::replaceToken("A_OFFSET", position, buffer, source); in test()
9903 Utils::replaceToken("A_TYPE", position, a_type_name, source); in test()
9904 Utils::replaceToken("B_TYPE", position, b_type_name, source); in test()
9905 Utils::replaceToken("A_TYPE", position, a_type_name, source); in test()
10385 Utils::replaceToken("ALIGN", position, buffer, source); in test()
10386 Utils::replaceToken("TYPE", position, type_name, source); in test()
10387 Utils::replaceToken("TYPE", position, type_name, source); in test()
10709 Utils::replaceToken("BASIC_SIZE", position, buffer, globals); in test()
10712 Utils::replaceToken("TYPE_ALIGN", position, buffer, globals); in test()
10715 Utils::replaceToken("TYPE_SIZE", position, buffer, globals); in test()
11018 Utils::replaceToken("QUALIFIER", position, qualifier.c_str(), source); in test()
11022 Utils::replaceToken("QUALIFIER", position, "std140, ", source); in test()
11025 Utils::replaceToken("BINDING", position, buffer, source); in test()
11484 Utils::replaceToken("OFFSET", position, buffer, source); in test()
11485 Utils::replaceToken("TYPE", position, type_name, source); in test()
11486 Utils::replaceToken("TYPE", position, type_name, source); in test()
11860 Utils::replaceToken("B_OFFSET", position, buffer, source); in test()
11861 Utils::replaceToken("B_TYPE", position, b_type_name, source); in test()
11863 Utils::replaceToken("A_OFFSET", position, buffer, source); in test()
11864 Utils::replaceToken("A_TYPE", position, a_type_name, source); in test()
11865 Utils::replaceToken("B_TYPE", position, b_type_name, source); in test()
11866 Utils::replaceToken("A_TYPE", position, a_type_name, source); in test()
12230 Utils::replaceToken("ALIGN", position, buffer, source); in test()
12231 Utils::replaceToken("TYPE", position, type_name, source); in test()
12232 Utils::replaceToken("TYPE", position, type_name, source); in test()
12508 Utils::replaceToken("LAST_INPUT", position, buffer, globals); in test()
12511 Utils::replaceToken("LAST_OUTPUT", position, buffer, globals); in test()
12546 Utils::replaceToken("PREFIX", position, prefix_in, first_in_name); in test()
12548 Utils::replaceToken("PREFIX", position, prefix_out, first_out_name); in test()
12550 Utils::replaceToken("PREFIX", position, prefix_in, last_in_name); in test()
12552 Utils::replaceToken("PREFIX", position, prefix_out, last_out_name); in test()
12916 Utils::replaceToken("PREFIX", position, prefix_in, first_in_name); in test()
12918 Utils::replaceToken("PREFIX", position, prefix_out, first_out_name); in test()
12920 Utils::replaceToken("PREFIX", position, prefix_in, last_in_name); in test()
12922 Utils::replaceToken("PREFIX", position, prefix_out, last_out_name); in test()
13382 Utils::replaceToken("STRUCT_DEFINITION", position, struct_definition, source); in test()
13384 Utils::replaceToken("VARIABLE_DEFINITION", position, var_definition, source); in test()
13386 Utils::replaceToken("ARRAY", position, array, source); in test()
13387 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
13886 Utils::replaceToken("DIRECTION", position, direction, source); in test()
13888 Utils::replaceToken("BLOCK_DEFINITION", position, definition, source); in test()
13890 Utils::replaceToken("ARRAY", position, array, source); in test()
13891 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
14298 Utils::replaceToken("BLOCK_DEFINITION", position, block_definition, source); in test()
14300 Utils::replaceToken("DIRECTION", position, direction, source); in test()
14301 Utils::replaceToken("ARRAY", position, array, source); in test()
14302 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
14676 Utils::replaceToken("PERVERTEX", position, per_vertex, source); in test()
14695 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
14697 Utils::replaceToken("LAST", position, buffer, source); in test()
14698 Utils::replaceToken("FLAT", position, flat, source); in test()
14699 Utils::replaceToken("DIRECTION", position, direction, source); in test()
14700 Utils::replaceToken("ARRAY", position, array, source); in test()
14701 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
14715 Utils::replaceToken("PERVERTEX", position, per_vertex, source); in test()
15044 Utils::replaceToken("PREFIX", position, prefix, result); in test()
15045 Utils::replaceToken("NAME", position, name, result); in test()
15048 Utils::replaceToken("LOCATION", position, buffer, result); in test()
15051 Utils::replaceToken("COMPONENT", position, buffer, result); in test()
15062 Utils::replaceToken("LOCATION", position, location, qualifiers); in test()
15063 Utils::replaceToken("COMPONENT", position, component, qualifiers); in test()
15064 Utils::replaceToken("INTERPOLATION", position, interpolation, qualifiers); in test()
15648 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
15650 Utils::replaceToken("COMPONENT", position, buffer, source); in test()
15651 Utils::replaceToken("FLAT", position, flat, source); in test()
15652 Utils::replaceToken("DIRECTION", position, direction, source); in test()
15653 Utils::replaceToken("ARRAY", position, array, source); in test()
15654 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
16113 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
16115 Utils::replaceToken("FLAT", position, flat, source); in test()
16116 Utils::replaceToken("DIRECTION", position, direction, source); in test()
16117 Utils::replaceToken("ARRAY", position, array, source); in test()
16118 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
16525 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
16527 Utils::replaceToken("COMPONENT", position, buffer, source); in test()
16528 Utils::replaceToken("FLAT", position, flat, source); in test()
16529 Utils::replaceToken("DIRECTION", position, direction, source); in test()
16530 Utils::replaceToken("ARRAY", position, array, source); in test()
16531 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
17063 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
17065 Utils::replaceToken("COMPONENT", position, buffer, source); in test()
17066 Utils::replaceToken("DIRECTION", position, direction, source); in test()
17067 Utils::replaceToken("ARRAY", position, array, source); in test()
17068 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
17530 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
17532 Utils::replaceToken("COMPONENT", position, buffer_gohan, source); in test()
17533 Utils::replaceToken("ARRAY", position, array, source); in test()
17534 Utils::replaceToken("COMPONENT", position, buffer_goten, source); in test()
17535 Utils::replaceToken("ARRAY", position, array, source); in test()
17536 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
17936 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
17938 Utils::replaceToken("COMPONENT", position, buffer_gohan, source); in test()
17939 Utils::replaceToken("FLAT", position, flat, source); in test()
17940 Utils::replaceToken("ARRAY", position, array, source); in test()
17941 Utils::replaceToken("COMPONENT", position, buffer_goten, source); in test()
17942 Utils::replaceToken("FLAT", position, flat, source); in test()
17943 Utils::replaceToken("ARRAY", position, array, source); in test()
17944 Utils::replaceToken("VARIABLE_USE", position, l_test, source); in test()
18362 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
18364 Utils::replaceToken("COMPONENT", position, buffer_gohan, source); in test()
18365 Utils::replaceToken("FLAT", position, flat_gohan, source); in test()
18366 Utils::replaceToken("DIRECTION", position, direction, source); in test()
18367 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
18368 Utils::replaceToken("ARRAY", position, array, source); in test()
18369 Utils::replaceToken("COMPONENT", position, buffer_goten, source); in test()
18370 Utils::replaceToken("FLAT", position, flat_goten, source); in test()
18371 Utils::replaceToken("DIRECTION", position, direction, source); in test()
18372 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
18373 Utils::replaceToken("ARRAY", position, array, source); in test()
18376 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
18380 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
18381 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
18382 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
18383 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
18387 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
18388 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
18839 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
18841 Utils::replaceToken("COMPONENT", position, buffer_gohan, source); in test()
18842 Utils::replaceToken("INTERPOLATION", position, int_gohan, source); in test()
18843 Utils::replaceToken("DIRECTION", position, direction, source); in test()
18844 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
18845 Utils::replaceToken("ARRAY", position, array, source); in test()
18846 Utils::replaceToken("COMPONENT", position, buffer_goten, source); in test()
18847 Utils::replaceToken("INTERPOLATION", position, int_goten, source); in test()
18848 Utils::replaceToken("DIRECTION", position, direction, source); in test()
18849 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
18850 Utils::replaceToken("ARRAY", position, array, source); in test()
18853 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
18857 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
18858 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
18859 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
18860 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
18864 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
18865 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
19420 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
19422 Utils::replaceToken("COMPONENT", position, buffer_gohan, source); in test()
19423 Utils::replaceToken("AUX", position, aux_gohan, source); in test()
19424 Utils::replaceToken("INTERPOLATION", position, interpolation, source); in test()
19425 Utils::replaceToken("DIRECTION", position, direction, source); in test()
19426 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
19427 Utils::replaceToken("ARRAY", position, array_gohan, source); in test()
19428 Utils::replaceToken("COMPONENT", position, buffer_goten, source); in test()
19429 Utils::replaceToken("AUX", position, aux_goten, source); in test()
19430 Utils::replaceToken("INTERPOLATION", position, interpolation, source); in test()
19431 Utils::replaceToken("DIRECTION", position, direction, source); in test()
19432 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
19433 Utils::replaceToken("ARRAY", position, array_goten, source); in test()
19436 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
19440 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
19441 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
19442 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
19443 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
19447 Utils::replaceToken("TYPE", position, type_gohan_name, source); in test()
19448 Utils::replaceToken("TYPE", position, type_goten_name, source); in test()
20290 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
20292 Utils::replaceToken("ARRAY", position, array, source); in test()
21400 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
21402 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
21738 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
21740 Utils::replaceToken("SIZE", position, buffer, source); in test()
21741 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
22094 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
22096 Utils::replaceToken("ARRAY", position, array, source); in test()
22097 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
22571 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
22906 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
22910 Utils::replaceToken("SIZE", position, buffer, source); in test()
22912 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
23403 Utils::replaceToken("SIZE", position, buffer, out_interface); in test()
23743 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
23744 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
23981 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
23983 Utils::replaceToken("MAX_BUFFER", position, buffer, source); in test()
23984 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
24321 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
24323 Utils::replaceToken("MAX_SIZE", position, buffer, source); in test()
24324 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
24686 Utils::replaceToken("SIZE", position, buffer, interface); in test()
24709 Utils::replaceToken("INTERFACE", position, interface.c_str(), source); in test()
24710 Utils::replaceToken("ASSIGNMENTS", position, assignments.c_str(), source); in test()
25330 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
25332 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
25609 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
25611 Utils::replaceToken("OFFSET", position, offset, source); in test()
25612 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
25907 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
25909 Utils::replaceToken("OFFSET", position, offset, source); in test()
25910 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()
27602 Utils::replaceToken("VAR_DEFINITION", position, var_definition, source); in test()
27604 Utils::replaceToken("VARIABLE_USE", position, var_use, source); in test()