/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | ltc2947-core.c | 780 u32 attr, int channel, const char **str) in ltc2947_read_labels() 785 *str = "DVCC"; in ltc2947_read_labels() 787 *str = "VP-VM"; in ltc2947_read_labels() 790 *str = "IP-IM"; in ltc2947_read_labels() 794 *str = "TEMPFAN"; in ltc2947_read_labels() 796 *str = "Ambient"; in ltc2947_read_labels() 799 *str = "Power"; in ltc2947_read_labels() 778 ltc2947_read_labels(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) ltc2947_read_labels() argument
|
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/ |
H A D | isst-display.c | 9 static void printcpulist(int str_len, char *str, int mask_size, in printcpulist() argument 15 snprintf(str, str_len, "none"); in printcpulist() 25 index = snprintf(&str[curr_index], in printcpulist() 31 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist() 40 static void printcpumask(int str_len, char *str, int mask_size, in printcpumask() argument 68 index = snprintf(&str[curr_index], str_len - curr_index, "%08x", in printcpumask() 74 strncat(&str[curr_index], ",", str_len - curr_index); in printcpumask()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | unifdef.c | 805 const char *str; member 927 for (op = ops->op; op->str != NULL; op++) in eval_table() 928 if (strncmp(cp, op->str, strlen(op->str)) == 0) in eval_table() 930 if (op->str == NULL) in eval_table() 932 cp += strlen(op->str); in eval_table() 933 debug("eval%d %s", ops - eval_ops, op->str); in eval_table() 1121 findsym(const char *str) in findsym() argument 1126 cp = skipsym(str); in findsym() 1127 if (cp == str) in findsym() [all...] |
/kernel/linux/linux-6.6/sound/isa/gus/ |
H A D | interwave.c | 637 char *str; in snd_interwave_probe() local 734 str = "AMD InterWave"; in snd_interwave_probe() 736 str = "Dynasonic 3-D"; in snd_interwave_probe() 738 str = "InterWave STB"; in snd_interwave_probe() 740 strcpy(card->driver, str); in snd_interwave_probe() 741 strcpy(card->shortname, str); in snd_interwave_probe() 743 str, in snd_interwave_probe()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | stdiondk.cpp | 220 int vsnprintfChk_test(char *str, size_t n, char *fmt, const char *funcName, ...)
in vsnprintfChk_test() argument 461 char str[4] = "boy";
in Vfscanf() local 464 int ret = vfsf(file, value, i, fl, str);
in Vfscanf() 466 fscanf(file, "%d%f%s", &i, &fl, str);
in Vfscanf() 541 int vsnprintf_test(char *str, size_t n, char *fmt, const char *funcName, ...)
in vsnprintf_test() argument 566 int GetMatches(const char *str, const char *format, ...)
in GetMatches() argument 570 int vssval = vsscanf(str, format, args);
in GetMatches()
|
/third_party/ffmpeg/libavcodec/arm/ |
H A D | mlpdsp_armv5te.S | 241 str ST0, [PST, #-4]! 242 str ST0, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)] 243 str ST0, [PSAMP], #4 * MAX_CHANNELS 333 str ST3, [PST, #-4]! 334 str ST2, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)] 335 str ST3, [PSAMP], #4 * MAX_CHANNELS 541 str AC0, [PSA, DCH, lsl #2] // DCH is precompensated for the early increment of PSA
|
/third_party/ffmpeg/libavcodec/ |
H A D | ccaption_dec.c | 598 ctx->buffer[bidx].str[ctx->buffer[bidx].len] = 0; in capture_screen() 880 if (ctx->buffer[bidx].str[0] || ctx->real_time) { in decode() 881 ff_dlog(ctx, "cdp writing data (%s)\n", ctx->buffer[bidx].str); in decode() 890 ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_allocated); in decode() 898 if (!bptr && !ctx->real_time && ctx->buffer[!ctx->buffer_index].str[0]) { in decode() 900 ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_allocated); in decode() 918 ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_allocated); in decode()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_libplacebo.c | 343 float str = s->desat_str < 0.0f ? 0.9f : s->desat_str; in process_frames() local 345 if (str >= 0.9f && exp <= 0.1f) { in process_frames() 347 } else if (str > 0.1f) { in process_frames() 569 { "w", "Output video width", OFFSET(w_expr), AV_OPT_TYPE_STRING, {.str = "iw"}, .flags = STATIC }, 570 { "h", "Output video height", OFFSET(h_expr), AV_OPT_TYPE_STRING, {.str = "ih"}, .flags = STATIC }, 637 { "upscaler", "Upscaler function", OFFSET(upscaler), AV_OPT_TYPE_STRING, {.str = "spline36"}, .flags = DYNAMIC }, 638 { "downscaler", "Downscaler function", OFFSET(downscaler), AV_OPT_TYPE_STRING, {.str = "mitchell"}, .flags = DYNAMIC },
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationRuleParser.java | 66 * strength=UCOL_IDENTICAL for &str. 67 * strength=UCOL_PRIMARY/UCOL_SECONDARY/UCOL_TERTIARY for &[before n]str where n=1/2/3. 69 abstract void addReset(int strength, CharSequence str); in addReset() argument 71 * Adds a relation with strength and prefix | str / extension. 74 CharSequence str, CharSequence extension); in addRelation() 126 // In C++, we parse into temporary UnicodeString objects named "raw" or "str". 293 // prefix | str / extension in parseRelationStrings() 304 // str = rawBuilder (do not modify rawBuilder any more in this function) in parseRelationStrings() 314 setParseError("in 'prefix|str', prefix and str mus in parseRelationStrings() 73 addRelation(int strength, CharSequence prefix, CharSequence str, CharSequence extension) addRelation() argument 497 parseSpecialPosition(int i, StringBuilder str) parseSpecialPosition() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationRuleParser.java | 70 * strength=UCOL_IDENTICAL for &str. 71 * strength=UCOL_PRIMARY/UCOL_SECONDARY/UCOL_TERTIARY for &[before n]str where n=1/2/3. 73 abstract void addReset(int strength, CharSequence str); in addReset() argument 75 * Adds a relation with strength and prefix | str / extension. 78 CharSequence str, CharSequence extension); in addRelation() 130 // In C++, we parse into temporary UnicodeString objects named "raw" or "str". 297 // prefix | str / extension in parseRelationStrings() 308 // str = rawBuilder (do not modify rawBuilder any more in this function) in parseRelationStrings() 318 setParseError("in 'prefix|str', prefix and str mus in parseRelationStrings() 77 addRelation(int strength, CharSequence prefix, CharSequence str, CharSequence extension) addRelation() argument 501 parseSpecialPosition(int i, StringBuilder str) parseSpecialPosition() argument [all...] |
/third_party/node/lib/ |
H A D | assert.js | 104 const escapeFn = (str) => meta[StringPrototypeCharCodeAt(str, 0)]; 654 const str = String(actual); 655 if (RegExpPrototypeExec(expected, str) !== null) 661 `${inspect(expected)}. Input:\n\n${inspect(str)}\n`; 853 const str = String(actual); 854 return RegExpPrototypeExec(expected, str) !== null;
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | json.cc | 349 void Emit(const char* str) { in Emit() argument 350 out_->insert(out_->end(), str, str + strlen(str)); in Emit() 352 void Emit(const std::string& str) { in Emit() argument 353 out_->insert(out_->end(), str.begin(), str.end()); in Emit()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_print.cpp | 798 char str[16]; in visit() local 807 it->get()->print(str, sizeof(str), typeOfSize(it->get()->reg.size)); in visit() 808 INFO(" %s", str); in visit() 816 it->get()->print(str, sizeof(str), typeOfSize(it->get()->reg.size)); in visit() 817 INFO(" %s", str); in visit()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | citertst.c | 353 const char *str = in TestNormalization() local 357 int rulelen = u_unescape(str, rule, 50); in TestNormalization() 948 UChar str[] = {0x300, 0x31A, 0}; in TestSmallBuffer() local 965 iter = ucol_openElements(coll, str, 2, &status); in TestSmallBuffer() 1063 UChar str[20]; in TestDiscontiguos() local 1065 int strLen = u_unescape(src[count], str, 20); in TestDiscontiguos() 1068 ucol_setText(iter, str, strLen, &status); in TestDiscontiguos()
|
/third_party/node/deps/v8/src/strings/ |
H A D | unicode.cc | 194 uchar Utf8::CalculateValue(const byte* str, size_t max_length, size_t* cursor) { in CalculateValue() argument 196 DCHECK_GT(str[0], kMaxOneByteChar); in CalculateValue() 202 const byte* start = str; in CalculateValue() 203 const byte* end = str + max_length; in CalculateValue() 206 t = ValueOfIncremental(&str, &state, &buffer); in CalculateValue() 207 } while (str < end && t == kIncomplete); in CalculateValue() 209 *cursor += str - start; in CalculateValue()
|
/third_party/node/deps/openssl/openssl/util/ |
H A D | check-format.pl | 323 my $str = shift; 324 return $str =~ tr/\(// - $str =~ tr/\)//; 441 my $str = shift; 444 for (my $i = $start; $i < length($str); $i++) { 446 my $curr = substr($str, $i); 452 my ($head, $tail) = (substr($str, 0, $i).$1, $3);
|
/third_party/qrcodegen/rust/src/ |
H A D | lib.rs | 76 //! let text: &str = "3141592653589793238462643383"; 159 pub fn encode_text(text: &str, ecl: QrCodeEcc) -> Result<Self,DataTooLong> { in encode_text() 987 pub fn make_numeric(text: &str) -> Self { in make_numeric() 1014 pub fn make_alphanumeric(text: &str) -> Self { in make_alphanumeric() 1040 pub fn make_segments(text: &str) -> Vec<Self> { in make_segments() 1132 pub fn is_numeric(text: &str) -> bool { in is_numeric() 1141 pub fn is_alphanumeric(text: &str) -> bool { in is_alphanumeric() 1150 static ALPHANUMERIC_CHARSET: &str = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
|
/third_party/rust/crates/clap/src/builder/ |
H A D | value_parser.rs | 77 /// - `Fn(&str) -> Result<T, E>` 87 /// fn parse_env_var(env: &str) -> Result<EnvVar, std::io::Error> { 639 /// - Use `Fn(&str) -> Result<T, E>` which implements `TypedValueParser` 788 /// fn verify_ext(os: OsString) -> Result<PathBuf, &'static str> { 818 F: Fn(&str) -> Result<T, E> + Clone + Send + Sync + 'static, 2290 FromStr: for<'s> From<&'s str> + std::any::Any + Clone + Send + Sync + 'static, 2303 Parse: std::str::FromStr + std::any::Any + Clone + Send + Sync + 'static, 2304 <Parse as std::str::FromStr>::Err: Into<Box<dyn std::error::Error + Send + Sync + 'static>>, 2307 let func: fn(&str) -> Result<Parse, <Parse as std::str in value_parser() [all...] |
/third_party/openssl/util/ |
H A D | check-format.pl | 323 my $str = shift; 324 return $str =~ tr/\(// - $str =~ tr/\)//; 441 my $str = shift; 444 for (my $i = $start; $i < length($str); $i++) { 446 my $curr = substr($str, $i); 452 my ($head, $tail) = (substr($str, 0, $i).$1, $3);
|
/third_party/python/Lib/ |
H A D | dataclasses.py | 766 or (isinstance(f.type, str) 778 or (isinstance(f.type, str) 946 or (isinstance(type, str) 1098 text_sig = str(inspect.signature(cls)).replace(' -> None', '') 1137 case str(slot): 1415 if isinstance(item, str): 1426 if not isinstance(name, str) or not name.isidentifier():
|
H A D | traceback.py | 173 def _safe_string(value, what, func=str): 561 def _byte_offset_to_character_offset(str, offset): 562 as_utf8 = str.encode('utf-8') 631 if isinstance(text_gen, str): 706 self.lineno = str(lno) if lno is not None else None 708 self.end_lineno = str(end_lno) if end_lno is not None else None 825 if not isinstance(smod, str):
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageSubresourceLayoutTests.cpp | 536 return tcu::TestStatus::fail(msg.str()); in iterateAspect() 548 return tcu::TestStatus::fail(msg.str()); in iterateAspect() 560 return tcu::TestStatus::fail(msg.str()); in iterateAspect() 573 return tcu::TestStatus::fail(msg.str()); in iterateAspect() 585 return tcu::TestStatus::fail(msg.str()); in iterateAspect() 598 return tcu::TestStatus::fail(msg.str()); in iterateAspect() 639 return tcu::TestStatus::fail(msg.str()); in iterateAspect()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | scalar_analysis.cpp | 562 void operator()(T id, std::u32string* str) { in operator ()() 563 str->push_back(static_cast<uint32_t>(id >> 32)); in operator ()() 564 str->push_back(static_cast<uint32_t>(id)); in operator ()() 570 void operator()(T id, std::u32string* str) { in operator ()() 571 str->push_back(static_cast<uint32_t>(id)); in operator ()() 576 static void PushToString(T id, std::u32string* str) { in PushToString() argument 577 PushToStringImpl<T, sizeof(T)>{}(id, str); in PushToString()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | scalar_analysis.cpp | 562 void operator()(T id, std::u32string* str) { in operator ()() 563 str->push_back(static_cast<uint32_t>(id >> 32)); in operator ()() 564 str->push_back(static_cast<uint32_t>(id)); in operator ()() 570 void operator()(T id, std::u32string* str) { in operator ()() 571 str->push_back(static_cast<uint32_t>(id)); in operator ()() 576 static void PushToString(T id, std::u32string* str) { in PushToString() argument 577 PushToStringImpl<T, sizeof(T)>{}(id, str); in PushToString()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
H A D | generator_impl.cc | 104 } else if (auto* str = ty->As<ast::Struct>()) { in EmitTypeDecl() 105 if (!EmitStructType(str)) { in EmitTypeDecl() 514 bool GeneratorImpl::EmitStructType(const ast::Struct* str) { in EmitStructType() argument 515 if (str->decorations.size()) { in EmitStructType() 516 if (!EmitDecorations(line(), str->decorations)) { in EmitStructType() 520 line() << "struct " << program_->Symbols().NameFor(str->name) << " {"; in EmitStructType() 532 for (auto* mem : str->members) { in EmitStructType()
|