/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | ipl.c | 1955 char str[8] = {0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40}; in s390_ipl_init() local 1968 if (memcmp(sclp_ipl_info.loadparm, str, sizeof(str)) == 0 && ipl_block_valid) in s390_ipl_init() 1991 static int __init vmcmd_on_reboot_setup(char *str) in vmcmd_on_reboot_setup() argument 1995 strncpy_skip_quote(vmcmd_on_reboot, str, 127); in vmcmd_on_reboot_setup() 2002 static int __init vmcmd_on_panic_setup(char *str) in vmcmd_on_panic_setup() argument 2006 strncpy_skip_quote(vmcmd_on_panic, str, 127); in vmcmd_on_panic_setup() 2013 static int __init vmcmd_on_halt_setup(char *str) in vmcmd_on_halt_setup() argument 2017 strncpy_skip_quote(vmcmd_on_halt, str, 127); in vmcmd_on_halt_setup() 2024 static int __init vmcmd_on_poff_setup(char *str) in vmcmd_on_poff_setup() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | lgdt3306a.c | 1681 u32 str; in lgdt3306a_read_signal_strength() local 1711 str = 0; in lgdt3306a_read_signal_strength() 1713 str = (0xffff * 65) / 100; /* 65% */ in lgdt3306a_read_signal_strength() 1715 str = state->snr - ref_snr; in lgdt3306a_read_signal_strength() 1716 str /= 50; in lgdt3306a_read_signal_strength() 1717 str += 78; /* 78%-100% */ in lgdt3306a_read_signal_strength() 1718 if (str > 100) in lgdt3306a_read_signal_strength() 1719 str = 100; in lgdt3306a_read_signal_strength() 1720 str = (0xffff * str) / 10 in lgdt3306a_read_signal_strength() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-diff.c | 229 static int setup_compute(const struct option *opt, const char *str, in setup_compute() argument 233 char *cstr = (char *) str; in setup_compute() 238 if (!str) { in setup_compute() 243 option = strchr(str, ':'); in setup_compute() 245 unsigned len = option++ - str; in setup_compute() 248 * The str data are not writeable, so we need in setup_compute() 256 strncpy(buf, str, len); in setup_compute() 268 "(use 'delta','ratio' or 'wdiff')\n", str); in setup_compute() 1077 char *str = NULL; in abstime_str_dup() local 1080 str in abstime_str_dup() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | lgdt3306a.c | 1645 u32 str; in lgdt3306a_read_signal_strength() local 1675 str = 0; in lgdt3306a_read_signal_strength() 1677 str = (0xffff * 65) / 100; /* 65% */ in lgdt3306a_read_signal_strength() 1679 str = state->snr - ref_snr; in lgdt3306a_read_signal_strength() 1680 str /= 50; in lgdt3306a_read_signal_strength() 1681 str += 78; /* 78%-100% */ in lgdt3306a_read_signal_strength() 1682 if (str > 100) in lgdt3306a_read_signal_strength() 1683 str = 100; in lgdt3306a_read_signal_strength() 1684 str = (0xffff * str) / 10 in lgdt3306a_read_signal_strength() [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | solos-pci.c | 341 char *str, *state_str, *snr, *attn; in process_status() local 347 str = next_string(skb); in process_status() 348 if (!str) in process_status() 351 err = kstrtoint(str, 10, &ver); in process_status() 362 str = next_string(skb); in process_status() 363 if (!str) in process_status() 365 if (!strcmp(str, "ERROR")) { in process_status() 371 err = kstrtoint(str, 10, &rate_down); in process_status() 375 str = next_string(skb); in process_status() 376 if (!str) in process_status() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_ucode.c | 76 char *str = "unknown"; in get_eng_type_str() local 80 str = "SE"; in get_eng_type_str() 84 str = "IE"; in get_eng_type_str() 88 str = "AE"; in get_eng_type_str() 91 return str; in get_eng_type_str() 96 char *str = "unknown"; in get_ucode_type_str() local 100 str = "SE"; in get_ucode_type_str() 104 str = "IE"; in get_ucode_type_str() 108 str = "AE"; in get_ucode_type_str() 112 str in get_ucode_type_str() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/amphion/ |
H A D | vdec.c | 1609 static int vdec_get_debug_info(struct vpu_inst *inst, char *str, u32 size, u32 i) in vdec_get_debug_info() argument 1616 num = scnprintf(str, size, in vdec_get_debug_info() 1622 num = scnprintf(str, size, in vdec_get_debug_info() 1630 num = scnprintf(str, size, in vdec_get_debug_info() 1638 num = scnprintf(str, size, "input_frame_count = %d\n", vdec->params.frame_count); in vdec_get_debug_info() 1641 num = scnprintf(str, size, "decoded_frame_count = %d\n", vdec->decoded_frame_count); in vdec_get_debug_info() 1644 num = scnprintf(str, size, "display_frame_count = %d\n", vdec->display_frame_count); in vdec_get_debug_info() 1647 num = scnprintf(str, size, "sequence = %d\n", vdec->sequence); in vdec_get_debug_info() 1650 num = scnprintf(str, size, "drain = %d, eos = %d, source_change = %d\n", in vdec_get_debug_info() 1654 num = scnprintf(str, siz in vdec_get_debug_info() [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-diff.c | 229 static int setup_compute(const struct option *opt, const char *str, in setup_compute() argument 233 char *cstr = (char *) str; in setup_compute() 238 if (!str) { in setup_compute() 243 option = strchr(str, ':'); in setup_compute() 245 unsigned len = option++ - str; in setup_compute() 248 * The str data are not writeable, so we need in setup_compute() 256 strncpy(buf, str, len); in setup_compute() 268 "(use 'delta','ratio' or 'wdiff')\n", str); in setup_compute() 1079 char *str = NULL; in abstime_str_dup() local 1082 str in abstime_str_dup() [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_probe.c | 860 static int str_to_immediate(char *str, unsigned long *imm) in str_to_immediate() argument 862 if (isdigit(str[0])) in str_to_immediate() 863 return kstrtoul(str, 0, imm); in str_to_immediate() 864 else if (str[0] == '-') in str_to_immediate() 865 return kstrtol(str, 0, (long *)imm); in str_to_immediate() 866 else if (str[0] == '+') in str_to_immediate() 867 return kstrtol(str + 1, 0, (long *)imm); in str_to_immediate() 871 static int __parse_imm_string(char *str, char **pbuf, int offs) in __parse_imm_string() argument 873 size_t len = strlen(str); in __parse_imm_string() 875 if (str[le in __parse_imm_string() [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | data.c | 268 static int get_hex_num(const char *str) in get_hex_num() argument 270 int delims, values, len = strlen(str); in get_hex_num() 271 const char *s, *end = str + len; in get_hex_num() 274 s = str; in get_hex_num() 303 s = str; in get_hex_num() 342 static int get_uuid(const char *str, unsigned char *uuid_le) in get_uuid() argument 348 tmp = strdup(str); in get_uuid() 410 static int write_hex(char *buf, char *str, int width) in write_hex() argument 416 if (safe_strtol_base(str, &val, 16) < 0) in write_hex() 436 static int copy_data_hex(char *data, int off, const char *str, in argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | itrbnf.cpp | 1942 UnicodeString str; in TestAllLocales() local 1943 f->format(n, str); in TestAllLocales() 1947 + "success: " + n + " -> " + str); in TestAllLocales() local 1957 f->parse(str, num, status); in TestAllLocales() 1960 + "ERROR could not parse '" + str + "' -> " + u_errorName(status)); in TestAllLocales() 1967 + UnicodeString(" -> ") + str + UnicodeString(" -> ") + num.getLong()); in TestAllLocales() 1973 + UnicodeString(" -> ") + str + UnicodeString(" -> ") + num.getDouble()); in TestAllLocales() 1979 f->parse(str, num, status); in TestAllLocales() 1982 + "ERROR could not parse(lenient) '" + str + "' -> " + u_errorName(status)); in TestAllLocales() 1989 + UnicodeString(" -> ") + str in TestAllLocales() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | locid.cpp | 1090 inline bool notEmpty(const char* str) { 1091 return str && str[0] != NULL_CHAR; 1204 CharString* str = new CharString( 1206 LocalPointer<CharString> lpStr(str, status); 1211 char* data = str->data(); 1521 const char* str = transformedExtensions.data(); 1522 const char* tkey = ultag_getTKeyStart(str); 1523 int32_t tlangLen = (tkey == str) ? 0 : 1524 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str [all...] |
/third_party/icu/vendor/double-conversion/upstream/test/cctest/ |
H A D | test-strtod.cc | 39 static Vector<const char> StringToVector(const char* str) { in StringToVector() argument 40 int len = static_cast<int>(strlen(str)); in StringToVector() 41 return Vector<const char>(str, len); in StringToVector() 45 static double StrtodChar(const char* str, int exponent) { in StrtodChar() argument 46 return Strtod(StringToVector(str), exponent); in StrtodChar() 50 static double StrtodTrimmedChar(const char* str, int exponent) { in StrtodTrimmedChar() argument 51 return StrtodTrimmed(StringToVector(str), exponent); in StrtodTrimmedChar() 55 static float StrtofChar(const char* str, int exponent) { in StrtofChar() argument 56 return Strtof(StringToVector(str), exponent); in StrtofChar() 59 static float StrtofTrimmedChar(const char* str, in argument [all...] |
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/crypto/poly1305/ |
H A D | poly1305-armv8.S | 120 str x6,[x0,#16] 204 str w12,[x0,#16*0] // r0 206 str w13,[x0,#16*1] // r1 208 str w12,[x0,#16*2] // s1 209 str w14,[x0,#16*3] // r2 211 str w13,[x0,#16*4] // s2 212 str w15,[x0,#16*5] // r3 214 str w14,[x0,#16*6] // s3 215 str w16,[x0,#16*7] // r4 216 str w1 [all...] |
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/crypto/poly1305/ |
H A D | poly1305-armv8.S | 120 str x6,[x0,#16] 204 str w12,[x0,#16*0] // r0 206 str w13,[x0,#16*1] // r1 208 str w12,[x0,#16*2] // s1 209 str w14,[x0,#16*3] // r2 211 str w13,[x0,#16*4] // s2 212 str w15,[x0,#16*5] // r3 214 str w14,[x0,#16*6] // s3 215 str w16,[x0,#16*7] // r4 216 str w1 [all...] |
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/poly1305/ |
H A D | poly1305-armv8.S | 120 str x6,[x0,#16] 204 str w12,[x0,#16*0] // r0 206 str w13,[x0,#16*1] // r1 208 str w12,[x0,#16*2] // s1 209 str w14,[x0,#16*3] // r2 211 str w13,[x0,#16*4] // s2 212 str w15,[x0,#16*5] // r3 214 str w14,[x0,#16*6] // s3 215 str w16,[x0,#16*7] // r4 216 str w1 [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | xcode_emulation.py | 218 lst.append(format_str % str(self._Settings()[test_key])) 220 lst.append(format_str % str(default)) 1810 if not isinstance(additional_settings[k], str): 1820 def _NormalizeEnvVarReferences(str): 1825 str = re.sub(r"\$([a-zA-Z_][a-zA-Z0-9_]*)", r"${\1}", str) 1828 matches = re.findall(r"(\$\(([a-zA-Z0-9\-_]+)\))", str) 1832 str = str.replace(to_replace, "${" + variable + "}") 1834 return str [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | locid.cpp | 1097 inline bool notEmpty(const char* str) { 1098 return str && str[0] != NULL_CHAR; 1211 CharString* str = new CharString( 1213 LocalPointer<CharString> lpStr(str, status); 1218 char* data = str->data(); 1528 const char* str = transformedExtensions.data(); 1529 const char* tkey = ultag_getTKeyStart(str); 1530 int32_t tlangLen = (tkey == str) ? 0 : 1531 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | xcode_emulation.py | 218 lst.append(format_str % str(self._Settings()[test_key])) 220 lst.append(format_str % str(default)) 1804 if not isinstance(additional_settings[k], str): 1814 def _NormalizeEnvVarReferences(str): 1819 str = re.sub(r"\$([a-zA-Z_][a-zA-Z0-9_]*)", r"${\1}", str) 1822 matches = re.findall(r"(\$\(([a-zA-Z0-9\-_]+)\))", str) 1826 str = str.replace(to_replace, "${" + variable + "}") 1828 return str [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | string.cc | 1206 uint32_t ToValidIndex(String str, Object number) { in ToValidIndex() argument 1208 uint32_t length_value = static_cast<uint32_t>(str.length()); in ToValidIndex() 1552 bool String::HasOneBytePrefix(base::Vector<const char> str) { in HasOneBytePrefix() argument 1555 str, GetPtrComprCageBase(*this), in HasOneBytePrefix() 1580 bool String::IsIdentifier(Isolate* isolate, Handle<String> str) { in IsIdentifier() argument 1581 str = String::Flatten(isolate, str); in IsIdentifier() 1583 String::FlatContent flat = str->GetFlatContent(no_gc); in IsIdentifier() 1814 FlatStringReader::FlatStringReader(Isolate* isolate, Handle<String> str) in FlatStringReader() argument 1815 : Relocatable(isolate), str_(str), length in FlatStringReader() [all...] |
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/ |
H A D | poly1305-armv8.pl | 177 str $h2,[$ctx,#16] 273 str w12,[$ctx,#16*0] // r0 275 str w13,[$ctx,#16*1] // r1 277 str w12,[$ctx,#16*2] // s1 278 str w14,[$ctx,#16*3] // r2 280 str w13,[$ctx,#16*4] // s2 281 str w15,[$ctx,#16*5] // r3 283 str w14,[$ctx,#16*6] // s3 284 str w16,[$ctx,#16*7] // r4 285 str w1 [all...] |
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/crypto/poly1305/ |
H A D | poly1305-armv8.S | 120 str x6,[x0,#16] 204 str w12,[x0,#16*0] // r0 206 str w13,[x0,#16*1] // r1 208 str w12,[x0,#16*2] // s1 209 str w14,[x0,#16*3] // r2 211 str w13,[x0,#16*4] // s2 212 str w15,[x0,#16*5] // r3 214 str w14,[x0,#16*6] // s3 215 str w16,[x0,#16*7] // r4 216 str w1 [all...] |
/third_party/python/Lib/ |
H A D | doctest.py | 207 elif isinstance(module, str): 534 assert not isinstance(examples, str), \ 535 "DocTest no longer accepts str; use DocTestParser instead" 1020 if not isinstance(valname, str): 1025 inspect.ismodule(val) or isinstance(val, str)): 1056 if isinstance(obj, str): 1064 if not isinstance(docstring, str): 1065 docstring = str(docstring) 1473 s = str(s.encode(encoding, 'backslashreplace'), encoding) 1595 return str( [all...] |
/third_party/python/Lib/test/support/ |
H A D | __init__.py | 282 err_string = str(e) 320 min_version_txt = '.'.join(map(str, min_version)) 376 min_version_txt = '.'.join(map(str, min_version)) 439 if "CERTIFICATE_VERIFY_FAILED" in str(e): 1110 errors = [(str(tc), exc_str) for tc, exc_str in result.errors] 1111 failures = [(str(tc), exc_str) for tc, exc_str in result.failures] 1211 if isinstance(cls, str): 1215 raise ValueError("str arguments must be keys in sys.modules") 1433 elif type(dv) is not str or k not in self._partial_matches: 1609 elif isinstance(name_of_module, str) [all...] |
/third_party/openssl/crypto/poly1305/asm/ |
H A D | poly1305-armv8.pl | 177 str $h2,[$ctx,#16] 273 str w12,[$ctx,#16*0] // r0 275 str w13,[$ctx,#16*1] // r1 277 str w12,[$ctx,#16*2] // s1 278 str w14,[$ctx,#16*3] // r2 280 str w13,[$ctx,#16*4] // s2 281 str w15,[$ctx,#16*5] // r3 283 str w14,[$ctx,#16*6] // s3 284 str w16,[$ctx,#16*7] // r4 285 str w1 [all...] |