/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | numbers.cc | 46 bool SimpleAtof(absl::string_view str, float* out) { in SimpleAtof() argument 48 str = StripAsciiWhitespace(str); in SimpleAtof() 51 if (!str.empty() && str[0] == '+') { in SimpleAtof() 52 str.remove_prefix(1); in SimpleAtof() 53 if (!str.empty() && str[0] == '-') { in SimpleAtof() 57 auto result = absl::from_chars(str.data(), str in SimpleAtof() 77 SimpleAtod(absl::string_view str, double* out) SimpleAtod() argument 108 SimpleAtob(absl::string_view str, bool* out) SimpleAtob() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | UTF16.java | 1193 String str = valueOf(char32); in setCharAt() 1195 int strlength = str.length(); in setCharAt() 1196 target[offset16] = str.charAt(0); in setCharAt() 1199 target[offset16 + 1] = str.charAt(1); in setCharAt() 1209 target[offset16 + 1] = str.charAt(1); in setCharAt() 1418 String str = valueOf(char32); in insert() 1422 target.insert(offset16, str); in insert() 1447 String str = valueOf(char32); in insert() 1451 int size = str.length(); in insert() 1456 target[offset16] = str in insert() 1592 indexOf(String source, String str) indexOf() argument 1695 indexOf(String source, String str, int fromIndex) indexOf() argument 1795 lastIndexOf(String source, String str) lastIndexOf() argument 1918 lastIndexOf(String source, String str, int fromIndex) lastIndexOf() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | UTF16.java | 1139 String str = valueOf(char32); in setCharAt() 1141 int strlength = str.length(); in setCharAt() 1142 target[offset16] = str.charAt(0); in setCharAt() 1145 target[offset16 + 1] = str.charAt(1); in setCharAt() 1155 target[offset16 + 1] = str.charAt(1); in setCharAt() 1360 String str = valueOf(char32); in insert() 1364 target.insert(offset16, str); in insert() 1388 String str = valueOf(char32); in insert() 1392 int size = str.length(); in insert() 1397 target[offset16] = str in insert() 1529 indexOf(String source, String str) indexOf() argument 1630 indexOf(String source, String str, int fromIndex) indexOf() argument 1728 lastIndexOf(String source, String str) lastIndexOf() argument 1849 lastIndexOf(String source, String str, int fromIndex) lastIndexOf() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | export-to-sqlite.py | 675 q.addBindValue(str(xx)) 705 sample_query.addBindValue(str(xx)) 707 sample_query.addBindValue(str(xx)) 723 ptwrite_query.addBindValue(str(id)) 724 ptwrite_query.addBindValue(str(payload)) 725 ptwrite_query.addBindValue(str(exact_ip)) 733 cbr_query.addBindValue(str(id)) 734 cbr_query.addBindValue(str(cbr)) 735 cbr_query.addBindValue(str(MHz)) 736 cbr_query.addBindValue(str(percen [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | export-to-sqlite.py | 678 q.addBindValue(str(xx)) 708 sample_query.addBindValue(str(xx)) 710 sample_query.addBindValue(str(xx)) 726 ptwrite_query.addBindValue(str(id)) 727 ptwrite_query.addBindValue(str(payload)) 728 ptwrite_query.addBindValue(str(exact_ip)) 736 cbr_query.addBindValue(str(id)) 737 cbr_query.addBindValue(str(cbr)) 738 cbr_query.addBindValue(str(MHz)) 739 cbr_query.addBindValue(str(percen [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | net_user.c | 54 char *str; in read_output() local 68 str = "length"; in read_output() 78 str = "data"; in read_output() 89 "errno = %d\n", str, -ret); in read_output() 92 "%d of %d bytes\n", str, ret, expected); in read_output() 250 char *split_if_spec(char *str, ...) in split_if_spec() argument 255 va_start(ap, str); in split_if_spec() 257 if (*str == '\0') in split_if_spec() 259 end = strchr(str, ','); in split_if_spec() 260 if (end != str) in split_if_spec() [all...] |
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | net_user.c | 54 char *str; in read_output() local 68 str = "length"; in read_output() 78 str = "data"; in read_output() 89 "errno = %d\n", str, -ret); in read_output() 92 "%d of %d bytes\n", str, ret, expected); in read_output() 250 char *split_if_spec(char *str, ...) in split_if_spec() argument 255 va_start(ap, str); in split_if_spec() 257 if (*str == '\0') in split_if_spec() 259 end = strchr(str, ','); in split_if_spec() 260 if (end != str) in split_if_spec() [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | time-utils-test.c | 12 static bool test__parse_nsec_time(const char *str, u64 expected) in test__parse_nsec_time() argument 17 pr_debug("\nparse_nsec_time(\"%s\")\n", str); in test__parse_nsec_time() 19 err = parse_nsec_time(str, &ptime); in test__parse_nsec_time() 61 const char *str; member 82 pr_debug("\nperf_time__parse_for_ranges(\"%s\")\n", d->str); in test__perf_time__parse_for_ranges() 84 if (strchr(d->str, '%')) in test__perf_time__parse_for_ranges() 88 err = perf_time__parse_for_ranges(d->str, &session, &ptime, &range_size, in test__perf_time__parse_for_ranges() 161 .str = "1234567.123456789,1234567.123456790", in test__time_utils() 176 .str = "1234567.123456789,1234567.123456790 " in test__time_utils() 191 .str in test__time_utils() [all...] |
/kernel/linux/linux-5.10/fs/unicode/ |
H A D | utf8-core.c | 13 int utf8_validate(const struct unicode_map *um, const struct qstr *str) in utf8_validate() argument 17 if (utf8nlen(data, str->name, str->len) < 0) in utf8_validate() 105 int utf8_casefold(const struct unicode_map *um, const struct qstr *str, in utf8_casefold() argument 112 if (utf8ncursor(&cur, data, str->name, str->len) < 0) in utf8_casefold() 129 struct qstr *str) in utf8_casefold_hash() 136 if (utf8ncursor(&cur, data, str->name, str->len) < 0) in utf8_casefold_hash() 144 str in utf8_casefold_hash() 128 utf8_casefold_hash(const struct unicode_map *um, const void *salt, struct qstr *str) utf8_casefold_hash() argument 149 utf8_normalize(const struct unicode_map *um, const struct qstr *str, unsigned char *dest, size_t dlen) utf8_normalize() argument [all...] |
/kernel/linux/linux-6.6/fs/unicode/ |
H A D | utf8-core.c | 12 int utf8_validate(const struct unicode_map *um, const struct qstr *str) in utf8_validate() argument 14 if (utf8nlen(um, UTF8_NFDI, str->name, str->len) < 0) in utf8_validate() 99 int utf8_casefold(const struct unicode_map *um, const struct qstr *str, in utf8_casefold() argument 105 if (utf8ncursor(&cur, um, UTF8_NFDICF, str->name, str->len) < 0) in utf8_casefold() 122 struct qstr *str) in utf8_casefold_hash() 128 if (utf8ncursor(&cur, um, UTF8_NFDICF, str->name, str->len) < 0) in utf8_casefold_hash() 136 str in utf8_casefold_hash() 121 utf8_casefold_hash(const struct unicode_map *um, const void *salt, struct qstr *str) utf8_casefold_hash() argument 141 utf8_normalize(const struct unicode_map *um, const struct qstr *str, unsigned char *dest, size_t dlen) utf8_normalize() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | time-utils-test.c | 12 static bool test__parse_nsec_time(const char *str, u64 expected) in test__parse_nsec_time() argument 17 pr_debug("\nparse_nsec_time(\"%s\")\n", str); in test__parse_nsec_time() 19 err = parse_nsec_time(str, &ptime); in test__parse_nsec_time() 61 const char *str; member 82 pr_debug("\nperf_time__parse_for_ranges(\"%s\")\n", d->str); in test__perf_time__parse_for_ranges() 84 if (strchr(d->str, '%')) in test__perf_time__parse_for_ranges() 88 err = perf_time__parse_for_ranges(d->str, &session, &ptime, &range_size, in test__perf_time__parse_for_ranges() 161 .str = "1234567.123456789,1234567.123456790", in test__time_utils() 176 .str = "1234567.123456789,1234567.123456790 " in test__time_utils() 191 .str in test__time_utils() [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
H A D | tinystr.h | 85 TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0) in TiXmlString() argument 88 memcpy(start(), str, len); in TiXmlString() local 128 const char * c_str () const { return rep_->str; } in c_str() 131 const char * data () const { return rep_->str; } in data() 150 return rep_->str[ index ]; in at() 157 return rep_->str[ index ]; 193 TiXmlString& assign (const char* str, size_type len); 195 TiXmlString& append (const char* str, size_type len); 207 void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; } 208 char* start() const { return rep_->str; } [all...] |
/third_party/python/Lib/test/ |
H A D | test_print.py | 110 def write(self, str): 111 self.written += str 125 def write(self, str): 144 str(context.exception)) 152 str(context.exception)) 160 str(context.exception)) 170 str(context.exception)) 181 str(context.exception)) 189 str(context.exception)) 196 'file=<output_stream>)"?', str(contex [all...] |
/third_party/python/Modules/_decimal/tests/ |
H A D | formathelper.py | 200 fmt = str(fmt.encode(encoding))[2:-1] 201 result = str(result.encode(encoding))[2:-1] 252 s += str(random.randrange(1, 100)) 257 s += str(random.randrange(100)) 274 for width in ['']+[str(y) for y in range(1, 15)]+['101']: 275 for prec in ['']+['.'+str(y) for y in range(15)]: 289 for width in ['']+[str(y) for y in range(1, 20)]+['101']: 290 for prec in ['']+['.'+str(y) for y in range(1, 20)]: 298 s += str(fill) 304 s += str(rando [all...] |
/third_party/decimal.js/ |
H A D | decimal.js | 1990 var str, 1995 str = finiteToString(x, true); 2003 str = finiteToString(x, true, dp + 1); 2006 return x.isNeg() && !x.isZero() ? '-' + str : str; 2027 var str, y, 2032 str = finiteToString(x); 2040 str = finiteToString(y, false, dp + y.e + 1); 2045 return x.isNeg() && !x.isZero() ? '-' + str : str; [all...] |
/kernel/linux/linux-5.10/arch/sh/boards/mach-sdk7786/ |
H A D | nmi.c | 25 static int __init nmi_mode_setup(char *str) in nmi_mode_setup() argument 27 if (!str) in nmi_mode_setup() 30 if (strcmp(str, "manual") == 0) in nmi_mode_setup() 32 else if (strcmp(str, "aux") == 0) in nmi_mode_setup() 34 else if (strcmp(str, "masked") == 0) in nmi_mode_setup() 36 else if (strcmp(str, "any") == 0) in nmi_mode_setup() 40 pr_warn("Unknown NMI mode %s\n", str); in nmi_mode_setup()
|
/kernel/linux/linux-6.6/arch/sh/boards/mach-sdk7786/ |
H A D | nmi.c | 25 static int __init nmi_mode_setup(char *str) in nmi_mode_setup() argument 27 if (!str) in nmi_mode_setup() 30 if (strcmp(str, "manual") == 0) in nmi_mode_setup() 32 else if (strcmp(str, "aux") == 0) in nmi_mode_setup() 34 else if (strcmp(str, "masked") == 0) in nmi_mode_setup() 36 else if (strcmp(str, "any") == 0) in nmi_mode_setup() 40 pr_warn("Unknown NMI mode %s\n", str); in nmi_mode_setup()
|
/third_party/ffmpeg/libavformat/ |
H A D | img2.c | 97 static enum AVCodecID str2id(const IdStrMap *tags, const char *str) in str2id() argument 99 str = strrchr(str, '.'); in str2id() 100 if (!str) in str2id() 102 str++; in str2id() 105 if (!av_strcasecmp(str, tags->str)) in str2id()
|
/third_party/curl/tests/unit/ |
H A D | unit1398.c | 37 const char *str = "bug"; variable 49 rc = curl_msnprintf(output, 4, "%.*s", width, str); 60 rc = curl_msnprintf(output, 8, "%.8s", str); 70 rc = curl_msnprintf(output, 8, "%-8s", str); 75 rc = curl_msnprintf(output, 8, "%8s", str); 85 rc = curl_msnprintf(output, 16, "%8s%8s", str, str);
|
/third_party/icu/icu4c/source/samples/translit/answers/ |
H A D | main_1.cpp | 28 UnicodeString str, str2; in main() local 52 str.remove(); in main() 53 defFmt->format(cal->getTime(status), str, status); in main() 56 uprintf(escape(str)); in main() 60 str.remove(); in main() 61 fmt->format(cal->getTime(status), str, status); in main() 64 uprintf(escape(str)); in main()
|
/third_party/musl/porting/linux/user/src/linux/ |
H A D | getprocpid.c | 24 char *str = buf; in __find_and_convert_pid() local 29 while (*str != '\0') { in __find_and_convert_pid() 30 if ((*str >= '0') && (*str <= '9') && (count < PID_MAX_LEN - 1)) { in __find_and_convert_pid() 31 pid_buf[count] = *str; in __find_and_convert_pid() 33 str++; in __find_and_convert_pid() 39 str++; in __find_and_convert_pid()
|
/third_party/musl/src/linux/linux/ |
H A D | getprocpid.c | 39 char *str = buf; in __find_and_convert_pid() local 44 while (*str != '\0') { in __find_and_convert_pid() 45 if ((*str >= '0') && (*str <= '9') && (count < PID_MAX_LEN - 1)) { in __find_and_convert_pid() 46 pid_buf[count] = *str; in __find_and_convert_pid() 48 str++; in __find_and_convert_pid() 54 str++; in __find_and_convert_pid()
|
/third_party/musl/src/internal/linux/ |
H A D | musl_log.c | 33 int ohos_dfx_log(const char *str)
in ohos_dfx_log() argument 36 g_dfxLogPtr(str, strlen(str));
in ohos_dfx_log() 42 g_dfxLogPtr(str, strlen(str));
in ohos_dfx_log() 57 g_dfxLogPtr(str, strlen(str));
in ohos_dfx_log()
|
/third_party/node/benchmark/es/ |
H A D | string-concatenations.js | 20 const str = 'abc'; 29 string = '...' + str + ', ' + num + ', ' + str + ', ' + num + '.'; 35 string = ['...', str, ', ', num, ', ', str, ', ', num, '.'].join(''); 41 string = `...${str}, ${num}, ${str}, ${num}.`;
|
/third_party/icu/icu4c/source/samples/datefmt/answers/ |
H A D | main_2.cpp | 25 UnicodeString str; in createZone() local 27 if (zone->getID(str) != id) { in createZone() 32 uprintf(str); in createZone() 45 UnicodeString str; in main() local 80 str.remove(); in main() 81 fmt->format(date, str, status); in main() 85 uprintf(escape(str)); in main()
|