/AliOS-Things-master/components/amp-utility/python/ |
A D | uarray.py | 15 def __init__(self,typecode,iterable=None): argument 24 def extend(self,iterable): argument
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | builtin_enumerate.py | 15 print(list(enumerate(iterable=[1, 2, 3]))) 16 print(list(enumerate(iterable=[1, 2, 3], start=1)))
|
/AliOS-Things-master/components/py_engine/tests/perf_bench/ |
A D | bm_nqueens.py | 9 def permutations(iterable, r=None): argument 11 pool = tuple(iterable)
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objenumerate.c | 51 mp_arg_val_t iterable, start; in enumerate_make_new() member 59 o->iter = mp_getiter(arg_vals.iterable.u_obj, NULL); in enumerate_make_new()
|
A D | modbuiltins.c | 98 mp_obj_t iterable = mp_getiter(o_in, &iter_buf); in mp_builtin_all() local 100 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in mp_builtin_all() 111 mp_obj_t iterable = mp_getiter(o_in, &iter_buf); in mp_builtin_any() local 113 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in mp_builtin_any() 273 mp_obj_t iterable = mp_getiter(args[0], &iter_buf); in mp_builtin_min_max() local 277 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in mp_builtin_min_max() 537 mp_obj_t iterable = mp_getiter(args[0], &iter_buf); in mp_builtin_sum() local 539 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in mp_builtin_sum()
|
A D | runtime.c | 763 mp_obj_t iterable = mp_getiter(pos_seq, &iter_buf); in mp_call_prepare_args_n_kw_var() local 765 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in mp_call_prepare_args_n_kw_var() 808 mp_obj_t iterable = mp_getiter(mp_call_method_n_kw(0, 0, dest), NULL); in mp_call_prepare_args_n_kw_var() local 811 while ((key = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in mp_call_prepare_args_n_kw_var() 871 mp_obj_t iterable = mp_getiter(seq_in, &iter_buf); in mp_unpack_sequence() local 874 mp_obj_t el = mp_iternext(iterable); in mp_unpack_sequence() 880 if (mp_iternext(iterable) != MP_OBJ_STOP_ITERATION) { in mp_unpack_sequence() 929 mp_obj_t iterable = mp_getiter(seq_in, NULL); in mp_unpack_ex() local 932 item = mp_iternext(iterable); in mp_unpack_ex() 939 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in mp_unpack_ex()
|
A D | objtuple.c | 91 mp_obj_t iterable = mp_getiter(args[0], NULL); in mp_obj_tuple_make_new() local 93 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in mp_obj_tuple_make_new()
|
A D | objset.c | 118 mp_obj_t iterable = mp_getiter(args[0], NULL); in set_make_new() local 120 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in set_make_new()
|
A D | objarray.c | 145 mp_obj_t iterable = mp_getiter(initializer, NULL); in array_construct() local 148 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in array_construct()
|
A D | objlist.c | 65 STATIC mp_obj_t list_extend_from_iter(mp_obj_t list, mp_obj_t iterable) { in list_extend_from_iter() argument 66 mp_obj_t iter = mp_getiter(iterable, NULL); in list_extend_from_iter()
|
A D | objstr.c | 259 mp_obj_t iterable = mp_getiter(args[0], &iter_buf); in bytes_make_new() local 261 while ((item = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in bytes_make_new()
|
/AliOS-Things-master/components/py_engine/tests/internal_bench/ |
A D | func_builtin-2-enum_kw.py | 6 enumerate(iterable=[1, 2], start=1)
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modbluetooth.c | 485 mp_obj_t iterable = mp_getiter(characteristics_in, &iter_buf); in bluetooth_gatts_register_service() local 508 while ((characteristic_obj = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in bluetooth_gatts_register_service() 579 mp_obj_t iterable = mp_getiter(services_in, &iter_buf); in bluetooth_ble_gatts_register_services() local 595 while ((service_tuple_obj = mp_iternext(iterable)) != MP_OBJ_STOP_ITERATION) { in bluetooth_ble_gatts_register_services()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | quickjs.c | 36434 JSValueConst iterable; in js_object_fromEntries() local 36439 iterable = argv[0]; in js_object_fromEntries() 36445 iter = JS_GetIterator(ctx, iterable, FALSE); in js_object_fromEntries()
|