/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fBufferTestUtil.cpp | 65 using std::string; 216 throw tcu::TestError(string("Got ") + glu::getErrorStr(err).toString()); in checkError() 453 string imageSetDesc = string("Bytes ") + de::toString(offset+curOffset) + " to " + de::toString(offset+curOffset+numBytesToVerify-1); 614 string imageSetDesc = string("Bytes ") + de::toString(offset+curOffset) + " to " + de::toString(offset+curOffset+numBytesToVerify-1);
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fASTCDecompressionCases.cpp | 58 #include <string> 73 using std::string; 90 // Get a string describing the data of an ASTC block. Currently contains just hex and bin dumps of the block. 91 static string astcBlockDataStr (const deUint8* data) in astcBlockDataStr() 93 string result; in astcBlockDataStr() 204 const vector<string>& extensions = contextInfo.getExtensions(); in getASTCSupportLevel() 210 const string& ext = extensions[extNdx]; in getASTCSupportLevel()
|
H A D | es3fDefaultVertexAttributeTests.cpp | 253 std::string genVertexSource (void) const; 293 (std::string("Test ") + LoaderType::getName()).c_str(), in create() 400 std::string AttributeCase::genVertexSource (void) const in genVertexSource() 608 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, floatTargets[targetNdx].name, (std::string("test with ") + floatTargets[targetNdx].name).c_str()); in init() 634 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, intTargets[targetNdx].name, (std::string("test with ") + intTargets[targetNdx].name).c_str()); in init() 650 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, uintTargets[targetNdx].name, (std::string("test with ") + uintTargets[targetNdx].name).c_str()); in init()
|
H A D | es3fDrawBuffersIndexedTests.cpp | 61 #include <string> 78 using std::string; 495 const string name = "Renderbuffer" + de::toString(renderbufferNdx); in verifyRenderbuffer() 496 const string desc = "Compare renderbuffer " + de::toString(renderbufferNdx); in verifyRenderbuffer() 508 const string name = "Renderbuffer" + de::toString(renderbufferNdx); in verifyRenderbuffer() 509 const string desc = "Compare renderbuffer " + de::toString(renderbufferNdx); in verifyRenderbuffer() 521 const string name = "Renderbuffer" + de::toString(renderbufferNdx); in verifyRenderbuffer() 522 const string desc = "Compare renderbuffer " + de::toString(renderbufferNdx); in verifyRenderbuffer() 894 map<string, string> arg in genVertexSource() [all...] |
H A D | es3fFboRenderTest.cpp | 45 using std::string; 93 std::string getName (void) const; 119 std::string FboConfig::getName (void) const in getName() 162 static std::vector<std::string> getEnablingExtensions (deUint32 format) in getEnablingExtensions() 164 std::vector<std::string> out; in getEnablingExtensions() 196 std::string extension; in isExtensionSupported() 207 static bool isAnyExtensionSupported (sglr::Context& context, const std::vector<std::string>& requiredExts) in isAnyExtensionSupported() 212 for (std::vector<std::string>::const_iterator iter = requiredExts.begin(); iter != requiredExts.end(); iter++) in isAnyExtensionSupported() 214 const std::string& extension = *iter; in isAnyExtensionSupported() 224 static std::string joi [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineTimestampTests.cpp | 83 for (std::string::size_type ndx = 0; ndx<strlen(#name); ++ndx) \ 94 std::string getPipelineStageFlagStr (const VkPipelineStageFlagBits stage, in getPipelineStageFlagStr() 150 std::string getTransferMethodStr (const TransferMethod method, in getTransferMethodStr() 247 virtual const std::string generateTestName (void) const; 291 const std::string TimestampTestParam::generateTestName (void) const in generateTestName() 293 std::string result(""); in generateTestName() 331 const std::string generateTestName (void) const; 332 const std::string generateTestDescription (void) const; 353 const std::string TransferTimestampTestParam::generateTestName (void) const 355 std::string resul [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.cpp | 59 using std::string; 168 int BufferLayout::getVariableIndex (const string& name) const in getVariableIndex() 178 int BufferLayout::getBlockIndex (const string& name) const in getBlockIndex() 212 std::string name; 471 const std::string& curPrefix, in computeReferenceLayout() 606 int computeReferenceLayout (BufferLayout& layout, int curBlockNdx, const std::string& blockPrefix, int baseOffset, const BufferVar& bufVar, deUint32 blockLayoutFlags) in computeReferenceLayout() 615 const string prefix = blockPrefix + bufVar.getName() + "[0]"; in computeReferenceLayout() 722 std::string blockPrefix = hasInstanceName ? (std::string(block.getBlockName()) + ".") : std::string(""); in computeReferenceLayout() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.cpp | 59 using std::string; 168 int BufferLayout::getVariableIndex (const string& name) const in getVariableIndex() 178 int BufferLayout::getBlockIndex (const string& name) const in getBlockIndex() 212 std::string name; 471 const std::string& curPrefix, in computeReferenceLayout() 606 int computeReferenceLayout (BufferLayout& layout, int curBlockNdx, const std::string& blockPrefix, int baseOffset, const BufferVar& bufVar, deUint32 blockLayoutFlags) in computeReferenceLayout() 615 const string prefix = blockPrefix + bufVar.getName() + "[0]"; in computeReferenceLayout() 722 std::string blockPrefix = hasInstanceName ? (std::string(block.getBlockName()) + ".") : std::string(""); in computeReferenceLayout() [all...] |
/third_party/json/include/nlohmann/detail/input/ |
H A D | binary_reader.hpp | 20 #include <string> // char_traits, string 187 @brief Parses a C-style string from the BSON input. 188 @param[in,out] result A reference to the string variable where the read 189 string is to be stored. 190 @return `true` if the \x00-byte indicating the end of the string was 212 @brief Parses a zero-terminated string of length @a len from the BSON 215 string to be read. 216 @param[in,out] result A reference to the string variable where the read 217 string i [all...] |
/third_party/python/Lib/ |
H A D | doctest.py | 162 # Special string markers for use in `want` strings: 199 - If `module` is a string, then import and return the 212 raise TypeError("Expected a module, string, or None") 246 Return a string containing a traceback message for the given 312 # Search for an empty string succeeds, and doesn't change startpos. 434 ## a string (such as an object's docstring). The DocTest class also 435 ## includes information about where the string was extracted from. 448 string. The constructor adds a newline if needed. 458 - lineno: The line number within the DocTest string containing 462 - indent: The example's indentation in the DocTest string [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesImageSparseResidency.cpp | 51 #include <string> 64 std::string getFormatValueString (const std::vector<std::pair<deUint32, deUint32>>& channelsOnPlane, in getFormatValueString() 65 const std::vector<std::string>& formatValueStrings) in getFormatValueString() 67 std::vector<std::string> usedValues { "0", "0", "0", "0" }; // Default values. in getFormatValueString() 75 std::string result; in getFormatValueString() 85 const std::string getCoordStr (const ImageType imageType, in getCoordStr() 86 const std::string& x, in getCoordStr() 87 const std::string& y, in getCoordStr() 88 const std::string& z) in getCoordStr() 128 const std::string [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrCopyTests.cpp | 44 #include <string> 53 using std::string; 188 if (!de::contains(context.getDeviceExtensions().begin(), context.getDeviceExtensions().end(), string("VK_KHR_sampler_ycbcr_conversion"))) in checkSupport() 1054 const string srcFormatName (de::toLower(std::string(getFormatName(srcFormat)).substr(10))); in initYcbcrDefaultCopyTests() 1061 const string dstFormatName (de::toLower(std::string(getFormatName(dstFormat)).substr(10))); in initYcbcrDefaultCopyTests() 1088 addFunctionCase(dstFormatGroup.get(), string(srcTilingName) + (srcDisjoint ? "_disjoint_" : "_") + (useBuffer ? "buffer_" : "") + string(dstTilingName) + (dstDisjoint ? "_disjoint" : ""), checkSupport, imageCopyTest, config); in initYcbcrDefaultCopyTests() 1159 const string dimensionsNam in initYcbcrDimensionsCopyTests() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageDepthStencilDescriptorTests.cpp | 47 #include <string> 79 tcu::Maybe<std::string> layoutExtension (VkImageLayout layout) in layoutExtension() 81 std::string extension; in layoutExtension() 347 DepthStencilDescriptorCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& params); 396 DepthStencilDescriptorCase::DepthStencilDescriptorCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& params) in DepthStencilDescriptorCase() 1240 const std::string resultName = "Storage" + de::toString(bufferIdx); in iterate() 1309 const auto kLayoutPrefixLen = std::string("VK_IMAGE_LAYOUT_").size(); in createImageDepthStencilDescriptorTests() 1310 const auto kFormatPrefixLen = std::string("VK_FORMAT in createImageDepthStencilDescriptorTests() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderInvariance.cpp | 192 * @return Requested string. 194 std::string TessellationShaderInvarianceBaseTest::getFSCode(unsigned int n_iteration) in getFSCode() 198 std::string result = "${VERSION}\n" in getFSCode() 237 std::string TessellationShaderInvarianceBaseTest::getTCCode(unsigned int n_iteration) in getTCCode() 273 std::string TessellationShaderInvarianceBaseTest::getVSCode(unsigned int n_iteration) in getVSCode() 277 std::string result = "${VERSION}\n" in getVSCode() 353 std::string shader_body; in initTest() 838 std::string TessellationShaderInvarianceRule1Test::getTECode(unsigned int n_iteration) in getTECode() 880 std::string data_type_string; in verifyResultData() 1117 std::string TessellationShaderInvarianceRule2Tes [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fBasicComputeShaderTests.cpp | 44 using std::string; 226 throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(ndx) + "]"); in iterate() 349 throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(ndx) + "]"); in iterate() 384 << " uint values[" << (m_isSized ? de::toString(m_numValues) : string("")) << "];\n" in iterate() 452 throw tcu::TestError(string("Comparison failed for InOut.values[") + de::toString(ndx) + "]"); in iterate() 488 << " uint values[" << (m_isSized ? de::toString(m_numValues) : string("")) << "];\n" in iterate() 491 << " uint values[" << (m_isSized ? de::toString(m_numValues) : string("")) << "];\n" in iterate() 568 throw tcu::TestError(string("Comparison failed for Out0.values[") + de::toString(ndx) + "] res=" + de::toString(res) + " ref=" + de::toString(ref)); in iterate() 581 throw tcu::TestError(string("Comparison failed for Out1.values[") + de::toString(ndx) + "] res=" + de::toString(res) + " ref=" + de::toString(ref)); in iterate() 681 throw tcu::TestError(string("Compariso in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingBarrierTests.cpp | 41 #include <string> 344 BarrierTestCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& testParams); 367 BarrierTestCase::BarrierTestCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& testParams) in BarrierTestCase() 380 const std::string valStatement = " const uint val = id1d + " + de::toString(kValuesOffset) + ";\n"; in initPrograms() 381 const std::string readerSaveStatement = " verificationBuffer.data[id1d] = val;\n"; in initPrograms() 389 const std::string rayTracingIds = rayTracingIdsStream.str(); in initPrograms() 397 const std::string computeIds = computeIdsStream.str(); in initPrograms() 405 const std::string fragId in initPrograms() [all...] |
/third_party/nghttp2/src/ |
H A D | nghttp.cc | 150 std::string strip_fragment(const char *raw_uri) { in strip_fragment() 155 return std::string(raw_uri, len); in strip_fragment() 159 Request::Request(const std::string &uri, const http_parser_url &u, in Request() 249 std::string Request::make_reqpath() const { in make_reqpath() 250 std::string path = util::has_uri_field(u, UF_PATH) in make_reqpath() 264 std::string decode_host(const StringRef &host) { in decode_host() 268 std::string(std::begin(host), zone_start).c_str())) { in decode_host() 285 auto res = std::string(std::begin(host), zone_start + 1); in decode_host() 467 std::string(4_k, '-')); in submit_request() 511 std::string trailer_name in submit_request() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustBufferAccessWithVariablePointersTests.cpp | 190 const std::string& name, 211 const std::string& name, in RobustAccessWithPointersTest() 238 const std::string& name, 259 const std::string& name, 279 const std::string& message) in NotSupportedInstance() 294 std::string m_notSupportedMessage; 455 const std::string& getValue() const in getValue() 462 const std::string value; 525 // composes shader string out of shader substreams. 526 std::string st [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderBuiltinVarTests.cpp | 139 std::string testDesc; in iterate() 365 std::string testDesc; in iterate() 1824 BuiltinGlFragCoordXYZCase (TestContext& testCtx, const string& name); 1835 BuiltinGlFragCoordXYZCase::BuiltinGlFragCoordXYZCase (TestContext& testCtx, const string& name) in BuiltinGlFragCoordXYZCase() 1949 BuiltinGlFragCoordWCase (TestContext& testCtx, const string& name); 1960 BuiltinGlFragCoordWCase::BuiltinGlFragCoordWCase (TestContext& testCtx, const string& name) in BuiltinGlFragCoordWCase() 2120 BuiltinGlPointCoordCase (TestContext& testCtx, const string& name, int testVariant); 2132 BuiltinGlPointCoordCase::BuiltinGlPointCoordCase (TestContext& testCtx, const string& name, int testVariant) in BuiltinGlPointCoordCase() 2218 string shaderInputTypeToString (ShaderInputTypes type) in shaderInputTypeToString() 2220 string typeStrin in shaderInputTypeToString() [all...] |
H A D | vktShaderRenderMatrixTests.cpp | 56 using std::string; 1612 const std::string& name, 1623 std::string genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName); 1632 const std::string& name, in ShaderMatrixCase() 1667 string inValue0; in setupShader() 1668 string inValue1; in setupShader() 1671 vector<string> passVars; in setupShader() 1674 std::string operationValue0; in setupShader() 1675 std::string operationValue1; in setupShader() 1730 static const std::string heade in setupShader() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsEarlyFragmentTests.cpp | 51 #include <string> 221 const std::string name, 232 EarlyFragmentTest::EarlyFragmentTest (tcu::TestContext& testCtx, const std::string name, const deUint32 flags) in EarlyFragmentTest() 284 const std::string src = in initPrograms() 931 const std::string name, 941 EarlyFragmentDiscardTest::EarlyFragmentDiscardTest (tcu::TestContext& testCtx, const std::string name, const deUint32 flags) 1000 const std::string src = 1701 const std::string name, 1714 EarlyFragmentSampleMaskTest::EarlyFragmentSampleMaskTest (tcu::TestContext& testCtx, const std::string name, const deUint32 flags, const deUint32 sampleCount) 1775 const std::string optio [all...] |
/third_party/protobuf/ruby/tests/ |
H A D | common_tests.rb | 194 # Assigning a normal (ASCII or UTF8) string to a bytes field, or 195 # ASCII-8BIT to a string field will convert to the proper encoding. 196 m.optional_bytes = "Test string ASCII".encode!('ASCII') 199 assert_equal "Test string ASCII", m.optional_bytes 202 m.optional_bytes = "Test string UTF-8 \u0100".encode!('UTF-8') 394 # :int32, :int64, :uint32, :uint64, :bool, :string, :bytes. 396 m = Google::Protobuf::Map.new(:string, :int32) 440 m = Google::Protobuf::Map.new(:string, :int32, 493 m = Google::Protobuf::Map.new(:string, :int32) 514 m = Google::Protobuf::Map.new(:string, [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | renderergl_utils.cpp | 58 std::string nativeVersionString(GetString(functions, GL_VERSION)); in IsMesa() 60 if (pos == std::string::npos) in IsMesa() 204 std::string nativeVendorString(GetString(functions, GL_VENDOR)); in GetVendorID() 205 // Concatenate GL_RENDERER to the string being checked because some vendors put their names in in GetVendorID() 210 if (nativeVendorString.find("NVIDIA") != std::string::npos) in GetVendorID() 214 else if (nativeVendorString.find("ATI") != std::string::npos || in GetVendorID() 215 nativeVendorString.find("AMD") != std::string::npos || in GetVendorID() 216 nativeVendorString.find("Radeon") != std::string::npos) in GetVendorID() 220 else if (nativeVendorString.find("Qualcomm") != std::string::npos) in GetVendorID() 224 else if (nativeVendorString.find("Intel") != std::string in GetVendorID() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTests.cpp | 263 static std::string substBinding (deUint32 binding, 279 static std::string getShaderAsm (VkShaderStageFlagBits shaderType, 283 static std::string getShaderSource (VkShaderStageFlagBits shaderType, 287 static std::string getColorAccess (VkDescriptorType descriptorType, 291 static std::string getFragmentReturnSource (const std::string& colorAccess); 293 static std::string getFragmentLoopSource (const std::string& colorAccess1, 294 const std::string& colorAccess2); 689 std::string CommonDescriptorInstanc [all...] |
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | string.h | 21 #include <string.h>
|