Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dsingle_ver_natural_store.cpp51 std::string storeOnlyDir; in RemoveKvDB() local
53 …vDB::GetStoreDirectory(properties, KvDBProperties::SINGLE_VER_TYPE_SQLITE, storeDir, storeOnlyDir); in RemoveKvDB()
64 std::string currentOnlyDir = storeOnlyDir + item.first + "/"; in RemoveKvDB()
81 return DBCommon::RemoveAllFilesOfDirectory(storeOnlyDir, true); in RemoveKvDB()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/
H A Dsqlite_local_kvdb.cpp354 std::string storeOnlyDir; in RemoveKvDB() local
356 …ericKvDB::GetStoreDirectory(properties, KvDBProperties::LOCAL_TYPE_SQLITE, storeDir, storeOnlyDir); in RemoveKvDB()
358 …return KvDBUtils::RemoveKvDB(storeDir, storeOnlyDir, KvDBProperties::GetStoreSubDirectory(dbType)); in RemoveKvDB()
363 std::string storeOnlyDir; in GetKvDBSize() local
365 …ericKvDB::GetStoreDirectory(properties, KvDBProperties::LOCAL_TYPE_SQLITE, storeDir, storeOnlyDir); in GetKvDBSize()
367 …return KvDBUtils::GetKvDbSize(storeDir, storeOnlyDir, KvDBProperties::GetStoreSubDirectory(dbType)… in GetKvDBSize()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store.cpp1061 std::string storeOnlyDir; in RemoveKvDB() local
1063 …KvDB::GetStoreDirectory(properties, KvDBProperties::MULTI_VER_TYPE_SQLITE, storeDir, storeOnlyDir); in RemoveKvDB()
1064 …int errCodeVersion = KvDBUtils::RemoveKvDB(storeDir, storeOnlyDir, DBConstant::MULTI_VER_DATA_STOR… in RemoveKvDB()
1065 …int errCodeCommit = KvDBUtils::RemoveKvDB(storeDir, storeOnlyDir, DBConstant::MULTI_VER_COMMIT_STO… in RemoveKvDB()
1066 …int errCodeValue = KvDBUtils::RemoveKvDB(storeDir, storeOnlyDir, DBConstant::MULTI_VER_VALUE_STORE… in RemoveKvDB()
1067 … int errCodeMeta = KvDBUtils::RemoveKvDB(storeDir, storeOnlyDir, DBConstant::MULTI_VER_META_STORE); in RemoveKvDB()
1071 DBCommon::RemoveAllFilesOfDirectory(storeOnlyDir, true); in RemoveKvDB()
1089 std::string storeOnlyDir; in GetKvDBSize() local
1091 …KvDB::GetStoreDirectory(properties, KvDBProperties::MULTI_VER_TYPE_SQLITE, storeDir, storeOnlyDir); in GetKvDBSize()
1103 int errCode = KvDBUtils::GetKvDbSize(storeDir, storeOnlyDir, storageName, dbSize); in GetKvDBSize()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dgeneric_kvdb.cpp382 std::string &storeDir, std::string &storeOnlyDir) const in GetStoreDirectory()
389 storeOnlyDir = dataDir + "/" + storeOnlyIdentifier + "/" + subDir + "/"; in GetStoreDirectory()
H A Dgeneric_kvdb.h166 std::string &storeDir, std::string &storeOnlyDir) const;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_natural_store.cpp1753 std::string storeOnlyDir = storeOnlyIdentDir + item.first; in GetKvDBSize() local
1754 int err = KvDBUtils::GetKvDbSize(storeDir, storeOnlyDir, item.second, size); in GetKvDBSize()