Home
last modified time | relevance | path

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

/system/core/libcutils/
Dstrdup8to16.cpp116 int seq_len; in getUtf32FromUtf8() local
129 seq_len = UTF8_SEQ_LENGTH(**pUtf8Ptr); in getUtf32FromUtf8()
131 ret = (**pUtf8Ptr) & leaderMask [seq_len - 1]; in getUtf32FromUtf8()
136 for (i = 1; i < seq_len ; i++, (*pUtf8Ptr)++) { in getUtf32FromUtf8()
/system/bt/stack/sdp/
Dsdp_discovery.cc528 uint32_t seq_len; in process_service_search_attr_rsp() local
659 p = sdpu_get_len_from_type(p, p + p_ccb->list_len, type, &seq_len); in process_service_search_attr_rsp()
660 if (p == NULL || (p + seq_len) > (p + p_ccb->list_len)) { in process_service_search_attr_rsp()
667 if ((p + seq_len) != p_end) { in process_service_search_attr_rsp()
696 uint32_t seq_len, attr_len; in save_attr_seq() local
707 p = sdpu_get_len_from_type(p, p_msg_end, type, &seq_len); in save_attr_seq()
708 if (p == NULL || (p + seq_len) > p_msg_end) { in save_attr_seq()
709 SDP_TRACE_WARNING("SDP - Bad len in attr_rsp %d", seq_len); in save_attr_seq()
720 p_seq_end = p + seq_len; in save_attr_seq()
Dsdp_utils.cc571 uint32_t seq_len, uuid_len; in sdpu_extract_uid_seq() local
588 seq_len = 2; in sdpu_extract_uid_seq()
591 seq_len = 4; in sdpu_extract_uid_seq()
594 seq_len = 16; in sdpu_extract_uid_seq()
599 BE_STREAM_TO_UINT8(seq_len, p); in sdpu_extract_uid_seq()
604 BE_STREAM_TO_UINT16(seq_len, p); in sdpu_extract_uid_seq()
609 BE_STREAM_TO_UINT32(seq_len, p); in sdpu_extract_uid_seq()
615 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq()
617 p_seq_end = p + seq_len; in sdpu_extract_uid_seq()
Dsdp_server.cc561 uint16_t seq_len, attr_len; in process_service_search_attr_req() local
721 seq_len = sdpu_get_attrib_seq_len(p_rec, &attr_seq_sav); in process_service_search_attr_req()
722 if (seq_len != 0) { in process_service_search_attr_req()
725 UINT16_TO_BE_STREAM(p_seq_start, seq_len); in process_service_search_attr_req()
Dsdp_db.cc44 static bool find_uuid_in_seq(uint8_t* p, uint32_t seq_len, uint8_t* p_his_uuid,
109 static bool find_uuid_in_seq(uint8_t* p, uint32_t seq_len, uint8_t* p_uuid, in find_uuid_in_seq() argument
111 uint8_t* p_end = p + seq_len; in find_uuid_in_seq()
/system/bt/stack/hid/
Dhidd_api.cc294 uint8_t seq_len = 4 + desc_len; in HID_DevAddRecord() local
314 UINT8_TO_BE_STREAM(p, seq_len); in HID_DevAddRecord()
332 uint8_t seq_len = 6; in HID_DevAddRecord() local
335 UINT8_TO_BE_STREAM(p, seq_len); in HID_DevAddRecord()