Lines Matching defs:string

112 /** Replace all occurance of <token> with <text> in <string>
114 * @param token Token string
116 * @param string String to work on
118 void replaceToken(const GLchar* token, const GLchar* text, std::string& string)
124 while ((token_position = string.find(token, 0)) != std::string::npos)
126 string.replace(token_position, token_length, text, text_length);
707 std::string output;
711 std::vector<std::string> lines = de::splitString(output, '\n');
712 std::string input;
715 if (lines[i].find("OpName") != std::string::npos)
718 if (lines[i].find("OpMemberName") != std::string::npos)
1119 std::string spirvSource;
1122 if (spirvSource.find("OpName %enabled") == std::string::npos)
1159 std::string glslFunc;
1160 std::string glslArgs;
1161 std::string spirVFunc;
1167 FunctionMapping(EShaderTemplate shaderTemplate_, std::string glslFunc_, std::string glslArgs_,
1168 std::string spirVFunc_)
1245 const std::string strAnlgeVariants = "#version 450\n"
1254 std::string strATan = strAnlgeVariants;
1255 std::string strATan2 = strAnlgeVariants;
1318 const std::string strBitsOpsVariants = "#version 450\n"
1329 std::string strIntBits = strBitsOpsVariants;
1330 std::string strUIntBits = strBitsOpsVariants;
1481 const std::string strTextureVariants = "#version 450\n"
1491 std::string strTexture = strTextureVariants;
1492 std::string strTextureProj = strTextureVariants;
1493 std::string strTextureGather = strTextureVariants;
1587 const std::string strEmitVariants = "#version 450\n"
1598 std::string strEmit = strEmitVariants;
1599 std::string strEmitStream = strEmitVariants;
1623 const std::string strMemoryBarrierSource = "#version 450\n"
1631 std::string strMemoryBarrier = strMemoryBarrierSource;
1632 std::string strMemoryBarrierAtomicCounter = strMemoryBarrierSource;
1633 std::string strMemoryBarrierBuffer = strMemoryBarrierSource;
1634 std::string strMemoryBarrierShared = strMemoryBarrierSource;
1635 std::string strMemoryBarrierImage = strMemoryBarrierSource;
1636 std::string strGroupMemoryBarrier = strMemoryBarrierSource;
1684 std::string spirvSource;
1909 tempMappings[std::string(" ") + it->first + "("] = it->second;
2223 std::string clipNegativeVertex = m_vertex;
2224 std::string clipNegativeFragment = m_fragment;
2237 std::string perVertexFragVertex = m_vertex;
2238 std::string perVertexFragFragment = m_fragment;
2239 std::string fragCode = "vec4 coord = gl_FragCoord;\n"
2253 std::string perVertexPointVertex = m_vertex;
2254 std::string perVertexPointFragment = m_fragment;
2255 std::string pointCode = "vec2 coord = gl_PointCoord;\n"
2271 std::string tessGeomVertex = m_vertex;
2272 std::string tessGeomFragment = m_fragment;
2288 std::string multisampleVertex = m_vertex;
2289 std::string multisampleFragment = m_fragment;
2290 std::string samplingCode = "if (gl_SampleID == 0)\n"
2401 std::string spirvSource;
3434 std::string spirVSource;
3439 std::string spirVSourceCut;
3470 int SpirvValidationCapabilitiesTest::spirVCapabilityCutOff(std::string spirVSrcInput, std::string& spirVSrcOutput,
3473 std::vector<std::string> current = de::splitString(capabilities[currentCapability], ' ');
3481 std::vector<std::string> split = de::splitString(capabilities[cr], ' ');
3498 std::string searchString = std::string("OpCapability ") + toDisable[d];
3502 if (pos != std::string::npos)