Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_cache.c508 _dnsPacket_checkBytes( DnsPacket* packet, int numBytes, const void* bytes ) in _dnsPacket_checkBytes() argument
512 if (p + numBytes > packet->end) in _dnsPacket_checkBytes()
515 if (memcmp(p, bytes, numBytes) != 0) in _dnsPacket_checkBytes()
518 packet->cursor = p + numBytes; in _dnsPacket_checkBytes()
769 _dnsPacket_hashBytes( DnsPacket* packet, int numBytes, unsigned hash ) in _dnsPacket_hashBytes() argument
774 while (numBytes > 0 && p < end) { in _dnsPacket_hashBytes()
912 _dnsPacket_isEqualBytes( DnsPacket* pack1, DnsPacket* pack2, int numBytes ) in _dnsPacket_isEqualBytes() argument
917 if ( p1 + numBytes > pack1->end || p2 + numBytes > pack2->end ) in _dnsPacket_isEqualBytes()
920 if ( memcmp(p1, p2, numBytes) != 0 ) in _dnsPacket_isEqualBytes()
923 pack1->cursor += numBytes; in _dnsPacket_isEqualBytes()
[all …]