Searched refs:slashPos (Results 1 - 8 of 8) sorted by relevance
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/ |
H A D | os_api.cpp | 81 auto slashPos = filePath.find_last_of('/'); in SplitFilePath() local 82 if (slashPos == std::string::npos) { in SplitFilePath() 88 fieldir = filePath.substr(0, slashPos); in SplitFilePath() 89 fileName = filePath.substr(slashPos + 1); in SplitFilePath()
|
/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() local 43 if (slashPos == std::string::npos) { in GetFileInfo() 46 fileName = fileUri.substr(slashPos + 1); in GetFileInfo() 47 filePath = fileUri.substr(0, slashPos + 1); in GetFileInfo()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate.cpp | 31 size_t slashPos = fileUri.find_last_of(SLASH); in GetFileInfo() local 32 if (slashPos == std::string::npos) { in GetFileInfo() 35 fileName = fileUri.substr(slashPos + 1); in GetFileInfo() 36 filePath = fileUri.substr(0, slashPos + 1); in GetFileInfo()
|
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/ |
H A D | file_trash_n_exporter.cpp | 261 static int TruncFileName(string &newDestFile, string &filePathName, int32_t slashPos, const string &fileSuffix)
in TruncFileName() argument 264 string fileName = filePathName.substr(slashPos + 1);
in TruncFileName() 286 size_t slashPos = destFile.find_last_of("/");
in MoveFile() local 287 if (slashPos == string::npos) {
in MoveFile() 295 if (suffixPos == std::string::npos || suffixPos < slashPos) {
in MoveFile() 306 ret = TruncFileName(newDestFile, filePathName, slashPos, fileSuffix);
in MoveFile() 322 size_t slashPos = path.find_last_of("/");
in RecurCheckIfOnlyContentInDir() local 323 if (slashPos <= trashWithTimePos) {
in RecurCheckIfOnlyContentInDir() 324 HILOG_DEBUG("RecurCheckIfOnlyContentInDir: slashPos = %{public}zu", slashPos);
in RecurCheckIfOnlyContentInDir() 479 size_t slashPos = filePath.find_last_of("/"); RecoverFile() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | platform_specific.cpp | 104 auto slashPos = filePath.find_last_of('/'); in SplitFilePath() local 105 if (slashPos == std::string::npos) { in SplitFilePath() 111 fileDir = filePath.substr(0, slashPos); in SplitFilePath() 112 fileName = filePath.substr(slashPos + 1); in SplitFilePath() 424 auto slashPos = filePath.find_last_of('/'); 425 if (slashPos == std::string::npos) { 431 fileDir = filePath.substr(0, slashPos); 432 fileName = filePath.substr(slashPos + 1);
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_worker.cpp | 465 size_t slashPos = filePath.find_last_of("/"); in GetAmi() local 466 std::string fileName = filePath.substr(slashPos + 1); in GetAmi() 467 std::string path = filePath.substr(0, slashPos + 1); in GetAmi()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/ |
H A D | astc_codec.cpp | 203 std::size_t slashPos = format.rfind('/'); in extractDimensions() local 204 if (slashPos != std::string::npos) { in extractDimensions() 205 std::string dimensions = format.substr(slashPos + 1); in extractDimensions()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | exif_metadata_formatter.cpp | 1508 size_t slashPos = value.find('/'); in StrToDouble() local 1509 if (slashPos == std::string::npos) { in StrToDouble() 1513 std::string numeratorStr = value.substr(0, slashPos); in StrToDouble() 1514 std::string denominatorStr = value.substr(slashPos + 1); in StrToDouble()
|
Completed in 8 milliseconds