Home
last modified time | relevance | path

Searched refs:mp_obj_new_exception_msg (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmphalport.c151 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "pin index out range")); in mp_hal_pin_config_set()
161 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "pin index out range")); in mp_hal_pin_config_get()
174 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_high fail")); in mp_hal_pin_high()
186 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_low fail")); in mp_hal_pin_low()
199 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_read fail")); in mp_hal_pin_read()
A Dmpthreadport.c141 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "thread_t alloc fail")); in mp_thread_create_ex()
151 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "can't create thread")); in mp_thread_create_ex()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmphalport.c151 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "pin index out range")); in mp_hal_pin_config_set()
161 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "pin index out range")); in mp_hal_pin_config_get()
174 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_high fail")); in mp_hal_pin_high()
186 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_low fail")); in mp_hal_pin_low()
199 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_read fail")); in mp_hal_pin_read()
A Dmpthreadport.c141 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "thread_t alloc fail")); in mp_thread_create_ex()
151 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "can't create thread")); in mp_thread_create_ex()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmphalport.c199 mp_obj_new_exception_msg(&mp_type_OSError, "pin index out range")); in mp_hal_pin_config_set()
211 mp_obj_new_exception_msg(&mp_type_OSError, "pin index out range")); in mp_hal_pin_config_get()
226 mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_high fail")); in mp_hal_pin_high()
240 mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_low fail")); in mp_hal_pin_low()
255 mp_obj_new_exception_msg(&mp_type_OSError, "mp_hal_pin_read fail")); in mp_hal_pin_read()
A Dmpthreadport.c147 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "thread_t alloc fail")); in mp_thread_create_ex()
152 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "task alloc fail")); in mp_thread_create_ex()
158 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "stack alloc fail")); in mp_thread_create_ex()
169 nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "can't create thread")); in mp_thread_create_ex()
/AliOS-Things-master/components/py_engine/engine/py/
A Dparsenum.c149 mp_obj_t exc = mp_obj_new_exception_msg(&mp_type_ValueError, in mp_parse_num_integer()
347 …raise_exc(mp_obj_new_exception_msg(&mp_type_ValueError, MP_ERROR_TEXT("complex values not supporte… in mp_parse_num_decimal()
355 …raise_exc(mp_obj_new_exception_msg(&mp_type_ValueError, MP_ERROR_TEXT("invalid syntax for number")… in mp_parse_num_decimal()
358 …raise_exc(mp_obj_new_exception_msg(&mp_type_ValueError, MP_ERROR_TEXT("decimal numbers not support… in mp_parse_num_decimal()
A Dparse.c720 mp_obj_t exc = mp_obj_new_exception_msg(&mp_type_SyntaxError, in fold_constants()
1150 exc = mp_obj_new_exception_msg(&mp_type_IndentationError, in mp_parse()
1153 exc = mp_obj_new_exception_msg(&mp_type_IndentationError, in mp_parse()
1157 exc = mp_obj_new_exception_msg(&mp_type_SyntaxError, in mp_parse()
1160 exc = mp_obj_new_exception_msg(&mp_type_SyntaxError, in mp_parse()
1164 exc = mp_obj_new_exception_msg(&mp_type_SyntaxError, in mp_parse()
A Dobjgenerator.c232 …*ret_val = mp_obj_new_exception_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("generator raised StopIte… in mp_obj_gen_resume()
A Dvm.c350 …mp_obj_t obj = mp_obj_new_exception_msg(&mp_type_NameError, MP_ERROR_TEXT("local variable referenc… in mp_execute_bytecode()
1209 …obj = mp_obj_new_exception_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("no active exception to rerais… in mp_execute_bytecode()
1350 … mp_obj_t obj = mp_obj_new_exception_msg(&mp_type_NotImplementedError, MP_ERROR_TEXT("opcode")); in mp_execute_bytecode()
A Demitinlinextensa.c47 *emit->error_slot = mp_obj_new_exception_msg(&mp_type_SyntaxError, msg); in emit_inline_xtensa_error_msg()
A Druntime.c1356 …*ret_val = mp_obj_new_exception_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("generator raised StopIte… in mp_resume()
1377 …return mp_obj_new_exception_msg(&mp_type_TypeError, MP_ERROR_TEXT("exceptions must derive from Bas… in mp_make_raise_obj()
1548 nlr_raise(mp_obj_new_exception_msg(exc_type, msg)); in mp_raise_msg()
A Dobjexcept.c388 mp_obj_t mp_obj_new_exception_msg(const mp_obj_type_t *exc_type, mp_rom_error_text_t msg) { in mp_obj_new_exception_msg() function
A Dobj.h744 #define mp_obj_new_exception_msg(exc_type, msg) mp_obj_new_exception(exc_type) macro
747 mp_obj_t mp_obj_new_exception_msg(const mp_obj_type_t *exc_type, mp_rom_error_text_t msg);
A Demitinlinethumb.c63 *emit->error_slot = mp_obj_new_exception_msg(&mp_type_SyntaxError, msg); in emit_inline_thumb_error_msg()
A Dcompile.c203 comp->compile_error = mp_obj_new_exception_msg(&mp_type_SyntaxError, msg); in compile_syntax_error()

Completed in 33 milliseconds