/AliOS-Things-master/components/cplusplus/example/cpp_aos/ |
A D | basic_test.cpp | 18 virtual void fun() { cout << "A class fun." << endl; } in fun() function in A 27 void fun() { cout << "B class fun." << endl; } in fun() function in B 47 pa->fun(); in class_ploy_test() 50 pb->fun(); in class_ploy_test() 53 pc->fun(); in class_ploy_test()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objclosure.c | 34 mp_obj_t fun; member 50 return mp_call_function_n_kw(self->fun, self->n_closed + n_args, n_kw, args2); in closure_call() 56 mp_obj_t res = mp_call_function_n_kw(self->fun, self->n_closed + n_args, n_kw, args2); in closure_call() 67 mp_obj_print_helper(print, o->fun, PRINT_REPR); in closure_print() 91 mp_obj_t mp_obj_new_closure(mp_obj_t fun, size_t n_closed_over, const mp_obj_t *closed) { in mp_obj_new_closure() argument 94 o->fun = fun; in mp_obj_new_closure()
|
A D | runtime_utils.c | 30 mp_obj_t mp_call_function_1_protected(mp_obj_t fun, mp_obj_t arg) { in mp_call_function_1_protected() argument 33 mp_obj_t ret = mp_call_function_1(fun, arg); in mp_call_function_1_protected() 42 mp_obj_t mp_call_function_2_protected(mp_obj_t fun, mp_obj_t arg1, mp_obj_t arg2) { in mp_call_function_2_protected() argument 45 mp_obj_t ret = mp_call_function_2(fun, arg1, arg2); in mp_call_function_2_protected()
|
A D | emitglue.c | 184 mp_obj_t fun; in mp_make_function_from_raw_code() local 189 fun = mp_obj_new_fun_native(def_args, def_kw_args, rc->fun_data, rc->const_table); in mp_make_function_from_raw_code() 192 ((mp_obj_base_t *)MP_OBJ_TO_PTR(fun))->type = &mp_type_native_gen_wrap; in mp_make_function_from_raw_code() 198 fun = mp_obj_new_fun_asm(rc->n_pos_args, rc->fun_data, rc->type_sig); in mp_make_function_from_raw_code() 204 fun = mp_obj_new_fun_bc(def_args, def_kw_args, rc->fun_data, rc->const_table); in mp_make_function_from_raw_code() 207 ((mp_obj_base_t *)MP_OBJ_TO_PTR(fun))->type = &mp_type_gen_wrap; in mp_make_function_from_raw_code() 211 mp_obj_fun_bc_t *self_fun = (mp_obj_fun_bc_t *)MP_OBJ_TO_PTR(fun); in mp_make_function_from_raw_code() 218 return fun; in mp_make_function_from_raw_code()
|
A D | objfun.c | 56 return self->fun._0(); in fun_builtin_0_call() 71 return self->fun._1(args[0]); in fun_builtin_1_call() 86 return self->fun._2(args[0], args[1]); in fun_builtin_2_call() 101 return self->fun._3(args[0], args[1], args[2]); in fun_builtin_3_call() 126 return self->fun.kw(n_args, args, &kw_args); in fun_builtin_var_call() 131 return self->fun.var(n_args, args); in fun_builtin_var_call() 162 if (fun->base.type == &mp_type_fun_native || fun->base.type == &mp_type_native_gen_wrap) { in mp_obj_fun_get_name() 168 const byte *bc = fun->bytecode; in mp_obj_fun_get_name() 415 return fun(self_in, n_args, n_kw, args); in fun_native_call() 505 ret = ((inline_asm_fun_0_t)fun)(); in fun_asm_call() [all …]
|
A D | objfilter.c | 33 mp_obj_t fun; member 41 o->fun = args[0]; in filter_make_new() 52 if (self->fun != mp_const_none) { in filter_iternext() 53 val = mp_call_function_n_kw(self->fun, 1, 0, &next); in filter_iternext()
|
A D | objmap.c | 35 mp_obj_t fun; member 44 o->fun = args[0]; in map_make_new() 64 return mp_call_function_n_kw(self->fun, self->n_iters, 0, nextses); in map_iternext()
|
A D | runtime.h | 115 mp_obj_t mp_call_function_0(mp_obj_t fun); 116 mp_obj_t mp_call_function_1(mp_obj_t fun, mp_obj_t arg); 117 mp_obj_t mp_call_function_2(mp_obj_t fun, mp_obj_t arg1, mp_obj_t arg2); 118 mp_obj_t mp_call_function_n_kw(mp_obj_t fun, size_t n_args, size_t n_kw, const mp_obj_t *args); 124 mp_obj_t mp_call_function_1_protected(mp_obj_t fun, mp_obj_t arg); 125 mp_obj_t mp_call_function_2_protected(mp_obj_t fun, mp_obj_t arg1, mp_obj_t arg2); 128 mp_obj_t fun; member
|
A D | runtime.c | 628 mp_obj_t mp_call_function_0(mp_obj_t fun) { in mp_call_function_0() argument 629 return mp_call_function_n_kw(fun, 0, 0, NULL); in mp_call_function_0() 632 mp_obj_t mp_call_function_1(mp_obj_t fun, mp_obj_t arg) { in mp_call_function_1() argument 633 return mp_call_function_n_kw(fun, 1, 0, &arg); in mp_call_function_1() 636 mp_obj_t mp_call_function_2(mp_obj_t fun, mp_obj_t arg1, mp_obj_t arg2) { in mp_call_function_2() argument 640 return mp_call_function_n_kw(fun, 2, 0, args); in mp_call_function_2() 679 mp_obj_t fun = *args++; in mp_call_prepare_args_n_kw_var() local 838 out_args->fun = fun; in mp_call_prepare_args_n_kw_var() 984 mp_obj_t fun; member 1000 return mp_call_function_n_kw(self->fun, n_args, n_kw, args); in checked_fun_call() [all …]
|
A D | obj.h | 334 {{&mp_type_fun_builtin_0}, .fun._0 = fun_name} 337 {{&mp_type_fun_builtin_1}, .fun._1 = fun_name} 340 {{&mp_type_fun_builtin_2}, .fun._2 = fun_name} 343 {{&mp_type_fun_builtin_3}, .fun._3 = fun_name} 756 mp_obj_t mp_obj_new_gen_wrap(mp_obj_t fun); 757 mp_obj_t mp_obj_new_closure(mp_obj_t fun, size_t n_closed, const mp_obj_t *closed); 951 } fun; member 960 } fun; member 963 qstr mp_obj_fun_get_name(mp_const_obj_t fun); 985 mp_obj_t fun; member [all …]
|
A D | modthread.c | 151 mp_obj_t fun; member 196 mp_call_function_n_kw(args->fun, args->n_args, args->n_kw, args->args); in thread_entry() 207 mp_obj_print_helper(MICROPY_ERROR_PRINTER, args->fun, PRINT_REPR); in thread_entry() 269 th_args->fun = args[0]; in mod_thread_start_new_thread()
|
/AliOS-Things-master/components/py_engine/tests/esp32/ |
A D | check_err_str.py | 17 fun = p.set_boot variable 19 fun(part) 28 fun(part) 39 fun(part)
|
/AliOS-Things-master/components/drivers/external_device/pca9544/ |
A D | README.md | 51 * @fun pca9544_init 60 * @fun pca9544_deinit 68 * @fun pca9544_set_chan 76 * @fun pca9544_clean_chan 84 * @fun pca9544_read_chan 92 * @fun pca9544_write_reg 101 * @fun pca9544_read_reg 110 * @fun pca9544_raw_data_write 125 * @fun pca9544_raw_data_read
|
/AliOS-Things-master/components/py_engine/tests/float/ |
A D | math_fun_intbig.py | 9 for fun in (math.ceil, math.floor, math.trunc): 11 print("%.3g" % fun(x))
|
A D | math_factorial_intbig.py | 10 for fun in (math.factorial,): 13 print("%d" % fun(x))
|
A D | math_fun_int.py | 9 for fun in (math.ceil, math.floor, math.trunc): 12 print(fun(x))
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | fun3.py | 3 def fun(a, b, c, d, e, f, g): function 6 print(fun(1, 2, 3, 4, 5, 6, 7))
|
/AliOS-Things-master/components/py_engine/tests/unix/ |
A D | ffi_float2.py | 30 for fun in (tgammaf,): 32 print("%.6f" % fun(val))
|
A D | ffi_float.py | 38 for fun in (tgamma,): 40 print("%.6f" % fun(val))
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_pq.h | 114 void nghttp2_pq_update(nghttp2_pq *pq, nghttp2_pq_item_cb fun, void *arg); 123 int nghttp2_pq_each(nghttp2_pq *pq, nghttp2_pq_item_cb fun, void *arg);
|
A D | nghttp2_pq.c | 171 void nghttp2_pq_update(nghttp2_pq *pq, nghttp2_pq_item_cb fun, void *arg) in nghttp2_pq_update() argument 179 rv |= (*fun)(pq->q[i], arg); in nghttp2_pq_update() 188 int nghttp2_pq_each(nghttp2_pq *pq, nghttp2_pq_item_cb fun, void *arg) in nghttp2_pq_each() argument 196 if ((*fun)(pq->q[i], arg)) { in nghttp2_pq_each()
|
/AliOS-Things-master/components/posix/src/ |
A D | pthread_tsd.c | 23 void (*fun)(void *); member 58 if (pthread_key_list_s_c->head.fun != NULL) { in pthread_tsd_dtors() 59 pthread_key_list_s_c->head.fun((void *)key_value_s_cur->key_value.value); in pthread_tsd_dtors() 93 pthread_key_list_head.head.fun = destructor; in pthread_key_create() 117 pthread_key_list_s_c->head.fun = destructor; in pthread_key_create()
|
/AliOS-Things-master/components/drivers/external_device/rx8130ce/ |
A D | README.md | 47 * @fun rx8130ce_init 55 * @fun rx8130ce_set_time 63 * @fun rx8130ce_get_time
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/include/ |
A D | yunit.h | 17 #define AOS_EXPORT(ret, fun, ...) argument 21 #define AOS_COMPONENT_INIT(fun, ...) argument 25 #define AOS_TESTCASE(fun, ...) argument
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/systimer/ |
A D | module_systimer.c | 41 JSValue fun = t->js_cb_ref; in timer_action() local 51 fun = JS_DupValue(ctx, t->js_cb_ref); in timer_action() 55 JSValue val = JS_Call(ctx, fun, JS_UNDEFINED, 1, &value); in timer_action()
|