Searched refs:end_ptr (Results 1 – 5 of 5) sorted by relevance
74 const uint8_t* end_ptr = buf + len; in GetAttributeImpl() local75 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() local231 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() local253 while (ptr + NLA_HDRLEN <= end_ptr) { in DebugLog()255 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in DebugLog()
221 const uint8_t* end_ptr = data_.data() + data_.size(); in GetAllAttributes() local222 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() local240 while (ptr + NLA_HDRLEN <= end_ptr) { in DebugLog()242 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in DebugLog()
200 const uint8_t* end_ptr = data_.data() + data_.size(); in GetListOfAttributeValues() local202 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() local240 while (ptr + NLA_HDRLEN <= end_ptr) { in GetListOfAttributes()242 if (ptr + NLA_ALIGN(header->nla_len) > end_ptr) { in GetListOfAttributes()
131 char *path, *prop_ptr, *offset_ptr, *end_ptr; in ufdt_get_fixup_location() local164 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()
82 char *cur_ptr = buffer, *end_ptr = buffer + sizeof(buffer); in ReadRaw() local85 int bytes = adb_read(fd, cur_ptr, end_ptr - cur_ptr); in ReadRaw()