Searched refs:end_ptr (Results 1 – 2 of 2) sorted by relevance
157 const uint8_t* end_ptr = options + options_length; in ParseDHCPOptions() local159 while (ptr < end_ptr) { in ParseDHCPOptions()169 if (ptr >= end_ptr) { in ParseDHCPOptions()175 if (ptr + option_length >= end_ptr) { in ParseDHCPOptions()
100 char *cur_ptr = buffer, *end_ptr = buffer + sizeof(buffer); in ReadRaw() local103 int bytes = adb_read(fd, cur_ptr, end_ptr - cur_ptr); in ReadRaw()