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/debuggerd/
Ddebuggerd_test.cpp2310 void* end_ptr = in TEST_F() local
2312 ASSERT_EQ(0, munmap(end_ptr, getpagesize())); in TEST_F()
2335 format_pointer(end_ptr).c_str()); in TEST_F()