Searched refs:mp_obj_new_exception_msg (Results 1 – 16 of 16) sorted by relevance
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | mphalport.c | 151 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 D | mpthreadport.c | 141 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 D | mphalport.c | 151 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 D | mpthreadport.c | 141 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 D | mphalport.c | 199 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 D | mpthreadport.c | 147 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 D | parsenum.c | 149 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 D | parse.c | 720 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 D | objgenerator.c | 232 …*ret_val = mp_obj_new_exception_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("generator raised StopIte… in mp_obj_gen_resume()
|
A D | vm.c | 350 …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 D | emitinlinextensa.c | 47 *emit->error_slot = mp_obj_new_exception_msg(&mp_type_SyntaxError, msg); in emit_inline_xtensa_error_msg()
|
A D | runtime.c | 1356 …*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 D | objexcept.c | 388 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 D | obj.h | 744 #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 D | emitinlinethumb.c | 63 *emit->error_slot = mp_obj_new_exception_msg(&mp_type_SyntaxError, msg); in emit_inline_thumb_error_msg()
|
A D | compile.c | 203 comp->compile_error = mp_obj_new_exception_msg(&mp_type_SyntaxError, msg); in compile_syntax_error()
|
Completed in 33 milliseconds