Home
last modified time | relevance | path

Searched refs:substr (Results 251 - 275 of 2535) sorted by relevance

1...<<11121314151617181920>>...102

/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_dump.cpp159 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 Dfw_tracer.c413 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 Dfw_tracer.c419 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 Ddebuginfod.cxx1181 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 Dvulkan_enums.hpp8384 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 Dstrtest.cpp329 // 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 Dmock_parameter_ex.cpp155 return displayedVersionStr.substr(0, pos); in GetDeviceModelStr()
165 return displayedVersionStr.substr(pos + 1, displayedVersionStr.size()); in GetSysVersionStr()
/base/inputmethod/imf/services/src/
H A Dime_cfg_manager.cpp155 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 Dparameter_ex.cpp141 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 Ddfx_ring_buffer_wrapper.cpp104 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 Dprint_util.h140 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 Dvirtual_device.cpp101 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 Dsandbox_config_kv_data_storage.cpp132 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 Dtest_common.cpp33 subPath = path.substr(0, index); in CreateDirectory()
86 dir = path.substr(0, index); in GetDirectory()
/base/telephony/sms_mms/services/mms/
H A Dmms_apn_info.cpp76 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 Dfile_deal.cpp102 filename = filePath.substr(pos + 1); in GetExtension()
108 extension = filename.substr(pos); in GetExtension()
/test/testfwk/arkxtest/uitest/core/
H A Dui_model.cpp99 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 Dbundle_data.cc33 path = path.substr(0, sep); in GetAssetsCatalogDirectory()
168 root_dir_value = root_dir_value.substr(0, last_separator); in GetBundleRootDirOutput()
H A Declipse_writer.cc107 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 Dunit-alt-string.cpp149 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 Ddigest.https.any.js51 var mixedCase = upCase.substr(0, 1) + downCase.substr(1);
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-type-util.h113 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 Dapply.js83 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 Dupdate_metadata.cc99 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 Dval_extensions_test.cpp247 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()

Completed in 116 milliseconds

1...<<11121314151617181920>>...102