Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp170 char* buffer_cur = buffer; in write() local
184 if (buffer_cur + sizeof(uint8_t) + len > buffer_end) { in write()
188 *buffer_cur++ = len; in write()
189 buffer_cur = std::copy(std::next(name.begin(), pos), std::next(name.begin(), dot_pos), in write()
190 buffer_cur); in write()
194 *buffer_cur++ = 0; in write()
195 return buffer_cur; in write()
243 char* buffer_cur = qname.write(buffer, buffer_end); in write() local
244 if (buffer_cur == nullptr) return nullptr; in write()
245 if (buffer_cur + 2 * sizeof(uint16_t) > buffer_end) { in write()
[all …]