Home
last modified time | relevance | path

Searched refs:MP_EINVAL (Results 1 – 25 of 65) sorted by relevance

123

/AliOS-Things-master/components/py_engine/modules/video/
A Dvideocamera.c54 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 Dvideorecorder.c53 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 Dvideoplayer.c52 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 Dvideocommon.h53 mp_raise_OSError(MP_EINVAL); \
/AliOS-Things-master/components/py_engine/modules/driver/
A Dpwm.c53 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 Dadc.c59 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 Di2c.c24 return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL); \
84 return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL); in i2c_open()
A Dtimer.c74 mp_raise_OSError(MP_EINVAL); in driver_timer_make_new()
173 mp_raise_OSError(MP_EINVAL); in driver_timer_period()
A Dspi.c26 return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL); \
82 return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL); in spi_open()
A Dkeypad.c35 mp_raise_OSError(MP_EINVAL); in keypad_obj_make_new()
A Dcan.c37 mp_raise_OSError(MP_EINVAL); in can_obj_make_new()
A Dir.c35 mp_raise_OSError(MP_EINVAL); in ir_obj_make_new()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmpsalport.c41 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 Dmachine_timer.c49 mp_raise_OSError(MP_EINVAL); in machine_timer_make_new()
147 mp_raise_OSError(MP_EINVAL); in machine_timer_period()
A Dmodipc.c54 mp_raise_OSError(MP_EINVAL);
A Dmachine_dac.c21 mp_raise_OSError(MP_EINVAL); \
A Dmachine_adc.c24 mp_raise_OSError(MP_EINVAL); \
/AliOS-Things-master/components/py_engine/modules/ble/
A Dmodble.c59 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 Dvfs_fat_file.c46 [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 Dmperrno.h61 #define MP_EINVAL (22) // Invalid argument macro
117 #define MP_EINVAL EINVAL macro
A Dobjstringio.c138 *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 Dmodbluetooth_btstack.c76 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 Dmodbluetooth_nimble.c72 [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 Dchatbot.c21 mp_raise_OSError(MP_EINVAL); \
/AliOS-Things-master/components/py_engine/engine/shared/runtime/
A Dsys_stdio_mphal.c97 *errcode = MP_EINVAL; in stdio_ioctl()

Completed in 33 milliseconds

123