/foundation/filemanagement/app_file_service/utils/src/b_jsonutil/ |
H A D | b_jsonutil.cpp | 45 std::string bundleName = bundleNameStr.substr(0, hasPos); in ParseBundleNameIndexStr() 47 std::string indexStr = bundleNameStr.substr(hasPos + 1); in ParseBundleNameIndexStr() 85 std::string bundleNameSplit = bundleName.substr(0, pos); in BuildBundleInfos() 87 std::string indexSplit = bundleName.substr(pos + 1); in BuildBundleInfos()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_setting_helper.cpp | 260 currentValue = dataStr.substr(beginIdx, currentIdx - beginIdx); in SplitString() 268 currentValue = dataStr.substr(beginIdx, strLength - beginIdx); in SplitString() 290 std::string dataStr = inputString.substr(beginIdx, currentIdx - beginIdx); in GetDataFromString() 298 std::string dataStr = inputString.substr(beginIdx, strLength - beginIdx); in GetDataFromString()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | nnrt_utils.cpp | 435 PathType ret = CheckPath(path.substr(0, i)); in CreateFolder() 440 LOGI("mkdir: %s", path.substr(0, i).c_str()); in CreateFolder() 441 mkdir(path.substr(0, i).c_str(), mode); in CreateFolder() 444 LOGI("error: %s", path.substr(0, i).c_str()); in CreateFolder()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | nnrt_utils.cpp | 435 PathType ret = CheckPath(path.substr(0, i)); in CreateFolder() 440 LOGI("mkdir: %s", path.substr(0, i).c_str()); in CreateFolder() 441 mkdir(path.substr(0, i).c_str(), mode); in CreateFolder() 444 LOGI("error: %s", path.substr(0, i).c_str()); in CreateFolder()
|
/third_party/libabigail/src/ |
H A D | abg-symtab-reader.cc | 311 ABG_ASSERT(exported_kernel_symbols.insert(name.substr(10)).second); in load_() 319 ABG_ASSERT(crc_values.emplace(name.substr(6), crc_value).second); in load_() 340 name.substr(12), std::string(first, limit - first)).second); in load_() 723 const auto candidate_name = name.substr(0, name.size() - cfi.size());
|
/third_party/python/Include/ |
H A D | unicodeobject.h | 923 /* Return 1 if substr matches str[start:end] at the given tail end, 0 928 PyObject *substr, /* Prefix or Suffix string */ 934 /* Return the first position of substr in str[start:end] using the 940 PyObject *substr, /* Substring to find */ 957 /* Count the number of occurrences of substr in str[start:end]. */ 961 PyObject *substr, /* Substring to count */ 966 /* Replace at most maxcount occurrences of substr in str with replstr 971 PyObject *substr, /* Substring to find */
|
/third_party/skia/third_party/externals/angle2/util/posix/ |
H A D | crash_handler_posix.cpp | 423 std::string baseModule = resolvedModule.substr(lastModuleSlash); 428 if (pathSlashPos != std::string::npos && region.path.substr(pathSlashPos) == baseModule) 529 std::string relativePath = resolvedModule.substr(0, lastPathSepLoc); 564 resolvedModule = resolvedModule.substr(0, lastSlash + 1) + linkBuf;
|
/base/update/updater/utils/ |
H A D | utils.cpp | 150 result.push_back(str.substr(start, found - start)); in SplitString() 182 return str.substr(start, end - start + 1); in Trim() 470 file.fileInfo.identity = path.substr(path.find_last_of("/") + 1); in CompressFiles() 492 std::string realName = logName.substr(logName.find_last_of("/") + 1); in CompressLogs() 493 std::string logPath = logName.substr(0, logName.find_last_of("/")); in CompressLogs() 568 std::string destPath = dLog.substr(0, found); in CopyUpdaterLogs() 692 return GetDirSize(filePath.substr(0, found)); in GetDirSizeForFile() 777 return mode.substr(prefixPos, optPos - prefixPos); in TrimUpdateMode() 930 val = str.substr(str.find("=") + 1, str.size() - str.find("=")); in GetTagValInStr()
|
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_loader.cpp | 85 std::string head = uri.substr(0, iter); in RemovePathHead() 91 return uri.substr(iter + 3); in RemovePathHead() 272 .append(filePath.substr(4)); // 4 is the length of "app/" from "internal://app/" in LoadImageData() 367 assetSrc = assetSrc.substr(1); // get the asset src without '/'. in LoadImageData() 369 assetSrc = assetSrc.substr(2); // get the asset src without './'. in LoadImageData() 409 assetSrc = assetSrc.substr(1); // get the asset src without '/'. in LoadJsonData() 411 assetSrc = assetSrc.substr(2); // get the asset src without './'. in LoadJsonData() 710 path = path.substr(0, pos); in GetThumbnailOrientation() 937 path = path.substr(0, pos); in GetThumbnailOrientation()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_impl.cpp | 293 auto subname = name.substr(ix); 302 CreateNode(name.substr(ix), false, SCENE_NS::ClassId::Animation.Id(), 322 if (auto it = animations_.find(name.substr(ix)); it != animations_.end()) { 329 auto anim = interface_pointer_cast<META_NS::IAnimation>(CreateNode(name.substr(ix), false, 477 auto substr = patchedPath.substr(0, ix); in GetNodeRecursive() local 479 currentParent_ = GetNodeRecursive(substr, SCENE_NS::INode::UID, false, buildBehavior); in GetNodeRecursive() 517 if (name.substr(ix).find(prefix) == 0) { in RollOverPrefix() 601 if (auto it = materials_.find(name.substr(ix)); it != materials_.end()) { 617 if (auto it = materials_.find(name.substr(i [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/ |
H A D | TestSuite.cpp | 853 std::cout << fullOutput.substr(runPos, endPos - runPos); in PrintTestOutputSnippet() 857 std::cout << fullOutput.substr(runPos); in PrintTestOutputSnippet() 872 std::string configName = id.testName.substr(slashPos + 1); in GetConfigNameFromTestIdentifier() 883 return id.testName.substr(slashPos + 1, doubleUnderscorePos - slashPos - 1); in GetConfigNameFromTestIdentifier() 998 idOut->testSuiteName = str.substr(0, separator); in ParseFromString() 999 idOut->testName = str.substr(separator + 1, str.length() - separator - 1); in ParseFromString() 1209 if (mFilterString.substr(0, strlen("--gtest_filter=")) != std::string("--gtest_filter=")) in TestSuite() 1506 std::string modifiedTestName = testName.substr(0, testName.find(' ')); in ParseTestIdentifierAndSetResult() 1507 modifiedTestName = modifiedTestName.substr(0, testName.find('\r')); in ParseTestIdentifierAndSetResult() 1544 std::string testName = line.substr(strle in finishProcess() [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface.cc | 241 path = path.substr(0, pos); in AddDefaultProtoPaths() 258 path = path.substr(0, pos); in AddDefaultProtoPaths() 270 return plugin_prefix + "gen-" + directive.substr(2, directive.size() - 6); in PluginName() 705 if ((pos > 3) && (target->substr(pos - 3, 2) == "/*")) { in ~MemoryOutputStream() 1411 << "--" + i->first.substr(plugin_prefix_.size() + 4) + "_opt" in ParseArguments() 1588 virtual_path = parts[i].substr(0, equals_pos); in InterpretArgument() 1589 disk_path = parts[i].substr(equals_pos + 1); in InterpretArgument() 1783 plugin_name = value.substr(slash_pos + 1); in InterpretArgument() 1787 plugin_name = value.substr(0, equals_pos); in InterpretArgument() 1788 path = value.substr(equals_po in InterpretArgument() [all...] |
/base/time/time_service/services/dfx/src/ |
H A D | time_cmd_parse.cpp | 46 return formatTitle.substr(0, formatTitle.length() - 1); in GetOption()
|
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | string_helper.cpp | 37 std::string inputEnd = input.substr(input.length() - suffix.length(), suffix.length()); in EndsWithIgnoreCase()
|
/foundation/window/window_manager/window_scene/interfaces/innerkits/src/ |
H A D | scene_board_judgement.cpp | 37 line = line.substr(0, line.size() - 1); in SafeGetLine()
|
/foundation/systemabilitymgr/samgr/utils/native/source/ |
H A D | tools.cpp | 52 std::string anonymizeDeviceId = deviceId.substr(0, NON_ANONYMIZE_LENGTH); in AnonymizeDeviceId()
|
/foundation/filemanagement/dfs_service/utils/log/src/ |
H A D | utils_log.cpp | 23 return (pos == std::string::npos) ? std::string() : fullPath.substr(pos + 1); in GetFileNameFromFullPath()
|
/third_party/node/deps/npm/node_modules/isexe/ |
H A D | windows.js | 20 if (p && path.substr(-p.length).toLowerCase() === p) {
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | system_utils_apple.cpp | 48 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | StringTable.h | 32 return Data.substr(Offset, End - Offset); in getString()
|
/third_party/protobuf/js/commonjs/ |
H A D | rewrite_tests_for_commonjs.js | 43 return str.substr(prefix.length);
|
/third_party/protobuf/js/compatibility_tests/v3.0.0/commonjs/ |
H A D | rewrite_tests_for_commonjs.js | 43 return str.substr(prefix.length);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/ |
H A D | program_name_test.cc | 53 not_null_terminated = not_null_terminated.substr(1, 10); in TEST()
|
/base/global/i18n/frameworks/intl/src/ |
H A D | i18n_timezone.cpp | 813 std::string zoneName = zonePath.substr(parentPath.length() + 1); // 1 add length of path splitor in GetTimezoneIDFromZoneInfo() 969 std::string localeStr = xmlPath.substr(displayNamePath.length(), localeStrLen); in GetSupportedLocales() 1253 std::string left = path.substr(path.find("-") + 1, 3); in GetPreferredPath() 1254 std::string right = path.substr(path.find("-") + 4, 3); in GetPreferredPath() 1302 std::string left = path.substr(path.find("-") + 1, 3); in ValidateDataIntegrity() 1303 std::string right = path.substr(path.find("-") + 4, 3); in ValidateDataIntegrity()
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_sub_statemachine.cpp | 294 std::string byte = mac.substr(i, MAC_BLOCK); in MacToEui64Addr() 675 addrStr = btpanIpv4Addr.substr(0, dotPos) + routeSuffix; in GetBtDestinationAddr() 700 addrStr = wifiIpv4Addr.substr(0, dotPos) + routeSuffix; in GetWifiApDestinationAddr() 749 addrStr = usbIpv4Addr.substr(0, dotPos) + routeSuffix; in GetUsbDestinationAddr() 772 std::string ipHead = ipAddr.substr(0, pos); in StartDhcp() 773 std::string ipEnd = ipAddr.substr(pos + 1); in StartDhcp()
|