Home
last modified time | relevance | path

Searched refs:swap (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
H A Dcrypto_hash_to_point.c161 BIGNUM *swap = BN_new(); in CurveHashToPointCalcB() local
162 if (swap == NULL) { in CurveHashToPointCalcB()
171 if (BN_mul(b, swap, swap, ctx) <= 0) { in CurveHashToPointCalcB()
180 if (BN_mod(swap, swap, curvePara->p, ctx) <= 0) { in CurveHashToPointCalcB()
200 HcBnFree(swap); in CurveHashToPointCalcB()
207 BIGNUM *swap = BN_new(); in CurveHashToPointCalcA() local
208 if (swap == NULL) { in CurveHashToPointCalcA()
214 HcBnFree(swap); in CurveHashToPointCalcA()
229 if (BN_mod(swap, swap, curvePara->p, ctx) <= 0) { in CurveHashToPointCalcA()
238 if (BN_add(result, swap, a) <= 0) { in CurveHashToPointCalcA()
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/interfaces/inner_api/cpp/
H A Dfuture.h154 swap(fut);
160 swap(tmp);
197 void swap(future<R>& rhs) noexcept
213 swap(p);
219 swap(tmp);
239 void swap(promise<R>& rhs) noexcept
255 swap(p);
261 swap(tmp);
300 swap(pt);
307 swap(tmp);
[all …]
H A Dthread.h73 swap(th); in thread()
80 swap(tmp);
118 void swap(thread& other) noexcept in swap() function
120 is_joinable.swap(other.is_joinable); in swap()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/common/include/
H A Dvcodec_signal.h134 swap(tempIndex, signal_->inQueue_); in FlushInQueue()
136 swap(tempInMemory, signal_->inMemoryQueue_); in FlushInQueue()
138 swap(tempInBuffer, signal_->inBufferQueue_); in FlushInQueue()
144 swap(tempIndex, signal_->outQueue_); in FlushOutQueue()
146 swap(tempOutAttr, signal_->outAttrQueue_); in FlushOutQueue()
148 swap(tempOutMemory, signal_->outMemoryQueue_); in FlushOutQueue()
150 swap(tempOutBuffer, signal_->outBufferQueue_); in FlushOutQueue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dlazy_for_each_node.cpp78 tempChildren_.swap(children_); in BuildAllChildren()
119 tempChildren_.swap(children_); in OnDataReloaded()
142 tempChildren_.swap(children_); in OnDataAdded()
157 tempChildren_.swap(children_); in OnDataBulkAdded()
181 tempChildren_.swap(children_); in OnDataDeleted()
209 tempChildren_.swap(children_); in OnDataBulkDeleted()
223 tempChildren_.swap(children_); in OnDataChanged()
251 tempChildren_.swap(children_); in OnDataBulkChanged()
265 tempChildren_.swap(children_); in OnDataMoveToNewPlace()
279 tempChildren_.swap(children_); in OnDataMoved()
[all …]
H A Dfor_each_node.cpp62 std::swap(ids_, tempIds_); in CreateTempItems()
64 std::swap(ModifyChildren(), tempChildren_); in CreateTempItems()
114 std::swap(children, tempChildren_); in CompareAndUpdateChildren()
124 std::swap(additionalChildComps, tempChildren_); in CompareAndUpdateChildren()
125 std::swap(children, tempChildren_); in CompareAndUpdateChildren()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_javascript_value.h101 std::swap(listValue_, value); in WebJavaScriptValue()
105 std::swap(dictionaryValue_, value); in WebJavaScriptValue()
149 std::swap(type_, value.type_);
154 std::swap(data_.b, value.data_.b);
157 std::swap(data_.n, value.data_.n);
160 std::swap(data_.f, value.data_.f);
163 std::swap(str_, value.str_);
166 std::swap(str_, value.str_);
169 std::swap(listValue_, value.listValue_);
172 std::swap(dictionaryValue_, value.dictionaryValue_);
/ohos5.0/docs/en/application-dev/device/input/
H A Dinputdevice-guidelines.md5swap events and querying the keyboard type of a specified device. For example, as a user enters te…
21 …hange", listener: Callback\<DeviceListener>): void | Enables listening for device hot swap events.|
22 …nge", listener?: Callback\<DeviceListener>): void | Disables listening for device hot swap events.|
26 …ation can determine whether a physical keyboard is inserted by listening to device hot swap events.
30 …at your application detects all inserted input devices before listening for device hot swap events.
31 …t-kit/js-apis-inputdevice.md#inputdeviceon9) API to listen for device hot swap events. If a physic…
50 // 2. Listen for device hot swap events.
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_value.h116 std::swap(list_value_, value); in NWebValue()
121 std::swap(dictionary_value_, value); in NWebValue()
167 std::swap(type_, value.type_);
172 std::swap(data_.b, value.data_.b);
175 std::swap(data_.n, value.data_.n);
178 std::swap(data_.f, value.data_.f);
181 std::swap(str_, value.str_);
184 std::swap(str_, value.str_);
187 std::swap(list_value_, value.list_value_);
190 std::swap(dictionary_value_, value.dictionary_value_);
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-standard-mm-eswap.md6 …) allows a custom partition to serve as a swap partition and uses a resident process zswapd to enc…
12 …u can enable zram alone. If a device does not have the storage device for swap-out or have the cor…
35 CONFIG_SWAP=y // Enable paging of anonymous memory (swap)
85 …// Enable the swap-in and swap-out functions from zram to ESwap. Perform this step before setting …
95 > - **readonly**: only records the cgroup information of the data but not swap it out.
96 > - **readwrite**: enables swap-in and swap-out from zram to ESwap.
100 Use the zram device as the swap partition.
135 ESwap provides APIs to control swap-in and swap-out policies and record the current status. These A…
141 | | [zram_wm_ratio](#zram_wm_ratio) | Sets the zram swap-out waterline.| 0 |
157 - **free_swap_threshold** indicates the threshold of the free capacity of the swap partition. After…
[all …]
H A Dkernel-small-basic-atomic.md67 | Compare and swap| LOS_AtomicCmpXchgByte | Compares and swaps 8-bit memory data. |
68 | Compare and swap| LOS_AtomicCmpXchg16bits | Compares and swaps 16-bit memory data.|
69 | Compare and swap| LOS_AtomicCmpXchg32bits | Compares and swaps 32-bit memory data.|
70 | Compare and swap| LOS_AtomicCmpXchg64bits | Compares and swaps 64-bit memory data.|
75 When multiple tasks perform addition, subtraction, and swap operations on the same memory data, use…
/ohos5.0/docs/zh-cn/application-dev/application-test/
H A Dwukong-guidelines.md111 -S, --swap swap event percent
130 -S, --swap[option] swap event
132 -s, --start: the start point of swap
133 -e, --end: the end point of swap
134 -b, --bilateral: swap go and back
159 | -S,--swap | 设置屏幕随机移动测试比例。 | 否 | 默认3%。 |
223 | -S, --swap | 滑动测试。 | 否 | - |
257 | -S,--swap | 设置屏幕随机移动测试比例。 | 否 | 默认3%。 |
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/
H A Dcamera_napi_auto_ref.h53 std::swap(isOnce_, tmp.isOnce_);
54 std::swap(env_, tmp.env_);
55 std::swap(callbackRef_, tmp.callbackRef_);
56 std::swap(tsfnName_, tmp.tsfnName_);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_async_worker/src/
H A Dmedialibrary_async_worker.cpp112 fgTaskQueue_.swap(tmp); in ReleaseFgTask()
130 bgTaskQueue_.swap(tmp); in ReleaseBgTask()
156 fgTaskQueue_.swap(tmp); in ClearRefreshTaskQueue()
159 tmp.swap(tail); in ClearRefreshTaskQueue()
169 bgTaskQueue_.swap(tmp); in ClearRefreshTaskQueue()
/ohos5.0/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Ddev_interface_state.cpp230 std::list<INetAddr>().swap(linkInfo_->netAddrList_); in UpdateLinkInfo()
231 std::list<Route>().swap(linkInfo_->routeList_); in UpdateLinkInfo()
232 std::list<INetAddr>().swap(linkInfo_->dnsList_); in UpdateLinkInfo()
265 std::list<INetAddr>().swap(linkInfo_->netAddrList_); in UpdateLanLinkInfo()
266 std::list<Route>().swap(linkInfo_->routeList_); in UpdateLanLinkInfo()
294 std::list<INetAddr>().swap(linkInfo_->netAddrList_); in UpdateLanLinkInfo()
295 std::list<Route>().swap(linkInfo_->routeList_); in UpdateLanLinkInfo()
324 std::list<INetAddr>().swap(linkInfo_->netAddrList_); in UpdateLinkInfo()
325 std::list<Route>().swap(linkInfo_->routeList_); in UpdateLinkInfo()
326 std::list<INetAddr>().swap(linkInfo_->dnsList_); in UpdateLinkInfo()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dparker.rs106 self.state.swap(IDLE, SeqCst); in park_on_driver()
114 match self.state.swap(IDLE, SeqCst) { in park_on_driver()
132 self.state.swap(IDLE, SeqCst); in park_on_condvar_timeout()
166 match self.state.swap(NOTIFIED, SeqCst) { in unpark()
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/common/attributes/src/
H A Dattributes.cpp166 map_.swap(out); in Impl()
680 dst.swap(out); in EncodeBoolValue()
690 dst.swap(out); in EncodeUint64Value()
700 dst.swap(out); in EncodeUint32Value()
710 dst.swap(out); in EncodeUint16Value()
718 dst.swap(out); in EncodeUint8Value()
728 dst.swap(out); in EncodeInt32Value()
738 dst.swap(out); in EncodeInt64Value()
750 dst.swap(out); in EncodeStringValue()
768 dst.swap(out); in EncodeUint64ArrayValue()
[all …]
/ohos5.0/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dcamera_service_type_converter.cpp49 std::vector<int32_t>().swap(dst.streamIds_); in ConvertCaptureInfoHdiToVdi()
53 std::vector<uint8_t>().swap(dst.captureSetting_); in ConvertCaptureInfoHdiToVdi()
101 std::vector<int32_t>().swap(dst.streamIds_); in ConvertCaptureInfoVdiToHdi()
105 std::vector<uint8_t>().swap(dst.captureSetting_); in ConvertCaptureInfoVdiToHdi()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_x25519.c495 mbedtls_mpi swap; in HksCurvePskCalcA() local
498 mbedtls_mpi_init(&swap); in HksCurvePskCalcA()
511 if (mbedtls_mpi_mul_mpi(&swap, &(curvePara->mpiD), &mpiE) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
515 if (mbedtls_mpi_add_mpi(&swap, &swap, &(curvePara->mpiOne)) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
519 if (mbedtls_mpi_mod_mpi(&swap, &swap, &(curvePara->mpiP)) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
523 if (mbedtls_mpi_inv_mod(&swap, &swap, &(curvePara->mpiP)) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
535 if (mbedtls_mpi_mul_mpi(&mpiE, &mpiE, &swap) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
552 mbedtls_mpi_free(&swap); in HksCurvePskCalcA()
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dwork_record.cpp301 std::vector<int>().swap(uids_); in Clear()
302 std::vector<int>().swap(pids_); in Clear()
303 std::vector<std::string>().swap(names_); in Clear()
304 std::vector<int>().swap(timeInterval_); in Clear()
305 std::vector<std::string>().swap(uuid_); in Clear()
306 std::vector<int>().swap(nlpRequestType_); in Clear()
/ohos5.0/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dhibernate.cpp184 uint32_t *swap = reinterpret_cast<uint32_t *>(buff); in MkSwap() local
186 swap[0] = SWAP_HEADER_INFO_VERSION; in MkSwap()
187 swap[1] = pages; in MkSwap()
193 char *uuid = reinterpret_cast<char *>(swap + SWAP_HEADER_INFO_UUID_OFFSET); in MkSwap()
201 auto ret = write(fd, swap, len); in MkSwap()
/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/
H A Dcamera_preview_test.cpp114 std::vector<StreamInfo>().swap(streamInfos);
210 std::vector<StreamInfo>().swap(streamInfos);
313 std::vector<StreamInfo>().swap(streamInfos);
367 std::vector<StreamInfo>().swap(streamInfos);
419 std::vector<StreamInfo>().swap(streamInfos);
463 std::vector<StreamInfo>().swap(streamInfos);
508 std::vector<StreamInfo>().swap(streamInfos);
550 std::vector<StreamInfo>().swap(streamInfos);
590 std::vector<StreamInfo>().swap(streamInfos);
658 std::vector<StreamInfo>().swap(streamInfos);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/page_transition/
H A Dpage_transition_info.h146 std::swap(init, target); in AddTranslateAnimation()
163 std::swap(init, target); in AddScaleAnimation()
175 std::swap(initValue, targetValue); in AddOpacityAnimation()
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
H A Dmock_blob.cpp32 blob_.swap(blob.blob_); in Blob()
54 blob_.swap(blob.blob_); in operator =()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/
H A Dmeminfo_data.h34 uint64_t swap = 0; member
48 uint64_t swap = 0; member

12345678910>>...20