Lines Matching refs:std
94 static std::string convertGLTypeNameToTestName (const char* glName)
103 return std::string(glName);
108 std::ostringstream buf;
109 std::istringstream name (glName);
115 std::ostringstream token;
132 if (token.tellp() == (std::streamoff)1)
219 static std::string specializeShader(Context& context, const char* code)
222 std::map<std::string, std::string> specializationMap;
568 std::vector<std::string> feedbackTargetVaryingPath;
770 std::ostringstream buf;
772 for (std::vector<std::string>::reverse_iterator it = feedbackTargetVaryingPath.rbegin(); it != feedbackTargetVaryingPath.rend(); ++it)
839 program->addTransformFeedbackVarying(std::string(feedbackTargetVaryingName));
901 void queryResourceList (std::vector<std::string>& dst, glw::GLuint program);
902 bool verifyResourceList (const std::vector<std::string>& resourceList, const std::vector<std::string>& expectedResources);
903 bool verifyResourceIndexQuery (const std::vector<std::string>& resourceList, const std::vector<std::string>& referenceResources, glw::GLuint program);
904 bool verifyMaxNameLength (const std::vector<std::string>& referenceResourceList, glw::GLuint program);
906 static std::string genTestCaseName (ProgramInterface interface, const ResourceDefinition::Node*);
969 std::vector<std::string> resourceList;
970 std::vector<std::string> expectedResources;
993 void ResourceListTestCase::queryResourceList (std::vector<std::string>& dst, glw::GLuint program)
999 std::vector<char> buffer;
1023 dst.push_back(std::string(&buffer[0], written));
1027 bool ResourceListTestCase::verifyResourceList (const std::vector<std::string>& resourceList, const std::vector<std::string>& expectedResources)
1081 bool ResourceListTestCase::verifyResourceIndexQuery (const std::vector<std::string>& resourceList, const std::vector<std::string>& referenceResources, glw::GLuint program)
1119 const std::string queryString = referenceResources[ndx].substr(0, referenceResources[ndx].length()-3);
1145 bool ResourceListTestCase::verifyMaxNameLength (const std::vector<std::string>& resourceList, glw::GLuint program)
1169 std::string ResourceListTestCase::genTestCaseName (ProgramInterface interface, const ResourceDefinition::Node* root)
1174 std::string buf = "var";
1175 std::string prefix;
1297 std::vector<std::string> getQueryTargetResources (void) const;
1299 static std::string genTestCaseName (const ResourceDefinition::Node*);
1300 static std::string genMultilineDescription (const ResourceDefinition::Node*);
1304 std::vector<std::string> m_targetResources;
1341 m_targetResources = std::vector<std::string>();
1349 std::vector<std::string> ResourceTestCase::getQueryTargetResources (void) const
1354 std::string ResourceTestCase::genTestCaseName (const ResourceDefinition::Node* resource)
1369 std::string ResourceTestCase::genMultilineDescription (const ResourceDefinition::Node* resource)
1376 std::ostringstream buf;
1377 std::ostringstream structureDescriptor;
1378 std::string uniformType;
1388 uniformType = std::string(" ") + glu::getStorageName(storageDef->m_storage);
1420 return std::string("Querying properties of a builtin variable ") + xfbDef->m_builtinVarName;
1812 const std::vector<std::string> blockNames = getProgramInterfaceResourceList(m_program, programInterface);
1829 std::vector<std::string> activeResourceNames;
1878 std::vector<glw::GLint> activeVariableIndices (numActiveResources + 1, -1); // Allocate one extra trailing to detect wrong write lengths
1925 std::vector<char> nameBuffer;
1956 activeResourceNames[varNdx] = std::string(&nameBuffer[0], written);
1973 const std::string blockName = glu::parseVariableName(blockNames[blockNdx].c_str());
1974 std::vector<std::string> referenceList;
2064 int getBlockMinDataSize (const std::string& blockName) const;
2079 const std::vector<std::string> blockNames = getProgramInterfaceResourceList(m_program, programInterface);
2132 int InterfaceBlockDataSizeTestCase::getBlockMinDataSize (const std::string& blockFullName) const
2134 const std::string blockName = glu::parseVariableName(blockFullName.c_str());
2214 std::set<int> buffers;
2231 std::map<int,int> numBufferVars;
2247 for (std::map<int,int>::const_iterator it = numBufferVars.begin(); it != numBufferVars.end(); ++it)
2392 std::vector<glw::GLint> activeVariables;
2393 std::vector<std::string> memberNames;
2464 std::vector<char> nameBuf;
2489 memberNames.push_back(std::string(&nameBuf[0], written));
3030 const std::string targetResourceName = (isInputCase) ? ("shaderInput") : ("shaderOutput");
3129 std::vector<std::string> resourceList;
3130 std::vector<std::string> expectedResources;
3442 static void generateBufferBackedVariableAggregateTypeCases (Context& context, const ResourceDefinition::Node::SharedPtr& parentStructure, tcu::TestCaseGroup* const targetGroup, ProgramInterface interface, ProgramResourcePropFlags targetProp, glu::DataType dataType, const std::string& nameSuffix, int depth)
3504 static void generateBufferBackedArrayStrideTypeAggregateSubCases (Context& context, const ResourceDefinition::Node::SharedPtr& parentStructure, tcu::TestCaseGroup* const targetGroup, const std::string& namePrefix, ProgramInterface interface, glu::DataType type, int expandLevel)
3529 const std::string namePrefix = glu::getDataTypeName(type);
4325 const std::string setName = std::string() + pipelines[pipelineNdx].name + "_only_" + stageName;
4784 const std::string nameSuffix = (explicitBinding) ? ("_explicit_binding") : ("");
5025 addChild(new AtomicCounterReferencedByCase(m_context, (std::string() + "referenced_by_" + pipelines[pipelineNdx].name).c_str(), "", false, pipelines[pipelineNdx].flags, pipelines[pipelineNdx].flags));
5040 const std::string name = std::string() + "referenced_by_" + pipelines[pipelineNdx].name + "_only_" + stageName;