/third_party/spirv-tools/source/opt/ |
H A D | optimizer.cpp | 20 #include <string> 258 bool Optimizer::RegisterPassesFromFlags(const std::vector<std::string>& flags) { in RegisterPassesFromFlags() 268 bool Optimizer::FlagHasValidForm(const std::string& flag) const { in FlagHasValidForm() 283 bool Optimizer::RegisterPassFromFlag(const std::string& flag) { in RegisterPassFromFlag() 290 std::string pass_name = p.first; in RegisterPassFromFlag() 291 std::string pass_args = p.second; in RegisterPassFromFlag() 321 "Invalid spec constant value string '%s'. Expected a string of " in RegisterPassFromFlag() 379 if (pass_args.find_first_not_of("0123456789") == std::string::npos) { in RegisterPassFromFlag() 411 if (pass_args.find_first_not_of(".0123456789") == std::string in RegisterPassFromFlag() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderPrecisionTests.cpp | 53 using std::string; 197 std::string m_op; 448 std::string m_op; 642 std::string m_op; 932 (string(floatCases[ndx].name) + "_vertex").c_str(), "", in init() 940 (string(floatCases[ndx].name) + "_fragment").c_str(), "", in init() 954 (string(intCases[ndx].name) + "_vertex").c_str(), "", in init() 963 (string(intCases[ndx].name) + "_fragment").c_str(), "", in init() 978 (string(uintCases[ndx].name) + "_vertex").c_str(), "", in init() 987 (string(uintCase in init() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fAtomicCounterTests.cpp | 40 #include <string> 46 using std::string; 124 static string generateShaderSource (const TestSpec& spec); 172 string AtomicCounterTest::generateShaderSource (const TestSpec& spec) in generateShaderSource() 1050 string specToTestName (const AtomicCounterTest::TestSpec& spec) in specToTestName() 1061 string specToTestDescription (const AtomicCounterTest::TestSpec& spec) in specToTestDescription() 1103 string operationToName (const AtomicCounterTest::Operation& operations, bool useBranch) in operationToName() 1138 string operationToDescription (const AtomicCounterTest::Operation& operations, bool useBranch) in operationToDescription() 1179 string layoutTypesToName (const AtomicCounterTest::BindingType& bindingType, const AtomicCounterTest::OffsetType& offsetType) in layoutTypesToName() 1237 string layoutTypesToDes [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassDitheringTests.cpp | 125 const std::string& name, 126 const std::string& description, 187 const std::string& name, in DitheringTest() 188 const std::string& description, in DitheringTest() 1069 const std::string iFormatName = de::toLower(de::toString(getFormatStr(testParams.colorFormats.back())).substr(10)); in createRenderPassDitheringTests() 1075 const std::string jFormatName = iFormatName + "_and_" + de::toLower(de::toString(getFormatStr(testParams.colorFormats.back())).substr(10)); in createRenderPassDitheringTests() 1081 const std::string kFormatName = jFormatName + "_and_" + de::toLower(de::toString(getFormatStr(testParams.colorFormats.back())).substr(10)); in createRenderPassDitheringTests() 1104 const std::string names[] = { "Less", "Greater", "Equal" }; in createRenderPassDitheringTests() 1119 const std::string formatName = de::toLower(de::toString(getFormatStr(testParams.colorFormats.back())).substr(10)); in createRenderPassDitheringTests() 1151 const std::string formatNam in createRenderPassDitheringTests() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureFilteringExplicitLodTests.cpp | 57 #include <string> 67 using std::string; 116 string genSamplerDeclaration(const ImageViewParameters& imParams, in genSamplerDeclaration() 119 string result = "sampler"; in genSamplerDeclaration() 156 string genLookupCode(const ImageViewParameters& imParams, in genLookupCode() 215 string arg = "vec"; in genLookupCode() 244 string code; in genLookupCode() 670 std::string report; in verify() 1263 const std::string prefix = de::toLower(std::string(getFormatNam in create2DFormatTests() [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fVertexTextureTests.cpp | 38 #include <string> 53 using std::string; 1103 const string name = string("") + minFilterModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name; in init() 1116 const string name = string("") + wrapModes[wrapSMode].name + "_" + wrapModes[wrapTMode].name; in init() 1132 const string name = string("") + minFilterModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name; in init() 1145 const string name = string("") in init() [all...] |
/third_party/vulkan-loader/loader/ |
H A D | cJSON.c | 35 #include <string.h> 88 if (!(c->type & cJSON_StringIsConst) && c->string) cJSON_Free(c->pAllocator, c->string); in loader_cJSON_Delete() 174 /* Render the number nicely from the given item into a string. */ 265 } /* not a string! */ in parse_string() 270 out = (char *)cJSON_malloc(item->pAllocator, len + 1); /* This is how long we need for the string, roughly. */ in parse_string() 359 // out_buf_size = len + 3; // Modified to not put quotes around the string in print_string_ptr() 366 // *ptr2++ = '\"'; // Modified to not put quotes around the string in print_string_ptr() 368 // ptr2[len] = '\"'; // Modified to not put quotes around the string in print_string_ptr() 369 ptr2[len] = 0; // ptr2[len + 1] = 0; // Modified to not put quotes around the string in print_string_ptr() 948 loader_cJSON_GetObjectItem(cJSON *object, const char *string) loader_cJSON_GetObjectItem() argument [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl.cc | 73 ast::Builtin ident_to_builtin(const std::string& str) { in ident_to_builtin() 220 std::string name_in, in TypedIdentifier() 231 std::string n, in FunctionHeader() 251 std::string name_in, in VarDeclInfo() 269 const std::string& err, in add_error() 270 const std::string& use) { in add_error() 281 const std::string& err) { in add_error() 287 const std::string& err) { in add_error() 294 void ParserImpl::deprecated(const Source& source, const std::string& msg) { in deprecated() 785 const std::string in expect_image_storage_type() [all...] |
/third_party/tzdata/ |
H A D | zic.c | 181 static zic_t gethms(const char * string, const char * errstring); 362 static struct lookup const * byword(const char * string, 608 verror(const char *const string, va_list args) in verror() argument 618 vfprintf(stderr, string, args); in verror() 626 error(const char *const string, ...) in error() argument 629 va_start(args, string); in error() 630 verror(string, args); in error() 636 warning(const char *const string, ...) in warning() argument 640 va_start(args, string); in warning() 641 verror(string, arg in warning() 1773 gethms(char const *string, char const *errstring) gethms() argument 2377 writezone(const char *const name, const char *const string, char version, int defaulttype) writezone() argument 3878 newabbr(const char *string) newabbr() argument [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | data.c | 341 /* get uuid from a string made by 16 characters separated by commas */ 596 struct snd_soc_tplg_vendor_string_elem *string; in copy_tuples() local 655 string = &array->string[j]; in copy_tuples() 656 string->token = token_val; in copy_tuples() 657 snd_strlcpy(string->string, tuple->string, in copy_tuples() 731 .name = "string", 837 snd_strlcpy(tuple->string, valu in parse_tuple_set() [all...] |
/third_party/backends/backend/ |
H A D | hs2p-scsi.c | 223 DBG (DBG_info, "endorser string = %s\n", info->endorser_string); in ScannerDump() 1301 char string[20]; 1314 strcpy (out.string, "EEPROM ALL ALL RESET"); 1317 strcpy (out.string, "EEPROM ALL RESET"); 1320 strcpy (out.string, "ADF RESET"); 1323 strcpy (out.string, "FLATBED RESET"); 1326 strcpy (out.string, "LAMP RESET"); 1329 sprintf (out.string, "EEPROM ADF %c %+4.1d", XorY, number); 1332 sprintf (out.string, "EEPROM BOOK %c %4.1d", XorY, number); 1335 sprintf (out.string, "WHIT [all...] |
/third_party/googletest/googlemock/test/ |
H A D | gmock-matchers-arithmetic_test.cc | 495 std::string expected_descr1 = in TEST() 500 std::string expected_descr2 = in TEST() 506 std::string expected_descr3 = in TEST() 516 std::string expected_descr4 = "(isn't <= 2) or (isn't >= 1)"; in TEST() 520 std::string expected_descr5 = in TEST() 525 std::string expected_descr6 = in TEST() 530 std::string expected_desr7 = in TEST() 611 static void AnyOfStringMatches(int num, const Matcher<std::string>& m) { in AnyOfStringMatches() 687 Matcher<std::string> eq_red = Eq("red"); in TEST() 688 Matcher<std::string> ne_re in TEST() [all...] |
/third_party/node/src/ |
H A D | env.cc | 401 // Create string and private symbol properties as internalized one byte in CreateProperties() 405 // because the string is created in the old space straight away. It's going in CreateProperties() 577 std::string Environment::GetCwd() { in GetCwd() 589 const std::string& exec_path = exec_path_; in GetCwd() 623 std::string GetExecPath(const std::vector<std::string>& argv) { in GetExecPath() 626 std::string exec_path; in GetExecPath() 628 exec_path = std::string(exec_path_buf, exec_path_len); in GetExecPath() 641 exec_path = std::string(static_cast<char*>(req.ptr)); in GetExecPath() 651 const std::vector<std::string> in Environment() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cldrtest.c | 213 /* A2 or A4 in the root string indicates that the resource can optionally be an array instead of a */ in TestKeyInRootRecursive() 214 /* string. Attempt to read it as an array. */ in TestKeyInRootRecursive() 218 log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", in TestKeyInRootRecursive() 226 log_err("Got something other than a string or array of size %d for key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", in TestKeyInRootRecursive() 238 log_err("Got something other than a string or array for key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", in TestKeyInRootRecursive() 246 log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", in TestKeyInRootRecursive() 337 const UChar *string = ures_getString(subBundle, &len, &errorCode); in TestKeyInRootRecursive() local 338 if (U_FAILURE(errorCode) || string == NULL) { in TestKeyInRootRecursive() 339 log_err("Can't open a string with key \"%s\" in \"%s\" for locale \"%s\"\n", in TestKeyInRootRecursive() 344 } else if (string[ in TestKeyInRootRecursive() 751 findStringSetMismatch(const char *currLoc, const UChar *string, int32_t langSize, USet * mergedExemplarSet, UBool ignoreNumbers, UChar32* badCharPtr) findStringSetMismatch() argument [all...] |
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/ |
H A D | Test.pm | 238 string PATH, I<or>, if the value is C<undef>, C</dev/null> or similar. 410 If specified, EXPR will be used as a string to prefix the output from the 552 C<bldtop_dir> returns the resulting directory as a string, adapted to the local 571 C<bldtop_file> returns the resulting file path as a string, adapted to the local 589 C<srctop_dir> returns the resulting directory as a string, adapted to the local 608 C<srctop_file> returns the resulting file path as a string, adapted to the local 625 C<data_dir> returns the resulting directory as a string, adapted to the local 643 file path as a string, adapted to the local operating system. 658 as a string, adapted to the local operating system. 675 C<result_file> returns the path of the given file as a string, [all...] |
/third_party/openssl/util/perl/OpenSSL/ |
H A D | Test.pm | 238 string PATH, I<or>, if the value is C<undef>, C</dev/null> or similar. 410 If specified, EXPR will be used as a string to prefix the output from the 552 C<bldtop_dir> returns the resulting directory as a string, adapted to the local 571 C<bldtop_file> returns the resulting file path as a string, adapted to the local 589 C<srctop_dir> returns the resulting directory as a string, adapted to the local 608 C<srctop_file> returns the resulting file path as a string, adapted to the local 625 C<data_dir> returns the resulting directory as a string, adapted to the local 643 file path as a string, adapted to the local operating system. 658 as a string, adapted to the local operating system. 675 C<result_file> returns the path of the given file as a string, [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineDepthTests.cpp | 115 return tcu::TestStatus::pass(std::string("Supported depth/stencil formats: ") + supportedFormatsMsg.str()); in testSupportsAtLeastOneDepthStencilFormat() 133 const std::string& name, 266 const std::string& name, in DepthTest() 309 throw tcu::NotSupportedError(std::string("Unsupported depth/stencil format: ") + getFormatName(m_depthFormat)); in checkSupport() 1156 std::string getFormatCaseName (const VkFormat format) in getFormatCaseName() 1158 const std::string fullName = getFormatName(format); in getFormatCaseName() 1165 std::string getTopologyName (const VkPrimitiveTopology topology) { in getTopologyName() 1166 const std::string fullName = getPrimitiveTopologyName(topology); in getTopologyName() 1173 std::string getCompareOpsName (const VkCompareOp quadDepthOps[DepthTest::QUAD_COUNT]) in getCompareOpsName() 1179 const std::string fullOpNam in getCompareOpsName() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/ |
H A D | vktShaderObjectBindingTests.cpp | 90 vk::Move<vk::VkShaderEXT> createShader (const vk::DeviceInterface& vk, const vk::VkDevice device, vk::VkShaderStageFlagBits stage, const std::string& name, const vk::VkDescriptorSetLayout* descriptorSetLayout = DE_NULL); 140 vk::Move<vk::VkShaderEXT> ShaderObjectBindingDrawInstance::createShader (const vk::DeviceInterface& vk, const vk::VkDevice device, vk::VkShaderStageFlagBits stage, const std::string& name, const vk::VkDescriptorSetLayout* descriptorSetLayout) in createShader() 593 ShaderObjectBindingDrawCase (tcu::TestContext& testCtx, const std::string& name, const BindingDrawParams& params) in ShaderObjectBindingDrawCase() 1163 MeshShaderObjectBindingCase (tcu::TestContext& testCtx, const std::string& name, const MeshBindingDrawParams& params) in MeshShaderObjectBindingCase() 1280 ShaderObjectBindingCase (tcu::TestContext& testCtx, const std::string& name, const BindingParams& params) in ShaderObjectBindingCase() 1382 std::string name = "swap_" + std::string(stage.name); in createShaderObjectBindingTests() 1394 std::string name2 = "swap_" + std::string(stage.name) + "_unused_output_" + std::string(unusedOutput in createShaderObjectBindingTests() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/ |
H A D | DIARawSymbol.cpp | 80 std::string Result8; in VariantFromVARIANT() 115 std::string 172 std::string Result; in DumpDIAValue() 562 std::string DIARawSymbol::getUndecoratedNameEx(PDB_UndnameFlags Flags) const { in getUndecoratedNameEx() 565 return std::string(); in getUndecoratedNameEx() 569 std::string Result8; in getUndecoratedNameEx() 571 return std::string(); in getUndecoratedNameEx() 633 std::string DIARawSymbol::getCompilerName() const { in getCompilerName() 660 std::string DIARawSymbol::getLibraryName() const { in getLibraryName() 692 std::string DIARawSymbo [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_btree_test.cc | 20 #include <string> 75 std::string actual = CordToString(arg); in MATCHER_P() 128 // DataConsumer is a simple helper class used by tests to 'consume' string 228 static std::string ToString(testing::TestParamInfo<bool> param) { in ToString() 240 static std::string ToString(testing::TestParamInfo<int> param) { in ToString() 256 static std::string ToString(testing::TestParamInfo<TwoBools> param) { in ToString() 766 const std::string data = CreateRandomString(n * 3); in TEST() 794 std::string data = CreateRandomString(1000); in TEST() 818 const std::string data = CreateRandomString(n * 3); in TEST_P() 840 std::string dat in TEST_P() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMiscTests.cpp | 25 #include <string> 69 std::vector<std::string> getFeatureList (AmberFeatureFlags flags) in getFeatureList() 71 std::vector<std::string> requirements; in getFeatureList() 113 std::string file = std::string(cases[i].basename) + ".amber"; in addMonolithicAmberTests() 114 std::vector<std::string> requirements = getFeatureList(cases[i].flags); in addMonolithicAmberTests() 128 const std::string& name, in ImplicitPrimitiveIDPassthroughCase() 129 const std::string& description, in ImplicitPrimitiveIDPassthroughCase() 431 UnusedShaderStagesCase (tcu::TestContext& testCtx, const std::string& name, const std::string [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | BlitGL.cpp | 1290 std::string version; in getBlitProgram() 1291 std::string vsInputVariableQualifier; in getBlitProgram() 1292 std::string vsOutputVariableQualifier; in getBlitProgram() 1293 std::string fsInputVariableQualifier; in getBlitProgram() 1294 std::string fsOutputVariableQualifier; in getBlitProgram() 1295 std::string sampleFunction; in getBlitProgram() 1343 std::string vsSourceStr = vsSourceStream.str(); in getBlitProgram() 1357 std::string samplerType; in getBlitProgram() 1388 std::string samplerResultType; in getBlitProgram() 1400 std::string extensionRequirement in getBlitProgram() [all...] |
/kernel/linux/linux-6.6/drivers/iommu/intel/ |
H A D | trace.c | 10 #include <linux/string.h>
|
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/tests/ |
H A D | arch-tests.c | 2 #include <string.h>
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | enum_string_mapping.cpp | 20 #include <string>
|