Home
last modified time | relevance | path

Searched refs:newCache (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_entity_ext_manage_test.cpp251 auto newCache = cachedEntity.Structuralize(); variable
258 newCache.SetExtManage(info);
264 auto fileNames = newCache.GetExtManage();
267 auto fileInfo = newCache.GetExtManageInfo();
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_utils.cpp1842 auto newCache = new (std::nothrow) ValueParseCache; in ParseValueThenCacheOrGetFromCache() local
1843 if (newCache == nullptr) { in ParseValueThenCacheOrGetFromCache()
1848 int errCode = newCache->valueParsed.Parse(valueBlob, valueBlob + valueBlobLen, offset); in ParseValueThenCacheOrGetFromCache()
1852 delete newCache; in ParseValueThenCacheOrGetFromCache()
1853 newCache = nullptr; in ParseValueThenCacheOrGetFromCache()
1856 newCache->valueOriginal.assign(valueBlob, valueBlob + valueBlobLen); in ParseValueThenCacheOrGetFromCache()
1857 …sqlite3_set_auxdata(ctx, VALUE_CACHE_ID, newCache, reinterpret_cast<void(*)(void*)>(ValueParseCach… in ParseValueThenCacheOrGetFromCache()
2000 auto newCache = new (std::nothrow) std::vector<uint8_t>; in FlatBufferExtractInnerFunc() local
2001 if (newCache == nullptr) { in FlatBufferExtractInnerFunc()
2006 newCache->resize(FLATBUFFER_MAX_CACHE_SIZE); in FlatBufferExtractInnerFunc()
[all …]
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Dmulti_sim_controller.cpp395 std::vector<SimRdbInfo> newCache; in GetListFromDataBase() local
400 int32_t result = simDbHelper_->QueryAllValidData(newCache); in GetListFromDataBase()
406 localCacheInfo_ = newCache; in GetListFromDataBase()