/trusty/user/base/lib/unittest-rust/src/ |
D | macros.rs | 65 ($left:expr, $right:expr, $($arg:tt)+) => ({ 73 …rt_failed(kind, &*left_val, &*right_val, core::option::Option::Some(core::format_args!($($arg)+))); 113 ($left:expr, $right:expr, $($arg:tt)+) => ({ 121 …rt_failed(kind, &*left_val, &*right_val, core::option::Option::Some(core::format_args!($($arg)+))); 162 ($left:expr, $right:expr, $($arg:tt)+) => ({ 170 …rt_failed(kind, &*left_val, &*right_val, core::option::Option::Some(core::format_args!($($arg)+))); 210 ($left:expr, $right:expr, $($arg:tt)+) => ({ 218 …rt_failed(kind, &*left_val, &*right_val, core::option::Option::Some(core::format_args!($($arg)+))); 258 ($result:expr, $($arg:tt)+) => ({ 262 …ssert_err(core::stringify!($result), &e, core::option::Option::Some(core::format_args!($($arg)+))); [all …]
|
/trusty/kernel/app/uirqtest/ |
D | uirq_test.c | 81 void* arg) { in test_tm_uirq_callback() argument 82 struct timer_uirq* u = arg; in test_tm_uirq_callback() 89 static void tm_uirq_mask(const void* arg) {} in tm_uirq_mask() argument 91 static void tm_uirq_unmask(const void* arg) { in tm_uirq_unmask() argument 99 struct timer_uirq* u = (struct timer_uirq*)arg; in tm_uirq_unmask() 103 static void tm_uirq_open(const void* arg) { in tm_uirq_open() argument 111 struct timer_uirq* u = (struct timer_uirq*)arg; in tm_uirq_open() 115 static void tm_uirq_close(const void* arg) { in tm_uirq_close() argument 116 struct timer_uirq* u = (struct timer_uirq*)arg; in tm_uirq_close()
|
/trusty/kernel/lib/syscall/stubgen/ |
D | stubgen.py | 192 def reformat_c_to_rust(arg): argument 198 m = re.match(r"(const )?(struct )?(.*?)\s*( ?\* ?)?$", arg) 235 for arg in sys_args_list: 237 arg = re.sub(r"\s*\w+$", "", arg) 239 arg = re.sub(r"\s*\*$", "", arg) 241 arg = re.sub(r"^const\s+", "", arg) 243 if arg in BUILTIN_TYPES: 247 if not arg.startswith("struct "): 249 "type: %r. Don't use typedefs." % arg) 250 struct_types.add(arg) [all …]
|
/trusty/kernel/app/memorytest/ |
D | memorytest.c | 52 struct memorytest_alloc_thread_arg* arg = _arg; in memorytest_alloc_thread() local 57 ptrs = calloc(arg->count, sizeof(*ptrs)); in memorytest_alloc_thread() 63 while (!atomic_load(&arg->go)) { in memorytest_alloc_thread() 66 for (i = 0; i < arg->count; i++) { in memorytest_alloc_thread() 67 ptrs[i] = malloc(arg->alloc_size); in memorytest_alloc_thread() 72 atomic_fetch_add(&arg->chunks_allocated, 1); in memorytest_alloc_thread() 77 atomic_fetch_add(&arg->threads_done, 1); in memorytest_alloc_thread() 78 while (atomic_load(&arg->threads_done) != in memorytest_alloc_thread()
|
/trusty/user/base/app/cfi-test/cfi-crasher/ |
D | cfi-crasher.c | 58 __NO_INLINE static int crasher_int_func(int arg) { in crasher_int_func() argument 60 return arg; in crasher_int_func() 63 __NO_INLINE static float crasher_float_func(float arg) { in crasher_float_func() argument 65 return arg; in crasher_float_func() 120 __NO_INLINE static int crasher_not_entry_func(int arg) { in crasher_not_entry_func() argument 146 return arg; in crasher_not_entry_func()
|
/trusty/kernel/platform/vexpress-a15/ |
D | timer.c | 48 void* arg, in platform_set_periodic_timer() argument 82 static enum handler_return platform_tick(void* arg) { in platform_tick() argument 86 return t_callback(arg, current_time()); in platform_tick()
|
/trusty/kernel/app/fptest/ |
D | fptest.c | 34 static int fptest(void* arg) { in fptest() argument 35 int i = (uintptr_t)arg; in fptest()
|
/trusty/device/arm/generic-arm64/project/qemu/ |
D | qemu_options.py | 42 ] + [arg for arg in args if arg != "-S"]
|
D | qemu_arm64_options.py | 42 ] + [arg for arg in args if arg != "-S"]
|
/trusty/kernel/app/busytest/ |
D | busytest.c | 60 static int busy_test_server(void* arg) { in busy_test_server() argument 61 struct handle* phandle = arg; in busy_test_server() 122 static int busy_test_busy_func(void* arg) { in busy_test_busy_func() argument
|
/trusty/user/app/sample/hwaes/ |
D | main.c | 54 static uint32_t hwaes_check_arg_in(const struct hwaes_arg_in* arg) { in hwaes_check_arg_in() argument 55 return hwaes_check_arg_helper(arg->len, arg->data_ptr); in hwaes_check_arg_in() 58 static uint32_t hwaes_check_arg_out(const struct hwaes_arg_out* arg) { in hwaes_check_arg_out() argument 59 return hwaes_check_arg_helper(arg->len, arg->data_ptr); in hwaes_check_arg_out()
|
/trusty/user/app/sample/spi/swspi-srv/driver/ |
D | swspi.c | 168 uint64_t* arg = malloc(sizeof(*arg)); in spi_req_delay() local 169 if (!arg) { in spi_req_delay() 173 *arg = delay_ns; in spi_req_delay() 176 dev->cmds[dev->curr_cmd].priv = arg; in spi_req_delay()
|
/trusty/kernel/app/dpctest/ |
D | dpctest.c | 43 void* arg) { in dpc_test_timer_callback() argument 44 struct dpc_test_ctx* ctx = arg; in dpc_test_timer_callback()
|
/trusty/kernel/lib/trusty/ |
D | uirq.c | 52 static enum handler_return plat_uirq_handler(void* arg) { in plat_uirq_handler() argument 53 event_source_signal((struct handle*)arg); in plat_uirq_handler()
|
D | tipc_virtio_dev.c | 805 static int tipc_rx_thread_func(void* arg) { in tipc_rx_thread_func() argument 806 struct tipc_dev* dev = arg; in tipc_rx_thread_func() 1020 static int tipc_tx_thread_func(void* arg) { in tipc_tx_thread_func() argument 1021 struct tipc_dev* dev = arg; in tipc_tx_thread_func()
|
/trusty/user/app/sample/hwcryptohal/common/ |
D | err.rs | 30 { $error_code:ident, $($arg:tt)+ } => { 35 message: alloc::format!("{}",std::format_args!($($arg)+)),
|
/trusty/kernel/app/smptest/ |
D | smptest.c | 50 static int smptest_thread_func(void* arg) { in smptest_thread_func() argument 51 const uint i = (uintptr_t)arg; in smptest_thread_func()
|
/trusty/kernel/include/shared/lk/ |
D | trusty_unittest.h | 251 #define TEST_INTERNAL(suite_name, test_name, w_param, pre, post, arg, argp) \ argument 259 suite_name##_##test_name##_inner arg; \ 289 #define TEST_F_CUSTOM_ARGS(suite_name, test_name, arg, argp) \ argument 292 , arg, argp) 298 #define TEST_P_CUSTOM_ARGS(suite_name, test_name, arg, argp) \ argument 301 , arg, argp)
|
/trusty/kernel/lib/sm/ |
D | sm.c | 144 static int __NO_RETURN sm_stdcall_loop(void* arg) { in sm_stdcall_loop() argument 281 static int __NO_RETURN sm_irq_loop(void* arg) { in sm_irq_loop() argument 284 int eventcpu = (uintptr_t)arg; in sm_irq_loop() 340 static int sm_wait_for_smcall(void* arg) { in sm_wait_for_smcall() argument
|
/trusty/user/app/secretkeeper/ |
D | store.rs | 44 { $e:expr, $($arg:tt)+ } => { 46 log::error!("{}: {:?}", format_args!($($arg)+), $e);
|
/trusty/kernel/app/mmutest/ |
D | mmutest.c | 44 int (*func)(void* arg), in mmutest_run_in_thread() argument 45 void* arg) { in mmutest_run_in_thread() 52 thread = thread_create("mmu_test_execute", func, arg, DEFAULT_PRIORITY, in mmutest_run_in_thread() 141 static int mmu_test_execute_thread_func(void* arg) in mmu_test_execute_thread_func() argument 143 void (*func)(void) = arg; in mmu_test_execute_thread_func() 701 static int mmutest_stack_overflow_thread_func(void* arg) { in mmutest_stack_overflow_thread_func() argument 714 static int mmutest_recursive_stack_overflow_thread_func(void* arg) { in mmutest_recursive_stack_overflow_thread_func() argument 716 if ((vaddr_t)arg == 1) { in mmutest_recursive_stack_overflow_thread_func()
|
/trusty/user/base/experimental/lib/tidl/ |
D | ipc_ql_tipc.cpp | 31 void* arg, in __cxa_atexit() argument 33 (void)arg; in __cxa_atexit()
|
/trusty/user/base/lib/hwaes/srv/ |
D | hwaes_server.c | 250 struct hwaes_arg_in* arg) { in hwaes_set_arg_in() argument 258 arg->data_ptr = out_arg.data_ptr; in hwaes_set_arg_in() 259 arg->len = out_arg.len; in hwaes_set_arg_in()
|
/trusty/kernel/lib/unittest/ |
D | unittest.c | 146 static int unittest_loop(void* arg) { in unittest_loop() argument
|
/trusty/vendor/google/aosp/scripts/ |
D | trusty_build_config.py | 67 for name, arg in flags.items(): 69 if arg:
|