Home
last modified time | relevance | path

Searched refs:throw_value (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dnativeglue.c197 mp_obj_t throw_value = *ret_value; in mp_native_yield_from() local
199 if (throw_value != MP_OBJ_NULL) { in mp_native_yield_from()
202 ret_kind = mp_resume(gen, send_value, throw_value, ret_value); in mp_native_yield_from()
223 …if (throw_value != MP_OBJ_NULL && mp_obj_exception_match(throw_value, MP_OBJ_FROM_PTR(&mp_type_Gen… in mp_native_yield_from()
224 nlr_raise(mp_make_raise_obj(throw_value)); in mp_native_yield_from()
A Dobjgenerator.c150 mp_vm_return_kind_t mp_obj_gen_resume(mp_obj_t self_in, mp_obj_t send_value, mp_obj_t throw_value, … in mp_obj_gen_resume() argument
169 throw_value = self->pend_exc; in mp_obj_gen_resume()
196 ret_kind = fun((void *)&self->code_state, throw_value); in mp_obj_gen_resume()
201 ret_kind = mp_execute_bytecode(&self->code_state, throw_value); in mp_obj_gen_resume()
241 STATIC mp_obj_t gen_resume_and_raise(mp_obj_t self_in, mp_obj_t send_value, mp_obj_t throw_value, b… in gen_resume_and_raise() argument
243 switch (mp_obj_gen_resume(self_in, send_value, throw_value, &ret)) { in gen_resume_and_raise()
A Druntime.c1283 mp_vm_return_kind_t mp_resume(mp_obj_t self_in, mp_obj_t send_value, mp_obj_t throw_value, mp_obj_t… in mp_resume() argument
1284 assert((send_value != MP_OBJ_NULL) ^ (throw_value != MP_OBJ_NULL)); in mp_resume()
1288 return mp_obj_gen_resume(self_in, send_value, throw_value, ret_val); in mp_resume()
1328 assert(throw_value != MP_OBJ_NULL); in mp_resume()
1330 …if (mp_obj_is_subclass_fast(MP_OBJ_FROM_PTR(mp_obj_get_type(throw_value)), MP_OBJ_FROM_PTR(&mp_typ… in mp_resume()
1342 dest[2] = throw_value; in mp_resume()
1354 if (mp_obj_exception_match(throw_value, MP_OBJ_FROM_PTR(&mp_type_StopIteration))) { in mp_resume()
1358 *ret_val = mp_make_raise_obj(throw_value); in mp_resume()
A Druntime.h155 mp_vm_return_kind_t mp_resume(mp_obj_t self_in, mp_obj_t send_value, mp_obj_t throw_value, mp_obj_t…

Completed in 9 milliseconds