Home
last modified time | relevance | path

Searched refs:cb_data (Results 1 – 22 of 22) sorted by relevance

/external/bluetooth/bluedroid/bta/gatt/
Dbta_gatts_act.c188 tBTA_GATTS cb_data; in bta_gatts_register() local
221 cb_data.reg_oper.server_if = BTA_GATTS_INVALID_IF; in bta_gatts_register()
223 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()
232 cb_data.reg_oper.server_if = in bta_gatts_register()
262 cb_data.reg_oper.status = status; in bta_gatts_register()
264 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register()
305 tBTA_GATTS cb_data; in bta_gatts_deregister() local
307 cb_data.reg_oper.server_if = p_msg->api_dereg.server_if; in bta_gatts_deregister()
308 cb_data.reg_oper.status = status; in bta_gatts_deregister()
322 cb_data.reg_oper.status = status; in bta_gatts_deregister()
[all …]
Dbta_gattc_act.c180 tBTA_GATTC cb_data; in bta_gattc_register() local
188 memset(&cb_data, 0, sizeof(cb_data)); in bta_gattc_register()
189 cb_data.reg_oper.status = BTA_GATT_NO_RESOURCES; in bta_gattc_register()
213 cb_data.reg_oper.client_if = p_cb->cl_rcb[i].client_if; in bta_gattc_register()
239 memcpy(&(cb_data.reg_oper.app_uuid),p_app_uuid,sizeof(tBT_UUID)); in bta_gattc_register()
241 cb_data.reg_oper.status = status; in bta_gattc_register()
242 (*p_data->api_reg.p_cback)(BTA_GATTC_REG_EVT, (tBTA_GATTC *)&cb_data); in bta_gattc_register()
385 tBTA_GATTC cb_data; in bta_gattc_process_api_open_cancel() local
404 cb_data.status = BTA_GATT_ERROR; in bta_gattc_process_api_open_cancel()
405 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_process_api_open_cancel()
[all …]
Dbta_gattc_utils.c784 tBTA_GATTC cb_data; in bta_gattc_send_open_cback() local
788 memset(&cb_data, 0, sizeof(tBTA_GATTC)); in bta_gattc_send_open_cback()
790 cb_data.open.status = status; in bta_gattc_send_open_cback()
791 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback()
792 cb_data.open.conn_id = conn_id; in bta_gattc_send_open_cback()
793 cb_data.open.mtu = mtu; in bta_gattc_send_open_cback()
794 cb_data.open.transport = transport; in bta_gattc_send_open_cback()
795 bdcpy(cb_data.open.remote_bda, remote_bda); in bta_gattc_send_open_cback()
797 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
Dbta_gattc_cache.c1251 tBTA_GATTC cb_data; in bta_gattc_search_service() local
1265 memset(&cb_data, 0, sizeof(tBTA_GATTC)); in bta_gattc_search_service()
1267 cb_data.srvc_res.conn_id = p_clcb->bta_conn_id; in bta_gattc_search_service()
1268 memcpy(&cb_data.srvc_res.service_uuid, &p_cache->service_uuid, in bta_gattc_search_service()
1271 (* p_clcb->p_rcb->p_cback)(BTA_GATTC_SEARCH_RES_EVT, &cb_data); in bta_gattc_search_service()
/external/libunwind/src/arm/
DGex_tables.c463 struct arm_cb_data *cb_data = data; in arm_phdr_cb() local
474 if (cb_data->ip >= phdr->p_vaddr + info->dlpi_addr && in arm_phdr_cb()
475 cb_data->ip < phdr->p_vaddr + info->dlpi_addr + phdr->p_memsz) in arm_phdr_cb()
490 cb_data->di.format = UNW_INFO_FORMAT_ARM_EXIDX; in arm_phdr_cb()
491 cb_data->di.start_ip = p_text->p_vaddr + info->dlpi_addr; in arm_phdr_cb()
492 cb_data->di.end_ip = cb_data->di.start_ip + p_text->p_memsz; in arm_phdr_cb()
493 cb_data->di.u.rti.name_ptr = (unw_word_t) info->dlpi_name; in arm_phdr_cb()
494 cb_data->di.u.rti.table_data = p_arm_exidx->p_vaddr + info->dlpi_addr; in arm_phdr_cb()
495 cb_data->di.u.rti.table_len = p_arm_exidx->p_memsz; in arm_phdr_cb()
518 struct arm_cb_data cb_data; in arm_find_proc_info() local
[all …]
/external/libunwind/src/dwarf/
DGfind_proc_info-lsb.c520 struct dwarf_callback_data *cb_data = ptr; in dwarf_callback() local
521 unw_dyn_info_t *di = &cb_data->di; in dwarf_callback()
525 int ret, need_unwind_info = cb_data->need_unwind_info; in dwarf_callback()
526 unw_proc_info_t *pi = cb_data->pi; in dwarf_callback()
535 ip = cb_data->ip; in dwarf_callback()
653 cb_data->single_fde = 1; in dwarf_callback()
703 found = dwarf_find_debug_frame (found, &cb_data->di_debug, ip, in dwarf_callback()
715 struct dwarf_callback_data cb_data; in dwarf_find_proc_info() local
721 memset (&cb_data, 0, sizeof (cb_data)); in dwarf_find_proc_info()
722 cb_data.ip = ip; in dwarf_find_proc_info()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow.c45 struct read_write_mask_data * cb_data = userdata; in reads_normal_callback() local
54 cb_data->Cb(cb_data->UserData, fullinst, src->File, in reads_normal_callback()
59 cb_data->Cb(cb_data->UserData, fullinst, RC_FILE_ADDRESS, 0, in reads_normal_callback()
244 struct read_write_mask_data cb_data; in rc_for_all_reads_mask() local
245 cb_data.UserData = userdata; in rc_for_all_reads_mask()
246 cb_data.Cb = cb; in rc_for_all_reads_mask()
248 rc_for_all_reads_src(inst, reads_normal_callback, &cb_data); in rc_for_all_reads_mask()
516 struct get_readers_callback_data * cb_data, in get_readers_read_callback() argument
525 cb_data->ReaderData->Abort = 1; in get_readers_read_callback()
530 cb_data->DstFile, cb_data->DstIndex, cb_data->AliveWriteMask); in get_readers_read_callback()
[all …]
Dradeon_optimize.c710 struct peephole_mul_cb_data cb_data; in peephole_mul_omod() local
789 cb_data.Clobbered = 0; in peephole_mul_omod()
790 cb_data.Writer = &inst_mul->U.I.DstReg; in peephole_mul_omod()
804 &cb_data); in peephole_mul_omod()
806 &cb_data); in peephole_mul_omod()
807 if (cb_data.Clobbered) { in peephole_mul_omod()
813 if (cb_data.Clobbered) { in peephole_mul_omod()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_dataflow.c45 struct read_write_mask_data * cb_data = userdata; in reads_normal_callback() local
54 cb_data->Cb(cb_data->UserData, fullinst, src->File, in reads_normal_callback()
59 cb_data->Cb(cb_data->UserData, fullinst, RC_FILE_ADDRESS, 0, in reads_normal_callback()
244 struct read_write_mask_data cb_data; in rc_for_all_reads_mask() local
245 cb_data.UserData = userdata; in rc_for_all_reads_mask()
246 cb_data.Cb = cb; in rc_for_all_reads_mask()
248 rc_for_all_reads_src(inst, reads_normal_callback, &cb_data); in rc_for_all_reads_mask()
516 struct get_readers_callback_data * cb_data, in get_readers_read_callback() argument
525 cb_data->ReaderData->Abort = 1; in get_readers_read_callback()
530 cb_data->DstFile, cb_data->DstIndex, cb_data->AliveWriteMask); in get_readers_read_callback()
[all …]
Dradeon_optimize.c710 struct peephole_mul_cb_data cb_data; in peephole_mul_omod() local
789 cb_data.Clobbered = 0; in peephole_mul_omod()
790 cb_data.Writer = &inst_mul->U.I.DstReg; in peephole_mul_omod()
804 &cb_data); in peephole_mul_omod()
806 &cb_data); in peephole_mul_omod()
807 if (cb_data.Clobbered) { in peephole_mul_omod()
813 if (cb_data.Clobbered) { in peephole_mul_omod()
/external/bluetooth/bluedroid/stack/smp/
Dsmp_act.c86 tSMP_EVT_DATA cb_data; in smp_send_app_cback() local
95 cb_data.io_req.auth_req = p_cb->peer_auth_req; in smp_send_app_cback()
96 cb_data.io_req.oob_data = SMP_OOB_NONE; in smp_send_app_cback()
97 cb_data.io_req.io_cap = SMP_DEFAULT_IO_CAPS; in smp_send_app_cback()
98 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE; in smp_send_app_cback()
99 cb_data.io_req.init_keys = p_cb->loc_i_key ; in smp_send_app_cback()
100 cb_data.io_req.resp_keys = p_cb->loc_r_key ; in smp_send_app_cback()
102 SMP_TRACE_WARNING( "io_cap = %d",cb_data.io_req.io_cap); in smp_send_app_cback()
104 callback_rc = (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback()
110 p_cb->loc_auth_req = cb_data.io_req.auth_req; in smp_send_app_cback()
[all …]
/external/openssl/apps/
Dgenrsa.c294 PW_CB_DATA cb_data; in MAIN() local
295 cb_data.password = passout; in MAIN()
296 cb_data.prompt_info = outfile; in MAIN()
298 (pem_password_cb *)password_callback,&cb_data)) in MAIN()
Dapps.c556 PW_CB_DATA *cb_data = (PW_CB_DATA *)cb_tmp; in password_callback() local
558 if (cb_data) in password_callback()
560 if (cb_data->password) in password_callback()
561 password = cb_data->password; in password_callback()
562 if (cb_data->prompt_info) in password_callback()
563 prompt_info = cb_data->prompt_info; in password_callback()
744 pem_password_cb *pem_cb, void *cb_data, in load_pkcs12() argument
764 len = pem_cb(tpass, PEM_BUFSIZE, 0, cb_data); in load_pkcs12()
869 PW_CB_DATA cb_data; in load_key() local
871 cb_data.password = pass; in load_key()
[all …]
Dapps.h228 PW_CB_DATA *cb_data);
/external/chromium_org/chromeos/disks/
Ddisk_mount_manager.cc173 UnmountDeviceRecursivelyCallbackData* cb_data = in UnmountDeviceRecursively() local
182 cb_data, in UnmountDeviceRecursively()
187 cb_data, in UnmountDeviceRecursively()
292 UnmountDeviceRecursivelyCallbackData* cb_data, in OnUnmountDeviceRecursively() argument
302 cb_data->num_pending_callbacks--; in OnUnmountDeviceRecursively()
304 if (cb_data->num_pending_callbacks == 0) { in OnUnmountDeviceRecursively()
308 cb_data->callback.Run(success); in OnUnmountDeviceRecursively()
309 delete cb_data; in OnUnmountDeviceRecursively()
/external/ltrace/
Doutput.c433 struct fetch_one_param_data *cb_data = data; in fetch_one_param_cb() local
434 return CBS_STOP_IF(fetch_one_param(cb_data->tof, cb_data->proc, in fetch_one_param_cb()
435 cb_data->context, in fetch_one_param_cb()
436 cb_data->arguments, param, in fetch_one_param_cb()
437 cb_data->params_leftp) < 0); in fetch_one_param_cb()
446 struct fetch_one_param_data cb_data in fetch_params() local
449 &fetch_one_param_cb, &cb_data) != NULL) in fetch_params()
Dprototype.c103 struct each_param_data *cb_data = data; in each_param_cb() local
104 return (cb_data->cb)(cb_data->proto, param, cb_data->data); in each_param_cb()
113 struct each_param_data cb_data = { proto, cb, data }; in prototype_each_param() local
115 &each_param_cb, &cb_data); in prototype_each_param()
Dproc.c1057 void *cb_data; member
1064 return data->cb(data->proc, *bpp, data->cb_data); in each_breakpoint_cb()
1076 .cb_data = data, in proc_each_breakpoint()
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/
Dmain_wnd.cc126 UIThreadCallbackData* cb_data = reinterpret_cast<UIThreadCallbackData*>(data); in HandleUIThreadCallback() local
127 cb_data->callback->UIThreadCallback(cb_data->msg_id, cb_data->data); in HandleUIThreadCallback()
128 delete cb_data; in HandleUIThreadCallback()
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_utils.c2114 tGATT_CL_COMPLETE cb_data; in gatt_end_operation() local
2128 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation()
2129 cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation()
2130 cb_data.att_value.len = p_clcb->counter; in gatt_end_operation()
2132 memcpy (cb_data.att_value.value, p_data, cb_data.att_value.len); in gatt_end_operation()
2137 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation()
2138 cb_data.handle = in gatt_end_operation()
2139 cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation()
2144 cb_data.att_value = *((tGATT_VALUE *) p_data); in gatt_end_operation()
2154 cb_data.mtu = p_clcb->p_tcb->payload_size; in gatt_end_operation()
[all …]
/external/e2fsprogs/lib/quota/
Dmkquota.c413 static int scan_dquots_callback(struct dquot *dquot, void *cb_data) in scan_dquots_callback() argument
415 struct scan_dquots_data *scan_data = cb_data; in scan_dquots_callback()
/external/bluetooth/bluedroid/stack/btm/
Dbtm_ble.c880 tBTM_LE_EVT_DATA cb_data; in btm_sec_save_le_key() local
982 cb_data.key.p_key_value = p_keys; in btm_sec_save_le_key()
983 cb_data.key.key_type = key_type; in btm_sec_save_le_key()
984 (*btm_cb.api.p_le_callback) (BTM_LE_KEY_EVT, bd_addr, &cb_data); in btm_sec_save_le_key()