Home
last modified time | relevance | path

Searched refs:old (Results 1 - 24 of 24) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dupgrade.cpp41 Upgrade::DBStatus Upgrade::UpdateStore(const StoreMeta &old, const StoreMeta &meta, const std::vector<uint8_t> &pwd) in UpdateStore() argument
43 if (old.version < StoreMeta::UUID_CHANGED_TAG && old.storeType == DEVICE_COLLABORATION) { in UpdateStore()
44 auto upStatus = Upgrade::GetInstance().UpdateUuid(old, meta, pwd); in UpdateStore()
50 if (old.dataDir == meta.dataDir) { in UpdateStore()
59 auto backupFile = exporter_(old, password); in UpdateStore()
69 cleaner_(old); in UpdateStore()
73 Upgrade::DBStatus Upgrade::ExportStore(const StoreMeta &old, const StoreMeta &meta) in ExportStore() argument
75 if (old.dataDir == meta.dataDir) { in ExportStore()
84 auto backupFile = exporter_(old, passwor in ExportStore()
105 UpdateUuid(const StoreMeta &old, const StoreMeta &meta, const std::vector<uint8_t> &pwd) UpdateUuid() argument
[all...]
H A Dupgrade.h42 DBStatus UpdateStore(const StoreMeta &old, const StoreMeta &meta, const std::vector<uint8_t> &pwd);
43 DBStatus ExportStore(const StoreMeta &old, const StoreMeta &meta);
45 DBStatus UpdateUuid(const StoreMeta &old, const StoreMeta &meta, const std::vector<uint8_t> &pwd);
H A Dkvdb_service_impl.cpp185 ZLOGW("agent already changed! old pid:%{public}d new pid:%{public}d appId:%{public}s", in Delete()
354 ZLOGW("agent already changed! old pid:%{public}d, new pid:%{public}d, appId:%{public}s", in UnregServiceNotifier()
467 ZLOGW("agent already changed! old pid:%{public}d, new pid:%{public}d, appId:%{public}s", in GetSyncParam()
647 StoreMetaData old; in BeforeCreate() local
648 auto isCreated = MetaDataManager::GetInstance().LoadMeta(meta.GetKey(), old, true); in BeforeCreate()
654 // when user is 0, old store no "isPublic" attr, as well as new store's "isPublic" is true, do not intercept. in BeforeCreate()
655 if (old.storeType != meta.storeType || Constant::NotEqual(old.isEncrypt, meta.isEncrypt) || old.area != meta.area || in BeforeCreate()
656 !options.persistent || (meta.securityLevel != NO_LABEL && (old in BeforeCreate()
[all...]
/foundation/resourceschedule/ffrt/src/sched/
H A Dtask_manager.h51 auto old = count.load(); in DecreCount() local
52 if (old <= 0) { in DecreCount()
56 if (count.compare_exchange_weak(old, old - 1, std::memory_order_relaxed)) { in DecreCount()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dentry_page_info.h47 std::string old(std::move(params_)); in ReplacePageParams()
49 return old; in ReplacePageParams()
59 bool old = recoverable_; in ReplaceRecoverable() local
61 return old; in ReplaceRecoverable()
/foundation/graphic/graphic_3d/lume/metaobject/src/container/
H A Dflat_container.cpp171 // Remove from old parent (if any) in SetObjectParent()
172 if (const auto old = interface_pointer_cast<IContainer>(cont->GetParent())) { in SetObjectParent()
173 if (old == interface_pointer_cast<IContainer>(parent)) { in SetObjectParent()
177 old->Remove(object); in SetObjectParent()
H A Dcontainer.cpp224 // Remove from old parent (if any) in SetObjectParent()
225 if (const auto old = interface_pointer_cast<IContainer>(cont->GetParent())) { in SetObjectParent()
226 if (old == interface_pointer_cast<IContainer>(parent)) { in SetObjectParent()
230 old->Remove(object); in SetObjectParent()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dproperty_animatable_helper.h133 AnimatableDimension old = Get(*edge); in Set() local
134 if (old == value) { in Set()
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_event.cpp434 LogTraceKey &old = g_traceIds.at(iter->second); in StartLogTraceId() local
435 if (old.evtType != eventType || old.action != action) { in StartLogTraceId()
436 old.evtType = eventType; in StartLogTraceId()
437 old.action = action; in StartLogTraceId()
/foundation/systemabilitymgr/samgr_lite/interfaces/kits/communication/broadcast/
H A Dbroadcast_interface.h194 * @param old Indicates the pointer to the original consumer of the topic.
201 Consumer *(*ModifyConsumer)(IUnknown *iUnknown, const Topic *topic, Consumer *old, Consumer *current);
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Dsamgr_small_ipc_adapter.c295 SvcIdentity old = endpoint->identity; in OnSamgrServerExit() local
301 if (old.handle != new.handle || old.cookie != new.cookie || old.token != new.token) { in OnSamgrServerExit()
H A Dendpoint.c600 SvcIdentity old = endpoint->identity; in OnSamgrServerExit() local
606 if (old.handle != new.handle || old.cookie != new.cookie || old.token != new.token) { in OnSamgrServerExit()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_service_impl.cpp770 StoreMetaData old;
771 auto isCreated = MetaDataManager::GetInstance().LoadMeta(meta.GetKey(), old, true);
772 if (!isCreated || meta != old) {
773 Upgrade(param, old);
776 meta.bundleName.c_str(), meta.GetStoreAlias().c_str(), old.storeType, meta.storeType,
777 old.isEncrypt, meta.isEncrypt, old.area, meta.area);
798 meta.bundleName.c_str(), meta.GetStoreAlias().c_str(), old.storeType, meta.storeType,
799 old.isEncrypt, meta.isEncrypt, old
[all...]
H A Drdb_service_impl.h178 int32_t Upgrade(const RdbSyncerParam &param, const StoreMetaData &old);
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/
H A Drs_render_service_connection_stub.cpp158 void CopyFileDescriptor(MessageParcel& old, MessageParcel& copied) in CopyFileDescriptor() argument
160 binder_size_t* object = reinterpret_cast<binder_size_t*>(old.GetObjectOffsets()); in CopyFileDescriptor()
163 size_t objectNum = old.GetOffsetsSize(); in CopyFileDescriptor()
168 uintptr_t data = old.GetData(); in CopyFileDescriptor()
186 std::shared_ptr<MessageParcel> CopyParcelIfNeed(MessageParcel& old, pid_t callingPid) in CopyParcelIfNeed() argument
192 auto dataSize = old.GetDataSize(); in CopyParcelIfNeed()
193 if (dataSize <= MAX_DATA_SIZE_FOR_UNMARSHALLING_IN_PLACE && old.GetOffsetsSize() < FILE_DESCRIPTOR_LIMIT) { in CopyParcelIfNeed()
208 if (memcpy_s(base, dataSize, reinterpret_cast<void*>(old.GetData()), dataSize) != 0) { in CopyParcelIfNeed()
214 auto parcelCopied = RS_PROFILER_COPY_PARCEL(old); in CopyParcelIfNeed()
221 auto objectNum = old in CopyParcelIfNeed()
[all...]
/foundation/communication/bluetooth_service/test/example/BluetoothSocketTest/
H A Dhvigorw.bat39 @rem set NODE_OPTS="--max-old-space-size=4096"
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dunordered_map.h608 auto old = buckets_[ind]; in create_entry() local
610 buckets_[ind]->next = old; in create_entry()
611 if (old) { in create_entry()
612 old->prev = buckets_[ind]; in create_entry()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/include/
H A Daudio_utils.h419 T old = atomicVar; in CasWithCompare() local
421 if (!compare(old, newValue)) { in CasWithCompare()
424 } while (!atomicVar.compare_exchange_weak(old, newValue)); in CasWithCompare()
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_rule_manager.cpp603 int64_t old = userRuleSize_.at(userId); in UpdateUserRuleSize() local
604 userRuleSize_.at(userId) = isInc ? (old + 1) : (old - 1); in UpdateUserRuleSize()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributed_test_tools.cpp188 vector<Entry> old; in GetKeysFromEntries() local
189 old.assign(entries.begin(), entries.end()); in GetKeysFromEntries()
193 result.push_back(old[index].key); in GetKeysFromEntries()
194 old.erase(old.begin() + index); in GetKeysFromEntries()
/foundation/graphic/graphic_surface/surface/src/
H A Dnative_window.cpp33 #define WEAK_ALIAS(old, new) \
34 extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.cpp2892 const auto& old = pos->second; in UpdateWindowBlurRegion() local
2893 if (NearEqual(progress, old.progress_) && rRect == old.innerRect_ && style == old.style_) { in UpdateWindowBlurRegion()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmedia_file_utils.cpp1274 MEDIA_ERR_LOG("Failed rename, errno: %{public}d, old path: %{public}s exists: %{public}d, "
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor.cpp151 auto old = state_; in SwitchState() local
153 CONN_LOGI(CONN_WIFI_DIRECT, "%{public}s => %{public}s", GetStateName(old).c_str(), GetStateName(state).c_str()); in SwitchState()

Completed in 32 milliseconds