/third_party/node/deps/v8/src/diagnostics/riscv64/ |
H A D | disasm-riscv64.cc | 66 void Print(const char* str); 173 // Append the str to the output buffer. 174 void Decoder::Print(const char* str) { in Print() argument 175 char cur = *str++; in Print() 178 cur = *str++; in Print() 2678 char str[50]; in DecodeRvvVL() local 2685 snprintf(str, sizeof(str), "vle%d.v 'vd, ('rs1)'vm", in DecodeRvvVL() 2687 Format(instr, str); in DecodeRvvVL() 2689 snprintf(str, sizeo in DecodeRvvVL() 2769 char str[50]; DecodeRvvVS() local [all...] |
/third_party/ltp/lib/ |
H A D | tst_test.c | 203 char *str = buf; in print_result() local 247 ret = snprintf(str, size, "%s:%i: ", file, lineno); in print_result() 248 str += ret; in print_result() 252 ret = snprintf(str, size, "%s%s: %s", tst_ttype2color(ttype), in print_result() 255 ret = snprintf(str, size, "%s: ", res); in print_result() 256 str += ret; in print_result() 260 ret = vsnprintf(str, size, fmt, va); in print_result() 261 str += MIN(ret, ssize); in print_result() 268 ret = snprintf(str, size, ": %s (%d)", str_errno, int_errno); in print_result() 269 str in print_result() 713 tst_parse_int(const char *str, int *val, int min, int max) tst_parse_int() argument 729 tst_parse_long(const char *str, long *val, long min, long max) tst_parse_long() argument 753 tst_parse_float(const char *str, float *val, float min, float max) tst_parse_float() argument 777 tst_parse_filesize(const char *str, long long *val, long long min, long long max) tst_parse_filesize() argument 818 print_colored(const char *str) print_colored() argument [all...] |
/foundation/communication/netmanager_ext/services/mdnsmanager/src/ |
H A D | mdns_packet_parser.cpp | 217 std::string str; in ParseRData() local 218 begin = ParseDnsString(begin, payload, str); in ParseRData() 219 str = UnDotted(str); in ParseRData() 223 data = str; in ParseRData() 273 const uint8_t *MDnsPayloadParser::ParseDnsString(const uint8_t *begin, const MDnsPayload &payload, std::string &str) in ParseDnsString() argument 277 str.reserve(MDNS_STR_INITIAL_SIZE); in ParseDnsString() 283 str.append(reinterpret_cast<const char *>(p) + 1, *p); in ParseDnsString() 284 str.push_back(MDNS_DOMAIN_SPLITER); in ParseDnsString() 301 ParseDnsString(next, payload, str); in ParseDnsString() 391 SerializeDnsString(const std::string &str, MDnsPayload &payload, MDnsPayload *cachedPayload, std::map<std::string, uint16_t> &strCacheMap) SerializeDnsString() argument [all...] |
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/dentry/ |
H A D | dentry_meta_file_test.cpp | 409 string str = MetaFile::GetParentDir(""); in HWTEST_F() local 410 EXPECT_EQ(str, ""); in HWTEST_F() 411 str = MetaFile::GetParentDir("/"); in HWTEST_F() 412 EXPECT_EQ(str, ""); in HWTEST_F() 413 str = MetaFile::GetParentDir("abc"); in HWTEST_F() 414 EXPECT_EQ(str, "/"); in HWTEST_F() 415 str = MetaFile::GetParentDir("/abc"); in HWTEST_F() 416 EXPECT_EQ(str, "/"); in HWTEST_F() 417 str = MetaFile::GetParentDir("/abc/def"); in HWTEST_F() 418 EXPECT_EQ(str, "/ab in HWTEST_F() 436 string str = MetaFile::GetFileName(""); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id)) 227 def toserverstr(str): 228 return str 229 def toclientstr(str): 230 return str 233 def toserverstr(str): 234 return bytes(str, "UTF_8") 235 def toclientstr(str): 236 return bytes(str, "UTF_8") 765 raise Exception("COPY FROM STDIN PQputCopyData failed, error " + str(re [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id)) 227 def toserverstr(str): 228 return str 229 def toclientstr(str): 230 return str 233 def toserverstr(str): 234 return bytes(str, "UTF_8") 235 def toclientstr(str): 236 return bytes(str, "UTF_8") 768 raise Exception("COPY FROM STDIN PQputCopyData failed, error " + str(re [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | parse-events.y | 75 %type <str> PE_RAW 76 %type <str> PE_NAME 77 %type <str> PE_LEGACY_CACHE 78 %type <str> PE_MODIFIER_EVENT 79 %type <str> PE_MODIFIER_BP 80 %type <str> PE_EVENT_NAME 81 %type <str> PE_DRV_CFG_TERM 82 %type <str> name_or_raw 83 %destructor { free ($$); } <str> 109 %destructor { free ($$.str); } <hardware_ter [all...] |
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | afmparse.c | 133 char* str; in afm_stream_read_one() local 140 str = AFM_STREAM_KEY_BEGIN( stream ); in afm_stream_read_one() 166 return str; in afm_stream_read_one() 174 char* str; in afm_stream_read_string() local 181 str = AFM_STREAM_KEY_BEGIN( stream ); in afm_stream_read_string() 201 return str; in afm_stream_read_string() 386 char* str; in FT_LOCAL_DEF() local 400 str = afm_stream_read_string( stream ); in FT_LOCAL_DEF() 402 str = afm_stream_read_one( stream ); in FT_LOCAL_DEF() 404 if ( !str ) in FT_LOCAL_DEF() [all...] |
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/mutations/ |
H A D | replace_identifier_test.cc | 48 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 132 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 162 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 194 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 230 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 265 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 303 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 340 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 378 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 414 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | types.h | 135 virtual std::string str() const = 0; 236 std::string str() const override; 257 std::string str() const override; 276 std::string str() const override; 297 std::string str() const override; 320 std::string str() const override; 354 std::string str() const override; 396 std::string str() const override; 421 std::string str() const override; 446 std::string str() cons [all...] |
/third_party/backends/frontend/ |
H A D | scanimage.c | 376 const char *str, *last_break, *start; in print_option() local 657 for (str = opt->desc; *str; ++str) in print_option() 660 if (*str == ' ') in print_option() 661 last_break = str; in print_option() 662 else if (*str == '\n'){ in print_option() 664 last_break = str; in print_option() 672 column = 8 + (str - start); in print_option() 702 parse_scalar (const SANE_Option_Descriptor * opt, const char *str, in parse_scalar() argument 807 parse_vector(const SANE_Option_Descriptor * opt, const char *str, SANE_Word * vector, size_t vector_length) parse_vector() argument [all...] |
/foundation/ability/ability_base/test/unittest/base/ |
H A D | base_object_test.cpp | 230 * @tc.desc: test Parse function and str is empty.
235 std::string str = "";
in HWTEST_F() local 236 EXPECT_EQ(nullptr, userObject.Parse(str));
in HWTEST_F() 247 std::string str = "acd";
in HWTEST_F() local 248 EXPECT_EQ(nullptr, userObject.Parse(str));
in HWTEST_F() 259 std::string str = "a#cd";
in HWTEST_F() local 260 EXPECT_EQ(nullptr, userObject.Parse(str));
in HWTEST_F() 266 * @tc.desc: test Parse function and str == "true".
271 std::string str = "true";
in HWTEST_F() local 272 boolean.Parse(str);
in HWTEST_F() [all...] |
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_queue_dump.cpp | 85 std::string str(buf); in QueueDumpTask1Test() 101 EXPECT_TRUE(std::regex_match(str, pattern)); in QueueDumpTask1Test() 127 std::string str(buf); in QueueDumpTask2Test() 143 EXPECT_TRUE(std::regex_match(str, pattern)); in QueueDumpTask2Test() 163 std::string str(buf); in QueueDumpTask3Test() 179 EXPECT_TRUE(std::regex_match(str, pattern)); in QueueDumpTask3Test() 214 std::string str(buf); in QueueDumpPriorityTest() 235 EXPECT_TRUE(std::regex_match(str, pattern)); in QueueDumpPriorityTest()
|
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_magn.c | 265 char *str; in inv_mpu_magn_set_orient() local 285 str = devm_kzalloc(regmap_get_device(st->map), in inv_mpu_magn_set_orient() 287 if (str == NULL) in inv_mpu_magn_set_orient() 290 strcpy(str, orient); in inv_mpu_magn_set_orient() 292 strcpy(str, &orient[1]); in inv_mpu_magn_set_orient() 294 str[0] = '-'; in inv_mpu_magn_set_orient() 295 strcpy(&str[1], orient); in inv_mpu_magn_set_orient() 297 st->magn_orient.rotation[6 + i] = str; in inv_mpu_magn_set_orient()
|
/kernel/linux/linux-5.10/mm/ |
H A D | debug.c | 285 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument 293 if (*str++ != '=' || !*str) in setup_vm_debug() 297 if (*str == '-') in setup_vm_debug() 300 while (*str) { in setup_vm_debug() 301 switch (tolower(*str)) { in setup_vm_debug() 307 *str); in setup_vm_debug() 310 str++; in setup_vm_debug()
|
/kernel/linux/linux-5.10/kernel/power/ |
H A D | wakelock.c | 205 const char *str = buf; in pm_wake_lock() local 214 while (*str && !isspace(*str)) in pm_wake_lock() 215 str++; in pm_wake_lock() 217 len = str - buf; in pm_wake_lock() 221 if (*str && *str != '\n') { in pm_wake_lock() 223 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
|
/kernel/linux/linux-6.6/mm/ |
H A D | debug.c | 229 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument 237 if (*str++ != '=' || !*str) in setup_vm_debug() 241 if (*str == '-') in setup_vm_debug() 244 while (*str) { in setup_vm_debug() 245 switch (tolower(*str)) { in setup_vm_debug() 251 *str); in setup_vm_debug() 254 str++; in setup_vm_debug()
|
/kernel/linux/linux-6.6/kernel/power/ |
H A D | wakelock.c | 205 const char *str = buf; in pm_wake_lock() local 214 while (*str && !isspace(*str)) in pm_wake_lock() 215 str++; in pm_wake_lock() 217 len = str - buf; in pm_wake_lock() 221 if (*str && *str != '\n') { in pm_wake_lock() 223 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
|
/third_party/elfio/elfio/ |
H A D | elfio_dynamic.hpp | 60 std::string str; in get_entries_num() local 62 get_entry( i, tag, value, str ); in get_entries_num() 76 std::string& str ) const in get_entry() 96 str.clear(); in get_entry() 99 str = result; in get_entry() 102 str.clear(); in get_entry() 120 void add_entry( Elf_Xword tag, const std::string& str ) in add_entry() 124 Elf_Xword value = strsec.add_string( str ); in add_entry()
|
/third_party/ffmpeg/libavformat/ |
H A D | lrcdec.c | 174 int64_t header_offset = find_header(line.str); in lrc_read_header() 176 char *comma_offset = strchr(line.str, ':'); in lrc_read_header() 178 char *right_bracket_offset = strchr(line.str, ']'); in lrc_read_header() 184 if(strcmp(line.str + 1, "offset") || in lrc_read_header() 186 av_dict_set(&s->metadata, line.str + 1, comma_offset + 1, 0); in lrc_read_header() 199 int64_t ts_strlength = count_ts(line.str); in lrc_read_header() 201 while((ts_stroffset_incr = read_ts(line.str + ts_stroffset, in lrc_read_header() 205 sub = ff_subtitles_queue_insert(&lrc->q, line.str + ts_strlength, in lrc_read_header()
|
/third_party/icu/icu4c/source/io/ |
H A D | sprintf.cpp | 40 const UChar *str, in u_sprintf_write() 46 if (output->str == 0) { in u_sprintf_write() 52 u_strncpy(output->str + (output->len - output->available), str, size); in u_sprintf_write() 68 if (output->str == 0 && in u_sprintf_pad_and_justify() 92 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify() 97 u_memset(&output->str[outputPos], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify() 246 outStr.str = buffer; in u_vsnprintf_u() 39 u_sprintf_write(void *context, const UChar *str, int32_t count) u_sprintf_write() argument
|
/third_party/icu/icu4c/source/i18n/ |
H A D | number_utils.cpp | 120 void DecNum::setTo(StringPiece str, UErrorCode& status) { in setTo() argument 122 CharString cstr(str, status); in setTo() 124 _setTo(cstr.data(), str.length(), status); in setTo() 127 void DecNum::setTo(const char* str, UErrorCode& status) { in setTo() argument 128 _setTo(str, static_cast<int32_t>(uprv_strlen(str)), status); in setTo() 163 void DecNum::_setTo(const char* str, int32_t maxDigits, UErrorCode& status) { in _setTo() argument 172 uprv_decNumberFromString(fData.getAlias(), str, &fContext); in _setTo()
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-printers.cc | 361 bool ContainsUnprintableControlCodes(const char* str, size_t length) { in ContainsUnprintableControlCodes() argument 362 const unsigned char *s = reinterpret_cast<const unsigned char *>(str); in ContainsUnprintableControlCodes() 382 bool IsValidUTF8(const char* str, size_t length) { in IsValidUTF8() argument 383 const unsigned char *s = reinterpret_cast<const unsigned char *>(str); in IsValidUTF8() 417 void ConditionalPrintAsText(const char* str, size_t length, ostream* os) { in ConditionalPrintAsText() argument 418 if (!ContainsUnprintableControlCodes(str, length) && in ConditionalPrintAsText() 419 IsValidUTF8(str, length)) { in ConditionalPrintAsText() 420 *os << "\n As Text: \"" << str << "\""; in ConditionalPrintAsText() local
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_utils.cpp | 120 void DecNum::setTo(StringPiece str, UErrorCode& status) { in setTo() argument 122 CharString cstr(str, status); in setTo() 124 _setTo(cstr.data(), str.length(), status); in setTo() 127 void DecNum::setTo(const char* str, UErrorCode& status) { in setTo() argument 128 _setTo(str, static_cast<int32_t>(uprv_strlen(str)), status); in setTo() 163 void DecNum::_setTo(const char* str, int32_t maxDigits, UErrorCode& status) { in _setTo() argument 172 uprv_decNumberFromString(fData.getAlias(), str, &fContext); in _setTo()
|
/third_party/node/deps/v8/src/third_party/vtune/ |
H A D | vtune-jit.cc | 144 // The parameter str is a mixed pattern which contains the 148 static std::string GetFunctionNameFromMixedName(const char* str, int length) { in GetFunctionNameFromMixedName() argument 153 while (str[index++] != ':' && (index < length)) {} in GetFunctionNameFromMixedName() 155 const char state = str[index]; in GetFunctionNameFromMixedName() 159 start_ptr = const_cast<char*>(str + index); in GetFunctionNameFromMixedName() 161 // Detecting JS and WASM function names. In JitCodeEvent->name.str in GetFunctionNameFromMixedName() 167 if (str[index] == '(') { in GetFunctionNameFromMixedName() 171 if (str[index] == ')') parenthesis_count--; in GetFunctionNameFromMixedName() 172 if (str[index] == last_char && parenthesis_count == 0) { in GetFunctionNameFromMixedName() 190 event->name.str, static_cas in event_handler() [all...] |