Home
last modified time | relevance | path

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

12

/base/request/request/services/service/request/src/service/command/
Ddump.rs35 let _ = file.as_ref().write(HELP_MSG.as_bytes()); in execute() localVariable
40 let _ = file.as_ref().write("invalid args".as_bytes()); in execute() localVariable
51 let _ = file.as_ref().write("-t accept a number".as_bytes()); in execute() localVariable
56 let _ = file in execute() localVariable
82 let _ = file.write(format!("task num: {}\n", len).as_bytes()); in dump_all_task_info() localVariable
84 let _ = file.write( in dump_all_task_info() localVariable
92 let _ = file.write( in dump_all_task_info() localVariable
120 let _ = file.write( in dump_one_task_info() localVariable
127 let _ = file.write( in dump_one_task_info() localVariable
141 let _ = file.write(format!("invalid task id {}", task_id).as_bytes()); in dump_one_task_info() localVariable
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
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 …]
/base/powermgr/battery_manager/test/benchmarktest/
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 …]
/base/msdp/device_status/rust/ipc/service/src/
Dlib.rs51 …fn enable(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel… in enable()
53 …fn disable(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParce… in disable()
55 …fn start(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<… in start()
57 …fn stop(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'… in stop()
60 …fn add_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in add_watch()
62 …fn remove_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Bo… in remove_watch()
65 …fn set_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in set_param()
68 …fn get_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in get_param()
72 …fn control(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borrowe… in control()
75 fn on_remote_request(stub: &dyn IDeviceStatus, code: u32, data: &BorrowedMsgParcel<'_>, in on_remote_request()
[all …]
/base/security/access_token/interfaces/kits/accesstoken/test/benchmarktest/
Dnapi_atmanager_test.cpp65 for (auto _ : st) { in BENCHMARK_F() local
83 for (auto _ : st) { in BENCHMARK_F() local
103 for (auto _ : st) { in BENCHMARK_F() local
122 for (auto _ : st) { in BENCHMARK_F() local
141 for (auto _ : st) { in BENCHMARK_F() local
/base/startup/init/test/benchmark/
Dparameter_benchmark.cpp137 for (auto _ : state) { in BMCachedParameterGet() local
155 for (auto _ : state) { in BMCachedParameterGetChangedStatic() local
177 for (auto _ : state) { in BMCachedParameterGetChangedGlobal() local
197 for (auto _ : state) { in BMCachedParameterGetChangedGlobal2() local
224 for (auto _ : state) { in BMSystemReadParam() local
249 for (auto _ : state) { in BMSystemReadParam_none() local
269 for (auto _ : state) { in BMSystemFindParameter() local
295 for (auto _ : state) { in BMSystemGetParameterValue() local
322 for (auto _ : state) { in BMSystemGetParameterCommitId() local
338 for (auto _ : state) { in BMTestRandom() local
/base/request/request/services/service/request/src/manager/
Dtask_manager.rs231 let _ = tx.send(error_code); in handle_service_command() localVariable
235 let _ = tx.send(error_code); in handle_service_command() localVariable
239 let _ = tx.send(error_code); in handle_service_command() localVariable
243 let _ = tx.send(error_code); in handle_service_command() localVariable
247 let _ = tx.send(error_code); in handle_service_command() localVariable
252 let _ = tx.send(task_info); in handle_service_command() localVariable
257 let _ = tx.send(task_info); in handle_service_command() localVariable
261 let _ = tx.send(v); in handle_service_command() localVariable
265 let _ = tx.send(task_info); in handle_service_command() localVariable
269 let _ = tx.send(error_code); in handle_service_command() localVariable
[all …]
Dscheduled.rs41 let _ = tx.send(EventMessage::Scheduled(ScheduledMessage::ClearTimeoutTasks)); in clear_timeout_tasks() localVariable
48 let _ = tx.send(EventMessage::Scheduled(ScheduledMessage::LogTasks)); in log_all_task_info() localVariable
54 let _ = tx.send(EventMessage::Scheduled(ScheduledMessage::Unload)); in unload_sa() localVariable
59 let _ = tx.send(EventMessage::Scheduled( in update_background_app() localVariable
66 let _ = tx.send(EventMessage::Scheduled(ScheduledMessage::RestoreAllTasks)); in restore_all_tasks() localVariable
/base/security/asset/test/unittest/module_test/src/crypto_manager/
Dlib.rs71 let _ = SecretKey::delete_by_owner(&calling_info); in generate_and_delete() localVariable
94 let _ = secret_key.delete(); in encrypt_and_decrypt() localVariable
106 let _ = secret_key.delete(); in crypto_init() localVariable
124 let _ = secret_key.delete(); in crypto_exec() localVariable
159 let _ = secret_key1.delete(); in crypto_manager() localVariable
160 let _ = secret_key2.delete(); in crypto_manager() localVariable
/base/security/asset/services/db_operator/src/test/
Dtest_database.rs83 let _ = Database::delete(0); in database_version() localVariable
92 let _ = Database::delete(0); in error_sql() localVariable
104 let _ = Database::delete(0); in create_delete_asset_table() localVariable
223 let _ = db_file.write(b"buffer buffer buffer").unwrap(); in backup_and_restore() localVariable
235 let _ = backup_file.write(b"bad message info").unwrap(); in backup_and_restore() localVariable
/base/request/request/services/service/request/src/utils/
Dmod.rs73 let _ = write!(res, "\r\n"); in hashmap_to_string() localVariable
75 let _ = write!(res, "{k}\t{v}"); in hashmap_to_string() localVariable
92 pub(crate) fn split_string(str: &mut str) -> std::str::Split<'_, &str> { in split_string() argument
/base/request/request/services/service/request/src/task/
Ddownload.rs40 cx: &mut Context<'_>, in poll_download()
73 cx: &mut Context<'_>, in poll_progress()
173 let _ = file.sync_all().await; in download_inner() localVariable
Doperator.rs49 _cx: &mut Context<'_>, in poll_progress_common()
83 cx: &mut Context<'_>, in poll_write_partial_file()
115 cx: &mut Context<'_>, in poll_write_file()
Dtick.rs63 pub(crate) fn register(&self, task_id: u32, cx: &mut Context<'_>) { in register()
99 let _ = ylong_runtime::spawn(async { in tick_tesk() localVariable
Dupload.rs54 cx: &mut Context<'_>, in poll_read()
55 buf: &mut ReadBuf<'_>, in poll_read()
130 cx: &mut Context<'_>, in poll_progress()
/base/hiviewdfx/hisysevent/interfaces/rust/src/
Dutils.rs41 let _ = CString::from_raw(ptr); in free_allocated_str() localVariable
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/
Delf_benchmark.cpp65 for (const auto& _ : state) { in BenchmarkElfGetBuildIdFromObj() local
/base/security/asset/services/core_service/src/
Dlistener.rs38 let _ = db.delete_datas(&cond)?; in delete_on_package_removed() localVariable
75 let _ = delete_user_db_dir(user_id); in delete_dir_by_user() localVariable
/base/startup/init/interfaces/innerkits/include/
Dinit_error.h54 #define XX(code, _) INIT_ ## code, argument
/base/request/request/services/service/request/src/service/notify/
Dmanager.rs97 let _ = sender.send(ErrorCode::ErrOk); in on() localVariable
105 let _ = sender.send(ErrorCode::ErrOk); in off() localVariable
109 let _ = sender.send(ErrorCode::Other); in off() localVariable
/base/security/asset/test/unittest/inner_api_rust/src/
Dquery.rs65 let _ = remove_all(); in query_without_limit() localVariable
85 let _ = remove_all(); in query_with_offset_without_limit() localVariable
109 let _ = remove_all(); in query_with_limit_with_without_offset() localVariable
182 let _ = remove_all(); in query_with_order() localVariable
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwind/
Dunwind_remote_benchmark.cpp150 for (const auto& _ : state) { in Run() local
191 for (const auto& _ : state) { in RunCache() local
/base/update/updater/test/benchmarktest/
Dupdater_benchmark_test.cpp71 for (auto _ : state) { in BENCHMARK_F() local
/base/msdp/device_status/rust/modules/scheduler/sys/src/
Dscheduler.rs283 let _ = self.epoll_add(fd); in add_epoll_handler() localVariable
291 let _ = self.epoll_del(fd); in remove_epoll_handler() localVariable
342 let _ = self.epoll_reset(fd); in dispatch() localVariable
501 let _ = scheduler.add_epoll_handler(scheduler.epoll_waker.clone()); in new() localVariable
538 let _ = join_handle.join(); in drop() localVariable
/base/msdp/device_status/rust/modules/scheduler/test/src/
Dlib.rs215 let _ = handler.post_perioric_task(move || { in test_post_perioric_task() localVariable
235 let _ = handler.post_delayed_task(move || { in test_post_delayed_task() localVariable

12