Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp186 const char* DNSName::read(const char* buffer, const char* buffer_end) { in read() argument
190 cur = parseField(cur, buffer_end, &last); in read()
199 char* DNSName::write(char* buffer, const char* buffer_end) const { in write()
214 if (buffer_cur + sizeof(uint8_t) + len > buffer_end) { in write()
228 const char* DNSName::parseField(const char* buffer, const char* buffer_end, bool* last) { in parseField() argument
229 if (buffer + sizeof(uint8_t) > buffer_end) { in parseField()
242 if (cur + ofs > buffer_end) { in parseField()
257 const char* DNSQuestion::read(const char* buffer, const char* buffer_end) { in read() argument
258 const char* cur = qname.read(buffer, buffer_end); in read()
263 if (cur + 2 * sizeof(uint16_t) > buffer_end) { in read()
[all …]
Ddns_responder.h45 const char* read(const char* buffer, const char* buffer_end);
46 char* write(char* buffer, const char* buffer_end) const;
49 const char* parseField(const char* buffer, const char* buffer_end, bool* last);
56 const char* read(const char* buffer, const char* buffer_end);
57 char* write(char* buffer, const char* buffer_end) const;
67 const char* read(const char* buffer, const char* buffer_end);
68 char* write(char* buffer, const char* buffer_end) const;
79 const char* readIntFields(const char* buffer, const char* buffer_end, unsigned* rdlen);
80 char* writeIntFields(unsigned rdlen, char* buffer, const char* buffer_end) const;
99 const char* read(const char* buffer, const char* buffer_end);
[all …]