/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/partial_update/ |
H A D | pu_synced_property_one_way.ts | 338 let copy: C; 341 copy = rawValue; 345 copy = rawValue; 358 copy = { ...rawValue }; 371 copy = rawValue; 374 return copy; 390 return copy;; 415 let copy; 417 copy = new Set<any>(); 424 copy = new Map<any, any>(); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | title_bar_layout_property.h | 39 auto copy = MakeRefPtr<TitleBarLayoutProperty>(); in Clone() local 41 copy->propTitleMode_ = CloneTitleMode(); in Clone() 42 copy->propHideBackButton_ = CloneHideBackButton(); in Clone() 43 copy->propTitleBarParentType_ = CloneTitleBarParentType(); in Clone() 44 copy->propTitleHeight_ = CloneTitleHeight(); in Clone() 45 copy->propNoPixMap_ = CloneNoPixMap(); in Clone() 46 copy->propImageSource_ = CloneImageSource(); in Clone() 47 copy->propPixelMap_ = ClonePixelMap(); in Clone() 48 copy->propIsValidImage_ = CloneIsValidImage(); in Clone() 49 copy->backIconSymbol_ = backIconSymbol_; in Clone() [all …]
|
H A D | navigation_layout_property.h | 42 auto copy = MakeRefPtr<NavigationLayoutProperty>(); in Clone() local 44 copy->propNavigationMode_ = CloneNavigationMode(); in Clone() 46 copy->propNavBarWidth_ = CloneNavBarWidth(); in Clone() 47 copy->propMinNavBarWidth_ = CloneMinNavBarWidth(); in Clone() 48 copy->propMaxNavBarWidth_ = CloneMaxNavBarWidth(); in Clone() 50 copy->propNavBarPosition_ = CloneNavBarPosition(); in Clone() 51 copy->propHideNavBar_ = CloneHideNavBar(); in Clone() 52 copy->propNoPixMap_ = CloneNoPixMap(); in Clone() 53 copy->propImageSource_ = CloneImageSource(); in Clone() 54 copy->propPixelMap_ = ClonePixelMap(); in Clone() [all …]
|
H A D | navdestination_layout_property_base.h | 71 auto copy = MakeRefPtr<NavDestinationLayoutPropertyBase>(); in Clone() local 72 copy->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); in Clone() 73 copy->propHideTitleBar_ = CloneHideTitleBar(); in Clone() 74 copy->propIsAnimatedTitleBar_ = CloneIsAnimatedTitleBar(); in Clone() 75 copy->propTitleBarTranslateState_ = CloneTitleBarTranslateState(); in Clone() 76 copy->propHideToolBar_ = CloneHideToolBar(); in Clone() 77 copy->propIsAnimatedToolBar_ = CloneIsAnimatedToolBar(); in Clone() 78 copy->propToolBarTranslateState_ = CloneToolBarTranslateState(); in Clone() 79 return copy; in Clone()
|
H A D | nav_bar_layout_property.h | 40 auto copy = MakeRefPtr<NavBarLayoutProperty>(); in Clone() local 41 copy->NavDestinationLayoutPropertyBase::UpdateBaseLayoutProperty( in Clone() 43 copy->propTitleMode_ = CloneTitleMode(); in Clone() 44 copy->propHideBackButton_ = CloneHideBackButton(); in Clone() 45 return copy; in Clone()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
H A D | navdestination_layout_property.h | 39 auto copy = MakeRefPtr<NavDestinationLayoutProperty>(); in Clone() local 40 copy->NavDestinationLayoutPropertyBase::UpdateBaseLayoutProperty( in Clone() 42 copy->propNoPixMap_ = CloneNoPixMap(); in Clone() 43 copy->propImageSource_ = CloneImageSource(); in Clone() 44 copy->propPixelMap_ = ClonePixelMap(); in Clone() 45 return copy; in Clone()
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | errorcode-pasteboard.md | 48 Another copy or paste operation is in progress. 52 This error code is reported when a new copy or paste attempt is made before the previous one is com… 56 The copy and paste APIs are both asynchronous APIs. If the data to be copied or pasted is in large … 60 1. Before you copy or paste data, check the status of the last copy or paste operation. 61 2. Wait until the last copy or paste operation has finished, and then copy or paste data again. 71 This error code is reported when an attempt is made to copy data that cannot be copied. 79 1. Make sure the target data allows the copy action. 80 2. Make sure you only copy data that allows for copy.
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/test/unittest/napi_test/ |
H A D | FsCopyTest.js | 76 await fs.copy("aaa", "bbb", (err) => { 101 await fs.copy(pathDir, "bbb", (err) => { 126 await fs.copy(srcDirUriLocal, dstDirUriLocal, (err) => { 154 await fs.copy(srcDirUriLocal, dstDirUriLocal, (err) => { 181 await fs.copy(srcDirUriLocal, dstDirUriLocal, (err) => { 245 await fs.copy(srcFileUriLocal, dstDirUriLocal, (err) => { 271 await fs.copy(srcDirUriLocal, dstDirUriLocal, (err) => { 337 await fs.copy(srcDirUriLocal, dstDirUriLocal, (err) => { 995 await fs.copy(srcUriPath, destUriPath, (err) => { 1026 await fs.copy(srcUriPath, destUriPath, (err) => { [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.9.3/ |
H A D | changelog-@Prop.md | 10 In API version 9, @Prop supports shallow copy of objects. The specific behavior is as follows: 12 - Object type: shallow copy of all properties returned by **Object.keys(propObj)**. That is, only t… 13 - Array type: shallow copy of all array items. That is, only the outermost array is copied. Other b… 16 Since API version 10, @Prop supports deep copy of objects. The specific behavior is as follows: 17 - Object type: deep copy of all properties returned by **Object.keys(propObj)**. 18 - Array type: deep copy of all array items. 29 …w copy from @State stateClassAArray in the parent component StateClassAArray to @Prop objArray in … 31 …he copy from @State stateClassAArray in the parent component StateClassAArray to @Prop objArray in… 122 …// Shallow copy in API version 9: Only the reference pointing to the source array item is copied, … 123 …// Deep copy in API version 10: The this.stateClassAArray instance is completely copied, including…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/blank/ |
H A D | blank_layout_property.h | 38 auto copy = MakeRefPtr<BlankLayoutProperty>(); in Clone() local 39 copy->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); in Clone() 40 copy->propMinSize_ = CloneMinSize(); in Clone() 41 copy->propHeight_ = CloneHeight(); in Clone() 42 return copy; in Clone()
|
/ohos5.0/docs/en/application-dev/file-management/ |
H A D | file-copy-across-devices.md | 3 …oss-device file copy capability for applications. You can use [@ohos.file.fs](../reference/apis-co… 10 2. Copy a file across devices. To copy a file of the same application across devices, place the fil… 23 // Sandbox directory of the file to copy 35 // Obtain the URI of the file to copy. 43 fs.copy(srcUri, destUri).then(()=>{ 48 console.info(`Failed to copy. Code: ${err.code}, message: ${err.message}`); 75 // Define a callback for the file copy operation. 85 fs.copy(srcUri, destUri, options).then(()=>{ 90 console.info(`Failed to copy. Code: ${err.code}, message: ${err.message}`); 93 console.error(`Failed to copy. Code: ${error.code}, message: ${error.message}`);
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/remote/ |
H A D | remote_session_syncer_impl.cpp | 98 std::copy(parcelData, parcelData + data.GetDataSize(), dataVector.begin()); in PutAVMetaData() 112 std::copy(dataVector.begin(), dataVector.end(), allocateData); in GetAVMetaData() 130 std::copy(parcelData, parcelData + data.GetDataSize(), dataVector.begin()); in PutAVPlaybackState() 146 std::copy(dataVector.begin(), dataVector.end(), allocateData); in GetAVPlaybackState() 164 std::copy(parcelData, parcelData + data.GetDataSize(), dataVector.begin()); in PutControlCommand() 180 std::copy(dataVector.begin(), dataVector.end(), allocateData); in GetControlCommand() 217 std::copy(dataVector.begin(), dataVector.end(), allocateData); in GetCommonCommand() 261 std::copy(dataVector.begin(), dataVector.end(), allocateData); in GetSessionEvent() 309 std::copy(dataVector.begin(), dataVector.end(), allocateData); in GetAVQueueItems() 357 std::copy(dataVector.begin(), dataVector.end(), allocateData); in GetAVQueueTitle() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/entry/ |
H A D | entry.pro | 90 QMAKE_POST_LINK += copy $$UI_LIBS\\freetype.dll $$COPY_DEST\\..\\libs\\freetype.dll & 91 QMAKE_POST_LINK += copy $$UI_LIBS\\icu.dll $$COPY_DEST\\..\\libs\\icu.dll & 92 QMAKE_POST_LINK += copy $$UI_LIBS\\libjpeg-turbo.dll $$COPY_DEST\\..\\libs\\libjpeg-turbo.dll & 93 QMAKE_POST_LINK += copy $$UI_LIBS\\libpng.dll $$COPY_DEST\\..\\libs\\libpng.dll & 94 QMAKE_POST_LINK += copy $$UI_LIBS\\libui.dll $$COPY_DEST\\..\\libs\\libui.dll & 95 QMAKE_POST_LINK += copy $$UI_LIBS\\qrcodegen.dll $$COPY_DEST\\..\\libs\\qrcodegen.dll & 96 QMAKE_POST_LINK += copy $$UI_LIBS\\zlib.dll $$COPY_DEST\\..\\libs\\zlib.dll & 97 QMAKE_POST_LINK += copy $$UI_LIBS\\test.dll $$COPY_DEST\\..\\libs\\test.dll & 98 QMAKE_POST_LINK += copy $$UI_LIBS\\auto_test.dll $$COPY_DEST\\..\\libs\\auto_test.dll
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | group_negotiation_state.cpp | 104 WifiP2pGroupInfo copy = groupManager.GetCurrentGroup(); in ProcessGroupStartedEvt() local 105 …copy.SetNetworkId(groupManager.GetGroupNetworkId(owner, groupManager.GetCurrentGroup().GetGroupNam… in ProcessGroupStartedEvt() 106 groupManager.SetCurrentGroup(WifiMacAddrInfoType::P2P_CURRENT_GROUP_MACADDR_INFO, copy); in ProcessGroupStartedEvt() 110 WifiP2pGroupInfo copy = groupManager.GetCurrentGroup(); in ProcessGroupStartedEvt() local 111 copy.SetNetworkId(TEMPORARY_NET_ID); in ProcessGroupStartedEvt() 112 groupManager.SetCurrentGroup(WifiMacAddrInfoType::P2P_CURRENT_GROUP_MACADDR_INFO, copy); in ProcessGroupStartedEvt() 152 WifiP2pGroupInfo copy = groupManager.GetCurrentGroup(); in DoDhcpInGroupStart() local 153 copy.SetOwner(device); in DoDhcpInGroupStart() 154 groupManager.SetCurrentGroup(WifiMacAddrInfoType::P2P_CURRENT_GROUP_MACADDR_INFO, copy); in DoDhcpInGroupStart()
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | arraybuffer-object.md | 3 …tion and deserialization. However, the native memory has two transmission modes: copy and transfer. 5 If copy is used during transmission, deep copy (recursive traversal) is required. After transmissio… 13 …Buffer object. If both threads need to access the ArrayBuffer object, the copy mode must be used. … 17 ## ArrayBuffer copy transfer mode 19 …ecify the transfer mode as the transfer mode for some data and switch the copy mode for other data. 23 Then, the ArrayBuffer data is transferred to the task in copy mode, and the ArrayBuffer is processe… 41 // Transfer an empty array []. All arrayBuffer parameters are transferred in copy mode. 69 … // Use the copy method to transmit the ArrayBuffer object. Therefore, isParamsByTransfer is false.
|
/ohos5.0/build/test/example/ |
H A D | test_build_option.py | 25 import copy 146 new_dict = copy.deepcopy(flags) 190 flags = copy.deepcopy(TestBuildOption.FLAGS) 202 flags = copy.deepcopy(TestBuildOption.FLAGS) 215 flags = copy.deepcopy(TestBuildOption.FLAGS) 224 flags = copy.deepcopy(TestBuildOption.FLAGS) 230 flags = copy.deepcopy(TestBuildOption.FLAGS) 246 flags = copy.deepcopy(TestBuildOption.FLAGS) 262 flags = copy.deepcopy(TestBuildOption.FLAGS) 270 flags = copy.deepcopy(TestBuildOption.FLAGS) [all …]
|
/ohos5.0/foundation/graphic/graphic_utils_lite/test/ |
H A D | vector_unit_test.cpp | 250 Vector<uint16_t> copy; variable 251 copy = (*vector_); 254 copy.Swap(*vector_); 256 EXPECT_EQ(copy.Size(), SECOND_VALUE); 257 EXPECT_EQ(copy[0], FIRST_VALUE); 258 EXPECT_EQ(copy[1], SECOND_VALUE);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/ |
H A D | js-apis-loglibrary-sys.md | 73 ## logLibrary.copy 75 copy(logType: string, logName: string, dest: string): Promise<void> 115 logLibrary.copy('HILOG', 'hiapplogcat-1.zip', '' 130 ## logLibrary.copy 132 copy(logType: string, logName: string, dest: string, callback: AsyncCallback<void>): void 166 logLibrary.copy('HILOG', 'hiapplogcat-1.zip', 'dir1', (error, val) => { 168 // copy failed. 170 // copy success.
|
/ohos5.0/build/ohos/update/ |
H A D | check_abi_and_copy_deps.py | 17 import copy 55 module_deps_copy = copy.deepcopy(module_deps) 142 check_list_copy = copy.deepcopy(check_list) 153 copy_list.append(copy.deepcopy(get_copy_source_path(element))) 161 copy_list.append(copy.deepcopy(get_copy_source_path(element))) 175 copy_list.append(copy.deepcopy(get_copy_source_path(element))) 233 shutil.copy(file, output) 235 shutil.copy(copy_element[1], output)
|
/ohos5.0/base/telephony/call_manager/interfaces/innerkits/ |
H A D | call_manager_info.h | 404 … std::copy(std::begin(temp.phoneNumber), std::end(temp.phoneNumber), std::begin(phoneNumber)); 405 std::copy(std::begin(temp.formattedNumberToE164), std::end(temp.formattedNumberToE164), 407 std::copy(std::begin(temp.formattedNumber), std::end(temp.formattedNumber), 409 std::copy(std::begin(temp.numberLocation), std::end(temp.numberLocation), 424 … std::copy(std::begin(temp.numberMarkInfo.markContent), std::end(temp.numberMarkInfo.markContent), 427 … std::copy(std::begin(temp.numberMarkInfo.markSource), std::end(temp.numberMarkInfo.markSource), 501 std::copy(std::begin(temp.phoneNum), std::end(temp.phoneNum), std::begin(phoneNum)); 502 std::copy(std::begin(temp.bundleName), std::end(temp.bundleName), std::begin(bundleName));
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-file-cp.md | 6 This command is used to create a copy for a file. 21 | SOURCEFILE | Specifies the file to copy.| This command does not support copy of a directory, but … 35 …ile path is a file, the directory for this file must exist. In this case, the file copy is renamed.
|
/ohos5.0/build/indep_configs/scripts/ |
H A D | variants_info_handler.py | 90 shutil.copy(system_capability_file, etc_out_path) 91 shutil.copy(features_file, variants_out_path) 92 shutil.copy(build_file, variants_out_path) 93 shutil.copy(paths_config_file, variants_out_path)
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/can/ |
H A D | can_core.c | 177 struct CanMsg *copy = NULL; in CanCntlrOnNewMsg() local 189 copy = CanMsgPoolObtainMsg(cntlr->msgPool); in CanCntlrOnNewMsg() 190 if (copy == NULL) { in CanCntlrOnNewMsg() 194 *copy = *msg; in CanCntlrOnNewMsg() 196 return CanCntlrMsgDispatch(cntlr, copy); // gona call in thread context later ... in CanCntlrOnNewMsg()
|
/ohos5.0/docs/zh-cn/application-dev/file-management/ |
H A D | file-copy-across-devices.md | 43 fs.copy(srcUri, destUri).then(()=>{ 48 console.info(`Failed to copy. Code: ${err.code}, message: ${err.message}`); 85 fs.copy(srcUri, destUri, options).then(()=>{ 90 console.info(`Failed to copy. Code: ${err.code}, message: ${err.message}`); 93 console.error(`Failed to copy. Code: ${error.code}, message: ${error.message}`);
|
/ohos5.0/docs/en/application-dev/basic-services/pasteboard/ |
H A D | pasteboard-time-lapse-copy-and-paste.md | 5 …es the capability of managing the pasteboard of the system to support the copy and paste functions… 7 …copy is performed repeatedly, redundant data is stored in the pasteboard cache, which increases th… 19 …t be called in the same thread as **getUnifiedDataSync** when the delayed copy and paste function … 20 …t be called in the same thread as **getUnifiedDataSync** when the delayed copy and paste function … 22 … thread as **setUnifiedData** and **setUnifiedDataSync** when the delayed copy and paste function …
|