Home
last modified time | relevance | path

Searched refs:mp_obj_is_fun (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodlinkkit.c113 if (mp_obj_is_fun(on_connected)) { in demo_mqtt_event_handler()
206 if (mp_obj_is_fun(on_property_set)) { in demo_dm_recv_handler()
243 if (mp_obj_is_fun(on_async_service)) { in demo_dm_recv_handler()
386 if (mp_obj_is_fun(on_connected)) { in user_connected_event_handler()
398 if (mp_obj_is_fun(on_connected)) { in user_disconnected_event_handler()
A Dmodule_aiot_dynreg.c37 if (mp_obj_is_fun(cb)) { in pyamp_aiot_app_dynreg_recv_handler()
160 if (mp_obj_is_fun(cb)) { in pyamp_aiot_dynreg_http()
A Dmodule_aiot_device.c131 if (mp_obj_is_fun(iot_device_handle->callback[ON_SUBCRIBE])) { in subcribe_cb()
170 if (mp_obj_is_fun(param->iot_device_handle->callback[ON_PROPS])) { in aiot_device_notify()
198 if (mp_obj_is_fun(param->iot_device_handle->callback[ON_SERVICE])) { in aiot_device_notify()
214 if (mp_obj_is_fun(param->iot_device_handle->callback[ON_RAWDATA])) in aiot_device_notify()
231 if (mp_obj_is_fun(param->iot_device_handle->callback[param->cb_type])) { in aiot_device_notify()
A Dmodule_aiot_gateway.c146 if (mp_obj_is_fun(iot_gateway_handle->callback[ON_SUBCRIBE])) { in subcribe_cb()
171 if (mp_obj_is_fun(param->iot_gateway_handle->callback[param->cb_type])) { in aiot_subdev_notify()
185 if (mp_obj_is_fun(param->iot_gateway_handle->callback[param->cb_type])) { in aiot_subdev_notify()
201 if (mp_obj_is_fun(param->iot_gateway_handle->callback[param->cb_type])) { in aiot_subdev_notify()
A Dmodule_aiot_ntp.c54 if (mp_obj_is_fun(param->cb)) { in aiot_device_ntp_notify()
/AliOS-Things-master/components/py_engine/modules/ota/
A Dmodappota.c58 if (mp_obj_is_fun(ota_on_upgrade)) { in ota_install_notify()
150 if (mp_obj_is_fun(ota_on_verify)) { in ota_verify_notify()
253 if (mp_obj_is_fun(ota_on_download)) { in ota_download_notify()
412 if (mp_obj_is_fun(ota_on_trigger)) { in ota_trigger_notify()
/AliOS-Things-master/components/py_engine/modules/audio/
A Duvoicetts.c197 if (mp_obj_is_fun(callback_fun) == false) { in uvoice_tts_set_callback()
/AliOS-Things-master/components/py_engine/modules/mqtt/
A Dmqttclient.c50 if (mp_obj_is_fun(global_mqtt_on_subcribe)) { in messageArrived()
/AliOS-Things-master/components/py_engine/engine/py/
A Dobj.h719 #define mp_obj_is_fun(o) (mp_obj_is_obj(o) && (((mp_obj_base_t *)MP_OBJ_TO_PTR(o))->type->name == M… macro
1030 #define MP_OBJ_IS_FUN mp_obj_is_fun
A Dobjtype.c1203 if (mp_obj_is_fun(elem->value)) { in mp_obj_new_type()

Completed in 21 milliseconds