Home
last modified time | relevance | path

Searched refs:find_last_of (Results 1 – 25 of 218) sorted by relevance

123456789

/ohos5.0/base/update/updateservice/services/firmware/utils/src/
H A Dfirmware_combine_version_utils.cpp56 std::string::size_type start = baseVersion.find_last_of("("); in HandleBaseVersionLog()
57 std::string::size_type end = baseVersion.find_last_of(")"); in HandleBaseVersionLog()
88 std::string::size_type mid = custVersion.find_last_of("("); in HandleCustVersion()
89 std::string::size_type end = custVersion.find_last_of(")"); in HandleCustVersion()
90 std::string::size_type start = custVersion.find_last_of("."); in HandleCustVersion()
106 std::string::size_type start = preloadVersion.find_last_of("R"); in HandlePreloadVersion()
107 std::string::size_type end = preloadVersion.find_last_of(")"); in HandlePreloadVersion()
112 start = preloadVersion.find_last_of("."); in HandlePreloadVersion()
113 end = preloadVersion.find_last_of("("); in HandlePreloadVersion()
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Ddfx_processdump_test.cpp158 ASSERT_EQ(std::to_string(curTime).length(), filename.length() - filename.find_last_of('-') - 1);
177 ASSERT_EQ(std::to_string(curTime).length(), filename.length() - filename.find_last_of('-') - 1);
196 ASSERT_EQ(std::to_string(curTime).length(), filename.length() - filename.find_last_of('-') - 1);
215 ASSERT_EQ(std::to_string(curTime).length(), filename.length() - filename.find_last_of('-') - 1);
234 ASSERT_EQ(std::to_string(curTime).length(), filename.length() - filename.find_last_of('-') - 1);
254 ASSERT_EQ(std::to_string(curTime).length(), filename.length() - filename.find_last_of('-') - 1);
273 ASSERT_EQ(std::to_string(curTime).length(), filename.length() - filename.find_last_of('-') - 1);
292 ASSERT_EQ(std::to_string(curTime).length(), filename.length() - filename.find_last_of('-') - 1);
/ohos5.0/base/account/os_account/frameworks/common/log/src/
H A Daccount_log_wrapper.cpp30 auto pos = file.find_last_of("/"); in GetBriefFileName()
35 pos = file.find_last_of("\\"); in GetBriefFileName()
/ohos5.0/foundation/communication/netmanager_base/utils/log/src/
H A Dnet_mgr_log_wrapper.cpp34 auto pos = file.find_last_of("/"); in GetBriefFileName()
39 pos = file.find_last_of("\\"); in GetBriefFileName()
/ohos5.0/foundation/communication/netmanager_ext/utils/log/src/
H A Dnetmgr_ext_log_wrapper.cpp31 auto position = file.find_last_of("/"); in GetBriefFileName()
36 position = file.find_last_of("\\"); in GetBriefFileName()
/ohos5.0/base/telephony/telephony_data/common/src/
H A Ddata_storage_log_wrapper.cpp36 auto pos = file.find_last_of("/"); in GetBriefFileName()
41 pos = file.find_last_of("\\"); in GetBriefFileName()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dpath_tools.cpp82 if (auto p = res.find_last_of('/'); string::npos != p) { in NormalizePath()
174 auto lastSlash = pathIn.find_last_of('/'); in SplitPath()
181 auto lastDot = filename.find_last_of('.'); in SplitPath()
/ohos5.0/foundation/multimedia/player_framework/services/utils/
H A Dtime_format_utils.cpp103 } else if (data.find_first_of("-") == data.find_last_of("-")) { in FormatDataTimeByString()
112 } else if (data.find_first_of("-") == data.find_last_of("-")) { in FormatDataTimeByString()
117 } else if (time.find_first_of(":") == time.find_last_of(":")) { in FormatDataTimeByString()
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Dwidget_adapter.cpp125 auto index = tempPath.find_last_of("/"); in UpdateShaderPath()
129 auto suffixIndex = fileName.find_last_of("."); in UpdateShaderPath()
132 auto dirIndex = tempPath.find_last_of("/"); in UpdateShaderPath()
/ohos5.0/base/update/updater/services/flashd/daemon/
H A Dflashd_utils.cpp31 auto pos = path.find_last_of('/'); in GetFileName()
33 pos = path.find_last_of('\\'); in GetFileName()
/ohos5.0/base/sensors/miscdevice/utils/common/src/
H A Dfile_utils.cpp144 extName = fileName.substr(fileName.find_last_of(".") + 1); in GetFileExtName()
169 std::string::size_type pos = filePath.find_last_of('.'); in CheckFileExtendName()
231 size_t pos = fileAbsolutePath.find_last_of('.'); in GetFileSuffix()
/ohos5.0/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_utils.cpp88 std::size_t pos = file.find_last_of('.'); in CheckFileSuffix()
99 std::size_t startPos = file.find_last_of('/') + 1; in GetFileName()
100 std::size_t endPos = file.find_last_of('.'); in GetFileName()
107 std::size_t endPos = filePath.find_last_of('/'); in GetHmpName()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_module_reader.cpp109 return inputPath.substr(inputPath.find_last_of("/") + 1); in GetModuleName()
173 std::string moduleName = inputPath.substr(inputPath.find_last_of("/") + 1); in GetPresetAppHapPath()
183 if (inputPath.find_first_of("/") == inputPath.find_last_of("/")) { in GetPresetAppHapPath()
H A Djs_worker.cpp148 index = fileName.find_last_of("."); in NormalizedFileName()
231 size_t fileNamePos = uri.find_last_of("/"); in operator ()()
233 if (realPath.find_last_of(".") != std::string::npos) { in operator ()()
464 size_t slashPos = filePath.find_last_of("/"); in GetAmi()
492 size_t filePos = file.find_last_of("/"); in GetAmi()
/ohos5.0/base/print/print_fwk/services/scan_service/src/
H A Dscan_system_data.cpp181 if (oldDeviceId.find_last_of(":") == std::string::npos || in GetNewDeviceId()
182 oldDeviceId.find_last_of(":") < USB_DEVICEID_FIRSTID_LEN_3 || in GetNewDeviceId()
183 oldDeviceId.find_last_of("-") == std::string::npos || in GetNewDeviceId()
184 oldDeviceId.find_last_of("-") < 1) { in GetNewDeviceId()
187 …std::string deviceIdHead = oldDeviceId.substr(0, oldDeviceId.find_last_of(":") - USB_DEVICEID_FIRS… in GetNewDeviceId()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/common/
H A Djs_backend_asset_manager.cpp42 size_t slashPos = fileUri.find_last_of(SLASH); in GetFileInfo()
72 size_t filePos = file.find_last_of(SLASH); in ParseWorkerUri()
/ohos5.0/base/msdp/device_status/utils/common/src/
H A Dutil.cpp191 size_t nPos = path.find_last_of('/'); in GetFileName()
193 nPos = path.find_last_of('\\'); in GetFileName()
257 std::string::size_type pos = filePath.find_last_of('.'); in CheckFileExtendName()
/ohos5.0/base/update/updater/services/package/pkg_manager/
H A Dpkg_utils.cpp51 std::size_t pos = fileName.find_last_of('/'); in GetFilePath()
53 pos = fileName.find_last_of('\\'); in GetFilePath()
93 return filePath.substr(filePath.find_last_of("/") + 1); in GetFileSize()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_mpd_manager.cpp87 size_t end = mpdUrlBase.find_last_of('/'); in GetBaseUrlList()
113 size_t end = mpdUrlBase.find_last_of('/'); in GetBaseUrl()
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_perf_dump.cpp137 auto startPos = fileName.find_last_of('-'); in GetTimestamp()
141 auto endPos = fileName.find_last_of('.'); in GetTimestamp()
/ohos5.0/base/update/updateservice/foundations/ability/log/src/
H A Dupdate_log.cpp45 auto pos = file.find_last_of("/"); in GetBriefFileName()
49 pos = file.find_last_of("\\"); in GetBriefFileName()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp286 size_t slashPos = destFile.find_last_of("/"); in MoveFile()
292 size_t suffixPos = destFile.find_last_of('.'); in MoveFile()
322 size_t slashPos = path.find_last_of("/"); in RecurCheckIfOnlyContentInDir()
373 size_t lastSlashPos = filterDirent.find_last_of("/"); in GenerateFileInfoEntity()
479 size_t slashPos = filePath.find_last_of("/"); in RecoverFile()
501 size_t lastSlashPos = sourceFilePath.find_last_of("/"); in RecoverFilePart()
/ohos5.0/base/theme/wallpaper_mgr/utils/src/
H A Dfile_deal.cpp134 std::string::size_type pos = filePath.find_last_of('/'); in GetExtension()
141 pos = filename.find_last_of('.'); in GetExtension()
/ohos5.0/foundation/multimedia/media_foundation/src/meta/
H A Dany.cpp174 size_t endIndex = stringInfo.find_last_of(']'); in GetTypeNameFromFunctionInfo()
176 size_t endIndex = stringInfo.find_last_of(';'); in GetTypeNameFromFunctionInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/common/log/src/
H A Dapp_log_wrapper.cpp35 size_t pos = fullPath.find_last_of("/"); in GetBriefFileName()

123456789