/ohos5.0/base/update/updateservice/services/firmware/utils/src/ |
H A D | firmware_combine_version_utils.cpp | 56 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 D | dfx_processdump_test.cpp | 158 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 D | account_log_wrapper.cpp | 30 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 D | net_mgr_log_wrapper.cpp | 34 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 D | netmgr_ext_log_wrapper.cpp | 31 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 D | data_storage_log_wrapper.cpp | 36 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 D | path_tools.cpp | 82 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 D | time_format_utils.cpp | 103 } 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 D | widget_adapter.cpp | 125 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 D | flashd_utils.cpp | 31 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 D | file_utils.cpp | 144 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 D | module_utils.cpp | 88 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 D | js_module_reader.cpp | 109 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 D | js_worker.cpp | 148 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 D | scan_system_data.cpp | 181 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 D | js_backend_asset_manager.cpp | 42 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 D | util.cpp | 191 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 D | pkg_utils.cpp | 51 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 D | dash_mpd_manager.cpp | 87 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 D | cpu_perf_dump.cpp | 137 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 D | update_log.cpp | 45 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 D | file_trash_n_exporter.cpp | 286 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 D | file_deal.cpp | 134 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 D | any.cpp | 174 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 D | app_log_wrapper.cpp | 35 size_t pos = fullPath.find_last_of("/"); in GetBriefFileName()
|