Home
last modified time | relevance | path

Searched refs:substr (Results 176 - 200 of 2023) sorted by relevance

12345678910>>...81

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_btree_reader.cc47 if (n < chunk_size) return CordRepBtree::EdgeData(edge).substr(result.n); in Read()
63 return CordRepBtree::EdgeData(edge).substr(result.n); in Read()
/applications/standard/contacts_data/ability/sinicization/src/
H A Dconstruction_name.cpp47 std::string sortFirstLetterTemp = characterTransliterate.WstringToString(nameFullFight.substr(0, 1)); in GetConstructionName()
64 std::string sortFirstLetterTemp = chineseCharacter.substr(0, 1); in GetConstructionName()
90 std::wstring childwChineseCharacter = nameWstr.substr(index, 1); in GetPhotoFirstName()
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Dform_frontend_declarative.cpp29 result = result.substr(0, result.size()-4); // 4: length of '.ets' in GetFormSrcPath()
32 return result.substr(1) + ".abc"; // 1: length of '/' in GetFormSrcPath()
35 return result.substr(2) + ".abc"; // 2: length of './' in GetFormSrcPath()
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Dmask.h60 file_ = maskImage.substr(start, end - start); in SetMaskImage()
61 if (file_.size() > 4 && file_.substr(file_.size() - 4) == ".svg") { in SetMaskImage()
65 } else if (maskImage.substr(maskImage.size() - 4) == ".svg") { in SetMaskImage()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dzip_util.cpp99 result = file.substr(pos + 1); in GetDestFilePath()
100 std::string parent = file.substr(0, pos); in GetDestFilePath()
103 parentPathName = parent.substr(pos + 1); in GetDestFilePath()
/foundation/multimedia/player_framework/test/unittest/utils_test/
H A Dtime_format_utils_unit_test.cpp46 EXPECT_EQ(TimeFormatUtils::FormatDateTimeByTimeZone(iso8601Str).substr(0, 7), expected); in HWTEST_F()
59 EXPECT_EQ(TimeFormatUtils::FormatDateTimeByTimeZone(iso8601Str).substr(0, 7), expected); in HWTEST_F()
147 EXPECT_EQ(TimeFormatUtils::ConvertTimestampToDatetime(timestamp).substr(0, 7), expected); in HWTEST_F()
/foundation/filemanagement/app_file_service/utils/src/b_hiaudit/
H A Dzip_util.cpp98 result = file.substr(pos + 1); in GetDestFilePath()
99 std::string parent = file.substr(0, pos); in GetDestFilePath()
102 parentPathName = parent.substr(pos + 1); in GetDestFilePath()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/
H A Dsoftbus_session.cpp134 return (name.substr(0, HEAD_SIZE) + REPLACE_CHAIN); in ToBeAnonymous()
137 return (name.substr(0, HEAD_SIZE) + REPLACE_CHAIN + name.substr(name.length() - END_SIZE, END_SIZE)); in ToBeAnonymous()
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test_ext.cpp49 std::string savePath = std::string(filePath).substr(startPos); in Regist()
78 std::string s1 = info1->filePath.substr(0, info1->filePath.rfind("/") + 1) + info1->testCaseName + info1->testName; in Cmp()
79 std::string s2 = info2->filePath.substr(0, info2->filePath.rfind("/") + 1) + info2->testCaseName + info2->testName; in Cmp()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dzip_util.cpp99 result = file.substr(pos + 1); in GetDestFilePath()
100 std::string parent = file.substr(0, pos); in GetDestFilePath()
103 parentPathName = parent.substr(pos + 1); in GetDestFilePath()
/kernel/linux/linux-5.10/Documentation/arm/samsung/
H A Dclksrc-change-registers.awk14 return substr(s, eqat+2, (comat-eqat)-2)
19 return substr(b, 2, length(b)-2)
56 return substr(s, id+2)
/kernel/linux/linux-6.6/Documentation/arch/arm/samsung/
H A Dclksrc-change-registers.awk14 return substr(s, eqat+2, (comat-eqat)-2)
19 return substr(b, 2, length(b)-2)
56 return substr(s, id+2)
/kernel/linux/linux-5.10/scripts/
H A Dcheck-sysctl-docs39 value = substr(value, 2)
42 value = substr(value, 1, length(value) - 1)
73 if (!inbrackets && substr($i, 1, 1) == "(") {
83 if (inbrackets && substr($i, length($i), 1) == ")") {
/third_party/node/test/parallel/
H A Dtest-http-upgrade-server.js102 assert.strictEqual(data.substr(0, 12), 'HTTP/1.1 101');
134 assert.strictEqual(data.substr(0, 12), 'HTTP/1.1 200');
154 assert.strictEqual(data.substr(0, 12), 'HTTP/1.1 200');
/third_party/ninja/src/
H A Dclparser.cc38 input.substr(input.size() - needle.size()) == needle); in EndsWith()
55 return line.substr(in - line.c_str()); in FilterShowIncludes()
96 string line = output.substr(start, end - start); in Parse()
/third_party/protobuf/benchmarks/php/
H A DPhpBenchmark.php12 substr($path, -strlen(NAME)) != NAME) {
13 require_once(substr($path, strlen($prefix) + 1));
150 if (substr($arg, 0, 2) == "--") {
/third_party/protobuf/benchmarks/util/
H A Dprotoc-gen-gogoproto.cc24 if (filename.substr(filename.size() - 11) == ".protodevel") { in StripProto()
26 return filename.substr(0, filename.size() - 11); in StripProto()
29 return filename.substr(0, filename.size() - 6); in StripProto()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_handler_asset.cpp294 std::string relativeFileName = fileName.substr(pos + RELATIVE_PATH_FLAG.length()); in GenerateAssetObjInfo()
301 auto dstBundleName = relativeFileName.substr(0, pos); in GenerateAssetObjInfo()
360 dstFile << dstBundleName << "/" << TEMP_DIR << file.substr(pos + srcBundleName.length()) in GetDstFile()
386 << file.substr(posPrefix + tempDir.length(), posPostfix - posPrefix - tempDir.length()); in GenerateUris()
398 << file.substr(posPrefix + tempDir.length()); in GenerateUris()
421 auto file = rootFile.substr(pos + relativePath.length()); in CompressFile()
513 auto dirPath = path.substr(0, pos); in MkDirRecurse()
520 subPath = path.substr(0, index); in MkDirRecurse()
559 std::string filenameWithoutPath = filenameWithPath.substr(pos + 1); in ExtractFile()
/third_party/gn/src/base/files/
H A Dfile_path.cc68 StringViewType a_letter(a.substr(0, a_letter_pos + 1)); in EqualDriveLetterCaseInsensitive()
69 StringViewType b_letter(b.substr(0, b_letter_pos + 1)); in EqualDriveLetterCaseInsensitive()
73 StringViewType a_rest(a.substr(a_letter_pos + 1)); in EqualDriveLetterCaseInsensitive()
74 StringViewType b_rest(b.substr(b_letter_pos + 1)); in EqualDriveLetterCaseInsensitive()
363 return base.path_.substr(dot, StringType::npos); in Extension()
372 return base.path_.substr(dot, StringType::npos); in FinalExtension()
383 return FilePath(path_.substr(0, dot)); in RemoveExtension()
394 return FilePath(path_.substr(0, dot)); in RemoveFinalExtension()
461 without_nuls.assign(component.substr(0, nul_pos)); in Append()
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumbermatcher.cc104 number, candidate.substr(found, candidate.length() - found)) in ContainsOnlyValidXChars()
109 string normalized_extension(candidate.substr(found, in ContainsOnlyValidXChars()
164 return HasPrefixString(normalized_candidate.substr( in AllNumberGroupsRemainGrouped()
173 return normalized_candidate.substr(from_index) in AllNumberGroupsRemainGrouped()
599 string first_group_only = candidate.substr(0, group_start_index); in ExtractInnerMatch()
631 text_.substr(offset + candidate.size()))); in ExtractMatch()
684 reg_exps_->regexp_factory_for_pattern_->CreateInput(text_.substr(index))); in Find()
766 SplitStringUsing(rfc3966_format.substr(start_index, in GetNationalNumberGroups()
907 candidate.substr(0, first_slash_in_body); in ContainsMoreThanOneSlashInNationalNumber()
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_module_reader.cpp109 return inputPath.substr(inputPath.find_last_of("/") + 1); in GetModuleName()
146 std::string tmpPath = inputPath.substr(inputPath.find_first_of("/") + 1); in GetOtherHspPath()
147 const std::string sharedBundleName = tmpPath.substr(0, tmpPath.find_first_of("/")); in GetOtherHspPath()
173 std::string moduleName = inputPath.substr(inputPath.find_last_of("/") + 1); in GetPresetAppHapPath()
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/
H A Dform_manager_resource.cpp105 ss << param.substr(pos + 1 + len); in GetIntParam()
130 std::string key = param.substr(index, mid - index); in ParseMapFromString()
131 std::string value = param.substr(mid + equalsLen, end - mid - equalsLen); in ParseMapFromString()
178 ss << param.substr(pos + 1 + len); in GetStringParam()
/foundation/arkui/ace_engine/frameworks/core/components/plugin/resource/
H A Dplugin_manager_resource.cpp103 ss << param.substr(pos + 1 + len); in GetIntParam()
128 std::string key = param.substr(index, mid - index); in ParseMapFromString()
129 std::string value = param.substr(mid + equalsLen, end - mid - equalsLen); in ParseMapFromString()
179 ss << param.substr(pos + 1 + len); in GetStringParam()
/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dmain.cpp92 string profileName = fileName.substr(0, dotPos); in SetProcName()
98 profileName = fileName.substr(0, dotPos); in SetProcName()
118 std::string eventPart = eventStr.substr(0, pos); in ParseArgv()
120 eventStr = eventStr.substr(pos + 1, eventStr.size() - pos - 1); in ParseArgv()
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_cache_entity.cpp37 std::string key = str.substr(0, pos); in ParseCacheControl()
38 std::string value = str.substr(pos + 1); in ParseCacheControl()
168 std::string key = str.substr(0, pos); in ParseCacheControl()
169 std::string value = str.substr(pos + 1); in ParseCacheControl()

Completed in 13 milliseconds

12345678910>>...81