Home
last modified time | relevance | path

Searched refs:org_len (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/bnep/
Dbnep_api.cc356 uint16_t org_len, new_len; in BNEP_WriteBuf() local
358 org_len = p_buf->len; in BNEP_WriteBuf()
361 if ((new_len + 2) > org_len) { in BNEP_WriteBuf()
372 if (new_len > org_len) { in BNEP_WriteBuf()
383 if (new_len > org_len) return BNEP_IGNORE_CMD; in BNEP_WriteBuf()
460 uint16_t org_len, new_len; in BNEP_Write() local
462 org_len = len; in BNEP_Write()
466 if ((new_len + 2) > org_len) { in BNEP_Write()
476 if (new_len > org_len) return BNEP_IGNORE_CMD; in BNEP_Write()
484 if (new_len > org_len) return BNEP_IGNORE_CMD; in BNEP_Write()
Dbnep_main.cc374 uint16_t org_len, new_len; in bnep_data_ind() local
376 org_len = rem_len; in bnep_data_ind()
378 if (org_len < 2) { in bnep_data_ind()
386 if (new_len > org_len) { in bnep_data_ind()
403 org_len -= new_len; in bnep_data_ind()
Dbnep_int.h211 uint16_t org_len);
Dbnep_utils.cc1205 uint8_t* p_data, uint16_t org_len) { in bnep_is_packet_allowed() argument
1217 if ((new_len + 2) > org_len) { in bnep_is_packet_allowed()
1229 if ((new_len + 4) > org_len) { in bnep_is_packet_allowed()