Home
last modified time | relevance | path

Searched refs:end_ptr (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/wificond/net/
Dnl80211_attribute.cpp74 const uint8_t* end_ptr = buf + len; in GetAttributeImpl() local
75 while (ptr + NLA_HDRLEN <= end_ptr) { in GetAttributeImpl()
78 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in GetAttributeImpl()
229 const uint8_t* end_ptr = data_.data() + data_.size(); in GetListOfNestedAttributes() local
231 while (ptr + NLA_HDRLEN <= end_ptr) { in GetListOfNestedAttributes()
233 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in GetListOfNestedAttributes()
252 const uint8_t* end_ptr = data_.data() + data_.size(); in DebugLog() local
253 while (ptr + NLA_HDRLEN <= end_ptr) { in DebugLog()
255 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in DebugLog()
Dnl80211_packet.cpp221 const uint8_t* end_ptr = data_.data() + data_.size(); in GetAllAttributes() local
222 while (ptr + NLA_HDRLEN <= end_ptr) { in GetAllAttributes()
224 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr || in GetAllAttributes()
239 const uint8_t* end_ptr = data_.data() + data_.size(); in DebugLog() local
240 while (ptr + NLA_HDRLEN <= end_ptr) { in DebugLog()
242 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in DebugLog()
Dnl80211_attribute.h200 const uint8_t* end_ptr = data_.data() + data_.size(); in GetListOfAttributeValues() local
202 while (ptr + NLA_HDRLEN <= end_ptr) { in GetListOfAttributeValues()
204 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in GetListOfAttributeValues()
238 const uint8_t* end_ptr = data_.data() + data_.size(); in GetListOfAttributes() local
240 while (ptr + NLA_HDRLEN <= end_ptr) { in GetListOfAttributes()
242 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in GetListOfAttributes()
/system/libufdt/
Dufdt_overlay.c131 char *path, *prop_ptr, *offset_ptr, *end_ptr; in ufdt_get_fixup_location() local
164 prop_offset = dto_strtoul(offset_ptr, &end_ptr, 10 /* base */); in ufdt_get_fixup_location()
165 if (*end_ptr != '\0') { in ufdt_get_fixup_location()
/system/core/adb/daemon/
Dshell_service_test.cpp82 char *cur_ptr = buffer, *end_ptr = buffer + sizeof(buffer); in ReadRaw() local
85 int bytes = adb_read(fd, cur_ptr, end_ptr - cur_ptr); in ReadRaw()