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.cpp195 char* buffer_cur = buffer; in write() local
209 if (buffer_cur + sizeof(uint8_t) + len > buffer_end) { in write()
213 *buffer_cur++ = len; in write()
214 buffer_cur = std::copy(std::next(name.begin(), pos), std::next(name.begin(), dot_pos), in write()
215 buffer_cur); in write()
219 *buffer_cur++ = 0; in write()
220 return buffer_cur; in write()
268 char* buffer_cur = qname.write(buffer, buffer_end); in write() local
269 if (buffer_cur == nullptr) return nullptr; in write()
270 if (buffer_cur + 2 * sizeof(uint16_t) > buffer_end) { in write()
[all …]