/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_dump.cpp | 159 res.push_back(str.substr(startPos, i - startPos));
in Split() 164 res.push_back(str.substr(startPos));
in Split() 402 allClockTypes.insert(allClocks.substr(curPos, i - curPos));
in SetClock() 420 if (clockType.compare(currentClockType.substr(1, currentClockType.size() - marks)) == 0) {
in SetClock() 1011 setName = processName.substr(0, maxNameLen);
in SetProcessName() 1168 if (ReadFile("tracing_on").substr(0, enable.size()) == enable) {
in CheckTraceFile() 1302 std::string itemName = item.substr(0, pos);
in ParseArgs() 1304 cmdTraceParams.tags = Split(item.substr(pos + 1), ',');
in ParseArgs() 1306 cmdTraceParams.tagGroups = Split(item.substr(pos + 1), ',');
in ParseArgs() 1308 cmdTraceParams.clockType = item.substr(po in ParseArgs() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fw_tracer.c | 413 char *substr, *pstr = str; in mlx5_tracer_get_num_of_params() local 417 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params() 418 while (substr) { in mlx5_tracer_get_num_of_params() 419 memcpy(substr, REPLACE_64_VAL_PARM, 4); in mlx5_tracer_get_num_of_params() 420 pstr = substr; in mlx5_tracer_get_num_of_params() 421 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params() 425 substr = strstr(str, PARAM_CHAR); in mlx5_tracer_get_num_of_params() 426 while (substr) { in mlx5_tracer_get_num_of_params() 428 str = substr + 1; in mlx5_tracer_get_num_of_params() 429 substr in mlx5_tracer_get_num_of_params() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fw_tracer.c | 419 char *substr, *pstr = str; in mlx5_tracer_get_num_of_params() local 423 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params() 424 while (substr) { in mlx5_tracer_get_num_of_params() 425 memcpy(substr, REPLACE_64_VAL_PARM, 4); in mlx5_tracer_get_num_of_params() 426 pstr = substr; in mlx5_tracer_get_num_of_params() 427 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params() 431 substr = strstr(str, PARAM_CHAR); in mlx5_tracer_get_num_of_params() 432 while (substr) { in mlx5_tracer_get_num_of_params() 434 str = substr + 1; in mlx5_tracer_get_num_of_params() 435 substr in mlx5_tracer_get_num_of_params() [all...] |
/third_party/elfutils/debuginfod/ |
H A D | debuginfod.cxx | 1181 if (i.substr(0,3) == "../") in canon_pathname() 1182 i = i.substr(3); in canon_pathname() 1183 else if(i.substr(0,2) == "./") in canon_pathname() 1184 i = i.substr(2); in canon_pathname() 1187 else if (i.substr(0,3) == "/./") in canon_pathname() 1188 i = i.substr(2); in canon_pathname() 1193 else if (i.substr(0,4) == "/../") { in canon_pathname() 1194 i = i.substr(3); in canon_pathname() 1197 o = o.substr(0, sl); in canon_pathname() 1211 else if (i.substr( in canon_pathname() [all...] |
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan_enums.hpp | 8384 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 8467 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 8564 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 8619 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 8687 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 8752 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 8813 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 8867 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 8979 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 9057 return "{ " + result.substr( in to_string() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | strtest.cpp | 329 // substr() method with pos, using len=npos. in TestStringPiece() 330 sp=abcd.substr(-1); in TestStringPiece() 332 errln("abcd.substr(-1) failed"); in TestStringPiece() 334 sp=abcd.substr(5); in TestStringPiece() 336 errln("abcd.substr(5) failed"); in TestStringPiece() 338 sp=abcd.substr(2); in TestStringPiece() 340 errln("abcd.substr(-1) failed"); in TestStringPiece() 342 // substr() method with pos and len. in TestStringPiece() 343 sp=abcd.substr(-1, 8); in TestStringPiece() 345 errln("abcd.substr( in TestStringPiece() [all...] |
/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/mock/ |
H A D | mock_parameter_ex.cpp | 155 return displayedVersionStr.substr(0, pos); in GetDeviceModelStr() 165 return displayedVersionStr.substr(pos + 1, displayedVersionStr.size()); in GetSysVersionStr()
|
/base/inputmethod/imf/services/src/ |
H A D | ime_cfg_manager.cpp | 155 info.bundleName = info.imeId.substr(0, pos); in GetCurrentImeCfg() 156 info.extName = info.imeId.substr(pos + 1); in GetCurrentImeCfg()
|
/base/hiviewdfx/hiview/base/utility/ |
H A D | parameter_ex.cpp | 141 return displayedVersionStr.substr(0, pos); in GetDeviceModelStr() 151 return displayedVersionStr.substr(pos + 1, displayedVersionStr.size()); in GetSysVersionStr()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_ring_buffer_wrapper.cpp | 104 result.push_back(dumpInfo.substr(begin, pos - begin)); in SplitDumpInfo() 110 result.push_back(dumpInfo.substr(begin)); in SplitDumpInfo()
|
/base/print/print_fwk/utils/include/ |
H A D | print_util.h | 140 return name.substr(0, MAX_PRINTER_NAME_LENGTH - 1); in StandardizePrinterName() 150 return name.substr(0, MAX_PRINTER_NAME_LENGTH - 1); in RemoveUnderlineFromPrinterName()
|
/base/msdp/device_status/tools/vdev/src/ |
H A D | virtual_device.cpp | 101 name = res.substr(spos, tpos - spos); in GetInputDeviceNodes() 115 auto [_, ret] = nodes.emplace(name, res.substr(spos, tpos - spos)); in GetInputDeviceNodes()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/storage/src/ |
H A D | sandbox_config_kv_data_storage.cpp | 132 std::string bundleName = it->first.substr(prefix.length(), second - first - 1); in GetKeyMapByUserId() 133 std::string tokenId = it->first.substr(second + 1, it->first.length() - second - 1); in GetKeyMapByUserId()
|
/base/security/selinux_adapter/test/unittest/common/ |
H A D | test_common.cpp | 33 subPath = path.substr(0, index); in CreateDirectory() 86 dir = path.substr(0, index); in GetDirectory()
|
/base/telephony/sms_mms/services/mms/ |
H A D | mms_apn_info.cpp | 76 apns.push_back(apn.substr(pos, found - pos)); in SplitAndMatchApnTypes() 79 apns.push_back(apn.substr(pos)); in SplitAndMatchApnTypes()
|
/base/theme/wallpaper_mgr/utils/src/ |
H A D | file_deal.cpp | 102 filename = filePath.substr(pos + 1); in GetExtension() 108 extension = filename.substr(pos); in GetExtension()
|
/test/testfwk/arkxtest/uitest/core/ |
H A D | ui_model.cpp | 99 return attrValue.substr(attrValue.length() - value.length()) == value; in MatchAttr() 153 return string(hierarchy).substr(0, findLastSeparator); in GetParentWidgetHierarchy()
|
/third_party/gn/src/gn/ |
H A D | bundle_data.cc | 33 path = path.substr(0, sep); in GetAssetsCatalogDirectory() 168 root_dir_value = root_dir_value.substr(0, last_separator); in GetBundleRootDirOutput()
|
H A D | eclipse_writer.cc | 107 define_key = define.substr(0, equal_pos); in GetAllDefines() 108 define_value = define.substr(equal_pos + 1); in GetAllDefines()
|
/third_party/json/tests/src/ |
H A D | unit-alt-string.cpp | 149 alt_string substr(std::size_t pos = 0, std::size_t count = npos) const in substr() function in alt_string 151 std::string s = str_impl.substr(pos, count); in substr()
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/digest/ |
H A D | digest.https.any.js | 51 var mixedCase = upCase.substr(0, 1) + downCase.substr(1);
|
/third_party/node/deps/googletest/include/gtest/internal/ |
H A D | gtest-type-util.h | 113 s = s.substr(strlen("struct ")); in GetTypeName() 115 s = s.substr(strlen("class ")); in GetTypeName()
|
/third_party/node/deps/npm/node_modules/diff/lib/patch/ |
H A D | apply.js | 83 content = line.length > 0 ? line.substr(1) : line; 150 content = line.length > 0 ? line.substr(1) : line,
|
/third_party/libphonenumber/cpp/src/phonenumbers/ohos/ |
H A D | update_metadata.cc | 99 std::string type = mdyRegionCode.substr(0, PHONE_METADATA_TYPE.length()); in LoadUpdatedMetadata() 100 std::string regionCode = mdyRegionCode.substr(PHONE_METADATA_TYPE.length()); in LoadUpdatedMetadata()
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
H A D | val_extensions_test.cpp | 247 auto prefix_with_opcode = GetParam().substr(GetParam().find("Group")); in TEST_P() 248 auto opcode = prefix_with_opcode.substr(0, prefix_with_opcode.find(' ')); in TEST_P()
|