/AliOS-Things-master/components/py_engine/modules/video/ |
A D | videocamera.c | 54 mp_raise_OSError(MP_EINVAL); in video_camera_open() 59 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_camera_open() 85 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_camera_close() 116 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_camera_preview() 121 mp_raise_OSError(MP_EINVAL); in video_camera_preview() 145 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_camera_capture() 172 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_camera_save() 175 VIDEO_CAMERA_OBJ_CHK(frame, MP_EINVAL, "frame is NULL"); in video_camera_save() 180 mp_raise_OSError(MP_EINVAL); in video_camera_save() 204 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_camera_config_set() [all …]
|
A D | videorecorder.c | 53 mp_raise_OSError(MP_EINVAL); in video_recorder_open() 59 mp_raise_OSError(MP_EINVAL); in video_recorder_open() 68 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_recorder_open() 96 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_recorder_close() 119 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_recorder_pause() 134 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_recorder_resume() 150 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_recorder_start() 166 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_recorder_stop()
|
A D | videoplayer.c | 52 mp_raise_OSError(MP_EINVAL); in video_player_open() 57 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_player_open() 95 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_player_close() 118 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_player_start() 132 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_player_stop() 148 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_player_save() 170 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_player_config_set() 191 VIDEO_CAMERA_OBJ_CHK(camera_obj, MP_EINVAL, "obj not init"); in video_player_config_get()
|
A D | videocommon.h | 53 mp_raise_OSError(MP_EINVAL); \
|
/AliOS-Things-master/components/py_engine/modules/driver/ |
A D | pwm.c | 53 mp_raise_OSError(MP_EINVAL); in obj_open() 60 mp_raise_OSError(MP_EINVAL); in obj_open() 66 mp_raise_OSError(MP_EINVAL); in obj_open() 112 return MP_ROM_INT(-MP_EINVAL); in obj_close() 135 return MP_ROM_INT(-MP_EINVAL); in obj_setOption() 141 return MP_ROM_INT(-MP_EINVAL); in obj_setOption() 195 return MP_ROM_INT(-MP_EINVAL); in obj_getOption() 201 return MP_ROM_INT(-MP_EINVAL); in obj_getOption() 207 return MP_ROM_INT(-MP_EINVAL); in obj_getOption()
|
A D | adc.c | 59 return MP_OBJ_NEW_SMALL_INT (-MP_EINVAL); in adc_open() 65 return MP_OBJ_NEW_SMALL_INT (-MP_EINVAL); in adc_open() 110 return MP_OBJ_NEW_SMALL_INT (-MP_EINVAL); in adc_close() 136 return MP_OBJ_NEW_SMALL_INT (-MP_EINVAL); in adc_read()
|
A D | i2c.c | 24 return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL); \ 84 return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL); in i2c_open()
|
A D | timer.c | 74 mp_raise_OSError(MP_EINVAL); in driver_timer_make_new() 173 mp_raise_OSError(MP_EINVAL); in driver_timer_period()
|
A D | spi.c | 26 return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL); \ 82 return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL); in spi_open()
|
A D | keypad.c | 35 mp_raise_OSError(MP_EINVAL); in keypad_obj_make_new()
|
A D | can.c | 37 mp_raise_OSError(MP_EINVAL); in can_obj_make_new()
|
A D | ir.c | 35 mp_raise_OSError(MP_EINVAL); in ir_obj_make_new()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | mpsalport.c | 41 return -MP_EINVAL; in mp_sal_mutex_lock() 55 return -MP_EINVAL; in mp_sal_mutex_unlock() 78 return -MP_EINVAL; in mp_sal_sem_take() 93 return -MP_EINVAL; in mp_sal_sem_give()
|
A D | machine_timer.c | 49 mp_raise_OSError(MP_EINVAL); in machine_timer_make_new() 147 mp_raise_OSError(MP_EINVAL); in machine_timer_period()
|
A D | modipc.c | 54 mp_raise_OSError(MP_EINVAL);
|
A D | machine_dac.c | 21 mp_raise_OSError(MP_EINVAL); \
|
A D | machine_adc.c | 24 mp_raise_OSError(MP_EINVAL); \
|
/AliOS-Things-master/components/py_engine/modules/ble/ |
A D | modble.c | 59 return mp_obj_new_int(MP_EINVAL); in ble_startAdv() 70 return mp_obj_new_int(MP_EINVAL); in ble_startAdv() 80 return mp_obj_new_int(MP_EINVAL); in ble_startAdv() 90 return mp_obj_new_int(MP_EINVAL); in ble_startAdv() 100 return mp_obj_new_int(MP_EINVAL); in ble_startAdv() 110 return mp_obj_new_int(MP_EINVAL); in ble_startAdv() 120 return mp_obj_new_int(MP_EINVAL); in ble_startAdv() 222 return mp_obj_new_int(MP_EINVAL); in ble_on()
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | vfs_fat_file.c | 46 [FR_INVALID_NAME] = MP_EINVAL, 49 [FR_INVALID_OBJECT] = MP_EINVAL, 59 [FR_INVALID_PARAMETER] = MP_EINVAL, 149 *errcode = MP_EINVAL; in file_obj_ioctl()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | mperrno.h | 61 #define MP_EINVAL (22) // Invalid argument macro 117 #define MP_EINVAL EINVAL macro
|
A D | objstringio.c | 138 *errcode = MP_EINVAL; // replace with MP_EOVERFLOW when defined in stringio_ioctl() 158 *errcode = MP_EINVAL; in stringio_ioctl()
|
/AliOS-Things-master/components/py_engine/engine/extmod/btstack/ |
A D | modbluetooth_btstack.c | 76 return MP_EINVAL; in btstack_error_to_errno() 708 return timeout ? MP_ETIMEDOUT : MP_EINVAL; in mp_bluetooth_init() 789 mp_raise_OSError(MP_EINVAL); in mp_bluetooth_set_address_mode() 801 mp_raise_OSError(MP_EINVAL); in mp_bluetooth_set_address_mode() 1018 return MP_EINVAL; in mp_bluetooth_gatts_register_service() 1036 return MP_EINVAL; in mp_bluetooth_gatts_register_service() 1062 return MP_EINVAL; in mp_bluetooth_gatts_register_service() 1201 return MP_EINVAL; in mp_bluetooth_set_preferred_mtu() 1308 return MP_EINVAL; in mp_bluetooth_gattc_discover_primary_services() 1340 return MP_EINVAL; in mp_bluetooth_gattc_discover_characteristics() [all …]
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/ |
A D | modbluetooth_nimble.c | 72 [BLE_HS_EINVAL] = MP_EINVAL, 80 [BLE_HS_EBADDATA] = MP_EINVAL, 723 mp_raise_OSError(MP_EINVAL); in mp_bluetooth_get_current_address() 787 return MP_EINVAL; in mp_bluetooth_gap_set_device_name() 1073 return MP_EINVAL; in mp_bluetooth_set_preferred_mtu() 1101 return MP_EINVAL; in mp_bluetooth_gap_passkey() 1679 return MP_EINVAL; in mp_bluetooth_l2cap_disconnect() 1689 return MP_EINVAL; in mp_bluetooth_l2cap_send() 1697 return MP_EINVAL; in mp_bluetooth_l2cap_send() 1703 return MP_EINVAL; in mp_bluetooth_l2cap_send() [all …]
|
/AliOS-Things-master/components/py_engine/modules/ucloud_ai/ |
A D | chatbot.c | 21 mp_raise_OSError(MP_EINVAL); \
|
/AliOS-Things-master/components/py_engine/engine/shared/runtime/ |
A D | sys_stdio_mphal.c | 97 *errcode = MP_EINVAL; in stdio_ioctl()
|