Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 220) sorted by relevance

123456789

/system/bt/stack/btu/
Dbtu_hcif.c145 UINT8 *p = (UINT8 *)(p_msg + 1) + p_msg->offset; in btu_hcif_process_event() local
431 static void btu_hcif_inquiry_comp_evt (UINT8 *p) in btu_hcif_inquiry_comp_evt()
451 static void btu_hcif_inquiry_result_evt (UINT8 *p) in btu_hcif_inquiry_result_evt()
466 static void btu_hcif_inquiry_rssi_result_evt (UINT8 *p) in btu_hcif_inquiry_rssi_result_evt()
481 static void btu_hcif_extended_inquiry_result_evt (UINT8 *p) in btu_hcif_extended_inquiry_result_evt()
496 static void btu_hcif_connection_comp_evt (UINT8 *p) in btu_hcif_connection_comp_evt()
542 static void btu_hcif_connection_request_evt (UINT8 *p) in btu_hcif_connection_request_evt()
576 static void btu_hcif_disconnection_comp_evt (UINT8 *p) in btu_hcif_disconnection_comp_evt()
608 static void btu_hcif_authentication_comp_evt (UINT8 *p) in btu_hcif_authentication_comp_evt()
629 static void btu_hcif_rmt_name_request_comp_evt (UINT8 *p, UINT16 evt_len) in btu_hcif_rmt_name_request_comp_evt()
[all …]
/system/bt/stack/hcic/
Dhcicmds.c41 BT_HDR *p; in btsnd_hcic_inquiry() local
65 BT_HDR *p; in btsnd_hcic_inq_cancel() local
85 BT_HDR *p; in btsnd_hcic_per_inq_mode() local
111 BT_HDR *p; in btsnd_hcic_exit_per_inq() local
133 BT_HDR *p; in btsnd_hcic_create_conn() local
168 BT_HDR *p; in btsnd_hcic_disconnect() local
191 BT_HDR *p; in btsnd_hcic_add_SCO_conn() local
215 BT_HDR *p; in btsnd_hcic_create_conn_cancel() local
237 BT_HDR *p; in btsnd_hcic_accept_conn() local
261 BT_HDR *p; in btsnd_hcic_reject_conn() local
[all …]
Dhciblecmds.c40 BT_HDR *p; in btsnd_hcic_ble_set_local_used_feat() local
60 BT_HDR *p; in btsnd_hcic_ble_set_random_addr() local
85 BT_HDR *p; in btsnd_hcic_ble_write_adv_params() local
113 BT_HDR *p; in btsnd_hcic_ble_read_adv_chnl_tx_power() local
134 BT_HDR *p; in btsnd_hcic_ble_set_adv_data() local
165 BT_HDR *p; in btsnd_hcic_ble_set_scan_rsp_data() local
199 BT_HDR *p; in btsnd_hcic_ble_set_adv_enable() local
222 BT_HDR *p; in btsnd_hcic_ble_set_scan_params() local
248 BT_HDR *p; in btsnd_hcic_ble_set_scan_enable() local
278 BT_HDR *p; in btsnd_hcic_ble_create_ll_conn() local
[all …]
/system/bt/stack/avdt/
Davdt_msg.c270 static void avdt_msg_bld_cfg(UINT8 **p, tAVDT_CFG *p_cfg) in avdt_msg_bld_cfg()
375 static void avdt_msg_bld_none(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_none()
393 static void avdt_msg_bld_single(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_single()
409 static void avdt_msg_bld_setconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_setconfig_cmd()
427 static void avdt_msg_bld_reconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_reconfig_cmd()
447 static void avdt_msg_bld_multi(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_multi()
467 static void avdt_msg_bld_security_cmd(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_security_cmd()
484 static void avdt_msg_bld_delay_rpt(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_delay_rpt()
501 static void avdt_msg_bld_discover_rsp(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_discover_rsp()
526 static void avdt_msg_bld_svccap(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_svccap()
[all …]
Davdt_defs.h145 #define AVDT_MSG_PRS_HDR(p, lbl, pkt, msg) \ argument
150 #define AVDT_MSG_PRS_DISC(p, seid, in_use, type, tsep) \ argument
156 #define AVDT_MSG_PRS_SIG(p, sig) \ argument
159 #define AVDT_MSG_PRS_SEID(p, seid) \ argument
162 #define AVDT_MSG_PRS_PKT_TYPE(p, pkt) \ argument
165 #define AVDT_MSG_PRS_OCTET1(p, o_v, o_p, o_x, o_cc) \ argument
171 #define AVDT_MSG_PRS_RPT_OCTET1(p, o_v, o_p, o_cc) \ argument
176 #define AVDT_MSG_PRS_M_PT(p, m_pt, marker) \ argument
180 #define AVDT_MSG_BLD_HDR(p, lbl, pkt, msg) \ argument
183 #define AVDT_MSG_BLD_DISC(p, seid, in_use, type, tsep) \ argument
[all …]
/system/bt/stack/btm/
Dbtm_acl.c96 tACL_CONN *p = &btm_cb.acl_db[0]; in btm_bda_to_acl() local
129 tACL_CONN *p = &btm_cb.acl_db[0]; in btm_handle_to_acl_index() local
213 tACL_CONN *p; in btm_acl_created() local
378 tACL_CONN *p; in btm_acl_removed() local
471 tACL_CONN *p = &btm_cb.acl_db[0]; in btm_acl_device_down() local
565 tACL_CONN *p; in BTM_GetRole() local
598 tACL_CONN *p; in BTM_SwitchRole() local
725 tACL_CONN *p; in btm_acl_encrypt_change() local
816 tACL_CONN *p; in BTM_SetLinkPolicy() local
907 void btm_read_remote_version_complete (UINT8 *p) in btm_read_remote_version_complete()
[all …]
Dbtm_sco.c85 tSCO_CONN *p ; in btm_sco_flush_sco_data() local
274 UINT8 *p = (UINT8 *)(p_msg + 1) + p_msg->offset; in btm_route_sco_data() local
330 UINT8 *p; in BTM_WriteScoData() local
576 tSCO_CONN *p = &btm_cb.sco_cb.sco_db[0]; in BTM_CreateSco() local
741 tSCO_CONN *p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_chk_pend_unpark() local
775 tSCO_CONN *p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_chk_pend_rolechange() local
806 tSCO_CONN *p = &p_sco->sco_db[0]; in btm_sco_conn_req() local
904 tSCO_CONN *p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_connected() local
1002 tSCO_CONN *p = &btm_cb.sco_cb.sco_db[0]; in btm_find_scb_by_handle() local
1028 tSCO_CONN *p = &btm_cb.sco_cb.sco_db[sco_inx]; in BTM_RemoveSco() local
[all …]
Dbtm_ble_addr.c49 static void btm_gen_resolve_paddr_cmpl(tSMP_ENC *p) in btm_gen_resolve_paddr_cmpl()
91 void btm_gen_resolve_paddr_low(tBTM_RAND_ENC *p) in btm_gen_resolve_paddr_low()
145 static void btm_gen_non_resolve_paddr_cmpl(tBTM_RAND_ENC *p) in btm_gen_non_resolve_paddr_cmpl()
185 void btm_gen_non_resolvable_private_addr (tBTM_BLE_ADDR_CBACK *p_cback, void *p) in btm_gen_non_resolvable_private_addr()
243 static BOOLEAN btm_ble_proc_resolve_x(tSMP_ENC *p) in btm_ble_proc_resolve_x()
398 void btm_ble_resolve_random_addr(BD_ADDR random_bda, tBTM_BLE_RESOLVE_CBACK * p_cback, void *p) in btm_ble_resolve_random_addr()
611 tACL_CONN *p = btm_bda_to_acl(pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_local_resolvable_private_addr() local
Dbtm_ble_privacy.c227 void btm_ble_clear_resolving_list_complete(UINT8 *p, UINT16 evt_len) in btm_ble_clear_resolving_list_complete()
274 void btm_ble_add_resolving_list_entry_complete(UINT8 *p, UINT16 evt_len) in btm_ble_add_resolving_list_entry_complete()
317 void btm_ble_remove_resolving_list_entry_complete(UINT8 *p, UINT16 evt_len) in btm_ble_remove_resolving_list_entry_complete()
355 void btm_ble_read_resolving_list_entry_complete(UINT8 *p, UINT16 evt_len) in btm_ble_read_resolving_list_entry_complete()
404 UINT8 *p = p_params->p_param_buf, op_subcode; in btm_ble_resolving_list_vsc_op_cmpl() local
461 UINT8 *p = param; in btm_ble_remove_resolving_list_entry() local
502 UINT8 *p = param; in btm_ble_clear_resolving_list() local
541 UINT8 *p = param; in btm_ble_read_resolving_list_entry() local
651 UINT8 param[20], *p; in btm_ble_vendor_enable_irk_feature() local
809 UINT8 *p = param; in btm_ble_resolving_list_load_dev() local
/system/core/libmemtrack/
Dmemtrack.c71 void memtrack_proc_destroy(struct memtrack_proc *p) in memtrack_proc_destroy()
117 static int memtrack_proc_sanity_check(struct memtrack_proc *p) in memtrack_proc_sanity_check()
123 int memtrack_proc_get(struct memtrack_proc *p, pid_t pid) in memtrack_proc_get()
143 static ssize_t memtrack_proc_sum(struct memtrack_proc *p, in memtrack_proc_sum()
163 ssize_t memtrack_proc_graphics_total(struct memtrack_proc *p) in memtrack_proc_graphics_total()
169 ssize_t memtrack_proc_graphics_pss(struct memtrack_proc *p) in memtrack_proc_graphics_pss()
176 ssize_t memtrack_proc_gl_total(struct memtrack_proc *p) in memtrack_proc_gl_total()
182 ssize_t memtrack_proc_gl_pss(struct memtrack_proc *p) in memtrack_proc_gl_pss()
189 ssize_t memtrack_proc_other_total(struct memtrack_proc *p) in memtrack_proc_other_total()
197 ssize_t memtrack_proc_other_pss(struct memtrack_proc *p) in memtrack_proc_other_pss()
/system/extras/simpleperf/
Drecord.cpp50 void MoveFromBinaryFormat(T& data, const char*& p) { in MoveFromBinaryFormat()
56 void MoveToBinaryFormat(const T& data, char*& p) { in MoveToBinaryFormat()
91 void SampleId::ReadFromBinaryFormat(const perf_event_attr& attr, const char* p, const char* end) { in ReadFromBinaryFormat()
175 const char* p = reinterpret_cast<const char*>(pheader + 1); in MmapRecord() local
192 char* p = buf.data(); in BinaryFormat() local
203 const char* p = reinterpret_cast<const char*>(pheader + 1); in CommRecord() local
218 char* p = buf.data(); in BinaryFormat() local
229 const char* p = reinterpret_cast<const char*>(pheader + 1); in ExitRecord() local
243 const char* p = reinterpret_cast<const char*>(pheader + 1); in SampleRecord() local
307 const char* p = reinterpret_cast<const char*>(pheader + 1); in BuildIdRecord() local
[all …]
/system/bt/test/bluedroidtest/
Dbluedroidtest.c186 unsigned char *p = data; in hex_dump() local
243 void skip_blanks(char **p) in skip_blanks()
249 uint32_t get_int(char **p, int DefaultValue) in get_int()
270 int get_signed_int(char **p, int DefaultValue) in get_signed_int()
297 void get_str(char **p, char *Buffer) in get_str()
311 uint32_t get_hex(char **p, int DefaultValue) in get_hex()
579 void bdt_dut_mode_configure(char *p) in bdt_dut_mode_configure()
602 void bdt_le_test_mode(char *p) in bdt_le_test_mode()
660 void do_help(char UNUSED *p) in do_help()
675 void do_quit(char UNUSED *p) in do_quit()
[all …]
/system/bt/stack/gatt/
Datt_protocol.c49 UINT8 *p; in attp_build_mtu_cmd() local
75 UINT8 *p; in attp_build_exec_write_cmd() local
110 UINT8 *p; in attp_build_err_cmd() local
139 UINT8 *p; in attp_build_browse_cmd() local
168 UINT8 *p; in attp_build_read_by_type_value_cmd() local
205 UINT8 *p, i = 0; in attp_build_read_multi_cmd() local
237 UINT8 *p; in attp_build_handle_cmd() local
273 UINT8 *p; in attp_build_opcode_cmd() local
299 UINT8 *p, *pp, pair_len, *p_pair_len; in attp_build_value_cmd() local
/system/bt/stack/include/
Dbt_types.h230 #define HCI_GET_CMD_HDR_OPCODE(p) (UINT16)((*((UINT8 *)((p) + 1) + p->offset) + \ argument
232 #define HCI_GET_CMD_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 2)) argument
234 #define HCI_GET_EVT_HDR_OPCODE(p) (UINT8)(*((UINT8 *)((p) + 1) + p->offset)) argument
235 #define HCI_GET_EVT_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 1)) argument
241 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UI… argument
242 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… argument
243 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} argument
244 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} argument
245 #define INT8_TO_STREAM(p, u8) {*(p)++ = (INT8)(u8);} argument
246 #define ARRAY32_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 32; ijk++) *(p)++… argument
[all …]
/system/bt/stack/smp/
Dsmp_keys.c77 void smp_debug_print_nbyte_little_endian(UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_little_endian()
101 void smp_debug_print_nbyte_big_endian (UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_big_endian()
143 UINT8 *p = NULL; in smp_encrypt_data() local
225 void smp_proc_passkey(tSMP_CB *p_cb , tBTM_RAND_ENC *p) in smp_proc_passkey()
408 UINT8 *p=buffer; in smp_compute_csrk() local
476 UINT8 *p = *p_data; in smp_concatenate_local() local
496 UINT8 *p = *p_data; in smp_concatenate_peer() local
522 UINT8 *p = (UINT8 *)p1; in smp_gen_p1_4_confirm() local
576 UINT8 *p = (UINT8 *)p2; in smp_gen_p2_4_confirm() local
658 static void smp_calculate_comfirm_cont(tSMP_CB *p_cb, tSMP_ENC *p) in smp_calculate_comfirm_cont()
[all …]
Dsmp_utils.c385 UINT8 *p; in smp_build_pairing_cmd() local
418 UINT8 *p; in smp_build_confirm_cmd() local
445 UINT8 *p; in smp_build_rand_cmd() local
473 UINT8 *p; in smp_build_encrypt_info_cmd() local
501 UINT8 *p; in smp_build_master_id_cmd() local
531 UINT8 *p; in smp_build_identity_info_cmd() local
563 UINT8 *p; in smp_build_id_addr_cmd() local
593 UINT8 *p; in smp_build_signing_info_cmd() local
621 UINT8 *p; in smp_build_pairing_fail() local
649 UINT8 *p; in smp_build_security_request() local
[all …]
/system/core/run-as/
Dpackage.c284 skip_spaces(const char* p, const char* end) in skip_spaces()
296 skip_non_spaces(const char* p, const char* end) in skip_non_spaces()
308 find_first(const char* p, const char* end, char ch) in find_first()
323 compare_name(const char* p, const char* end, const char* name) in compare_name()
362 const char* p = *pp; in parse_spaces() local
386 const char* p = *pp; in parse_positive_decimal() local
429 const char* p; in get_package_info() local
/system/core/adb/
Dadb_auth.cpp36 apacket *p; in send_auth_request() local
56 apacket *p = get_apacket(); in send_auth_response() local
75 apacket *p = get_apacket(); in send_auth_publickey() local
Dtransport.cpp95 static void dump_packet(const char* name, const char* func, apacket* p) { in dump_packet()
134 char *p = (char*)ppacket; /* really read a packet address */ in read_packet() local
163 char *p = (char*) ppacket; /* we really write the packet address */ in write_packet() local
194 apacket *p = 0; in transport_socket_events() local
203 void send_packet(apacket *p, atransport *t) in send_packet()
249 apacket *p; in output_thread() local
304 apacket *p; in input_thread() local
408 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue()
417 apacket* p = get_apacket(); in device_tracker_send() local
489 char *p = (char*)m; in transport_read_action() local
[all …]
Dsockets.cpp134 static int local_socket_enqueue(asocket *s, apacket *p) in local_socket_enqueue()
204 apacket *p, *n; in local_socket_destroy() local
281 apacket* p; in local_socket_event_func() local
331 apacket *p = get_apacket(); in local_socket_event_func() local
478 static int remote_socket_enqueue(asocket *s, apacket *p) in remote_socket_enqueue()
494 apacket *p = get_apacket(); in remote_socket_ready() local
505 apacket *p = get_apacket(); in remote_socket_shutdown() local
571 apacket *p = get_apacket(); in connect_to_remote() local
688 static int smart_socket_enqueue(asocket *s, apacket *p) in smart_socket_enqueue()
/system/bt/stack/sdp/
Dsdp_discovery.c121 UINT8 *p, *p_start, *p_param_len; in sdp_snd_service_search_req() local
227 UINT8 *p, rsp_pdu; in sdp_disc_server_rsp() local
353 UINT8 *p; in sdp_copy_raw_data() local
489 UINT8 *p; in process_service_attr_rsp() local
562 UINT8 *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local
635 UINT8 *p; in process_service_search_attr_rsp() local
750 static UINT8 *save_attr_seq (tCONN_CB *p_ccb, UINT8 *p, UINT8 *p_msg_end) in save_attr_seq()
861 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec, in add_attr()
/system/bt/stack/avct/
Davct_defs.h51 #define AVCT_BLD_HDR(p, label, type, cr_ipid) \ argument
54 #define AVCT_PRS_HDR(p, label, type, cr_ipid) \ argument
59 #define AVCT_PRS_PKT_TYPE(p, type) \ argument
/system/bt/osi/src/
Dringbuffer.c34 ringbuffer_t* p = osi_calloc(sizeof(ringbuffer_t)); in ringbuffer_init() local
66 size_t ringbuffer_insert(ringbuffer_t *rb, const uint8_t *p, size_t length) { in ringbuffer_insert()
97 size_t ringbuffer_peek(const ringbuffer_t *rb, uint8_t *p, size_t length) { in ringbuffer_peek()
114 size_t ringbuffer_pop(ringbuffer_t *rb, uint8_t *p, size_t length) { in ringbuffer_pop()
/system/bt/stack/bnep/
Dbnep_utils.c175 UINT8 *p, *p_start; in bnep_send_conn_req() local
237 UINT8 *p; in bnep_send_conn_responce() local
276 UINT8 *p; in bnepu_send_peer_our_filters() local
326 UINT8 *p; in bnepu_send_peer_our_multi_filters() local
378 UINT8 *p; in bnepu_send_peer_filter_rsp() local
416 UINT8 *p; in bnep_send_command_not_understood() local
492 UINT8 ext_bit, *p = (UINT8 *)NULL; in bnepu_build_bnep_hdr() local
552 UINT8 *p = (UINT8 *)(p_buf + 1) + p_buf->offset; in bnepu_init_hdr() local
784 UINT8 *bnep_process_control_packet (tBNEP_CONN *p_bcb, UINT8 *p, UINT16 *rem_len, BOOLEAN is_ext) in bnep_process_control_packet()
1155 UINT8 *p; in bnepu_send_peer_multicast_filter_rsp() local
/system/extras/tests/memtest/
Dthumb.cpp16 void thumb_function_1(int*p) in thumb_function_1()
22 void thumb_function_2(int*p) in thumb_function_2()

123456789