/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | upgrade.cpp | 41 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 D | upgrade.h | 42 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 D | kvdb_service_impl.cpp | 185 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 D | task_manager.h | 51 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 D | entry_page_info.h | 47 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 D | flat_container.cpp | 171 // 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 D | container.cpp | 224 // 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 D | property_animatable_helper.h | 133 AnimatableDimension old = Get(*edge); in Set() local 134 if (old == value) { in Set()
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_event.cpp | 434 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 D | broadcast_interface.h | 194 * @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 D | samgr_small_ipc_adapter.c | 295 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 D | endpoint.c | 600 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 D | rdb_service_impl.cpp | 770 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 D | rdb_service_impl.h | 178 int32_t Upgrade(const RdbSyncerParam ¶m, const StoreMetaData &old);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/ |
H A D | rs_render_service_connection_stub.cpp | 158 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 D | hvigorw.bat | 39 @rem set NODE_OPTS="--max-old-space-size=4096"
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | unordered_map.h | 608 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 D | audio_utils.h | 419 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 D | netfirewall_rule_manager.cpp | 603 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 D | distributed_test_tools.cpp | 188 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 D | native_window.cpp | 33 #define WEAK_ALIAS(old, new) \
34 extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_context.cpp | 2892 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 D | media_file_utils.cpp | 1274 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 D | p2p_v1_processor.cpp | 151 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()
|