Home
last modified time | relevance | path

Searched refs:rdlen (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/
DISDN.py70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
73 rdlen -= 1
74 if l > rdlen:
78 rdlen -= l
79 if rdlen > 0:
82 rdlen -= 1
83 if l != rdlen:
DGPOS.py96 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
99 rdlen -= 1
100 if l > rdlen:
104 rdlen -= l
107 rdlen -= 1
108 if l > rdlen:
112 rdlen -= l
115 rdlen -= 1
116 if l != rdlen:
DNSEC3.py143 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
147 rdlen -= 5
150 rdlen -= slen
153 rdlen -= 1
156 rdlen -= nlen
158 while rdlen > 0:
159 if rdlen < 3:
166 rdlen -= 2
167 if rdlen < octets:
171 rdlen -= octets
DHINFO.py60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
63 rdlen -= 1
64 if l > rdlen:
68 rdlen -= l
71 rdlen -= 1
72 if l != rdlen:
DNSEC.py98 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
99 (next, cused) = dns.name.from_wire(wire[: current + rdlen], current)
101 rdlen -= cused
103 while rdlen > 0:
104 if rdlen < 3:
111 rdlen -= 2
112 if rdlen < octets:
116 rdlen -= octets
DRP.py60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
61 (mbox, cused) = dns.name.from_wire(wire[: current + rdlen],
64 rdlen -= cused
65 if rdlen <= 0:
67 (txt, cused) = dns.name.from_wire(wire[: current + rdlen],
69 if cused != rdlen:
DSOA.py92 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
93 (mname, cused) = dns.name.from_wire(wire[: current + rdlen], current)
95 rdlen -= cused
96 (rname, cused) = dns.name.from_wire(wire[: current + rdlen], current)
98 rdlen -= cused
99 if rdlen != 20:
102 wire[current : current + rdlen])
DHIP.py84 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
88 rdlen -= 4
91 rdlen -= lh
94 rdlen -= lk
96 while rdlen > 0:
97 (server, cused) = dns.name.from_wire(wire[: current + rdlen],
100 rdlen -= cused
DNSEC3PARAM.py69 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
73 rdlen -= 5
76 rdlen -= slen
77 if rdlen != 0:
DNXT.py81 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
82 (next, cused) = dns.name.from_wire(wire[: current + rdlen], current)
84 rdlen -= cused
85 bitmap = wire[current : current + rdlen]
DCERT.py108 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
111 rdlen -= 5
112 if rdlen < 0:
115 certificate = wire[current : current + rdlen]
DX25.py50 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
53 rdlen -= 1
54 if l != rdlen:
DSSHFP.py62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
65 rdlen -= 2
66 fingerprint = wire[current : current + rdlen]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/
DNAPTR.py90 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
93 rdlen -= 4
98 rdlen -= 1
99 if l > rdlen or rdlen < 0:
103 rdlen -= l
105 (replacement, cused) = dns.name.from_wire(wire[: current + rdlen],
107 if cused != rdlen:
DPX.py63 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
66 rdlen -= 2
67 (map822, cused) = dns.name.from_wire(wire[: current + rdlen],
69 if cused > rdlen:
72 rdlen -= cused
75 (mapx400, cused) = dns.name.from_wire(wire[: current + rdlen],
77 if cused != rdlen:
DIPSECKEY.py117 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
118 if rdlen < 3:
123 rdlen -= 3
130 rdlen -= 4
135 rdlen -= 16
137 (gateway, cused) = dns.name.from_wire(wire[: current + rdlen],
140 rdlen -= cused
143 key = wire[current : current + rdlen]
DAPL.py118 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
121 if rdlen < 4:
131 rdlen -= 4
132 if rdlen < afdlen:
151 rdlen -= afdlen
154 if rdlen == 0:
DSRV.py65 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
69 rdlen -= 6
70 (target, cused) = dns.name.from_wire(wire[: current + rdlen],
72 if cused != rdlen:
/external/mdnsresponder/mDNSShared/
Ddnssd_ipc.c133 void put_rdata(const int rdlen, const unsigned char *rdata, char **ptr) in put_rdata() argument
135 memcpy(*ptr, rdata, rdlen); in put_rdata()
136 *ptr += rdlen; in put_rdata()
139 const char *get_rdata(const char **ptr, const char *end, int rdlen) in get_rdata() argument
141 if (!*ptr || *ptr + rdlen > end) in get_rdata()
149 *ptr += rdlen; in get_rdata()
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/
Dtxtbase.py70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
72 while rdlen > 0:
75 rdlen -= 1
76 if l > rdlen:
80 rdlen -= l
Dmxbase.py62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
65 rdlen -= 2
66 (exchange, cused) = dns.name.from_wire(wire[: current + rdlen],
68 if cused != rdlen:
Dkeybase.py131 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
132 if rdlen < 4:
136 rdlen -= 4
137 key = wire[current : current + rdlen]
Dsigbase.py135 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
138 rdlen -= 18
139 (signer, cused) = dns.name.from_wire(wire[: current + rdlen], current)
141 rdlen -= cused
144 signature = wire[current : current + rdlen]
Dnsbase.py54 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
55 (target, cused) = dns.name.from_wire(wire[: current + rdlen],
57 if cused != rdlen:
/external/avahi/avahi-compat-libdns_sd/
Dunsupported.c37 AVAHI_GCC_UNUSED uint16_t rdlen, in DNSServiceRegisterRecord() argument
54 AVAHI_GCC_UNUSED uint16_t rdlen, in DNSServiceReconfirmRecord() argument
73 AVAHI_GCC_UNUSED uint16_t rdlen, in DNSServiceAddRecord() argument

12