Searched refs:numBytes (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_cache.c | 507 _dnsPacket_checkBytes( DnsPacket* packet, int numBytes, const void* bytes ) in _dnsPacket_checkBytes() argument 511 if (p + numBytes > packet->end) in _dnsPacket_checkBytes() 514 if (memcmp(p, bytes, numBytes) != 0) in _dnsPacket_checkBytes() 517 packet->cursor = p + numBytes; in _dnsPacket_checkBytes() 768 _dnsPacket_hashBytes( DnsPacket* packet, int numBytes, unsigned hash ) in _dnsPacket_hashBytes() argument 773 while (numBytes > 0 && p < end) { in _dnsPacket_hashBytes() 911 _dnsPacket_isEqualBytes( DnsPacket* pack1, DnsPacket* pack2, int numBytes ) in _dnsPacket_isEqualBytes() argument 916 if ( p1 + numBytes > pack1->end || p2 + numBytes > pack2->end ) in _dnsPacket_isEqualBytes() 919 if ( memcmp(p1, p2, numBytes) != 0 ) in _dnsPacket_isEqualBytes() 922 pack1->cursor += numBytes; in _dnsPacket_isEqualBytes() [all …]
|