Home
last modified time | relevance | path

Searched refs:MP_OBJ_ITER_BUF_NSLOTS (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dvm.c751 sp -= MP_OBJ_ITER_BUF_NSLOTS; in mp_execute_bytecode()
808 sp += MP_OBJ_ITER_BUF_NSLOTS - 1; in mp_execute_bytecode()
812 sp[-MP_OBJ_ITER_BUF_NSLOTS + 1] = MP_OBJ_NULL; in mp_execute_bytecode()
813 sp[-MP_OBJ_ITER_BUF_NSLOTS + 2] = obj; in mp_execute_bytecode()
824 if (sp[-MP_OBJ_ITER_BUF_NSLOTS + 1] == MP_OBJ_NULL) { in mp_execute_bytecode()
825 obj = sp[-MP_OBJ_ITER_BUF_NSLOTS + 2]; in mp_execute_bytecode()
827 obj = MP_OBJ_FROM_PTR(&sp[-MP_OBJ_ITER_BUF_NSLOTS + 1]); in mp_execute_bytecode()
831 sp -= MP_OBJ_ITER_BUF_NSLOTS; // pop the exhausted iterator in mp_execute_bytecode()
1436 code_state->sp -= MP_OBJ_ITER_BUF_NSLOTS; // pop the exhausted iterator in mp_execute_bytecode()
A Demitbc.c680 for (size_t i = 0; i < MP_OBJ_ITER_BUF_NSLOTS - 1; ++i) { in mp_emit_bc_unwind_jump()
715 int stack_adj = use_stack ? MP_OBJ_ITER_BUF_NSLOTS - 1 : 0; in mp_emit_bc_get_iter()
724 mp_emit_bc_adjust_stack_size(emit, -MP_OBJ_ITER_BUF_NSLOTS); in mp_emit_bc_for_iter_end()
A Demitnative.c2257 emit_get_stack_pointer_to_reg_for_push(emit, REG_ARG_2, MP_OBJ_ITER_BUF_NSLOTS); in emit_native_get_iter()
2269 emit_get_stack_pointer_to_reg_for_pop(emit, REG_ARG_1, MP_OBJ_ITER_BUF_NSLOTS); in emit_native_for_iter()
2270 adjust_stack(emit, MP_OBJ_ITER_BUF_NSLOTS); in emit_native_for_iter()
2285 adjust_stack(emit, -MP_OBJ_ITER_BUF_NSLOTS); in emit_native_for_iter_end()
A Dobj.h500 #define MP_OBJ_ITER_BUF_NSLOTS ((sizeof(mp_obj_iter_buf_t) + sizeof(mp_obj_t) - 1) / sizeof(mp_obj_… macro
A Dcompile.c3176 MP_STATIC_ASSERT(MP_OBJ_ITER_BUF_NSLOTS == 4); in compile_scope()

Completed in 32 milliseconds