/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
D | rdata.py | 131 def __init__(self, rdclass, rdtype): argument 140 self.rdtype = rdtype 160 return self.covers() << 16 | self.rdtype 188 dns.rdata.from_text(self.rdclass, self.rdtype, self.to_text()) 197 dns.rdatatype.to_text(self.rdtype) + ctext + ' rdata: ' + \ 215 self.rdtype != other.rdtype: 223 self.rdtype != other.rdtype: 230 self.rdtype != other.rdtype: 237 self.rdtype != other.rdtype: 244 self.rdtype != other.rdtype: [all …]
|
D | rdataset.py | 62 def __init__(self, rdclass, rdtype, covers=dns.rdatatype.NONE): argument 70 self.rdtype = rdtype 77 obj.rdtype = self.rdtype 111 if self.rdclass != rd.rdclass or self.rdtype != rd.rdtype: 115 if self.rdtype == dns.rdatatype.RRSIG or \ 116 self.rdtype == dns.rdatatype.SIG: 122 if dns.rdatatype.is_singleton(rd.rdtype) and len(self) > 0: 149 dns.rdatatype.to_text(self.rdtype) + ctext + ' rdataset>' 162 self.rdtype != other.rdtype or \ 208 dns.rdatatype.to_text(self.rdtype)) [all …]
|
D | update.py | 67 rrset = self.find_rrset(section, name, self.zone_rdclass, rd.rdtype, 89 self.delete(name, rds.rdtype) 97 self.delete(name, args[0].rdtype) 101 rdtype = args.pop(0) 102 if isinstance(rdtype, str): 103 rdtype = dns.rdatatype.from_text(rdtype) 105 self.delete(name, rdtype) 107 rd = dns.rdata.from_text(self.zone_rdclass, rdtype, s, 150 rdtype = args.pop(0) 151 if isinstance(rdtype, str): [all …]
|
D | zone.py | 211 def find_rdataset(self, name, rdtype, covers=dns.rdatatype.NONE, argument 240 if isinstance(rdtype, str): 241 rdtype = dns.rdatatype.from_text(rdtype) 245 return node.find_rdataset(self.rdclass, rdtype, covers, create) 247 def get_rdataset(self, name, rdtype, covers=dns.rdatatype.NONE, argument 275 rdataset = self.find_rdataset(name, rdtype, covers, create) 280 def delete_rdataset(self, name, rdtype, covers=dns.rdatatype.NONE): argument 303 if isinstance(rdtype, str): 304 rdtype = dns.rdatatype.from_text(rdtype) 309 node.delete_rdataset(self.rdclass, rdtype, covers) [all …]
|
D | rrset.py | 35 def __init__(self, name, rdclass, rdtype, covers=dns.rdatatype.NONE, argument 39 super(RRset, self).__init__(rdclass, rdtype) 60 dns.rdatatype.to_text(self.rdtype) + ctext + dtext + ' RRset>' 76 def match(self, name, rdclass, rdtype, covers, deleting=None): argument 80 if not super(RRset, self).match(rdclass, rdtype, covers): 118 def from_text_list(name, ttl, rdclass, rdtype, text_rdatas): argument 129 if isinstance(rdtype, str): 130 rdtype = dns.rdatatype.from_text(rdtype) 131 r = RRset(name, rdclass, rdtype) 134 rd = dns.rdata.from_text(r.rdclass, r.rdtype, t) [all …]
|
D | node.py | 83 def find_rdataset(self, rdclass, rdtype, covers=dns.rdatatype.NONE, argument 109 if rds.match(rdclass, rdtype, covers): 113 rds = dns.rdataset.Rdataset(rdclass, rdtype) 117 def get_rdataset(self, rdclass, rdtype, covers=dns.rdatatype.NONE, argument 137 rds = self.find_rdataset(rdclass, rdtype, covers, create) 142 def delete_rdataset(self, rdclass, rdtype, covers=dns.rdatatype.NONE): argument 156 rds = self.get_rdataset(rdclass, rdtype, covers) 170 self.delete_rdataset(replacement.rdclass, replacement.rdtype,
|
D | query.py | 258 def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN, argument 313 if isinstance(rdtype, str): 314 rdtype = dns.rdatatype.from_text(rdtype) 315 q = dns.message.make_query(zone, rdtype, rdclass) 316 if rdtype == dns.rdatatype.IXFR: 337 if rdtype != dns.rdatatype.IXFR: 379 one_rr_per_rrset=(rdtype==dns.rdatatype.IXFR)) 389 if rrset.rdtype != dns.rdatatype.SOA: 393 if rdtype == dns.rdatatype.IXFR: 408 if rrset.rdtype == dns.rdatatype.SOA and rrset.name == oname: [all …]
|
D | rdatatype.py | 214 def is_metatype(rdtype): argument 220 if rdtype >= TKEY and rdtype <= ANY or _metatypes.has_key(rdtype): 224 def is_singleton(rdtype): argument 230 if _singletons.has_key(rdtype):
|
D | resolver.py | 93 def __init__(self, qname, rdtype, rdclass, response): argument 95 self.rdtype = rdtype 103 rdclass, rdtype) 108 if rdtype != dns.rdatatype.CNAME: 138 return self.rrset.rdtype 544 def query(self, qname, rdtype=dns.rdatatype.A, rdclass=dns.rdataclass.IN, argument 572 if isinstance(rdtype, str): 573 rdtype = dns.rdatatype.from_text(rdtype) 591 answer = self.cache.get((qname, rdtype, rdclass)) 594 request = dns.message.make_query(qname, rdtype, rdclass) [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/ |
D | DHCID.py | 28 def __init__(self, rdclass, rdtype, data): argument 29 super(DHCID, self).__init__(rdclass, rdtype) 35 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 46 return cls(rdclass, rdtype, data) 53 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 55 return cls(rdclass, rdtype, data)
|
D | NSAP.py | 29 def __init__(self, rdclass, rdtype, address): argument 30 super(NSAP, self).__init__(rdclass, rdtype) 36 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 45 return cls(rdclass, rdtype, address) 52 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 54 return cls(rdclass, rdtype, address)
|
D | A.py | 29 def __init__(self, rdclass, rdtype, address): argument 30 super(A, self).__init__(rdclass, rdtype) 38 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 41 return cls(rdclass, rdtype, address) 48 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 50 return cls(rdclass, rdtype, address)
|
D | AAAA.py | 29 def __init__(self, rdclass, rdtype, address): argument 30 super(AAAA, self).__init__(rdclass, rdtype) 38 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 41 return cls(rdclass, rdtype, address) 48 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 51 return cls(rdclass, rdtype, address)
|
D | SRV.py | 37 def __init__(self, rdclass, rdtype, priority, weight, port, target): argument 38 super(SRV, self).__init__(rdclass, rdtype) 49 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 56 return cls(rdclass, rdtype, priority, weight, port, target) 65 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 76 return cls(rdclass, rdtype, priority, weight, port, target)
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/ |
D | X25.py | 29 def __init__(self, rdclass, rdtype, address): argument 30 super(X25, self).__init__(rdclass, rdtype) 36 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 39 return cls(rdclass, rdtype, address) 50 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 57 return cls(rdclass, rdtype, address)
|
D | SSHFP.py | 34 def __init__(self, rdclass, rdtype, algorithm, fp_type, argument 36 super(SSHFP, self).__init__(rdclass, rdtype) 47 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 53 return cls(rdclass, rdtype, algorithm, fp_type, fingerprint) 62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 67 return cls(rdclass, rdtype, header[0], header[1], fingerprint)
|
D | HINFO.py | 31 def __init__(self, rdclass, rdtype, cpu, os): argument 32 super(HINFO, self).__init__(rdclass, rdtype) 40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 44 return cls(rdclass, rdtype, cpu, os) 60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 75 return cls(rdclass, rdtype, cpu, os)
|
D | NSEC3PARAM.py | 36 def __init__(self, rdclass, rdtype, algorithm, flags, iterations, salt): argument 37 super(NSEC3PARAM, self).__init__(rdclass, rdtype) 50 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 59 return cls(rdclass, rdtype, algorithm, flags, iterations, salt) 69 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 79 return cls(rdclass, rdtype, algorithm, flags, iterations, salt)
|
D | ISDN.py | 31 def __init__(self, rdclass, rdtype, address, subaddress): argument 32 super(ISDN, self).__init__(rdclass, rdtype) 43 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 53 return cls(rdclass, rdtype, address, subaddress) 70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 88 return cls(rdclass, rdtype, address, subaddress)
|
D | RP.py | 32 def __init__(self, rdclass, rdtype, mbox, txt): argument 33 super(RP, self).__init__(rdclass, rdtype) 42 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 48 return cls(rdclass, rdtype, mbox, txt) 60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 74 return cls(rdclass, rdtype, mbox, txt)
|
D | NXT.py | 32 def __init__(self, rdclass, rdtype, next, bitmap): argument 33 super(NXT, self).__init__(rdclass, rdtype) 48 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 70 return cls(rdclass, rdtype, next, bitmap) 81 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 88 return cls(rdclass, rdtype, next, bitmap)
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ |
D | txtbase.py | 31 def __init__(self, rdclass, rdtype, strings): argument 32 super(TXTBase, self).__init__(rdclass, rdtype) 45 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 58 return cls(rdclass, rdtype, strings) 70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 82 return cls(rdclass, rdtype, strings)
|
D | nsbase.py | 32 def __init__(self, rdclass, rdtype, target): argument 33 super(NSBase, self).__init__(rdclass, rdtype) 40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 44 return cls(rdclass, rdtype, target) 54 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 61 return cls(rdclass, rdtype, target)
|
D | dsbase.py | 36 def __init__(self, rdclass, rdtype, key_tag, algorithm, digest_type, argument 38 super(DSBase, self).__init__(rdclass, rdtype) 50 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 64 return cls(rdclass, rdtype, key_tag, algorithm, digest_type, 75 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 80 return cls(rdclass, rdtype, header[0], header[1], header[2], digest)
|
D | mxbase.py | 35 def __init__(self, rdclass, rdtype, preference, exchange): argument 36 super(MXBase, self).__init__(rdclass, rdtype) 44 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 49 return cls(rdclass, rdtype, preference, exchange) 62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 72 return cls(rdclass, rdtype, preference, exchange)
|