Searched defs:seq_len (Results 1 - 7 of 7) sorted by relevance

/system/core/libmincrypt/
H A Ddsa_sig.c63 int seq_len; local
86 seq_len = sig[1];
87 if ((seq_len <= 0) || (seq_len + 2 != sig_len)) {
98 if ((r_len < 1) || (r_len > seq_len - 5) || (sig[4 + r_len] != 0x02)) {
109 if ((s_len < 1) || (s_len != seq_len - 4 - r_len)) {
/system/core/libcutils/
H A Dstrdup8to16.c115 int seq_len; local
128 seq_len = UTF8_SEQ_LENGTH(**pUtf8Ptr);
130 ret = (**pUtf8Ptr) & leaderMask [seq_len - 1];
135 for (i = 1; i < seq_len ; i++, (*pUtf8Ptr)++) {
/system/bt/bta/hl/
H A Dbta_hl_sdp.c98 UINT16 xx, str_len, seq_len; local
104 seq_len=7;
109 seq_len += str_len+2; /* todo add a # symbol for 2 */
112 *p++ = (UINT8) seq_len;
/system/bt/stack/sdp/
H A Dsdp_discovery.c564 UINT32 seq_len; local
716 p = sdpu_get_len_from_type (p, type, &seq_len);
720 if ((p + seq_len) != p_end)
752 UINT32 seq_len, attr_len; local
765 p = sdpu_get_len_from_type (p, type, &seq_len);
766 if ((p + seq_len) > p_msg_end)
768 SDP_TRACE_WARNING ("SDP - Bad len in attr_rsp %d", seq_len);
780 p_seq_end = p + seq_len;
H A Dsdp_server.c599 UINT16 seq_len, attr_len; local
785 seq_len = sdpu_get_attrib_seq_len(p_rec, &attr_seq_sav);
786 if (seq_len != 0)
789 UINT16_TO_BE_STREAM (p_seq_start, seq_len);
H A Dsdp_db.c44 static BOOLEAN find_uuid_in_seq (UINT8 *p , UINT32 seq_len, UINT8 *p_his_uuid,
118 static BOOLEAN find_uuid_in_seq (UINT8 *p , UINT32 seq_len, UINT8 *p_uuid, argument
121 UINT8 *p_end = p + seq_len;
H A Dsdp_utils.c377 UINT32 seq_len, uuid_len; local
394 seq_len = 2;
397 seq_len = 4;
400 seq_len = 16;
403 BE_STREAM_TO_UINT8 (seq_len, p);
406 BE_STREAM_TO_UINT16 (seq_len, p);
409 BE_STREAM_TO_UINT32 (seq_len, p);
415 if (seq_len >= param_len)
418 p_seq_end = p + seq_len;

Completed in 139 milliseconds