Home
last modified time | relevance | path

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

/system/bt/stack/bnep/
Dbnep_api.cc359 uint16_t org_len, new_len; in BNEP_WriteBuf() local
362 new_len = 0; in BNEP_WriteBuf()
364 if ((new_len + 2) > org_len) { in BNEP_WriteBuf()
373 new_len += (length + 2); in BNEP_WriteBuf()
375 if (new_len > org_len) { in BNEP_WriteBuf()
385 new_len += 4; in BNEP_WriteBuf()
386 if (new_len > org_len) return BNEP_IGNORE_CMD; in BNEP_WriteBuf()
390 p_buf->len = new_len; in BNEP_WriteBuf()
463 uint16_t org_len, new_len; in BNEP_Write() local
466 new_len = 0; in BNEP_Write()
[all …]
Dbnep_main.cc484 uint16_t org_len, new_len; in bnep_data_ind() local
495 new_len = (length + 2); in bnep_data_ind()
496 if (new_len > org_len) { in bnep_data_ind()
513 org_len -= new_len; in bnep_data_ind()
Dbnep_utils.cc1269 uint16_t new_len = 0; in bnep_is_packet_allowed() local
1274 if ((new_len + 2) > org_len) { in bnep_is_packet_allowed()
1282 new_len += (len + 2); in bnep_is_packet_allowed()
1286 if ((new_len + 4) > org_len) { in bnep_is_packet_allowed()
/system/extras/simpleperf/
Dthread_tree.cpp147 static MapEntry RemoveSecondPartOfMapEntry(const MapEntry* entry, uint64_t new_len) { in RemoveSecondPartOfMapEntry() argument
149 result.len = new_len; in RemoveSecondPartOfMapEntry()