Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/AliOS-Things-master/components/ble_host/bt_host/host/
A Dtesting.c25 sys_slist_append(&cb_slist, &cb->node); in bt_test_cb_register()
37 struct bt_test_cb *cb; in bt_test_mesh_net_recv() local
40 if (cb->mesh_net_recv) { in bt_test_mesh_net_recv()
50 struct bt_test_cb *cb; in bt_test_mesh_model_bound() local
53 if (cb->mesh_model_bound) { in bt_test_mesh_model_bound()
62 struct bt_test_cb *cb; in bt_test_mesh_model_unbound() local
65 if (cb->mesh_model_unbound) { in bt_test_mesh_model_unbound()
73 struct bt_test_cb *cb; in bt_test_mesh_prov_invalid_bearer() local
76 if (cb->mesh_prov_invalid_bearer) { in bt_test_mesh_prov_invalid_bearer()
84 struct bt_test_cb *cb; in bt_test_mesh_trans_incomp_timer_exp() local
[all …]
A Dconn.c139 for (cb = callback_list; cb; cb = cb->_next) { in notify_connected()
154 for (cb = callback_list; cb; cb = cb->_next) { in notify_disconnected()
174 for (cb = callback_list; cb; cb = cb->_next) { in notify_remote_info()
197 for (cb = callback_list; cb; cb = cb->_next) { in notify_le_param_updated()
211 for (cb = callback_list; cb; cb = cb->_next) { in notify_le_data_len_updated()
224 for (cb = callback_list; cb; cb = cb->_next) { in notify_le_phy_updated()
240 for (cb = callback_list; cb; cb = cb->_next) { in le_param_req()
329 cb = tx->cb; in tx_notify()
1007 for (cb = callback_list; cb; cb = cb->_next) { in bt_conn_identity_resolved()
1100 for (cb = callback_list; cb; cb = cb->_next) { in bt_conn_security_changed()
[all …]
/AliOS-Things-master/components/amp/jslib/src/
A Diot.js48 subscribe(options, cb) { argument
67 publish(options, cb) { argument
76 getNtpTime(cb) { argument
84 postProps(params, cb) { argument
94 onProps(cb) { argument
113 onService(cb) { argument
122 end(cb) { argument
189 getTopo(cb) { argument
207 login(options, cb) { argument
216 logout(options, cb) { argument
[all …]
A Dappota.js22 download(options, cb) { argument
23 APPOTA.otaDownload(options, cb);
26 verify(options, cb) { argument
27 APPOTA.otaVerify(options, cb);
37 upgrade(options, cb) { argument
38 APPOTA.otaUpgrade(options, cb);
/AliOS-Things-master/kernel/rhino/
A Dk_timer.c49 NULL_PARA_CHK(cb); in timer_create()
64 timer->cb = cb; in timer_create()
99 cb.timer = timer; in krhino_timer_del()
136 cb.timer = timer; in krhino_timer_dyn_del()
149 cb.timer = timer; in krhino_timer_start()
161 cb.timer = timer; in krhino_timer_stop()
199 cb.timer = timer; in krhino_timer_arg_change()
200 cb.u.arg = arg; in krhino_timer_arg_change()
212 cb.timer = timer; in krhino_timer_arg_change_auto()
213 cb.u.arg = arg; in krhino_timer_arg_change_auto()
[all …]
/AliOS-Things-master/components/amp/libjs/lib/
A Diot.js47 subscribe(options, cb) { argument
56 unsubscribe(topic, cb) { argument
65 publish(options, cb) { argument
74 postProps(params, cb) { argument
83 onProps(cb) { argument
101 onService(cb) { argument
110 end(cb) { argument
163 addTopo(options, cb) { argument
172 getTopo(cb) { argument
190 login(options, cb) { argument
[all …]
A Dappota.js22 download(options, cb) { argument
23 __native.APPOTA.otaDownload(options, cb);
26 verify(options, cb) { argument
27 __native.APPOTA.otaVerify(options, cb);
37 upgrade(options, cb) { argument
38 __native.APPOTA.otaUpgrade(options, cb);
/AliOS-Things-master/components/linkkit/include/linkkit/infra/
A Dinfra_compat.h127 #define IOT_RegisterCallback(evt, cb) iotx_register_for_##evt(cb) argument
128 #define DECLARE_EVENT_CALLBACK(evt, cb) int iotx_register_for_##evt(cb); argument
140 DECLARE_EVENT_CALLBACK(ITE_AWSS_STATUS, int (*cb)(int))
141 DECLARE_EVENT_CALLBACK(ITE_CONNECT_SUCC, int (*cb)(void))
142 DECLARE_EVENT_CALLBACK(ITE_CONNECT_FAIL, int (*cb)(void))
143 DECLARE_EVENT_CALLBACK(ITE_DISCONNECTED, int (*cb)(void))
147 int (*cb)(const int, const char *, const int,
155 int (*cb)(const char *, const int))
164 DECLARE_EVENT_CALLBACK(ITE_TIMESTAMP_REPLY, int (*cb)(const char *))
170 DECLARE_EVENT_CALLBACK(ITE_FOTA, int (*cb)(const int, const char *))
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_cb.h87 void lv_cb_set_text(lv_obj_t * cb, const char * txt);
95 void lv_cb_set_static_text(lv_obj_t * cb, const char * txt);
102 static inline void lv_cb_set_checked(lv_obj_t * cb, bool checked) in lv_cb_set_checked() argument
104 lv_btn_set_state(cb, checked ? LV_BTN_STATE_TGL_REL : LV_BTN_STATE_REL); in lv_cb_set_checked()
111 static inline void lv_cb_set_inactive(lv_obj_t * cb) in lv_cb_set_inactive() argument
113 lv_btn_set_state(cb, LV_BTN_STATE_INA); in lv_cb_set_inactive()
133 const char * lv_cb_get_text(const lv_obj_t * cb);
140 static inline bool lv_cb_is_checked(const lv_obj_t * cb) in lv_cb_is_checked() argument
142 return lv_btn_get_state(cb) == LV_BTN_STATE_REL ? false : true; in lv_cb_is_checked()
150 static inline bool lv_cb_is_inactive(const lv_obj_t * cb) in lv_cb_is_inactive() argument
[all …]
A Dlv_cb.c127 void lv_cb_set_text(lv_obj_t * cb, const char * txt) in lv_cb_set_text() argument
129 lv_cb_ext_t * ext = lv_obj_get_ext_attr(cb); in lv_cb_set_text()
141 lv_cb_ext_t * ext = lv_obj_get_ext_attr(cb); in lv_cb_set_static_text()
153 lv_cb_ext_t * ext = lv_obj_get_ext_attr(cb); in lv_cb_set_style()
180 const char * lv_cb_get_text(const lv_obj_t * cb) in lv_cb_get_text() argument
182 lv_cb_ext_t * ext = lv_obj_get_ext_attr(cb); in lv_cb_get_text()
229 result = ancestor_bg_design(cb, mask, mode); in lv_cb_design()
237 result = ancestor_bg_design(cb, mask, mode); in lv_cb_design()
240 result = ancestor_bg_design(cb, mask, mode); in lv_cb_design()
301 res = ancestor_signal(cb, sign, param); in lv_cb_signal()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/
A Ducloud_ai_engine.c61 ucloud_ai_cb_t cb = (ucloud_ai_cb_t)eng->callback; in ucloud_ai_engine_model_infer() local
65 ucloud_ai_facebody_comparing_face(eng->src1, eng->src2, cb); in ucloud_ai_engine_model_infer()
71 ucloud_ai_facebody_recognize_expression(eng->src1, cb); in ucloud_ai_engine_model_infer()
76 ucloud_ai_objectdet_detect_object(eng->src1, cb); in ucloud_ai_engine_model_infer()
79 ucloud_ai_objectdet_detect_main_body(eng->src1, cb); in ucloud_ai_engine_model_infer()
84 ucloud_ai_imageseg_segment_common_image(eng->src1, cb); in ucloud_ai_engine_model_infer()
87 ucloud_ai_imageseg_segment_face(eng->src1, cb); in ucloud_ai_engine_model_infer()
98 ucloud_ai_ocr_recognize_bank_card(eng->src1, cb); in ucloud_ai_engine_model_infer()
101 ucloud_ai_ocr_recognize_character(eng->src1, cb); in ucloud_ai_engine_model_infer()
106 ucloud_ai_imagerecog_classifying_rubbish(eng->src1, cb); in ucloud_ai_engine_model_infer()
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dhealth_srv.c57 if (srv->cb && srv->cb->fault_get_reg) { in health_get_registered()
92 if (srv->cb && srv->cb->fault_get_cur) { in health_get_current()
145 if (srv->cb && srv->cb->fault_clear) { in health_fault_clear_unrel()
162 if (srv->cb && srv->cb->fault_clear) { in health_fault_clear()
186 if (srv->cb && srv->cb->fault_test) { in health_fault_test_unrel()
207 if (srv->cb && srv->cb->fault_test) { in health_fault_test()
392 if (srv->cb && srv->cb->attn_off) { in attention_off()
448 if (srv->cb && srv->cb->attn_on) { in bt_mesh_attention()
449 srv->cb->attn_on(model); in bt_mesh_attention()
456 if (srv->cb && srv->cb->attn_off) { in bt_mesh_attention()
[all …]
/AliOS-Things-master/components/ucloud_ai/src/
A Ducloud_ai_ocr.c12 void ucloud_ai_ocr_recognize_identity_card_face_side(char *path, ucloud_ai_cb_t cb) in ucloud_ai_ocr_recognize_identity_card_face_side() argument
23 recognizeIdentityCardFaceSide(p_upload_url, cb); in ucloud_ai_ocr_recognize_identity_card_face_side()
27 void ucloud_ai_ocr_recognize_identity_card_back_side(char *path, ucloud_ai_cb_t cb) in ucloud_ai_ocr_recognize_identity_card_back_side() argument
38 recognizeIdentityCardBackSide(p_upload_url, cb); in ucloud_ai_ocr_recognize_identity_card_back_side()
42 void ucloud_ai_ocr_recognize_bank_card(char *path, ucloud_ai_cb_t cb) in ucloud_ai_ocr_recognize_bank_card() argument
53 recognizeBankCard(p_upload_url, cb); in ucloud_ai_ocr_recognize_bank_card()
57 void ucloud_ai_ocr_recognize_character(char *path, ucloud_ai_cb_t cb) in ucloud_ai_ocr_recognize_character() argument
68 recognizeCharacter(p_upload_url, cb); in ucloud_ai_ocr_recognize_character()
A Ducloud_ai_facebody.c12 void ucloud_ai_facebody_comparing_face(char *path, char *myface, ucloud_ai_cb_t cb) in ucloud_ai_facebody_comparing_face() argument
38 compareFace(p_upload_url, p_myface_url, cb); in ucloud_ai_facebody_comparing_face()
42 void ucloud_ai_facebody_recognize_expression(char *path, ucloud_ai_cb_t cb) in ucloud_ai_facebody_recognize_expression() argument
53 recognizeExpression(p_upload_url, cb); in ucloud_ai_facebody_recognize_expression()
57 void ucloud_ai_facebody_generate_human_anime_style(char *path, ucloud_ai_cb_t cb) in ucloud_ai_facebody_generate_human_anime_style() argument
69 generateHumanAnimeStyle(p_upload_url, cb); in ucloud_ai_facebody_generate_human_anime_style()
A Ducloud_ai_imagerecog.c11 void ucloud_ai_imagerecog_classifying_rubbish(char *path, ucloud_ai_cb_t cb) in ucloud_ai_imagerecog_classifying_rubbish() argument
22 classifyingRubbish(p_upload_url, cb); in ucloud_ai_imagerecog_classifying_rubbish()
26 void ucloud_ai_imagerecog_detect_fruits(char *path, ucloud_ai_cb_t cb) in ucloud_ai_imagerecog_detect_fruits() argument
37 detectFruits(p_upload_url, cb); in ucloud_ai_imagerecog_detect_fruits()
/AliOS-Things-master/components/uservice/src/
A Devent_svr.c34 event_callback_t cb; member
173 param.cb = NULL; in event_publish_fd()
178 void event_subscribe_fd(uint32_t fd, event_callback_t cb, void *context) in event_subscribe_fd() argument
180 aos_assert(cb); in event_subscribe_fd()
183 param.cb = cb; in event_subscribe_fd()
193 param.cb = cb; in event_unsubscribe_fd()
220 void event_subscribe(uint32_t event_id, event_callback_t cb, void *context) in event_subscribe() argument
222 aos_assert(cb); in event_subscribe()
225 param.cb = cb; in event_subscribe()
233 aos_assert(cb); in event_unsubscribe()
[all …]
A Devent.c47 if (node->ecb == cb && node->context == context) { in find_event_sub()
112 e_sub = find_event_sub(ev, cb, context); in __yoc_event_subscribe()
117 e_sub->ecb = cb; in __yoc_event_subscribe()
133 aos_assert(evlist && cb); in eventlist_subscribe_fd()
140 return __yoc_event_subscribe(evlist, fd, cb, context); in eventlist_subscribe_fd()
145 aos_assert(evlist && cb); in eventlist_subscribe()
150 return __yoc_event_subscribe(evlist, event_id, cb, context); in eventlist_subscribe()
209 aos_assert(evlist && cb); in eventlist_unsubscribe_fd()
216 return __yoc_event_unsubscribe(evlist, fd, cb, context); in eventlist_unsubscribe_fd()
221 aos_assert(evlist && cb); in eventlist_unsubscribe()
[all …]
/AliOS-Things-master/components/uvoice/common/
A Devent.c32 uvoice_event_cb cb; member
50 node->cb(event, node->data); in uvoice_event_handle()
167 node->cb(&event, node->data); in uvoice_event_post()
178 int uvoice_event_register(uint16_t type, uvoice_event_cb cb, void *data) in uvoice_event_register() argument
191 if (!cb) { in uvoice_event_register()
202 node->cb = cb; in uvoice_event_register()
209 return os_event_register(type, cb, data); in uvoice_event_register()
213 int uvoice_event_unregister(uint16_t type, uvoice_event_cb cb, void *data) in uvoice_event_unregister() argument
226 if (node->cb != cb) in uvoice_event_unregister()
241 return os_event_unregister(type, cb, data); in uvoice_event_unregister()
/AliOS-Things-master/components/ble_host/ble_profiles/
A Duart_server.c180 int uart_server_send(uart_handle_t handle, const char *data, int length, bt_uart_send_cb *cb) in uart_server_send() argument
192 if (cb != NULL && cb->start != NULL) { in uart_server_send()
193 cb->start(0, NULL); in uart_server_send()
204 cb->end(-1, NULL); in uart_server_send()
214 if (cb != NULL && cb->end != NULL) { in uart_server_send()
215 cb->end(ret, NULL); in uart_server_send()
225 if (cb != NULL && cb->end != NULL) { in uart_server_send()
226 cb->end(0, NULL); in uart_server_send()
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/
A Dawss_cmp.h33 void *cb; member
53 int awss_cmp_coap_register_cb(char *topic, void *cb);
55 void *cb, uint16_t *msgid);
57 void *req, void *cb, uint16_t *msgid, char qos);
59 void *cb);
62 int awss_cmp_mqtt_register_cb(char *topic, void *cb);
A Dawss_event.c15 void *cb = NULL; in awss_event_post() local
19 cb = (void *)iotx_event_callback(ITE_AWSS_STATUS); in awss_event_post()
20 if (cb) { in awss_event_post()
21 ret = ((int (*)(int))cb)(event); in awss_event_post()
/AliOS-Things-master/components/ucloud_ai/include/
A Ducloud_ai_ocr.h25 void ucloud_ai_ocr_recognize_identity_card_face_side(char *path, ucloud_ai_cb_t cb);
34 void ucloud_ai_ocr_recognize_identity_card_back_side(char *path, ucloud_ai_cb_t cb);
43 void ucloud_ai_ocr_recognize_bank_card(char *path, ucloud_ai_cb_t cb);
52 void ucloud_ai_ocr_recognize_character(char *path, ucloud_ai_cb_t cb);
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/gpio/
A Dmain.py6 def cb(obj): function
13 gpio.enableIrq(cb)
15 gpio.disableIrq(cb)
16 gpio.clearIrq(cb)
/AliOS-Things-master/components/py_engine/tests/haas/HaaS200/python-apps/driver/gpio/
A Dmain.py6 def cb(obj): function
13 gpio.enableIrq(cb)
15 gpio.disableIrq(cb)
16 gpio.clearIrq(cb)
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/gpio/
A Dmain.py6 def cb(obj): function
13 gpio.enableIrq(cb)
15 gpio.disableIrq(cb)
16 gpio.clearIrq(cb)

Completed in 35 milliseconds

12345678910>>...14