Home
last modified time | relevance | path

Searched defs:_ (Results 1 – 25 of 256) sorted by relevance

1234567891011

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dmpsc_test.rs38 let _ = ylong_runtime::block_on(handle); in sdv_unbounded_send_recv_test() localVariable
57 let _ = ylong_runtime::block_on(handle); in sdv_unbounded_send_recv_drop_test() localVariable
93 let _ = ylong_runtime::block_on(handle); in sdv_unbounded_send_recv_timeout_test() localVariable
115 let _ = ylong_runtime::block_on(handle); in sdv_bounded_send_recv_test() localVariable
136 let _ = ylong_runtime::block_on(handle); in sdv_bounded_send_recv_drop_test() localVariable
238 let _ = tx.send(i); in sdv_mpsc_len() localVariable
242 let _ = rx.try_recv(); in sdv_mpsc_len() localVariable
246 let _ = rx.try_recv(); in sdv_mpsc_len() localVariable
252 let _ = tx.try_send(i); in sdv_mpsc_len() localVariable
256 let _ = rx.try_recv(); in sdv_mpsc_len() localVariable
[all …]
H A Dsignal.rs57 let _ = ylong_runtime::block_on(handle); in sdv_signal_recv_test() localVariable
101 let _ = ylong_runtime::block_on(handle); in sdv_signal_poll_recv_test() localVariable
141 let _ = ylong_runtime::block_on(handle); in sdv_signal_alarm() localVariable
156 let _ = ylong_runtime::block_on(handle); in sdv_signal_child() localVariable
171 let _ = ylong_runtime::block_on(handle); in sdv_signal_hangup() localVariable
186 let _ = ylong_runtime::block_on(handle); in sdv_signal_interrupt() localVariable
201 let _ = ylong_runtime::block_on(handle); in sdv_signal_io() localVariable
216 let _ = ylong_runtime::block_on(handle); in sdv_signal_pipe() localVariable
231 let _ = ylong_runtime::block_on(handle); in sdv_signal_terminate() localVariable
246 let _ = ylong_runtime::block_on(handle); in sdv_signal_user_defined1() localVariable
[all …]
/ohos5.0/base/request/request/services/src/service/command/
H A Ddump.rs33 let _ = file.write(HELP_MSG.as_bytes()); in dump() localVariable
38 let _ = file.write("invalid args".as_bytes()); in dump() localVariable
49 let _ = file.write("-t accept a number".as_bytes()); in dump() localVariable
54 let _ = file.write("too many args, -t accept no arg or one arg".as_bytes()); in dump() localVariable
76 let _ = file.write(format!("task num: {}\n", len).as_bytes()); in dump_all_task_info() localVariable
78 let _ = file.write( in dump_all_task_info() localVariable
86 let _ = file.write( in dump_all_task_info() localVariable
113 let _ = file.write( in dump_one_task_info() localVariable
120 let _ = file.write( in dump_one_task_info() localVariable
131 let _ = file.write(format!("invalid task id {}", task_id).as_bytes()); in dump_one_task_info() localVariable
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp40 for (auto _ : state) { in BenchmarkTestForCustomizeDataToJson() local
59 for (auto _ : state) { in BenchmarkTestForCustomizeDataFromJson() local
78 for (auto _ : state) { in BenchmarkTestForMetadataToJson() local
97 for (auto _ : state) { in BenchmarkTestForMetadataFromJson() local
116 for (auto _ : state) { in BenchmarkTestForAbilityInfoToJson() local
135 for (auto _ : state) { in BenchmarkTestForAbilityInfoFromJson() local
154 for (auto _ : state) { in BenchmarkTestForExtensionAbilityInfoToJson() local
173 for (auto _ : state) { in BenchmarkTestForExtensionAbilityInfoFromJson() local
192 for (auto _ : state) { in BenchmarkTestForApplicationInfoToJson() local
211 for (auto _ : state) { in BenchmarkTestForApplicationInfoFromJson() local
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
H A Dylong_runtime_async_benchmark.rs101 let _ = runtime.block_on(handle1); in main() localVariable
102 let _ = runtime.block_on(handle2); in main() localVariable
103 let _ = runtime.block_on(handle3); in main() localVariable
104 let _ = runtime.block_on(handle4); in main() localVariable
105 let _ = runtime.block_on(handle5); in main() localVariable
106 let _ = runtime.block_on(handle6); in main() localVariable
107 let _ = runtime.block_on(handle7); in main() localVariable
108 let _ = runtime.block_on(handle8); in main() localVariable
109 let _ = runtime.block_on(handle9); in main() localVariable
110 let _ = runtime.block_on(handle10); in main() localVariable
/ohos5.0/commonlibrary/rust/ylong_json/tests/
H A Dsdv_adapter_test.rs40 let _ = CString::from_raw(target); localVariable
46 let _ = CString::from_raw(target); localVariable
56 let _ = CString::from_raw(target); localVariable
66 let _ = CString::from_raw(target); localVariable
79 let _ = CString::from_raw(target); localVariable
84 let _ = CString::from_raw(target); localVariable
205 let _ = CString::from_raw(text); in sdv_adapter_parse_and_print() localVariable
228 let _ = Box::from_raw(text); in sdv_adapter_parse_memory_check() localVariable
244 let _ = Box::from_raw(index); in sdv_adapter_parse_memory_check() localVariable
253 let _ = Box::from_raw(content); in sdv_adapter_parse_memory_check() localVariable
[all …]
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
H A Dos_account_manager_benchmark_test.cpp64 for (auto _ : st) { in BENCHMARK_F() local
87 for (auto _ : st) { in BENCHMARK_F() local
107 for (auto _ : st) { in BENCHMARK_F() local
128 for (auto _ : st) { in BENCHMARK_F() local
150 for (auto _ : st) { in BENCHMARK_F() local
170 for (auto _ : st) { in BENCHMARK_F() local
189 for (auto _ : st) { in BENCHMARK_F() local
210 for (auto _ : st) { in BENCHMARK_F() local
231 for (auto _ : st) { in BENCHMARK_F() local
251 for (auto _ : st) { in BENCHMARK_F() local
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp115 for (auto _ : state) { in BenchmarkTestGetApplicationInfoByFlag() local
137 for (auto _ : state) { in BenchmarkTestGetApplicationInfoByUserId() local
158 for (auto _ : state) { in BenchmarkTestGetApplicationInfosByApplicationFlag() local
181 for (auto _ : state) { in BenchmarkTestGetApplicationInfosByFlags() local
202 for (auto _ : state) { in BenchmarkTestGetBundleInfoByBundleFlag() local
223 for (auto _ : state) { in BenchmarkTestGetBundleInfoByFlags() local
244 for (auto _ : state) { in BenchmarkTestGetBundleInfosByBundleFlag() local
266 for (auto _ : state) { in BenchmarkTestGetBundleInfosByFlags() local
285 for (auto _ : state) { in BenchmarkTestGetUidByBundleName() local
303 for (auto _ : state) { in BenchmarkTestGetAppIdByBundleName() local
[all …]
/ohos5.0/base/powermgr/battery_manager/test/benchmarktest/
H A Dbattery_benchmark_test.cpp46 for (auto _ : st) { in BENCHMARK_F() local
64 for (auto _ : st) { in BENCHMARK_F() local
82 for (auto _ : st) { in BENCHMARK_F() local
100 for (auto _ : st) { in BENCHMARK_F() local
118 for (auto _ : st) { in BENCHMARK_F() local
135 for (auto _ : st) { in BENCHMARK_F() local
152 for (auto _ : st) { in BENCHMARK_F() local
169 for (auto _ : st) { in BENCHMARK_F() local
187 for (auto _ : st) { in BENCHMARK_F() local
205 for (auto _ : st) { in BENCHMARK_F() local
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
H A Dasync_read.rs43 cx: &mut Context<'_>, in poll_read()
44 buf: &mut ReadBuf<'_>, in poll_read()
52 cx: &mut Context<'_>, in poll_read()
53 buf: &mut ReadBuf<'_>, in poll_read()
63 cx: &mut Context<'_>, in poll_read()
64 buf: &mut ReadBuf<'_>, in poll_read()
78 cx: &mut Context<'_>, in poll_read()
79 buf: &mut ReadBuf<'_>, in poll_read()
212 _cx: &mut Context<'_>, in poll_read()
213 buf: &mut ReadBuf<'_>, in poll_read()
/ohos5.0/base/request/request/services/src/manage/
H A Dtask_manager.rs183 let _ = tx.send(self.create(msg.config)); in handle_service_event() localVariable
186 let _ = tx.send(self.start(uid, task_id)); in handle_service_event() localVariable
189 let _ = tx.send(self.stop(uid, task_id)); in handle_service_event() localVariable
192 let _ = tx.send(self.pause(uid, task_id)); in handle_service_event() localVariable
195 let _ = tx.send(self.resume(uid, task_id)); in handle_service_event() localVariable
198 let _ = tx.send(self.remove(uid, task_id)); in handle_service_event() localVariable
201 let _ = tx.send(self.query_all_task()); in handle_service_event() localVariable
204 let _ = tx.send(self.query_one_task(task_id)); in handle_service_event() localVariable
390 let _ = self.send_event(TaskManagerEvent::Query(event)); in show() localVariable
397 let _ = self.send_event(TaskManagerEvent::Query(event)); in query() localVariable
[all …]
/ohos5.0/base/msdp/device_status/rust/ipc/service/src/
H A Dlib.rs75 fn on_remote_request(stub: &dyn IDeviceStatus, code: u32, data: &BorrowedMsgParcel<'_>, in on_remote_request()
150 data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<()> in send_request()
180 fn enable(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, in enable()
186 fn disable(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, in disable()
192 fn start(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, in start()
198 fn stop(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, in stop()
204 fn add_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in add_watch()
210 fn remove_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in remove_watch()
216 fn set_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in set_param()
222 fn get_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in get_param()
[all …]
/ohos5.0/drivers/peripheral/input/test/benchmarktest/
H A Dinput_benchmark_test.cpp71 for (auto _ : state) { in BENCHMARK_F() local
91 for (auto _ : state) { in BENCHMARK_F() local
114 for (auto _ : state) { in BENCHMARK_F() local
138 for (auto _ : state) { in BENCHMARK_F() local
161 for (auto _ : state) { in BENCHMARK_F() local
183 for (auto _ : state) { in BENCHMARK_F() local
205 for (auto _ : state) { in BENCHMARK_F() local
227 for (auto _ : state) { in BENCHMARK_F() local
249 for (auto _ : state) { in BENCHMARK_F() local
271 for (auto _ : state) { in BENCHMARK_F() local
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/examples/
H A Dasync_certs_adapter.rs27 let _ = certs.version().unwrap(); in verify() localVariable
29 let _ = certs.issuer().unwrap(); in verify() localVariable
31 let _ = certs.cert_name().unwrap(); in verify() localVariable
36 let _ = certs.cmp_pem_cert(contents.as_bytes()).unwrap(); in verify() localVariable
57 let _ = ylong_runtime::block_on(handle); in main() localVariable
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_2/src/
H A Dcamera_benchmark_test.cpp55 for (auto _ : st) { in BENCHMARK_F() local
74 for (auto _ : st) { in BENCHMARK_F() local
98 for (auto _ : st) { in BENCHMARK_F() local
140 for (auto _ : st) { in BENCHMARK_F() local
160 for (auto _ : st) { in BENCHMARK_F() local
189 for (auto _ : st) { in BENCHMARK_F() local
208 for (auto _ : st) { in BENCHMARK_F() local
229 for (auto _ : st) { in BENCHMARK_F() local
250 for (auto _ : st) { in BENCHMARK_F() local
270 for (auto _ : st) { in BENCHMARK_F() local
[all …]
/ohos5.0/drivers/peripheral/display/composer/test/benchmark/
H A Ddisplay_benchmark_test.cpp77 for (auto _ : state) { in BENCHMARK_F() local
91 for (auto _ : state) { in BENCHMARK_F() local
108 for (auto _ : state) { in BENCHMARK_F() local
125 for (auto _ : state) { in BENCHMARK_F() local
142 for (auto _ : state) { in BENCHMARK_F() local
159 for (auto _ : state) { in BENCHMARK_F() local
175 for (auto _ : state) { in BENCHMARK_F() local
193 for (auto _ : state) { in BENCHMARK_F() local
210 for (auto _ : state) { in BENCHMARK_F() local
228 for (auto _ : state) { in BENCHMARK_F() local
[all …]
/ohos5.0/drivers/peripheral/audio/test/benchmarktest/render/
H A Daudio_render_benchmarktest.cpp198 for (auto _ : state) { in BENCHMARK_F() local
215 for (auto _ : state) { in BENCHMARK_F() local
236 for (auto _ : state) { in BENCHMARK_F() local
252 for (auto _ : state) { in BENCHMARK_F() local
265 for (auto _ : state) { in BENCHMARK_F() local
292 for (auto _ : state) { in BENCHMARK_F() local
308 for (auto _ : state) { in BENCHMARK_F() local
323 for (auto _ : state) { in BENCHMARK_F() local
337 for (auto _ : state) { in BENCHMARK_F() local
352 for (auto _ : state) { in BENCHMARK_F() local
[all …]
/ohos5.0/base/request/request/services/src/service/client/
H A Dmanager.rs135 let _ = tx.send(Ok(*fd)); in handle_open_channel() localVariable
139 let _ = tx.send(Ok(fd)); in handle_open_channel() localVariable
143 let _ = tx.send(Err(ErrorCode::Other)); in handle_open_channel() localVariable
159 let _ = tx.send(ErrorCode::ErrOk); in handle_subscribe() localVariable
162 let _ = tx.send(ErrorCode::ChannelNotOpen); in handle_subscribe() localVariable
170 let _ = tx.send(ErrorCode::ErrOk); in handle_unsubscribe() localVariable
178 let _ = tx.send(ErrorCode::Other); in handle_unsubscribe() localVariable
192 let _ = tx.send(ClientEvent::Shutdown); in handle_process_terminated() localVariable
197 let _ = tx.send(ErrorCode::ErrOk); in handle_process_terminated() localVariable
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
H A Dcamera_benchmark_test.cpp72 for (auto _ : st) { in BENCHMARK_F() local
91 for (auto _ : st) { in BENCHMARK_F() local
112 for (auto _ : st) { in BENCHMARK_F() local
131 for (auto _ : st) { in BENCHMARK_F() local
150 for (auto _ : st) { in BENCHMARK_F() local
190 for (auto _ : st) { in BENCHMARK_F() local
231 for (auto _ : st) { in BENCHMARK_F() local
252 for (auto _ : st) { in BENCHMARK_F() local
272 for (auto _ : st) { in BENCHMARK_F() local
297 for (auto _ : st) { in BENCHMARK_F() local
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/distributed_bundle_info_test/
H A Ddistributed_bundle_info_test.cpp39 for (auto _ : state) { in BenchmarkTestForReadFromParcel() local
58 for (auto _ : state) { in BenchmarkTestForMarshalling() local
78 for (auto _ : state) { in BenchmarkTestForUnmarshalling() local
96 for (auto _ : state) { in BenchmarkTestForToString() local
130 for (auto _ : state) { in BenchmarkTestForFromJsonString() local
/ohos5.0/drivers/peripheral/audio/test/benchmarktest/capture/
H A Daudio_capture_benchmarktest.cpp212 for (auto _ : state) { in BENCHMARK_F() local
244 for (auto _ : state) { in BENCHMARK_F() local
263 for (auto _ : state) { in BENCHMARK_F() local
280 for (auto _ : state) { in BENCHMARK_F() local
301 for (auto _ : state) { in BENCHMARK_F() local
317 for (auto _ : state) { in BENCHMARK_F() local
330 for (auto _ : state) { in BENCHMARK_F() local
357 for (auto _ : state) { in BENCHMARK_F() local
373 for (auto _ : state) { in BENCHMARK_F() local
388 for (auto _ : state) { in BENCHMARK_F() local
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dsocket.rs37 let _ = syscall!(close(socket)); in set_non_block() localVariable
42 let _ = syscall!(close(socket)); in set_non_block() localVariable
47 let _ = syscall!(close(socket)); in set_non_block() localVariable
/ohos5.0/commonlibrary/rust/ylong_json/benches/
H A Dserialize_json_cmp.rs35 let _ = value.to_compact_string(); in null_serialize_perf_ylong_json() localVariable
45 let _ = value.to_compact_string(); in boolean_serialize_perf_ylong_json() localVariable
55 let _ = value.to_compact_string(); in number_serialize_perf_ylong_json() localVariable
65 let _ = value.to_compact_string(); in string_serialize_perf_ylong_json() localVariable
75 let _ = value.to_compact_string(); in array_serialize_perf_ylong_json() localVariable
85 let _ = value.to_compact_string(); in object_serialize_perf_ylong_json() localVariable
95 let _ = value.to_compact_string(); in exp1_serialize_perf_ylong_json() localVariable
105 let _ = value.to_compact_string(); in exp2_serialize_perf_ylong_json() localVariable
115 let _ = value.to_compact_string(); in exp3_serialize_perf_ylong_json() localVariable
125 let _ = value.to_compact_string(); in exp4_serialize_perf_ylong_json() localVariable
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/form_info_test/
H A Dform_info_test.cpp41 for (auto _ : state) { in BenchmarkTestForReadFromParcel() local
62 for (auto _ : state) { in BenchmarkTestForMarshalling() local
84 for (auto _ : state) { in BenchmarkTestForUnmarshalling() local
104 for (auto _ : state) { in BenchmarkTestForIsValid() local
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/application_info_test/
H A Dapplication_info_test.cpp48 for (auto _ : state) { in BenchmarkTestForReadFromParcel() local
77 for (auto _ : state) { in BenchmarkTestForReadMetaDataFromParcel() local
105 for (auto _ : state) { in BenchmarkTestForMarshalling() local
134 for (auto _ : state) { in BenchmarkTestForUnmarshalling() local

1234567891011