Searched refs:send_value (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objgenerator.c | 150 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 175 if (send_value != mp_const_none) { in mp_obj_gen_resume() 179 *self->code_state.sp = send_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() 269 STATIC mp_obj_t gen_instance_send(mp_obj_t self_in, mp_obj_t send_value) { in gen_instance_send() argument 270 return gen_resume_and_raise(self_in, send_value, MP_OBJ_NULL, true); in gen_instance_send()
|
A D | nativeglue.c | 194 STATIC bool mp_native_yield_from(mp_obj_t gen, mp_obj_t send_value, mp_obj_t *ret_value) { in mp_native_yield_from() argument 200 send_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()
|
A D | runtime.c | 1283 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() 1291 if (type->iternext != NULL && send_value == mp_const_none) { in mp_resume() 1311 if (send_value == mp_const_none) { in mp_resume() 1321 if (send_value != MP_OBJ_NULL) { in mp_resume() 1323 dest[2] = send_value; in mp_resume()
|
A D | nativeglue.h | 137 bool (*yield_from)(mp_obj_t gen, mp_obj_t send_value, mp_obj_t *ret_value);
|
A D | runtime.h | 155 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…
|
A D | vm.c | 1243 mp_obj_t send_value = POP(); in mp_execute_bytecode() local 1252 ret_kind = mp_resume(TOP(), send_value, MP_OBJ_NULL, &ret_value); in mp_execute_bytecode()
|
Completed in 13 milliseconds