Home
last modified time | relevance | path

Searched refs:lastPath (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Ddata_uri_utils.cpp67 string lastPath = pathVector[pathVector.size() - 1]; in AttachId() local
78 newLastPath = lastPath + string(SEPARATOR) + string(longBuffer); in AttachId()
81 string tempLastPath = string(SEPARATOR) + lastPath; in AttachId()
105 string lastPath = pathVector[pathVector.size() - 1]; in GetId() local
106 if (!IsNumber(lastPath)) { in GetId()
109 return std::atoll(lastPath.c_str()); in GetId()
160 string lastPath = pathVector[pathVector.size() - 1]; in IsAttachedId() local
162 return IsNumber(lastPath); in IsAttachedId()
200 string lastPath = pathVector[pathVector.size() - 1]; in UriUpateLastPath() local
201 if (!IsNumber(lastPath)) { in UriUpateLastPath()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Ddata_uri_utils_test.cpp227 string lastPath = pathVector[pathVector.size() - 1]; in HWTEST_F() local
228 EXPECT_TRUE(!(dataUriUtils.IsNumber(lastPath))); in HWTEST_F()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dfile_path.cpp226 FilePath lastPath = fullPath; in CreateDirectory() local
228 … for (FilePath path = const_cast<FilePath &>(fullPath).DirName(); path.Value() != lastPath.Value(); in CreateDirectory()
231 lastPath = path; in CreateDirectory()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_object_utils.cpp311 string lastPath = dirPath; in GetLastDirExistInDb() local
312 if (lastPath.back() == '/') { in GetLastDirExistInDb()
313 lastPath.pop_back(); in GetLastDirExistInDb()
318 size_t slashIndex = lastPath.rfind(SLASH_CHAR); in GetLastDirExistInDb()
319 if (slashIndex == string::npos || lastPath.length() <= ROOT_MEDIA_DIR.length()) { in GetLastDirExistInDb()
322 lastPath = lastPath.substr(0, slashIndex); in GetLastDirExistInDb()
323 lastPathId = GetIdByPathFromDb(lastPath); in GetLastDirExistInDb()
328 MEDIA_DEBUG_LOG("GetLastAlbumExistInDb lastPath = %{private}s", lastPath.c_str()); in GetLastDirExistInDb()
330 dirAsset.SetAlbumPath(lastPath); in GetLastDirExistInDb()
/ohos5.0/base/startup/appspawn/modules/module_engine/include/
H A Dappspawn_hook.h171 int MakeDirRec(const char *path, mode_t mode, int lastPath);
/ohos5.0/base/startup/appspawn/util/src/
H A Dappspawn_utils.c138 int MakeDirRec(const char *path, mode_t mode, int lastPath) in MakeDirRec() argument
160 if (lastPath) { in MakeDirRec()