Home
last modified time | relevance | path

Searched refs:p_out (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/sdp/
Dsdp_utils.cc398 uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr, in sdpu_build_attrib_seq() argument
410 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
412 UINT16_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
414 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
416 UINT8_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
421 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_attrib_seq()
422 UINT16_TO_BE_STREAM(p_out, 0); in sdpu_build_attrib_seq()
423 UINT16_TO_BE_STREAM(p_out, 0xFFFF); in sdpu_build_attrib_seq()
427 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_seq()
428 UINT16_TO_BE_STREAM(p_out, *p_attr); in sdpu_build_attrib_seq()
[all …]
Dsdp_discovery.cc74 static uint8_t* sdpu_build_uuid_seq(uint8_t* p_out, uint16_t num_uuids, in sdpu_build_uuid_seq() argument
80 UINT8_TO_BE_STREAM(p_out, (DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_uuid_seq()
83 p_len = p_out; in sdpu_build_uuid_seq()
84 p_out += 1; in sdpu_build_uuid_seq()
90 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_uuid_seq()
91 UINT16_TO_BE_STREAM(p_out, p_uuid_list->As16Bit()); in sdpu_build_uuid_seq()
93 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_uuid_seq()
94 UINT32_TO_BE_STREAM(p_out, p_uuid_list->As32Bit()); in sdpu_build_uuid_seq()
96 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_SIXTEEN_BYTES); in sdpu_build_uuid_seq()
97 ARRAY_TO_BE_STREAM(p_out, p_uuid_list->To128BitBE(), in sdpu_build_uuid_seq()
[all …]
Dsdpint.h201 extern uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr,
203 extern uint8_t* sdpu_build_attrib_entry(uint8_t* p_out, tSDP_ATTRIBUTE* p_attr);
226 extern uint8_t* sdpu_build_partial_attrib_entry(uint8_t* p_out,
/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc919 int8_t* p_out = tbuf; in GKI_get_time_stamp() local
931 *p_out++ = (int8_t)((h_time / 10) + '0'); in GKI_get_time_stamp()
932 *p_out++ = (int8_t)((h_time % 10) + '0'); in GKI_get_time_stamp()
933 *p_out++ = ':'; in GKI_get_time_stamp()
934 *p_out++ = (int8_t)((m_time / 10) + '0'); in GKI_get_time_stamp()
935 *p_out++ = (int8_t)((m_time % 10) + '0'); in GKI_get_time_stamp()
936 *p_out++ = ':'; in GKI_get_time_stamp()
937 *p_out++ = (int8_t)((s_time / 10) + '0'); in GKI_get_time_stamp()
938 *p_out++ = (int8_t)((s_time % 10) + '0'); in GKI_get_time_stamp()
939 *p_out++ = ':'; in GKI_get_time_stamp()
[all …]
/system/bt/stack/hid/
Dhidd_conn.cc697 uint8_t* p_out; in hidd_conn_send_data() local
734 p_out = (uint8_t*)(p_buf + 1) + p_buf->offset; in hidd_conn_send_data()
736 *p_out = HID_BUILD_HDR(msg_type, param); in hidd_conn_send_data()
737 p_out++; in hidd_conn_send_data()
743 *p_out = data; // report_id in hidd_conn_send_data()
744 p_out++; in hidd_conn_send_data()
749 memcpy(p_out, p_data, len); in hidd_conn_send_data()
Dhidh_conn.cc733 uint8_t* p_out; in hidh_conn_snd_data() local
801 p_out = (uint8_t*)(p_buf + 1) + p_buf->offset; in hidh_conn_snd_data()
802 *p_out++ = HID_BUILD_HDR(trans_type, param); in hidh_conn_snd_data()
806 *p_out = report_id; in hidh_conn_snd_data()
811 memcpy(p_out, (((uint8_t*)(buf + 1)) + buf->offset), bytes_copied); in hidh_conn_snd_data()
815 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
817 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
818 *(p_out + bytes_copied + 1) = (data >> 8) & 0xff; in hidh_conn_snd_data()