/third_party/icu/icu4c/source/test/intltest/ |
H A D | usettest.cpp | 1363 UnicodeString str, buf2; in TestCloseOver() 1372 str.setTo(c); in TestCloseOver() 1373 str.foldCase(); in TestCloseOver() 1374 sens2.add(str); in TestCloseOver() 1466 UnicodeString str("Range "); in TestEscapePattern() 1467 str.append((UChar)(u'0' + i)) in TestEscapePattern() 1472 str = str + " (" + set.getRangeStart(i) + " - " + in TestEscapePattern() 1475 errln((UnicodeString)"FAIL: " + escape(str)); in TestEscapePattern() 1477 logln(escape(str)); in TestEscapePattern() 1747 UnicodeString str = UnicodeString(DATA[i], -1, US_INV); TestSurrogate() local 2539 const UnicodeString *str; containsSpanUTF16() local 2559 const UnicodeString *str; containsSpanUTF16() local 2640 const UnicodeString *str; containsSpanBackUTF16() local 2659 const UnicodeString *str; containsSpanBackUTF16() local [all...] |
/third_party/backends/backend/pixma/ |
H A D | pixma_common.c | 96 u8tohex (uint8_t x, char *str) in u8tohex() argument 102 str[0] = hdigit[(x >> 4) & 0xf]; in u8tohex() 103 str[1] = hdigit[x & 0xf]; in u8tohex() 104 str[2] = '\0'; in u8tohex() 108 u32tohex (uint32_t x, char *str) in u32tohex() argument 110 u8tohex (x >> 24, str); in u32tohex() 111 u8tohex (x >> 16, str + 2); in u32tohex() 112 u8tohex (x >> 8, str + 4); in u32tohex() 113 u8tohex (x, str + 6); in u32tohex()
|
/third_party/googletest/googletest/test/ |
H A D | googletest-param-test-test.cc | 495 const std::string& str() const { return str_; } in str() function in NonDefaultConstructAssignString 510 EXPECT_EQ("A", std::get<1>(*it).str()); in TEST() 514 EXPECT_EQ("B", std::get<1>(*it).str()); in TEST() 518 EXPECT_EQ("A", std::get<1>(*it).str()); in TEST() 522 EXPECT_EQ("B", std::get<1>(*it).str()); in TEST() 568 EXPECT_EQ("A", std::get<1>(it->get()).str()); in TEST() 572 EXPECT_EQ("B", std::get<1>(it->get()).str()); in TEST() 576 EXPECT_EQ("A", std::get<1>(it->get()).str()); in TEST() 580 EXPECT_EQ("B", std::get<1>(it->get()).str()); in TEST()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | LocaleDisplayNamesImpl.java | 484 String str = langData.get("Scripts%stand-alone", script); in scriptDisplayName() 485 if (str == null || str.equals(script)) { in scriptDisplayName() 487 str = langData.get("Scripts%short", script); in scriptDisplayName() 488 if (str != null && !str.equals(script)) { in scriptDisplayName() 489 return adjustForUsageAndContext(CapitalizationContextUsage.SCRIPT, str); in scriptDisplayName() 492 str = langData.get("Scripts", script); in scriptDisplayName() 494 return adjustForUsageAndContext(CapitalizationContextUsage.SCRIPT, str); in scriptDisplayName()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | f_hid.c | 225 if (str_manufacturer->str == NULL || str_manufacturer->len == 0 || in hid_device_string_info() 226 str_serial_number->str == NULL || str_serial_number->len == 0 || in hid_device_string_info() 227 str_product->str == NULL || str_product->len == 0) in hid_device_string_info() 229 usb_err("%s failed, str is NULL or len is 0\n", __FUNCTION__); in hid_device_string_info() 264 str_desc[i]->str, (size_t)str_desc[i]->len); in hid_device_string_info() 867 const char *str; in hid_mkstrdesc() local 872 str = g_fhid_device_strings[i].s; in hid_mkstrdesc() 875 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, (const void *)str, (uint32_t)str[0]); in hid_mkstrdesc() 881 return str[ in hid_mkstrdesc() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | LocaleDisplayNamesImpl.java | 459 String str = langData.get("Scripts%stand-alone", script); in scriptDisplayName() 460 if (str == null || str.equals(script)) { in scriptDisplayName() 462 str = langData.get("Scripts%short", script); in scriptDisplayName() 463 if (str != null && !str.equals(script)) { in scriptDisplayName() 464 return adjustForUsageAndContext(CapitalizationContextUsage.SCRIPT, str); in scriptDisplayName() 467 str = langData.get("Scripts", script); in scriptDisplayName() 469 return adjustForUsageAndContext(CapitalizationContextUsage.SCRIPT, str); in scriptDisplayName()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opcodes.py | 67 assert isinstance(name, str) 69 assert isinstance(output_type, str) 73 assert isinstance(input_types[0], str) 75 assert isinstance(algebraic_properties, str) 76 assert isinstance(const_expr, str) 266 dst_t + str(dst_bit_size), 278 dst_t + str(dst_bit_size), src_t, conv_expr) 283 dst_t + str(dst_bit_size), src_t, conv_expr) 606 opcode(name + str(size) + suffix, output_size, output_type,
|
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxcapi.h | 85 constexpr uint8_t byte_from_hexstr(const char str[2]) { in byte_from_hexstr() argument 86 return nybble_from_hex(str[0]) << 4 | nybble_from_hex(str[1]); in byte_from_hexstr() 89 constexpr unsigned short short_from_hexstr(const char str[2], unsigned shift) in short_from_hexstr() argument 91 return ((unsigned short)(nybble_from_hex(str[0]) << 4 | in short_from_hexstr() 92 nybble_from_hex(str[1]))) in short_from_hexstr() 96 constexpr unsigned long word_from_hexstr(const char str[2], unsigned shift) in word_from_hexstr() argument 98 return ((unsigned long)(nybble_from_hex(str[0]) << 4 | in word_from_hexstr() 99 nybble_from_hex(str[1]))) in word_from_hexstr()
|
H A D | dxil_dump.c | 429 const char *str = binop->opcode < DXIL_BINOP_INSTR_COUNT ? in dump_instr_binop() local 432 _mesa_string_buffer_printf(d->buf, "%s ", str); in dump_instr_binop() 439 const char *str = cmp->pred < DXIL_CMP_INSTR_COUNT ? in dump_instr_cmp() local 442 _mesa_string_buffer_printf(d->buf, "%s ", str); in dump_instr_cmp() 456 const char *str = cast->opcode < DXIL_CAST_INSTR_COUNT ? in dump_instr_cast() local 459 _mesa_string_buffer_printf(d->buf, "%s.", str); in dump_instr_cast() 713 mask_to_string(uint32_t mask, char str[5]) in mask_to_string() argument 717 str[i] = (mask & (1 << i)) ? mc[i] : '_'; in mask_to_string() 719 str[4] = 0; in mask_to_string()
|
/third_party/rust/crates/clap/src/output/ |
H A D | help_template.rs | 59 const DEFAULT_TEMPLATE: &str = "\ 66 const DEFAULT_NO_ARGS_TEMPLATE: &str = "\ 127 pub(crate) fn write_templated_help(&mut self, template: &str) { 425 fn write_args(&mut self, args: &[&Arg], _category: &str, sort_key: ArgSortKey) { in write_args() 557 spec_vals: &str, in help() 690 fn arg_next_line_help(&self, arg: &Arg, spec_vals: &str, longest: usize) -> bool { in arg_next_line_help() 930 fn subcommand_next_line_help(&self, cmd: &Command, spec_vals: &str, longest: usize) -> bool { in subcommand_next_line_help() 957 const NEXT_LINE_INDENT: &str = " "; 999 fn parse_env(var: &str) -> Option<usize> { in parse_env()
|
/third_party/python/Lib/ |
H A D | os.py | 104 def _add(str, fn): 105 if (fn in _globals) and (str in _have_functions): 743 if not isinstance(value, str): 744 raise TypeError("str expected, not %s" % type(value).__name__) 747 decode = str 757 if not isinstance(value, str): 758 raise TypeError("str expected, not %s" % type(value).__name__) 776 key, default and the result are str.""" 807 """Encode filename (an os.PathLike, bytes, or str) to the filesystem 813 if isinstance(filename, str) [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryBasicGeometryShaderTests.cpp | 597 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms() 636 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms() 648 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms() 717 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms() 841 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms() 853 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms() 935 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms() 1011 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms() 1051 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageTests.cpp | 295 sourceCollections.glslSources.add("tex_vert") << glu::VertexSource(vertexSrc.str()); in initPrograms() 296 sourceCollections.glslSources.add("tex_frag") << glu::FragmentSource(fragmentSrc.str()); in initPrograms() 348 return samplerType.str(); in getGlslSamplerType() 394 return textureType.str(); in getGlslTextureType() 402 return imageCount > 1 ? samplerArray.str() : "texSampler"; in getGlslSamplerDecl() 410 return imageCount > 1 ? textureArray.str() : "texImage"; in getGlslTextureDecl() 418 return imageCount > 1 ? samplerArray.str() : "fragColor"; in getGlslFragColorDecl() 479 return caseName.str(); in getSizeName() 663 de::MovePtr<tcu::TestCaseGroup> countGroup(new tcu::TestCaseGroup(testCtx, caseName.str().c_str())); in createImageCountTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingOpacityMicromapTests.cpp | 170 const auto layoutDeclsStr = layoutDecls.str(); in initPrograms() 246 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(rgen.str())) << buildOptions; in initPrograms() 247 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(miss.str())) << buildOptions; in initPrograms() 248 programCollection.glslSources.add("ah") << glu::AnyHitSource(updateRayTracingGLSL(ah.str())) << buildOptions; in initPrograms() 249 programCollection.glslSources.add("ch") << glu::ClosestHitSource(updateRayTracingGLSL(ch.str())) << buildOptions; in initPrograms() 723 TCU_FAIL(msg.str()); in iterate() 730 std::cout << msg.str(); in iterate() 797 specialGroup->addChild(new OpacityMicromapCase(testCtx, css.str().c_str(), testParams)); in createOpacityMicromapTests() 829 modeGroup->addChild(new OpacityMicromapCase(testCtx, css.str().c_str(), testParams)); in createOpacityMicromapTests()
|
H A D | vktRayTracingTraversalControlTests.cpp | 460 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 475 programCollection.glslSources.add("isect_report") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 487 programCollection.glslSources.add("isect_pass_through") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 501 programCollection.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 513 programCollection.glslSources.add("ahit_pass_through") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 529 programCollection.glslSources.add("ahit_ignore") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 545 programCollection.glslSources.add("ahit_terminate") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 559 programCollection.glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 573 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryBasicGeometryShaderTests.cpp | 598 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms() 637 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms() 649 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms() 719 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms() 843 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms() 855 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms() 938 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms() 1014 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms() 1054 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms()
|
/third_party/skia/third_party/externals/tint/src/inspector/ |
H A D | inspector.cc | 380 auto* str = unwrapped_type->As<sem::Struct>(); in GetUniformBufferResourceBindings() local 381 if (str == nullptr) { in GetUniformBufferResourceBindings() 385 if (!str->IsBlockDecorated()) { in GetUniformBufferResourceBindings() 393 entry.size = str->Size(); in GetUniformBufferResourceBindings() 394 entry.size_no_padding = str->SizeNoPadding(); in GetUniformBufferResourceBindings() 674 auto* str = var->Type()->UnwrapRef()->As<sem::Struct>(); in GetStorageBufferResourceBindingsImpl() local 675 if (!str) { in GetStorageBufferResourceBindingsImpl() 685 entry.size = str->Size(); in GetStorageBufferResourceBindingsImpl() 686 entry.size_no_padding = str->SizeNoPadding(); in GetStorageBufferResourceBindingsImpl()
|
/third_party/toybox/toys/posix/ |
H A D | find.c | 149 static int compare_numsign(long val, long units, char *str) in compare_numsign() argument 154 if (*str == '+' || *str == '-') sign = *(str++); in compare_numsign() 155 else if (!isdigit(*str)) error_exit("%s not [+-]N", str); in compare_numsign() 156 myval = atolx(str); in compare_numsign() 157 if (units && isdigit(str[strlen(str)-1])) myval *= units; in compare_numsign()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineImageTests.cpp | 289 sourceCollections.glslSources.add("tex_vert") << glu::VertexSource(vertexSrc.str()); in initPrograms() 290 sourceCollections.glslSources.add("tex_frag") << glu::FragmentSource(fragmentSrc.str()); in initPrograms() 342 return samplerType.str(); in getGlslSamplerType() 388 return textureType.str(); in getGlslTextureType() 396 return imageCount > 1 ? samplerArray.str() : "texSampler"; in getGlslSamplerDecl() 404 return imageCount > 1 ? textureArray.str() : "texImage"; in getGlslTextureDecl() 412 return imageCount > 1 ? samplerArray.str() : "fragColor"; in getGlslFragColorDecl() 473 return caseName.str(); in getSizeName() 658 de::MovePtr<tcu::TestCaseGroup> countGroup(new tcu::TestCaseGroup(testCtx, caseName.str().c_str(), "")); in createImageCountTests()
|
H A D | vktPipelineNoPositionTests.cpp | 188 programCollection.glslSources.add("vert") << glu::VertexSource(vert.str()); in initPrograms() 229 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(tesc.str()); in initPrograms() 267 programCollection.glslSources.add("tese") << glu::TessellationEvaluationSource(tese.str()); in initPrograms() 306 programCollection.glslSources.add("geom") << glu::GeometrySource(geom.str()); in initPrograms() 321 << " out_color = " << colorStr.str() << ";\n" in initPrograms() 325 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str()); in initPrograms() 687 log << tcu::TestLog::Message << msg.str() << tcu::TestLog::EndMessage; in iterate() 689 TCU_FAIL(msg.str()); in iterate() 734 TCU_FAIL(msg.str()); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingOpacityMicromapTests.cpp | 170 const auto layoutDeclsStr = layoutDecls.str(); in initPrograms() 246 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(rgen.str())) << buildOptions; in initPrograms() 247 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(miss.str())) << buildOptions; in initPrograms() 248 programCollection.glslSources.add("ah") << glu::AnyHitSource(updateRayTracingGLSL(ah.str())) << buildOptions; in initPrograms() 249 programCollection.glslSources.add("ch") << glu::ClosestHitSource(updateRayTracingGLSL(ch.str())) << buildOptions; in initPrograms() 725 TCU_FAIL(msg.str()); in iterate() 732 std::cout << msg.str(); in iterate() 798 specialGroup->addChild(new OpacityMicromapCase(testCtx, css.str().c_str(), "", testParams)); in createOpacityMicromapTests() 830 modeGroup->addChild(new OpacityMicromapCase(testCtx, css.str().c_str(), "", testParams)); in createOpacityMicromapTests()
|
H A D | vktRayTracingTraversalControlTests.cpp | 460 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 475 programCollection.glslSources.add("isect_report") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 487 programCollection.glslSources.add("isect_pass_through") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 501 programCollection.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 513 programCollection.glslSources.add("ahit_pass_through") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 529 programCollection.glslSources.add("ahit_ignore") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 545 programCollection.glslSources.add("ahit_terminate") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 559 programCollection.glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 573 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_upnp_web.c | 1117 char str[80]; in web_connection_parse_subscribe() local 1118 uuid_bin2str(uuid, str, sizeof(str)); in web_connection_parse_subscribe() 1120 "SID %s", str); in web_connection_parse_subscribe() 1289 char str[80]; in web_connection_parse_unsubscribe() local 1291 uuid_bin2str(uuid, str, sizeof(str)); in web_connection_parse_unsubscribe() 1300 s, str, (sa && sa->domain_and_port) ? in web_connection_parse_unsubscribe() 1307 str); in web_connection_parse_unsubscribe()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_upnp_web.c | 1117 char str[80]; in web_connection_parse_subscribe() local 1118 uuid_bin2str(uuid, str, sizeof(str)); in web_connection_parse_subscribe() 1120 "SID %s", str); in web_connection_parse_subscribe() 1289 char str[80]; in web_connection_parse_unsubscribe() local 1291 uuid_bin2str(uuid, str, sizeof(str)); in web_connection_parse_unsubscribe() 1300 s, str, (sa && sa->domain_and_port) ? in web_connection_parse_unsubscribe() 1307 str); in web_connection_parse_unsubscribe()
|
/third_party/python/Lib/test/ |
H A D | test_inspect.py | 287 self.assertTrue(inspect.isroutine(str.join)) 294 self.assertFalse(inspect.isroutine(str())) 563 self.assertEqual(inspect.getmodule(str), sys.modules["builtins"]) 604 self.assertTrue(str(e.exception).startswith('<module')) 609 self.assertTrue(str(e.exception).startswith('<class')) 614 self.assertIn('expected, got', str(e_abs.exception)) 617 self.assertIn('expected, got', str(e_append.exception)) 1331 def foo(a:int, b:str): pass 1332 self.assertEqual(inspect.get_annotations(foo), {'a': int, 'b': str}) 1334 foo.__annotations__ = {'a': 'foo', 'b':'str'} [all...] |