Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-graphics-simulator-guide.md32 git clone https://gitee.com/openharmony/arkui_ui_lite.git -b master found…
38 git clone https://gitee.com/openharmony/third_party_zlib.git -b master third…
39 git clone https://gitee.com/openharmony/third_party_qrcodegen.git -b master third…
40 git clone https://gitee.com/openharmony/third_party_libpng.git -b master third…
41 git clone https://gitee.com/openharmony/third_party_libjpeg.git -b master third…
42 git clone https://gitee.com/openharmony/third_party_icu.git -b master third…
43 git clone https://gitee.com/openharmony/third_party_harfbuzz.git -b master third…
44 git clone https://gitee.com/openharmony/third_party_freetype.git -b master third…
46 git clone https://gitee.com/openharmony/third_party_cJSON.git -b master third…
47 git clone https://gitee.com/openharmony/third_party_giflib.git -b master third…
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dsync.rs67 let mutex2 = mutex1.clone(); in sdv_concurrency_with_mutex1()
68 let mutex3 = mutex1.clone(); in sdv_concurrency_with_mutex1()
69 let mutex4 = mutex1.clone(); in sdv_concurrency_with_mutex1()
70 let mutex5 = mutex1.clone(); in sdv_concurrency_with_mutex1()
134 let mutex = mutex1.clone(); in sdv_concurrency_with_mutex2()
241 let mutex1 = mutex.clone(); in sdv_rwlock_multi_threads()
242 let mutex2 = mutex.clone(); in sdv_rwlock_multi_threads()
440 let waiter2 = waiter.clone(); in sdv_waiter_with_wake_one()
441 let waiter3 = waiter.clone(); in sdv_waiter_with_wake_one()
442 let waiter4 = waiter.clone(); in sdv_waiter_with_wake_one()
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/
H A Dtypes.rs131 name: value.name.clone(), in from()
132 alias: value.alias.clone(), in from()
147 name: value.name.clone(), in try_from()
221 name: value.table_name.clone(), in from()
222 alias: value.alias.clone(), in from()
238 alias: value.alias.clone(), in try_from()
239 table_name: value.name.clone(), in try_from()
260 col_name: value.col_name.clone(), in from()
261 alias: value.alias.clone(), in from()
274 col_name: value.col_name.clone(), in try_from()
[all …]
H A Dcloud_service.rs57 .insert(cloud_app_info.bundle_name.clone(), cloud_app_info); in get_service_info()
87 bundle_name: bundle_name.clone(), in subscribe()
106 let unsub = ipc_conn::UnsubscriptionInfo(relations.clone()); in unsubscribe()
154 bundle_name: value.bundle_name.clone(), in from()
174 id: value.account_id.clone(), in from()
227 bundle_name: value.bundle_name.clone(), in from()
228 app_id: value.app_id.clone(), in from()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
H A Dylong_tokio_rwlock.rs56 let lock = lock.clone(); in tokio_rwlock_read()
57 handlers.push(rt.spawn(tokio_rwlock_task(lock.clone()))); in tokio_rwlock_read()
81 let lock = lock.clone(); in ylong_rwlock_read()
105 let lock = lock.clone(); in tokio_rwlock_write()
130 let lock = lock.clone(); in ylong_rwlock_write()
153 let _lock_in = lock.clone(); in tokio_rwlock_write_read()
157 let lock_in = lock.clone(); in tokio_rwlock_write_read()
162 let lock_in = lock.clone(); in tokio_rwlock_write_read()
185 let _lock_in = lock.clone(); in ylong_rwlock_write_read()
189 let lock_in = lock.clone(); in ylong_rwlock_write_read()
[all …]
H A Dylong_tokio_uds.rs40 let mut uds = tokioUnixStream::connect(addr.clone()).await;
42 uds = tokioUnixStream::connect(addr.clone()).await;
62 handlers.push(runtime.spawn($server(addr.clone())));
63 handlers.push(runtime.spawn($client(addr.clone())));
94 let mut uds = UnixStream::connect(addr.clone()).await;
96 uds = UnixStream::connect(addr.clone()).await;
116 handlers.push(ylong_runtime::spawn($server(addr.clone())));
117 handlers.push(ylong_runtime::spawn($client(addr.clone())));
H A Dylong_tokio_multi_threaded.rs61 $fn(&runtime, send.clone());
98 let runtime_clone = runtime.clone(); in chained_spawn()
106 let runtime_clone = runtime.clone(); in chained_spawn()
108 let sender = send.clone(); in chained_spawn()
110 let runtime_iter_clone = runtime_clone.clone(); in chained_spawn()
150 let sender = send.clone(); in chained_spawn()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/
H A DREADME_zh.md95 …git clone https://gitee.com/openharmony/arkui_ui_lite.git -b master foun…
96 …git clone https://gitee.com/openharmony/graphic_graphic_utils_lite.git -b master foun…
97 …git clone https://gitee.com/openharmony/third_party_zlib.git -b master thir…
98 …git clone https://gitee.com/openharmony/third_party_qrcodegen.git -b master thir…
99 …git clone https://gitee.com/openharmony/third_party_libpng.git -b master thir…
100 …git clone https://gitee.com/openharmony/third_party_libjpeg.git -b master thir…
101 …git clone https://gitee.com/openharmony/third_party_icu.git -b master thir…
102 …git clone https://gitee.com/openharmony/third_party_harfbuzz.git -b master thir…
103 …git clone https://gitee.com/openharmony/third_party_freetype.git -b master thir…
105 …git clone https://gitee.com/openharmony/third_party_cJSON.git -b master thir…
[all …]
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Drunning_multi_info.cpp36 RunningAppClone clone; in ReadFromParcel() local
37 clone.appCloneIndex = parcel.ReadInt32(); in ReadFromParcel()
38 clone.uid = parcel.ReadInt32(); in ReadFromParcel()
39 parcel.ReadInt32Vector(&clone.pids); in ReadFromParcel()
40 runningAppClones.emplace_back(clone); in ReadFromParcel()
77 for (auto &clone : runningAppClones) { in Marshalling() local
78 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, clone.appCloneIndex); in Marshalling()
79 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, clone.uid); in Marshalling()
80 if (!parcel.WriteInt32Vector(clone.pids)) { in Marshalling()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-graphics-simulator-guide.md32 git clone https://gitee.com/openharmony/arkui_ui_lite.git -b master found…
38 git clone https://gitee.com/openharmony/third_party_zlib.git -b master third…
39 git clone https://gitee.com/openharmony/third_party_qrcodegen.git -b master third…
40 git clone https://gitee.com/openharmony/third_party_libpng.git -b master third…
41 git clone https://gitee.com/openharmony/third_party_libjpeg.git -b master third…
42 git clone https://gitee.com/openharmony/third_party_icu.git -b master third…
43 git clone https://gitee.com/openharmony/third_party_harfbuzz.git -b master third…
44 git clone https://gitee.com/openharmony/third_party_freetype.git -b master third…
46 git clone https://gitee.com/openharmony/third_party_cJSON.git -b master third…
47 git clone https://gitee.com/openharmony/third_party_giflib.git -b master third…
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dasync_pool.rs103 item.unpark(self.handle.clone()); in wake_up_all()
137 .unpark(self.handle.clone()); in wake_up_rand_one()
164 inner: local_run_queue.inner.clone(), in create_local_queue()
393 if let Some(f) = inner.after_start.clone() { in async_thread_proc()
470 let inner = self.inner.clone(); in create_async_thread_pool()
601 return Ok(worker.clone()); in get_worker()
770 let parker_cpy = parker.clone(); in ut_executor_mng_info_cancel()
799 let parker_cpy = parker.clone(); in ut_executor_mng_info_wake_up_all()
836 let parker_cpy = parker.clone(); in ut_executor_mng_info_wake_up_rand_one()
872 let parker_cpy = parker.clone(); in ut_executor_mng_info_wake_up_if_one_task_left()
[all …]
H A Dcurrent_thread.rs211 fn clone(ptr: *const ()) -> RawWaker { in clone() function
215 mem::forget(parker.clone()); in clone()
247 Parker::new(self.driver.clone(), self.handle.clone()) in get_parker()
276 parker_list.push(parker.clone()); in block_on()
279 let waker = waker(parker.clone()); in block_on()
428 let notify1_clone = notify1.clone(); in ut_current_thread_run_queue()
436 let notify2_clone = notify2.clone(); in ut_current_thread_run_queue()
443 let waiter_clone = waiter.clone(); in ut_current_thread_run_queue()
444 let spawner_clone = spawner.clone(); in ut_current_thread_run_queue()
455 let notify1_clone = notify1.clone(); in ut_current_thread_run_queue()
[all …]
/ohos5.0/base/security/certificate_framework/frameworks/core/v1.0/certificate/
H A Dcert_crl_common.c28 HcfX509Certificate *clone = NULL; in CloneCertificateObj() local
29 res = HcfX509CertificateCreate(&encodingBlob, &clone); in CloneCertificateObj()
35 *out = clone; in CloneCertificateObj()
48 HcfX509Crl *clone = NULL; in CloneCrlObj() local
49 res = HcfX509CrlCreate(&encodingBlob, &clone); in CloneCrlObj()
55 *out = clone; in CloneCrlObj()
/ohos5.0/base/request/request/services/src/manage/scheduler/queue/
H A Dkeeper.rs40 let handle = count_down(tx.clone()); in new()
42 tx: tx.clone(), in new()
52 fn clone(&self) -> Self { in clone() method
66 tx: self.tx.clone(), in clone()
67 inner: self.inner.clone(), in clone()
80 inner.handle = Some(count_down(self.tx.clone())); in drop()
H A Dmod.rs63 keeper: SAKeeper::new(tx.clone()), in new()
89 let running_task = RunningTask::new(task.clone(), self.tx.clone(), self.keeper.clone()); in try_restart()
91 let abort_flag_clone = abort_flag.clone(); in try_restart()
93 running_task.run(abort_flag_clone.clone()).await; in try_restart()
204 new_queue.insert((uid, task_id), task.clone()); in reschedule_inner()
212 let running_task = RunningTask::new(task.clone(), self.tx.clone(), self.keeper.clone()); in reschedule_inner()
219 let abort_flag_clone = abort_flag.clone(); in reschedule_inner()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/
H A Dencoder.rs137 octet_buf.put_varint(frame.frame_type().clone())?; in encode_frame()
138 octet_buf.put_varint(frame.frame_len().clone())?; in encode_frame()
278 octet_buf.put_varint(val.clone())?; in encode()
284 octet_buf.put_varint(val.clone())?; in encode()
289 octet_buf.put_varint(val.clone())?; in encode()
295 octet_buf.put_varint(val.clone())?; in encode()
300 octet_buf.put_varint(val.clone())?; in encode()
456 part.update(field.clone(), value.clone()); in literal_field_line_with_name_reference()
457 let header = Headers::new(part.clone()); in literal_field_line_with_name_reference()
493 part.update(field.clone(), value.clone()); in dynamic_table()
[all …]
/ohos5.0/base/request/request/services/src/manage/
H A Daccount.rs67 let old_background = BACKGROUND_ACCOUNTS.lock().unwrap().clone(); in update()
134 TASK_MANAGER_TX = Some(task_manager.clone()); in registry_account_subscribe()
142 Box::new(task_manager.clone()), in registry_account_subscribe()
144 |_new_id, _old_id, task_manager| update_accounts(task_manager.clone()), in registry_account_subscribe()
161 Box::new(task_manager.clone()), in registry_account_subscribe()
162 |_id, task_manager| update_accounts(task_manager.clone()), in registry_account_subscribe()
180 Box::new(task_manager.clone()), in registry_account_subscribe()
201 Box::new(task_manager.clone()), in registry_account_subscribe()
202 |_id, task_manager| update_accounts(task_manager.clone()), in registry_account_subscribe()
217 update_accounts(task_manager.clone()); in registry_account_subscribe()
[all …]
H A Dnetwork.rs42 self.inner.state.read().unwrap().clone() in state()
50 let tx = network_manager.tx.clone(); in register_network_change()
59 Box::new(network_manager.network.inner.clone()), in register_network_change()
60 Box::new(NetworkTaskManagerTx { inner: tx.clone() }), in register_network_change()
116 *state = Online(info.clone()); in notify_online()
/ohos5.0/base/request/request/services/src/task/
H A Drequest_task.rs82 self.mime_type.lock().unwrap().clone() in mime_type()
152 let mut sizes = files.sizes.clone(); in new()
253 bundle: self.conf.bundle.clone(), in build_notify_data()
285 let url = self.conf.url.clone(); in build_request_builder()
532 path: file_spec.path.clone(), in get_each_file_status()
561 url: self.conf.url.clone(), in info()
562 data: self.conf.data.clone(), in info()
563 token: self.conf.token.clone(), in info()
566 title: self.conf.title.clone(), in info()
581 progress: progress.clone(), in info()
[all …]
H A Ddownload.rs75 if let Err(e) = download_inner(task.clone(), abort_flag.clone()).await { in download()
299 TaskManager::init(RUN_COUNT_MANAGER.clone(), CLIENT.clone(), NETWORK.clone()) in build_task()
307 CLIENT.clone(), in build_task()
308 NETWORK.clone(), in build_task()
404 let clone_task = task.clone(); in ut_download_resume_not_support_range()
409 let err = download_inner(task.clone()).await.unwrap_err(); in ut_download_resume_not_support_range()
416 download_inner(task.clone()).await.unwrap(); in ut_download_resume_not_support_range()
529 let clone_task = task.clone(); in ut_download_range_resume_1()
538 download_inner(task.clone()).await.unwrap(); in ut_download_range_resume_1()
567 download_inner(task.clone()).await.unwrap(); in ut_download_invalid_task()
[all …]
/ohos5.0/base/request/request/services/src/
H A Dability.rs91 let task_manager = TaskManager::init(runcount_manager.clone(), client_manger.clone()); in init()
93 *self.task_manager.lock().unwrap() = Some(task_manager.clone()); in init()
97 AppStateListener::init(client_manger.clone(), task_manager.clone()); in init()
111 handler.clone(), in init()
115 self.remote_busy.clone(), in init()
/ohos5.0/base/security/asset/test/unittest/module_test/src/crypto_manager/
H A Dlib.rs107 let mut crypto = Crypto::build(secret_key.clone(), calling_info, 600).unwrap(); in crypto_init()
123 let mut crypto = Crypto::build(secret_key.clone(), calling_info, 600).unwrap(); in crypto_exec()
138 let mut crypto1 = Crypto::build(secret_key1.clone(), calling_info.clone(), 600).unwrap(); in crypto_manager()
139 let challenge1 = crypto1.init_key().unwrap().clone(); in crypto_manager()
144 let mut crypto2 = Crypto::build(secret_key2.clone(), calling_info.clone(), 600).unwrap(); in crypto_manager()
145 let challenge2 = crypto2.init_key().unwrap().clone(); in crypto_manager()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dpool.rs41 uri.scheme().unwrap().clone(), in connect_to()
42 uri.authority().unwrap().clone(), in connect_to()
47 .conn(|| self.connector.clone().connect(&uri)) in connect_to()
64 fn clone(&self) -> Self { in clone() method
66 list: self.list.clone(), in clone()
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-bundles-container.md51 - 文件挂载容器的基础实现,创建进程时根据clone传入的参数flag在各自进程创建文件挂载容器,将挂载信息从全局更改为与文件挂载容器相关联。
147 后续可通过clone等接口为子进程新建容器(指定容器FLAG),未指定容器FLAG的情况下clone的子进程复用父进程容器。
167 **clone接口**
169 通过clone()创建新进程的同时创建容器,是新建容器的一种常见做法,函数原型:
172 int clone(int (*fn)(void *), void *stack, int flags, void *arg, ...
176 - clone时可以指定新建的子进程通过容器隔离资源,使得资源(如UTS信息)获取和修改只限于容器范围内,不影响其他容器。
178 - 若调用clone接口不指定容器相关FLAG,则会将子进程也放到父进程所在容器中,即复用/共享父进程的容器。
296 - 通过上述接口clone创建容器、setns切换容器、unshare切换容器时,需传入符合POSIX标准的FLAG,如下:
298 | FLAG | clone | setns | unshare …
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_signal/src/
H A Dcommon.rs86 let mut new_map = write_guard.clone(); in register_action()
108 let mut new_map = write_guard.clone(); in deregister_action()
122 let mut signal_map = write_guard.clone(); in deregister_hook()
155 let signal2 = signal.clone(); in ut_signal_new()
175 let value_cpy = value.clone(); in ut_signal_register()
178 let value2_cpy = value2.clone(); in ut_signal_register()
179 let value2_cpy2 = value2.clone(); in ut_signal_register()

12345678910>>...15