/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | domain.c | 164 char *str, *s, *uuid_str; in boot_acl_store() local 179 str = kstrdup(buf, GFP_KERNEL); in boot_acl_store() 180 if (!str) in boot_acl_store() 189 uuid_str = strim(str); in boot_acl_store() 230 kfree(str); in boot_acl_store()
|
/kernel/linux/linux-6.6/drivers/usb/typec/mux/ |
H A D | intel_pmc_mux.c | 556 const char *str; in pmc_usb_register_port() local 567 ret = fwnode_property_read_string(fwnode, "sbu-orientation", &str); in pmc_usb_register_port() 569 port->sbu_orientation = typec_find_orientation(str); in pmc_usb_register_port() 571 ret = fwnode_property_read_string(fwnode, "hsl-orientation", &str); in pmc_usb_register_port() 573 port->hsl_orientation = typec_find_orientation(str); in pmc_usb_register_port()
|
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | ipa_main.c | 737 const char *str; in ipa_firmware_loader() local 742 ret = of_property_read_string(dev->of_node, "qcom,gsi-loader", &str); in ipa_firmware_loader() 760 if (!strcmp(str, "modem")) in ipa_firmware_loader() 764 if (!strcmp(str, "skip")) in ipa_firmware_loader() 768 if (strcmp(str, "self")) in ipa_firmware_loader()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | process.c | 991 static int __init idle_setup(char *str) in idle_setup() argument 993 if (!str) in idle_setup() 996 if (!strcmp(str, "poll")) { in idle_setup() 1000 } else if (!strcmp(str, "halt")) { in idle_setup() 1010 } else if (!strcmp(str, "nomwait")) { in idle_setup()
|
/kernel/linux/linux-6.6/drivers/iio/frequency/ |
H A D | admv1014.c | 713 const char *str; in admv1014_properties_parse() local 722 ret = device_property_read_string(&spi->dev, "adi,input-mode", &str); in admv1014_properties_parse() 726 ret = match_string(input_mode_names, ARRAY_SIZE(input_mode_names), str); in admv1014_properties_parse() 733 ret = device_property_read_string(&spi->dev, "adi,quad-se-mode", &str); in admv1014_properties_parse() 737 ret = match_string(quad_se_mode_names, ARRAY_SIZE(quad_se_mode_names), str); in admv1014_properties_parse()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_sysfs.c | 293 static void remove_trail_spaces(char *str) in remove_trail_spaces() argument 296 if (!*str) in remove_trail_spaces() 298 p = str + strlen(str) - 1; in remove_trail_spaces() 301 if (p == str) in remove_trail_spaces()
|
/kernel/linux/linux-6.6/net/9p/ |
H A D | trans_xen.c | 441 char str[16]; in xen_9pfs_front_init() local 444 sprintf(str, "ring-ref%d", i); in xen_9pfs_front_init() 445 ret = xenbus_printf(xbt, dev->nodename, str, "%d", in xen_9pfs_front_init() 450 sprintf(str, "event-channel-%d", i); in xen_9pfs_front_init() 451 ret = xenbus_printf(xbt, dev->nodename, str, "%u", in xen_9pfs_front_init()
|
/kernel/linux/linux-6.6/tools/bpf/resolve_btfids/ |
H A D | main.c | 360 pr_err("FAILED cannot get shdr str ndx\n"); in elf_collect() 562 const char *str; in symbols_resolve() local 587 str = btf__name_by_offset(btf, type->name_off); in symbols_resolve() 588 if (!str) { in symbols_resolve() 594 id = btf_id__find(root, str); in symbols_resolve() 598 str, id->id, type_id, id->id); in symbols_resolve()
|
/third_party/ffmpeg/libavcodec/ |
H A D | dvdsubenc.c | 423 char *str; in bprint_to_extradata() local 425 ret = av_bprint_finalize(buf, &str); in bprint_to_extradata() 429 av_free(str); in bprint_to_extradata() 433 avctx->extradata = str; in bprint_to_extradata() 491 {"palette", "set the global palette", OFFSET(palette_str), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, SE },
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_blend.c | 114 { "c0_expr", "set color component #0 expression", OFFSET(params[0].expr_str), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, 115 { "c1_expr", "set color component #1 expression", OFFSET(params[1].expr_str), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, 116 { "c2_expr", "set color component #2 expression", OFFSET(params[2].expr_str), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, 117 { "c3_expr", "set color component #3 expression", OFFSET(params[3].expr_str), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, 118 { "all_expr", "set expression for all color components", OFFSET(all_expr), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS },
|
/third_party/gn/src/gn/ |
H A D | innerapis_publicinfo_generator.cc | 33 static bool StartWith(const std::string &str, const std::string &prefix)
in StartWith() argument 35 return (str.rfind(prefix, 0) == 0);
in StartWith() 171 std::string str = ReplaceDoubleQuotes(flag);
in GetSingleFlagInfo() local 172 info += "\"" + str + "\"";
in GetSingleFlagInfo() 174 SetExternalPublicConfigsValue(label, name, str);
in GetSingleFlagInfo()
|
/third_party/alsa-lib/src/rawmidi/ |
H A D | rawmidi.c | 176 const char *str; in snd_rawmidi_open_conf() local 206 err = snd_config_get_string(conf, &str); in snd_rawmidi_open_conf() 211 err = snd_config_search_definition(rawmidi_root, "rawmidi_type", str, &type_conf); in snd_rawmidi_open_conf() 214 SNDERR("Invalid type for RAWMIDI type %s definition", str); in snd_rawmidi_open_conf() 248 snprintf(buf, sizeof(buf), "_snd_rawmidi_%s_open", str); in snd_rawmidi_open_conf()
|
/third_party/mbedtls/tests/scripts/ |
H A D | check_names.py | 178 ) + "\n" + str(self.match) 205 ) + "\n" + str(self.match) 234 .format(str(self.excluded_files)) 803 self.log.info("FAIL: {0} problem(s) to fix".format(str(problems))) 917 self.log.warning(str(problem))
|
/third_party/mesa3d/src/freedreno/decode/ |
H A D | script.c | 103 const char *str; member 111 if (e->str) { in l_meta_rnn_enum_tostring() 112 lua_pushstring(L, e->str); in l_meta_rnn_enum_tostring() 144 e->str = NULL; in pushenum() 148 e->str = info->vals[i]->name; in pushenum()
|
/third_party/mesa3d/src/broadcom/cle/ |
H A D | gen_pack_header.py | 102 if str(attrs["start"]).endswith("b"): 359 args.append(str(start + field.start)) 360 args.append(str(start + field.end)) 379 args.append(str(field.fractional_size)) 382 args.append(str(field.fractional_size))
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
H A D | sfn_instrfromstring_test.cpp | 238 for (auto& [expect_bs, str] : AluInstr::bank_swizzle_map) { in TEST_F() 239 auto init = std::string("ALU MOV R2000.y : R1999.x {WL} ") + str; in TEST_F() 281 for (auto& [expect_cf, str] : AluInstr::cf_map) { in TEST_F() 282 auto init = std::string("ALU MOV R2000.y : R1999.x {WL} ") + str; in TEST_F() 712 EXPECT_EQ(os.str(), init); in check()
|
/third_party/node/src/ |
H A D | inspector_socket_server.cc | 49 return url.str(); in FormatHostPort() 59 return url.str(); in FormatAddress() 74 return json.str(); in MapToString() 89 return json.str(); in MapsToString() 397 return frontend_url.str(); in GetFrontendURL()
|
/third_party/icu/icu4c/source/test/perf/dicttrieperf/ |
H A D | dicttrieperf.cpp | 494 CharString &str, UErrorCode &errorCode) { in thaiWordToBytes() 499 str.append((char)b, errorCode); in thaiWordToBytes() 514 CharString str; in BytesTrieDictLookup() local 522 if(!thaiWordToBytes(lines[i].name, lines[i].len, str.clear(), errorCode)) { in BytesTrieDictLookup() 527 builder->add(str.toStringPiece(), 0, errorCode); in BytesTrieDictLookup() 493 thaiWordToBytes(const UChar *s, int32_t length, CharString &str, UErrorCode &errorCode) thaiWordToBytes() argument
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | spooftest.c | 495 const UChar* str = tests[i]; in TestUSpoofCAPI() local 498 result1 = uspoof_check(sc, str, -1, NULL, &status); in TestUSpoofCAPI() 499 result2 = uspoof_check2(sc, str, -1, NULL, &status); in TestUSpoofCAPI() 504 result1 = uspoof_check(sc, str, -1, NULL, &status); in TestUSpoofCAPI() 505 result2 = uspoof_check2(sc, str, -1, checkResult, &status); in TestUSpoofCAPI()
|
/third_party/node/deps/openssl/openssl/engines/ |
H A D | e_afalg.c | 829 char *str; in afalg_chk_platform() local 839 str = strtok(ut.release, "."); in afalg_chk_platform() 840 for (i = 0; i < 3 && str != NULL; i++) { in afalg_chk_platform() 841 kver[i] = atoi(str); in afalg_chk_platform() 842 str = strtok(NULL, "."); in afalg_chk_platform()
|
/third_party/qrcodegen/rust-no-heap/src/ |
H A D | lib.rs | 164 pub fn encode_text<'b>(text: &str, tempbuffer: &'b mut [u8], mut outbuffer: &'a mut [u8], ecl: QrCodeEcc, in encode_text() 1112 pub fn make_numeric(text: &str, buf: &'a mut [u8]) -> Self { in make_bytes() 1139 pub fn make_alphanumeric(text: &str, buf: &'a mut [u8]) -> Self { in make_alphanumeric() 1272 pub fn is_numeric(text: &str) -> bool { in is_numeric() 1280 pub fn is_alphanumeric(text: &str) -> bool { in is_alphanumeric() 1289 static ALPHANUMERIC_CHARSET: &str = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
|
/third_party/python/Lib/test/ |
H A D | test_calendar.py | 423 d.month, d.day, str(d.year)[-2:]) for d in z) 555 self.assertIsInstance(local_weekday, str) 556 self.assertIsInstance(local_month, str) 562 self.assertIsInstance(local_weekday, str) 563 self.assertIsInstance(local_month, str)
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/ |
H A D | esextcTestCaseBase.cpp | 354 return tcu::StringTemplate(code_merged.str().c_str()).specialize(m_specializationMap); in specializeShader() 1150 std::stringstream str; in getGLSLExtDirective() local 1151 str << "#extension GL_" << type_str << name_str << " : " << behavior_str; in getGLSLExtDirective() 1152 return str.str(); in getGLSLExtDirective()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLContextCompatibilityTest.cpp | 164 return strstr.str(); in EGLConfigName() 530 std::string name = nameStr.str(); in RegisterContextCompatibilityTests() 546 std::string name = nameStr.str(); in RegisterContextCompatibilityTests() 584 std::string name = nameStr.str(); in RegisterContextCompatibilityTests() 616 std::string name = nameStr.str(); in RegisterContextCompatibilityTests()
|
/third_party/openssl/engines/ |
H A D | e_afalg.c | 829 char *str; in afalg_chk_platform() local 839 str = strtok(ut.release, "."); in afalg_chk_platform() 840 for (i = 0; i < 3 && str != NULL; i++) { in afalg_chk_platform() 841 kver[i] = atoi(str); in afalg_chk_platform() 842 str = strtok(NULL, "."); in afalg_chk_platform()
|