/foundation/multimedia/media_library/frameworks/services/media_cloud_sync_notify_handle/src/ |
H A D | cloud_sync_notify_handler.cpp | 82 auto dateTakenPos = uriString.rfind('/'); in HandleDeleteEvent() 86 auto fileIdPos = uriString.rfind('/', dateTakenPos - 1); in HandleDeleteEvent() 107 auto newDateTakenPos = uriString.rfind('/'); in HandleTimeUpdateEvent() 111 auto formerDateTakenPos = uriString.rfind('/', newDateTakenPos - 1); in HandleTimeUpdateEvent() 115 auto fileIdPos = uriString.rfind('/', formerDateTakenPos - 1); in HandleTimeUpdateEvent()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | directory_ex.cpp | 54 return string(fileFullName).substr(0, fileFullName.rfind("/") + 1); in ExtractFilePath() 59 return string(fileFullName).substr(fileFullName.rfind("/") + 1, fileFullName.size()); in ExtractFileName() 64 string::size_type pos = fileName.rfind("."); in ExtractFileExt() 74 if (path.rfind("/") != path.size() - 1) { in ExcludeTrailingPathDelimiter() 87 if (path.rfind("/") != path.size() - 1) { in IncludeTrailingPathDelimiter()
|
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/ |
H A D | multistages_video_capture_manager.cpp | 70 string dirPath = filePath.substr(0, filePath.rfind('/'));
in AddVideoInternal() 78 string tempPath = realDirPath + filePath.substr(filePath.rfind('/'),
in AddVideoInternal() 79 filePath.rfind('.') - filePath.rfind('/')) + "_tmp" + filePath.substr(filePath.rfind('.'));
in AddVideoInternal()
|
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/utils/ |
H A D | file_utils.cpp | 160 size_t lastSlash = path.rfind('/');
in DealPicture() 190 string tempPath = filePath.substr(0, filePath.rfind('.')) + "_tmp" + filePath.substr(filePath.rfind('.'));
in SaveVideo() 211 string tempPath = filePath.substr(0, filePath.rfind('.')) + "_tmp" + filePath.substr(filePath.rfind('.'));
in DeleteTempVideoFile()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_file_uri.cpp | 182 auto index = path.rfind('/'); in ParsePathWithExtrPara() 189 index = uriTempNext.rfind('/'); in ParsePathWithExtrPara() 201 index = preStr.rfind('/'); in ParsePathWithExtrPara() 222 std::size_t index = path.rfind("/"); in CalFileId() 224 MEDIA_ERR_LOG("failed to rfind /, path is %{private}s", path.c_str()); in CalFileId() 491 auto index = uri.rfind(ML_URI_TIME_ID); in GetTimeIdFromUri() 512 auto indexStart = uri.rfind(ML_URI_TIME_ID); in GetTimeIdFromUri() 517 auto indexEnd = uri.rfind(ML_URI_OFFSET); in GetTimeIdFromUri() 562 size_t index = uri.rfind('/'); in GetPathFromUri() 568 index = realTitle.rfind('/'); in GetPathFromUri() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
H A D | scanner_utils.cpp | 47 size_t lastSlashPosition = path.rfind("/"); in GetFileNameFromUri() 63 size_t dotIndex = path.rfind("."); in GetFileExtension() 121 size_t lastSlashPosition = path.rfind("/"); in GetParentPath()
|
/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/ |
H A D | ringtone_scanner_utils.cpp | 42 size_t lastSlashPosition = path.rfind("/"); in GetFileNameFromUri() 58 size_t dotIndex = path.rfind("."); in GetFileExtension() 116 size_t lastSlashPosition = path.rfind("/"); in GetParentPath()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/common/ |
H A D | distributeddb_tools_test.cpp | 46 if (dir.rfind("/") == std::string::npos && dir.rfind("\\") == std::string::npos) { in GetCurrentDir() 51 if (dir.rfind("/") != std::string::npos) { in GetCurrentDir() 52 dir.erase(dir.rfind("/") + 1); in GetCurrentDir()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_data_manager_utils.cpp | 47 size_t found = uri.rfind('/'); in GetOperationType() 58 size_t lastSlashPosition = path.rfind("/"); in GetDisPlayNameFromPath()
|
H A D | zip_util.cpp | 97 auto pos = file.rfind("/"); in GetDestFilePath() 101 pos = parent.rfind("/"); in GetDestFilePath()
|
/foundation/ability/idl_tool/idl_tool_2/ast/ |
H A D | ast.cpp | 50 size_t index = idlFilePath_.rfind('\\'); in SetIdlFile() 52 size_t index = idlFilePath_.rfind('/'); in SetIdlFile() 55 size_t end = idlFilePath_.rfind(".idl"); in SetIdlFile() 66 size_t start = fullName.rfind(".."); in SetFullName() 70 size_t index = name.rfind('.'); in SetFullName()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/ |
H A D | plugin_pattern.cpp | 243 if (packagePathStr.rfind(".hap") != std::string::npos) { in CreatePluginSubContainer() 374 size_t pos_ets = info.pluginName.rfind(ETS_EXT); in GetPackagePath() 379 size_t pos = info.pluginName.rfind(JS_EXT); in GetPackagePath() 414 size_t posAssets = info.pluginName.rfind(assets); in GetPackagePathByAbsolutePath() 427 size_t pos = info.pluginName.rfind("/"); in GetPackagePathByAbsolutePath() 446 auto pos = info.pluginName.rfind(JS_EXT); in GetAbilityNameByWant() 453 size_t pos_ets = strList[0].rfind(ETS_EXT); in GetAbilityNameByWant() 458 auto pos = strList[0].rfind(JS_EXT); in GetAbilityNameByWant()
|
/foundation/multimedia/image_framework/mock/native/src/ |
H A D | directory_ex.cpp | 27 string::size_type pos = fileName.rfind("."); in ExtractFileExt() 63 if (path.rfind("/") != path.size() - 1) { in IncludeTrailingPathDelimiter()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | string_utils.cpp | 65 return std::string(fileFullName).substr(0, fileFullName.rfind("/") + 1);
in ExtractFilePath() 70 return std::string(fileFullName).substr(fileFullName.rfind("/") + 1, fileFullName.size());
in ExtractFileName()
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | plugin_element.cpp | 275 size_t pos = info.pluginName.rfind(".js"); in GetPackagePath() 295 size_t posAssets = info.pluginName.rfind(assets); in GetPackagePathByAbsolutePath() 308 size_t pos = info.pluginName.rfind("/"); in GetPackagePathByAbsolutePath() 347 if (info.pluginName.rfind(".js") != std::string::npos) { in GetModuleNameByWant() 353 if (strList[0].rfind(".js") != std::string::npos) { in GetModuleNameByWant() 470 if (packagePathStr.rfind(".hap") != std::string::npos) { in RunPluginTask()
|
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/ringtone_player/ |
H A D | ringtone_player_impl.cpp | 91 hapticUri.rfind(AUDIO_FORMAT_STR) == hapticUri.length() - AUDIO_FORMAT_STR.length()) { in GetNewHapticUriForAudioUri() 92 hapticUri.replace(hapticUri.rfind(AUDIO_FORMAT_STR), AUDIO_FORMAT_STR.length(), HAPTIC_FORMAT_STR); in GetNewHapticUriForAudioUri() 115 audioUri.rfind(AUDIO_FORMAT_STR) == audioUri.length() - AUDIO_FORMAT_STR.length()) { in GetHapticUriForAudioUri() 118 hapticUri.replace(hapticUri.rfind(AUDIO_FORMAT_STR), AUDIO_FORMAT_STR.length(), HAPTIC_FORMAT_STR); in GetHapticUriForAudioUri() 125 defaultRingtoneUri.rfind(AUDIO_FORMAT_STR) == defaultRingtoneUri.length() - AUDIO_FORMAT_STR.length()) { in GetHapticUriForAudioUri() 128 hapticUri.replace(hapticUri.rfind(AUDIO_FORMAT_STR), AUDIO_FORMAT_STR.length(), HAPTIC_FORMAT_STR); in GetHapticUriForAudioUri()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/ |
H A D | path_util.cpp | 71 const size_t separatorPos = path.rfind('/'); in GetParentPath() 169 size_t fileExtCut = path.rfind('.'); in GetExtension() 184 size_t fileExtCut = filename.rfind("."); in GetBaseName()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/ |
H A D | js_child_process.cpp | 55 if (srcPath.rfind(".") != std::string::npos) { in Init() 56 srcPath.erase(srcPath.rfind(".")); in Init()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | data_uri_utils.cpp | 82 auto lastPathPos = uriString.rfind(tempLastPath); in AttachId() 207 int lastPathPos = (int)uriString.rfind(string(SEPARATOR) + lastPath); in UriUpateLastPath()
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/ |
H A D | hgm_idle_detector.cpp | 69 if (surfaceName.rfind(supportedAppBuffer, 0) == 0) {
in GetUnknownFrameworkState() 81 if (surfaceName.rfind(supportedAppBuffer, 0) == 0) {
in GetSurfaceFrameworkState()
|
/foundation/filemanagement/app_file_service/utils/src/b_hiaudit/ |
H A D | zip_util.cpp | 96 auto pos = file.rfind("/"); in GetDestFilePath() 100 pos = parent.rfind("/"); in GetDestFilePath()
|
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/ |
H A D | rs_graphic_test_ext.cpp | 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 D | zip_util.cpp | 97 auto pos = file.rfind("/"); in GetDestFilePath() 101 pos = parent.rfind("/"); in GetDestFilePath()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_file_utils.cpp | 178 if (rootDir.find(PATH_SEPARATOR) != 0 || rootDir.rfind(PATH_SEPARATOR) != (rootDir.size() - 1) || in IsValidPath() 190 std::size_t pos = path.rfind(PATH_SEPARATOR); in GetPathDir()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/benchmarks/benchmark_dcl/ |
H A D | skia_recording.cpp | 42 if (captureFileName_.rfind(fileExtension) == (captureFileName_.size() - fileExtension.size())) { in InitConfigsFromParam() 160 if (captureFileName_.rfind(fileExtension) == (captureFileName_.size() - fileExtension.size())) { in EndCapture()
|