Home
last modified time | relevance | path

Searched refs:user_data (Results 1 – 25 of 211) sorted by relevance

123456789

/AliOS-Things-master/components/littlevgl/src/lv_draw/
A Dlv_img_decoder.c123 dsc->user_data = NULL; in lv_img_decoder_open()
329 lv_img_decoder_built_in_data_t * user_data = dsc->user_data; in lv_img_decoder_built_in_open() local
376 lv_img_decoder_built_in_data_t * user_data = dsc->user_data; in lv_img_decoder_built_in_open() local
481 lv_img_decoder_built_in_data_t * user_data = dsc->user_data; in lv_img_decoder_built_in_close() local
482 if(user_data) { in lv_img_decoder_built_in_close()
484 if(user_data->f) { in lv_img_decoder_built_in_close()
489 if(user_data->palette) lv_mem_free(user_data->palette); in lv_img_decoder_built_in_close()
493 dsc->user_data = NULL; in lv_img_decoder_built_in_close()
506 lv_img_decoder_built_in_data_t * user_data = dsc->user_data; in lv_img_decoder_built_in_line_true_color() local
596 lv_img_decoder_built_in_data_t * user_data = dsc->user_data; in lv_img_decoder_built_in_line_alpha() local
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/mesh_port/
A Dbt_mesh_event_port.c27 message.status_data = evt_data->user_data; in mesh_model_event_cb()
40 message.status_data = evt_data->user_data; in mesh_model_event_cb()
53 message.status_data = evt_data->user_data; in mesh_model_event_cb()
66 message.status_data = evt_data->user_data; in mesh_model_event_cb()
79 message.status_data = evt_data->user_data; in mesh_model_event_cb()
92 message.status_data = evt_data->user_data; in mesh_model_event_cb()
105 message.status_data = evt_data->user_data; in mesh_model_event_cb()
118 message.status_data = evt_data->user_data; in mesh_model_event_cb()
131 message.status_data = evt_data->user_data; in mesh_model_event_cb()
144 message.status_data = evt_data->user_data; in mesh_model_event_cb()
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_async.c38 lv_res_t lv_async_call(lv_async_cb_t async_xcb, void * user_data) in lv_async_call() argument
56 info->user_data = user_data; in lv_async_call()
59 task->user_data = info; in lv_async_call()
70 lv_async_info_t *info = (lv_async_info_t *)task->user_data; in lv_async_task_cb()
72 info->cb(info->user_data); in lv_async_task_cb()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/c/
A Dc_api_internal.h49 void* user_data = nullptr; member
55 const TfLiteRegistration* (*find_builtin_op)(void* user_data,
61 const TfLiteRegistration* (*find_custom_op)(void* user_data, const char* op,
68 void* user_data = nullptr; member
71 void (*error_reporter)(void* user_data, const char* format,
/AliOS-Things-master/components/linkkit/include/linkkit/
A Dhttp2_api.h61 void *user_data);
66 uint8_t flags, void *user_data);
69 uint32_t error_code, void *user_data);
73 uint8_t flags, void *user_data);
77 uint8_t flags, void *user_data);
103 void *user_data; /* user data brought in at stream open */ member
A Dhttp2_upload_api.h74 void *user_data);
80 void *user_data);
101 http2_upload_result_cb_t *cb, void *user_data);
/AliOS-Things-master/components/csi/csi1/include/drv/
A Dsdif.h119 void (*card_inserted)(uint32_t idx, void *user_data); ///< card insert call back
120 void (*card_removed)(uint32_t idx, void *user_data); ///< card remove call back
121 void (*sdif_interrupt)(uint32_t idx, void *user_data); ///< SDIF card interrupt occurs
122 void (*dma_des_unavailable)(uint32_t idx, void *user_data);///< DMA descriptor unavailable
123 void (*command_reload)(uint32_t idx, void *user_data); ///< command buffer full,need re-load
127 void *user_data); ///<Transfer complete callback
187 sdif_handle_t drv_sdif_initialize(uint32_t idx, sdif_callback_t *callback, void *user_data);
/AliOS-Things-master/components/linkkit/external/nghttp2/
A Dnghttp2.h1360 void *user_data);
1388 void *user_data);
1454 void *user_data);
1798 void *user_data);
1829 nghttp2_rcbuf *value, uint8_t flags, void *user_data);
1880 uint32_t remote_max_frame_size, void *user_data);
1929 size_t len, void *user_data);
2667 void *user_data);
2692 void *user_data);
2717 void *user_data, const nghttp2_option *option);
[all …]
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandtouch.h79 …surface_extension_set_user_data(struct qt_surface_extension *qt_surface_extension, void *user_data) in qt_surface_extension_set_user_data() argument
81 wl_proxy_set_user_data((struct wl_proxy *) qt_surface_extension, user_data); in qt_surface_extension_set_user_data()
168 qt_extended_surface_set_user_data(struct qt_extended_surface *qt_extended_surface, void *user_data) in qt_extended_surface_set_user_data() argument
170 WAYLAND_wl_proxy_set_user_data((struct wl_proxy *) qt_extended_surface, user_data); in qt_extended_surface_set_user_data()
271 qt_touch_extension_set_user_data(struct qt_touch_extension *qt_touch_extension, void *user_data) in qt_touch_extension_set_user_data() argument
273 WAYLAND_wl_proxy_set_user_data((struct wl_proxy *) qt_touch_extension, user_data); in qt_touch_extension_set_user_data()
326 qt_windowmanager_set_user_data(struct qt_windowmanager *qt_windowmanager, void *user_data) in qt_windowmanager_set_user_data() argument
328 WAYLAND_wl_proxy_set_user_data((struct wl_proxy *) qt_windowmanager, user_data); in qt_windowmanager_set_user_data()
/AliOS-Things-master/components/netmgr/netdev/src/
A Dnetdev_lwip.c49 if(netif->user_data) in lwip_netdev_set_default()
50 netifapi_netif_set_default((struct netif *)netif->user_data); in lwip_netdev_set_default()
57 struct netif *lwip_if = (struct netif *)netif->user_data; in lwip_netdev_set_up()
83 netifapi_dhcp_stop((struct netif *)netif->user_data); in lwip_netdev_set_down()
84 netifapi_netif_set_down((struct netif *)netif->user_data); in lwip_netdev_set_down()
98 netif_set_ipaddr((struct netif *)netif->user_data, ip_addr); in lwip_netdev_set_addr_info()
108 netif_set_gw((struct netif *)netif->user_data, gw); in lwip_netdev_set_addr_info()
130 ((struct netif *)(netif->user_data))->flags |= NETIF_FLAG_DHCP; in lwip_netdev_set_dhcp()
131 netifapi_dhcp_start((struct netif *)netif->user_data); in lwip_netdev_set_dhcp()
136 netifapi_dhcp_stop((struct netif *)netif->user_data); in lwip_netdev_set_dhcp()
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/srv/
A Dlight_lightness_srv.c126 elem = model->user_data; in _light_lightness_analyze()
182 message.user_data = elem; in _light_lightness_analyze()
228 elem = model->user_data; in _light_lightness_linear_prepare_buf()
291 elem = model->user_data; in _light_lightness_linear_analyze()
410 elem = model->user_data; in _light_lightness_last_status()
444 elem = model->user_data; in _light_lightness_defatult_status()
478 elem = model->user_data; in _light_lightness_range_status()
521 elem = model->user_data; in _light_lightness_default_analyze()
544 message.user_data = elem; in _light_lightness_default_analyze()
581 elem = model->user_data; in _light_lightness_range_analyze()
[all …]
/AliOS-Things-master/components/linkkit/http2/
A Diotx_http2.c52 size_t length, int flags, void *user_data) in send_callback() argument
58 connection = (http2_connection_t *)user_data; in send_callback()
96 size_t length, int flags, void *user_data) in recv_callback() argument
102 connection = (http2_connection_t *)user_data; in recv_callback()
137 http2_connection_t *connection = (http2_connection_t *)user_data; in on_frame_send_callback()
212 http2_connection_t *connection = (http2_connection_t *)user_data; in on_frame_recv_callback()
292 void *user_data) in on_h2_stream_close_callback() argument
295 http2_connection_t *connection = (http2_connection_t *)user_data; in on_h2_stream_close_callback()
334 size_t len, void *user_data) in on_data_chunk_recv_callback() argument
337 http2_connection_t *connection = (http2_connection_t *)user_data; in on_data_chunk_recv_callback()
[all …]
A Dhttp2_api.c187 char *user_data = NULL; in on_stream_header() local
195 user_data = node->user_data; in on_stream_header()
253 char *user_data = NULL; in on_stream_chunk_recv() local
261 user_data = node->user_data; in on_stream_chunk_recv()
274 char *user_data = NULL; in on_stream_close() local
282 user_data = node->user_data; in on_stream_close()
294 char *user_data = NULL; in on_stream_frame_send() local
302 user_data = node->user_data; in on_stream_frame_send()
314 char *user_data = NULL; in on_stream_frame_recv() local
321 user_data = node->user_data; in on_stream_frame_recv()
[all …]
A Dhttp2_upload_api.c54 void *user_data; member
147 fs_rsp_header_val_t *open_rsp = (fs_rsp_header_val_t *)info->user_data; in _http2_fs_open_channel()
294 fs_node->user_data); in _http2_fs_node_handle()
305 channel_info.user_data = (void *)&rsp_data; in _http2_fs_node_handle()
310 fs_node->end_cb(fs_node->file_path, res, fs_node->user_data); in _http2_fs_node_handle()
320 fs_node->user_data); in _http2_fs_node_handle()
345 fs_node->user_data); in _http2_fs_node_handle()
370 fs_node->end_cb(fs_node->file_path, res, fs_node->user_data); in _http2_fs_node_handle()
382 fs_node->end_cb(fs_node->file_path, UPLOAD_SUCCESS, fs_node->user_data); in _http2_fs_node_handle()
529 http2_upload_result_cb_t *cb, void *user_data) in IOT_HTTP2_UploadFile_Request() argument
[all …]
/AliOS-Things-master/components/genie_service/core/src/sig_models/
A Dsig_model_lightness_srv.c19 sig_model_state_t *p_state = &((sig_model_element_state_t *)p_model->user_data)->state; in _lightness_prepare_buf()
79 p_elem = p_model->user_data; in _lightness_analyze()
151 if (!p_model || !p_model->user_data) in _lightness_get()
166 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _lightness_get()
182 if (!p_model || !p_model->user_data) in _lightness_set()
197 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _lightness_set()
211 … sig_model_event(SIG_MODEL_EVT_ANALYZE_MSG, (sig_model_element_state_t *)p_model->user_data); in _lightness_set()
225 if (!p_model || !p_model->user_data) in _lightness_set_unack()
240 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _lightness_set_unack()
249 sig_model_event(SIG_MODEL_EVT_ANALYZE_MSG, (sig_model_element_state_t *)p_model->user_data); in _lightness_set_unack()
A Dsig_model_scene_srv.c18 sig_model_state_t *p_state = &((sig_model_element_state_t *)p_model->user_data)->state; in _scene_prepare_buf()
55 p_elem = p_model->user_data; in _scene_analyze()
106 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _scene_get()
136 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _scene_set()
147 … sig_model_event(SIG_MODEL_EVT_ANALYZE_MSG, (sig_model_element_state_t *)p_model->user_data); in _scene_set()
172 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _scene_set_unack()
176 sig_model_event(SIG_MODEL_EVT_ANALYZE_MSG, (sig_model_element_state_t *)p_model->user_data); in _scene_set_unack()
A Dsig_model_light_ctl_srv.c18 sig_model_state_t *p_state = &((sig_model_element_state_t *)p_model->user_data)->state; in _ctl_prepare_buf()
83 p_elem = p_model->user_data; in _ctl_analyze()
166 if (!p_model || !p_model->user_data) in _ctl_get()
181 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _ctl_get()
197 if (!p_model || !p_model->user_data) in _ctl_set()
212 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _ctl_set()
226 … sig_model_event(SIG_MODEL_EVT_ANALYZE_MSG, (sig_model_element_state_t *)p_model->user_data); in _ctl_set()
240 if (!p_model || !p_model->user_data) in _ctl_set_unack()
255 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _ctl_set_unack()
264 sig_model_event(SIG_MODEL_EVT_ANALYZE_MSG, (sig_model_element_state_t *)p_model->user_data); in _ctl_set_unack()
A Dsig_model_onoff_srv.c19 sig_model_state_t *p_state = &((sig_model_element_state_t *)p_model->user_data)->state; in _gen_onoff_prepear_buf()
83 p_elem = p_model->user_data; in _gen_onoff_analyze()
161 if (!p_model || !p_model->user_data) in _gen_onoff_get()
176 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _gen_onoff_get()
205 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _gen_onoff_set()
216 … sig_model_event(SIG_MODEL_EVT_ANALYZE_MSG, (sig_model_element_state_t *)p_model->user_data); in _gen_onoff_set()
240 p_elem_state = (sig_model_element_state_t *)p_model->user_data; in _gen_onoff_set_unack()
244 sig_model_event(SIG_MODEL_EVT_ANALYZE_MSG, (sig_model_element_state_t *)p_model->user_data); in _gen_onoff_set_unack()
/AliOS-Things-master/components/csi/csi2/include/drv/
A Dsdif.h175 void (*card_inserted)(uint32_t idx, void *user_data); ///< card insert call back
176 void (*card_removed)(uint32_t idx, void *user_data); ///< card remove call back
177 void (*sdif_interrupt)(uint32_t idx, void *user_data); ///< SDIF card interrupt occurs
178 void (*dma_des_unavailable)(uint32_t idx, void *user_data);///< DMA descriptor unavailable
179 void (*command_reload)(uint32_t idx, void *user_data); ///< command buffer full,need re-load
183 void *user_data); ///<Transfer complete callback
243 sdif_handle_t drv_sdif_initialize(uint32_t idx, sdif_callback_t *callback, void *user_data);
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/wireless/bt_host/
A Dbt_gatts_adapter.c103 out->user_data = (void *)uuid; in bt_gatts_define_gatt_srvc()
118 out->user_data = (void *)data; in bt_gatts_define_gatt_char()
126 out->user_data = NULL; in bt_gatts_define_gatt_char_val()
137 out->user_data = (void *)ccc; in bt_gatts_define_ccc()
205 amp_bt_gatts_adapter_usr_data_t *old = ptr->user_data; in bt_gatts_adapter_update_user_data()
206 amp_bt_gatts_adapter_usr_data_t **new = &(ptr->user_data); in bt_gatts_adapter_update_user_data()
244 struct bt_gatt_ccc_t *ccc = (struct bt_gatt_ccc_t *)g_attrs_list[ii+1].user_data; in bt_gatts_adapter_update_chars()
275 amp_bt_gatts_adapter_usr_data_t *data = g_attrs_list[ii].user_data; in bt_gatts_adapter_event_callback()
299 amp_bt_gatts_adapter_usr_data_t *data = g_attrs_list[ii].user_data; in bt_gatts_adapter_event_callback()
312 … struct bt_gatt_ccc_t *ccc = (struct bt_gatt_ccc_t *)g_attrs_list[ii+1].user_data; in bt_gatts_adapter_event_callback()
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dgatt.c1212 void *user_data) in get_service_handles() argument
1677 void *user_data; member
1762 nfy_mult_user_data(*buf)->user_data = params->user_data; in gatt_notify_mult()
1916 ccc = attr->user_data; in notify_cb()
2272 ccc = attr->user_data; in update_ccc()
2334 ccc = attr->user_data; in disconnected_cb()
2427 ccc = attr->user_data; in bt_gatt_is_subscribed()
2796 void *user_data) in read_included_uuid_cb() argument
3175 void *user_data) in gatt_read_group_rsp() argument
3582 void *user_data) in gatt_read_mult_vl_rsp() argument
[all …]
/AliOS-Things-master/components/py_engine/modules/ble/
A Dbt_gatts_adapter.c103 out->user_data = (void *)bt_gatts_declare_16bits_uuid(uuid); in bt_gatts_define_gatt_srvc()
120 out->user_data = (void *)data; in bt_gatts_define_gatt_char()
130 out->user_data = NULL; in bt_gatts_define_gatt_char_val()
143 out->user_data = (void *)ccc; in bt_gatts_define_ccc()
238 (amp_bt_gatts_adapter_usr_data_t *)ptr->user_data; in bt_gatts_adapter_update_user_data()
240 (amp_bt_gatts_adapter_usr_data_t **)&(ptr->user_data); in bt_gatts_adapter_update_user_data()
316 ccc = (struct bt_gatt_ccc_t *)g_attrs_list[ccc_index].user_data; in bt_gatts_adapter_update_chars()
358 .user_data; in bt_gatts_adapter_event_callback()
391 .user_data; in bt_gatts_adapter_event_callback()
407 (struct bt_gatt_ccc_t *)g_attrs_list[ii].user_data; in bt_gatts_adapter_event_callback()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/wireless/bt_host/
A Dbt_gatts_adapter.c103 out->user_data = (void *)bt_gatts_declare_16bits_uuid(uuid); in bt_gatts_define_gatt_srvc()
118 out->user_data = (void *)data; in bt_gatts_define_gatt_char()
126 out->user_data = NULL; in bt_gatts_define_gatt_char_val()
137 out->user_data = (void *)ccc; in bt_gatts_define_ccc()
207 amp_bt_gatts_adapter_usr_data_t *old = (amp_bt_gatts_adapter_usr_data_t *)ptr->user_data; in bt_gatts_adapter_update_user_data()
208 amp_bt_gatts_adapter_usr_data_t **new = (amp_bt_gatts_adapter_usr_data_t **)&(ptr->user_data); in bt_gatts_adapter_update_user_data()
274 ccc = (struct bt_gatt_ccc_t *)g_attrs_list[ccc_index].user_data; in bt_gatts_adapter_update_chars()
306 …_bt_gatts_adapter_usr_data_t *data = (amp_bt_gatts_adapter_usr_data_t *)g_attrs_list[ii].user_data; in bt_gatts_adapter_event_callback()
330 …_bt_gatts_adapter_usr_data_t *data = (amp_bt_gatts_adapter_usr_data_t *)g_attrs_list[ii].user_data; in bt_gatts_adapter_event_callback()
343 … struct bt_gatt_ccc_t *ccc = (struct bt_gatt_ccc_t *)g_attrs_list[ii].user_data; in bt_gatts_adapter_event_callback()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dhealth_srv.c47 struct bt_mesh_health_srv *srv = mod->user_data; in health_get_registered()
79 struct bt_mesh_health_srv *srv = mod->user_data; in health_get_current()
138 struct bt_mesh_health_srv *srv = model->user_data; in health_fault_clear_unrel()
155 struct bt_mesh_health_srv *srv = model->user_data; in health_fault_clear()
177 struct bt_mesh_health_srv *srv = model->user_data; in health_fault_test_unrel()
196 struct bt_mesh_health_srv *srv = model->user_data; in health_fault_test()
229 struct bt_mesh_health_srv *srv = model->user_data; in send_attention_status()
399 struct bt_mesh_health_srv *srv = model->user_data; in bt_mesh_health_srv_init()
444 srv = model->user_data; in bt_mesh_attention()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Dcircular_buffer.cc92 TFLITE_DCHECK(node->user_data != nullptr); in Prepare()
93 OpData* op_data = static_cast<OpData*>(node->user_data); in Prepare()
130 node->user_data = op_data; in Prepare()
149 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
150 OpData* data = reinterpret_cast<OpData*>(node->user_data); in Eval()

Completed in 206 milliseconds

123456789