/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/common/ |
H A D | value_proxy.cpp | 23 DistributedData::Convert(std::move(value), proxy.value_); in Convert() 30 DistributedData::Convert(std::move(value.value), proxy.value_); in Convert() 37 DistributedData::Convert(std::move(value), proxy.value_); in Convert() 44 DistributedData::Convert(std::move(value), proxy.value_); in Convert() 53 proxy.value_.emplace_back(Convert(std::move(value))); in Convert() 63 proxy.value_.emplace_back(Convert(std::move(value))); in Convert() 73 proxy.value_.emplace_back(Convert(std::move(value))); in Convert() 83 proxy.value_.emplace_back(Convert(std::move(value))); in Convert() 92 proxy.value_.insert_or_assign(key, Convert(std::move(value))); in Convert() 101 proxy.value_.insert_or_assign(key, Convert(std::move(valu in Convert() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_partial_update_model_ng.cpp | 40 customMeasureLayoutNode->SetMeasureFunction(std::move(info.measureSizeFunc)); in CreateNode() 42 customMeasureLayoutNode->SetMeasureFunction(std::move(info.measureFunc)); in CreateNode() 45 customMeasureLayoutNode->SetLayoutFunction(std::move(info.placeChildrenFunc)); in CreateNode() 47 customMeasureLayoutNode->SetLayoutFunction(std::move(info.layoutFunc)); in CreateNode() 51 customNode->SetExtraInfo(std::move(info.extraInfo)); in CreateNode() 57 customNode->SetAppearFunction(std::move(info.appearFunc)); in CreateNode() 58 customNode->SetDidBuildFunction(std::move(info.didBuildFunc)); in CreateNode() 59 auto renderFunc = [renderFunction = std::move(info.renderFunc)]() -> RefPtr<UINode> { in CreateNode() 63 customNode->SetRenderFunction(std::move(renderFunc)); in CreateNode() 64 customNode->SetUpdateFunction(std::move(inf in CreateNode() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_model_ng.cpp | 32 auto deepRender = [nodeId, deepRenderFunc = std::move(deepRenderFunc)]() -> RefPtr<UINode> { in Create() 39 [shallowBuilder = AceType::MakeRefPtr<ShallowBuilder>(std::move(deepRender)), itemStyle = listItemStyle]() { in Create() 85 pattern->SetOffsetChangeCallBack(std::move(onOffsetChangeFunc)); in SetSwiperAction() 126 eventHub->SetSelectChangeEvent(std::move(changeEvent)); in SetSelectChangeEvent() 135 eventHub->SetOnSelect(std::move(selectCallback)); in SetSelectCallback() 158 InstallSwiperCallBack(eventHub, std::move(onDelete), std::move(onEnterDeleteArea), std::move(onExitDeleteArea), in SetDeleteArea() 159 std::move(onStateChange), isStartArea); in SetDeleteArea() 169 InstallSwiperCallBack(eventHub, std::move(onDelet in SetDeleteArea() [all...] |
H A D | list_item_event_hub.h | 35 onSelectEvent_ = std::move(onSelect); in SetOnSelect() 45 startOnDeleteEvent_ = std::move(onDelete); in SetStartOnDelete() 55 endOnDeleteEvent_ = std::move(onDelete); in SetEndOnDelete() 65 onEnterStartDeleteAreaEvent_ = std::move(onEnterDeleteArea); in SetOnEnterStartDeleteArea() 75 onEnterEndDeleteAreaEvent_ = std::move(onEnterDeleteArea); in SetOnEnterEndDeleteArea() 85 onExitStartDeleteAreaEvent_ = std::move(onExitDeleteArea); in SetOnExitStartDeleteArea() 95 onExitEndDeleteAreaEvent_ = std::move(onExitDeleteArea); in SetOnExitEndDeleteArea() 105 selectChangeEvent_ = std::move(changeEvent); in SetSelectChangeEvent() 120 onOffsetChangeEvent_ = std::move(onOffsetChange); in SetOnOffsetChangeOffset() 132 startOnStateChangeEvent_ = std::move(onStateChangeEven in SetStartOnStateChange() [all...] |
/foundation/arkui/ace_engine/frameworks/component_test/ |
H A D | test_task_scheduler.cpp | 45 finish_ = [this, onFinish = std::move(onFinish), taskType, data]() { in PushTask() 46 idleWatcher_->RequestNextIdleStatusNotification([this, onFinish = std::move(onFinish), taskType, data]() { in PushTask() 47 taskExecutor_->PostTask([data, onFinish = move(onFinish)]() { onFinish(data); }, taskType, {}); in PushTask() 54 task_ = [data, task = std::move(task), finish = std::move(finish_)]() { in PushTask() 59 task_ = [finish = std::move(finish_)]() { finish(); }; in PushTask() 63 [this, task = std::move(task_), taskType]() { in PushTask() 65 [this, task = std::move(task), taskType]() { in PushTask() 66 taskExecutor_->PostTask([task = std::move(task)]() { task(); }, taskType, {}); in PushTask()
|
/foundation/filemanagement/dfs_service/utils/inner_api/ |
H A D | fdsan.h | 30 fdsan_fd(fdsan_fd&& move) in fdsan_fd() 32 *this = std::move(move); in fdsan_fd() 41 fdsan_fd& operator=(fdsan_fd&& move) in operator =() 43 if (this == &move) { in operator =() 47 if (move.fd_ != -1) { in operator =() 48 fd_ = move.fd_; in operator =() 49 move.fd_ = -1; in operator =() 51 exchange_tag(fd_, move.tag(), tag()); in operator =()
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_partial_update_model_test_ng.cpp | 50 RefPtr<AceType> customNode = TestViewPartialUpdateModelNG.CreateNode(std::move(info)); in HWTEST_F() 72 .updateViewIdFunc = std::move(updateViewNodeFunction), in HWTEST_F() 75 RefPtr<AceType> customNode = TestViewPartialUpdateModelNG.CreateNode(std::move(info)); in HWTEST_F() 98 .updateViewIdFunc = std::move(updateViewNodeFunction), in HWTEST_F() 102 RefPtr<AceType> customNode = TestViewPartialUpdateModelNG.CreateNode(std::move(info)); in HWTEST_F() 127 .updateViewIdFunc = std::move(updateViewNodeFunction), in HWTEST_F() 128 .measureFunc = std::move(measureFuncation), in HWTEST_F() 132 RefPtr<AceType> customNode = TestViewPartialUpdateModelNG.CreateNode(std::move(info)); in HWTEST_F() 161 .updateViewIdFunc = std::move(updateViewNodeFunction), in HWTEST_F() 162 .measureFunc = std::move(measureFuncatio in HWTEST_F() [all...] |
H A D | short_cuts_test_ng.cpp | 95 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 103 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 111 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 136 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 162 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 170 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 196 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 204 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 229 ViewAbstract::SetKeyboardShortcut(VALUE_DPAD_UP, std::move(keys), callback); in HWTEST_F() 255 ViewAbstract::SetKeyboardShortcut(VALUE_DPAD_UP, std::move(key in HWTEST_F() [all...] |
H A D | view_full_update_model_ng_test.cpp | 50 RefPtr<AceType> resault = viewFullUpdateModelNG.CreateNode(std::move(info)); in HWTEST_F() 73 .appearFunc = std::move(callback), in HWTEST_F() 75 RefPtr<AceType> resault = viewFullUpdateModelNG.CreateNode(std::move(info)); in HWTEST_F() 104 .appearFunc = std::move(callback), in HWTEST_F() 105 .updateNodeFunc = std::move(updateViewNodeFunction), in HWTEST_F() 107 RefPtr<AceType> resault = viewFullUpdateModelNG.CreateNode(std::move(info)); in HWTEST_F() 141 .appearFunc = std::move(callback), in HWTEST_F() 142 .renderFunc = std::move(renderFunction), in HWTEST_F() 143 .updateNodeFunc = std::move(updateViewNodeFunction), in HWTEST_F() 145 RefPtr<AceType> resault = viewFullUpdateModelNG.CreateNode(std::move(inf in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | container_window_manager.h | 66 windowMinimizeCallback_ = std::move(callback);
in SetWindowMinimizeCallBack() 71 windowMaximizeCallback_ = std::move(callback);
in SetWindowMaximizeCallBack() 76 windowMaximizeFloatingCallback_ = std::move(callback);
in SetWindowMaximizeFloatingCallBack() 81 windowRecoverCallback_ = std::move(callback);
in SetWindowRecoverCallBack() 86 windowCloseCallback_ = std::move(callback);
in SetWindowCloseCallBack() 91 windowSplitPrimaryCallback_ = std::move(callback);
in SetWindowSplitPrimaryCallBack() 96 windowSplitSecondaryCallback_ = std::move(callback);
in SetWindowSplitSecondaryCallBack() 101 windowGetModeCallback_ = std::move(callback);
in SetWindowGetModeCallBack() 106 windowGetTypeCallback_ = std::move(callback);
in SetWindowGetTypeCallBack() 111 windowStartMoveCallback_ = std::move(callbac in SetWindowStartMoveCallBack() [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | cache_result_set_test.cpp | 58 valuesBuckets.push_back(std::move(valuesBucket)); in HWTEST_F() 59 CacheResultSet cacheResultSet(std::move(valuesBuckets)); in HWTEST_F() 80 valuesBuckets.push_back(std::move(valuesBucket)); in HWTEST_F() 81 CacheResultSet cacheResultSet(std::move(valuesBuckets)); in HWTEST_F() 102 valuesBuckets.push_back(std::move(valuesBucket)); in HWTEST_F() 103 CacheResultSet cacheResultSet(std::move(valuesBuckets)); in HWTEST_F() 128 valuesBuckets.push_back(std::move(valuesBucket)); in HWTEST_F() 129 CacheResultSet cacheResultSet(std::move(valuesBuckets)); in HWTEST_F() 151 valuesBuckets.push_back(std::move(valuesBucket)); in HWTEST_F() 152 CacheResultSet cacheResultSet(std::move(valuesBucket in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/view_context/ |
H A D | view_context_model_ng.cpp | 56 return SheetManager::GetInstance().OpenBindSheetByUIContext(sheetContentNode, std::move(titleBuildFunc), in OpenBindSheet() 57 sheetStyle, std::move(onAppear), std::move(onDisappear), std::move(shouldDismiss), std::move(onWillDismiss), in OpenBindSheet() 58 std::move(onWillAppear), std::move(onWillDisappear), std::move(onHeightDidChange), in OpenBindSheet() 59 std::move(onDetentsDidChange), std::move(onWidthDidChang in OpenBindSheet() [all...] |
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ |
H A D | graphics_task.cpp | 28 : task_(std::move(task)) in Message() 32 : task_(std::move(msg.task_)), pms_(std::move(msg.pms_)), ftr_(std::move(msg.ftr_)) in Message() 37 task_ = std::move(msg.task_); in operator =() 38 pms_ = std::move(msg.pms_); in operator =() 39 ftr_ = std::move(msg.ftr_); in operator =() 56 return std::move(ftr_); in GetFuture() 70 ftr = messageQueue_.emplace(std::move(task)).GetFuture(); in PushSyncMessage() 83 Message& msg = messageQueue_.emplace(std::move(tas in PushAsyncMessage() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | sync_event.cpp | 20 : retry_(retry), mode_(mode), wait_(wait), query_(std::move(query)), asyncDetail_(std::move(async)) in EventInfo() 25 : retry_(retry), mode_(syncParam.mode), wait_(syncParam.wait), query_(std::move(query)), in EventInfo() 26 asyncDetail_(std::move(async)), isCompensation_(syncParam.isCompensation), triggerMode_(syncParam.triggerMode), in EventInfo() 33 operator=(std::move(info)); 44 query_ = std::move(info.query_); 45 asyncDetail_ = std::move(info.asyncDetail_); 54 : CloudEvent(CLOUD_SYNC, std::move(storeInfo)), info_(std::move(info)) in SyncEvent() 59 : CloudEvent(evtId, std::move(storeInf in SyncEvent() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_event_hub.h | 108 onEditChanged_ = std::move(func); in SetOnEditChanged() 113 onSecurityStateChanged_ = std::move(func); in SetOnSecurityStateChange() 134 onSubmit_ = std::move(func); in SetOnSubmit() 147 onChange_ = std::move(func); in SetOnChange() 178 onContentSizeChange_ = std::move(func); in SetOnContentSizeChange() 195 onSelectionChange_ = std::move(func); in SetOnSelectionChange() 209 onCopy_ = std::move(func); in SetOnCopy() 222 onCut_ = std::move(func); in SetOnCut() 235 onPaste_ = std::move(func); in SetOnPaste() 248 onPasteWithEvent_ = std::move(fun in SetOnPasteWithEvent() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/ |
H A D | custom_node_base.h | 65 appearFunc_ = std::move(appearFunc); in SetAppearFunction() 70 didBuildFunc_ = std::move(didBuildFunc); in SetDidBuildFunction() 75 updateFunc_ = std::move(updateFunc); in SetUpdateFunction() 80 destroyFunc_ = std::move(destroyFunc); in SetDestroyFunction() 85 reloadFunc_ = std::move(reloadFunc); in SetReloadFunction() 99 pageTransitionFunc_ = std::move(pageTransitionFunc); in SetPageTransitionFunction() 111 forceNodeUpdateFunc_ = std::move(forceNodeUpdateFunc); in SetForceUpdateNodeFunc() 125 hasNodeUpdateFunc_ = std::move(hasNodeUpdateFunc); in SetHasNodeUpdateFunc() 137 recycleCustomNodeFunc_ = std::move(recycleCustomNode); in SetRecycleFunction() 142 recycleRenderFunc_ = std::move(fun in SetRecycleRenderFunc() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_event_hub.h | 31 onScrollEvent_ = std::move(onScroll); in SetOnScroll() 41 onWillScrollEvent_ = std::move(onScroll); in SetOnWillScroll() 51 onDidScrollEvent_ = std::move(onScroll); in SetOnDidScroll() 61 onScrollFrameBeginEvent_ = std::move(onScrollFrameBegin); in SetOnScrollFrameBegin() 71 onScrollStartEvent_ = std::move(onScrollStart); in SetOnScrollStart() 81 onScrollStopEvent_ = std::move(onScrollStop); in SetOnScrollStop() 91 onReachStartEvent_ = std::move(onReachStart); in SetOnReachStart() 101 onReachEndEvent_ = std::move(onReachEnd); in SetOnReachEnd()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_manager_test_update_ng.cpp | 246 overlayManager->OnBindSheet(isShow, nullptr, std::move(builderFunc_), std::move(titleBuilderFunc_), sheetStyle, in HWTEST_F() 263 overlayManager->OnBindSheet(isShow, nullptr, std::move(builderFunc_), std::move(titleBuilderFunc_), sheetStyle, in HWTEST_F() 273 overlayManager->OnBindSheet(isShow, nullptr, std::move(builderFunc_), std::move(titleBuilderFunc_), sheetStyle, in HWTEST_F() 307 overlayManager->OnBindSheet(isShow, nullptr, std::move(builderFunc_), std::move(titleBuilderFunc_), sheetStyle, in HWTEST_F() 324 overlayManager->OnBindSheet(isShow, nullptr, std::move(builderFunc_), std::move(titleBuilderFunc in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_view_preview.h | 50 touchEventCallback_ = std::move(callback); 56 keyEventCallback_ = std::move(callback); 62 mouseEventCallback_ = std::move(callback); 68 axisEventCallback_ = std::move(callback); 74 rotationEventCallBack_ = std::move(callback); 82 cardViewPositionCallBack_ = std::move(callback); 88 cardViewAccessibilityParamsCallback_ = std::move(callback); 94 viewChangeCallback_ = std::move(callback); 102 densityChangeCallback_ = std::move(callback); 110 systemBarHeightChangeCallback_ = std::move(callbac [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/ |
H A D | irregular_matrics.cpp | 45 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo1() 72 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo2() 102 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo5() 136 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo8() 158 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo9() 188 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo10() 212 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo11() 231 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo12() 254 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo13() 274 option.getSizeByIndex = std::move(onGetIrregularSizeByInde in GetOptionDemo14() [all...] |
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_template.cpp | 33 key_ = std::move(item.key_);
in PublishedDataItem() 34 subscriberId_ = std::move(item.subscriberId_);
in PublishedDataItem() 35 value_ = std::move(item.value_);
in PublishedDataItem() 43 key_ = std::move(item.key_);
in operator =() 44 subscriberId_ = std::move(item.subscriberId_);
in operator =() 45 value_ = std::move(item.value_);
in operator =() 60 return std::move(node.ashmem);
in MoveOutAshmem() 95 value_ = std::move(node);
in Set() 97 value_ = std::move(std::get<std::string>(value));
in Set() 122 value_ = std::move(nod in SetAshmem() [all...] |
H A D | datashare_valuebucket_convert.cpp | 29 DataShare::Convert<DataShareValueObject::Type>(std::move(v), value);
in Convert() 30 vBucket.emplace(k, std::move(value));
in Convert() 32 res.emplace_back(std::move(vBucket));
in Convert() 46 DataShare::Convert<Value>(std::move(v), dataShareValueObject);
in Convert() 47 dataShareValuesBucket.valuesMap.emplace(k, std::move(dataShareValueObject));
in Convert() 49 res.emplace_back(std::move(dataShareValuesBucket));
in Convert()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | web_model_impl.cpp | 45 webComponent->SetSetWebIdCallback(std::move(setWebIdCallback)); in Create() 46 webComponent->SetSetHapPathCallback(std::move(setHapPathCallback)); in Create() 84 webComponent->SetOnCommonDialogImpl(std::move(jsCallback), static_cast<DialogEventType>(dialogEventType)); in SetOnCommonDialog() 91 webComponent->SetOnConsoleImpl(std::move(jsCallback)); in SetOnConsoleLog() 98 auto eventMarker = EventMarker(std::move(jsCallback)); in SetOnPageStart() 106 auto eventMarker = EventMarker(std::move(jsCallback)); in SetOnPageFinish() 114 webComponent->SetProgressChangeImpl(std::move(jsCallback)); in SetOnProgressChange() 121 auto eventMarker = EventMarker(std::move(jsCallback)); in SetOnTitleReceive() 129 auto eventMarker = EventMarker(std::move(jsCallback)); in SetOnFullScreenExit() 137 webComponent->SetOnFullScreenEnterImpl(std::move(jsCallbac in SetOnFullScreenEnter() [all...] |
H A D | list_model_impl.cpp | 86 JSViewSetProperty(&V2::ListComponent::SetItemDivider, std::move(dividerPtr)); in SetDivider() 146 JSViewSetProperty(&V2::ListComponent::SetOnScroll, std::move(onScroll)); in SetOnScroll() 151 JSViewSetProperty(&V2::ListComponent::SetOnScrollBegin, std::move(onScrollBegin)); in SetOnScrollBegin() 160 JSViewSetProperty(&V2::ListComponent::SetOnScrollStop, std::move(onScrollStop)); in SetOnScrollStop() 165 JSViewSetProperty(&V2::ListComponent::SetOnScrollIndex, std::move(onScrollIndex)); in SetOnScrollIndex() 170 JSViewSetProperty(&V2::ListComponent::SetOnReachStart, std::move(onReachStart)); in SetOnReachStart() 175 JSViewSetProperty(&V2::ListComponent::SetOnReachEnd, std::move(onReachEnd)); in SetOnReachEnd() 180 JSViewSetProperty(&V2::ListComponent::SetOnItemDelete, std::move(onItemDelete)); in SetOnItemDelete() 185 JSViewSetProperty(&V2::ListComponent::SetOnItemMove, std::move(onItemMove)); in SetOnItemMove() 190 JSViewSetProperty(&V2::ListComponent::SetOnItemDragStartId, std::move(onItemDragStar in SetOnItemDragStart() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_model_ng.cpp | 83 eventHub->SetOnReady(std::move(func)); in SetOnReady() 91 eventHub->SetOnReady(std::move(callback)); in SetOnReady() 99 eventHub->SetOnSelect(std::move(func)); in SetOnSelect() 107 eventHub->SetOnSelect(std::move(callback)); in SetOnSelect() 114 eventHub->SetOnSelectionChange(std::move(func)); in SetOnSelectionChange() 122 eventHub->SetAboutToIMEInput(std::move(func)); in SetAboutToIMEInput() 131 eventHub->SetAboutToIMEInput(std::move(callback)); in SetAboutToIMEInput() 139 eventHub->SetOnIMEInputComplete(std::move(func)); in SetOnIMEInputComplete() 147 eventHub->SetOnDidIMEInput(std::move(func)); in SetOnDidIMEInput() 156 eventHub->SetOnIMEInputComplete(std::move(callbac in SetOnIMEInputComplete() [all...] |