/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
rdata.py | 18 @var _rdata_modules: A dictionary mapping a (rdclass, rdtype) tuple to 129 __slots__ = ['rdclass', 'rdtype'] 131 def __init__(self, rdclass, rdtype): 135 @param rdtype: The rdata type 136 @type rdtype: int 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: ' + [all...] |
update.py | 67 rrset = self.find_rrset(section, name, self.zone_rdclass, rd.rdtype, 82 - ttl, rdtype, string...""" 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 [all...] |
node.py | 83 def find_rdataset(self, rdclass, rdtype, covers=dns.rdatatype.NONE, 90 @param rdtype: The type of the rdataset 91 @type rdtype: int 93 dns.rdatatype.NONE, but if the rdtype is dns.rdatatype.SIG or 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, 127 @param rdtype: The type of the rdataset 128 @type rdtype: int 137 rds = self.find_rdataset(rdclass, rdtype, covers, create [all...] |
rrset.py | 35 def __init__(self, name, rdclass, rdtype, covers=dns.rdatatype.NONE, 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): 80 if not super(RRset, self).match(rdclass, rdtype, covers): 118 def from_text_list(name, ttl, rdclass, rdtype, text_rdatas): 129 if isinstance(rdtype, str): 130 rdtype = dns.rdatatype.from_text(rdtype) 131 r = RRset(name, rdclass, rdtype) [all...] |
rdataset.py | 45 @ivar rdtype: The type of the rdataset 46 @type rdtype: int 48 dns.rdatatype.NONE, but if the rdtype is dns.rdatatype.SIG or 60 __slots__ = ['rdclass', 'rdtype', 'covers', 'ttl'] 62 def __init__(self, rdclass, rdtype, covers=dns.rdatatype.NONE): 66 meaning of I{rdclass} and I{rdtype}""" 70 self.rdtype = rdtype 77 obj.rdtype = self.rdtype [all...] |
zone.py | 211 def find_rdataset(self, name, rdtype, covers=dns.rdatatype.NONE, 216 The I{name}, I{rdtype}, and I{covers} parameters may be 228 @param rdtype: the rdata type desired 229 @type rdtype: int or string 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, 252 The I{name}, I{rdtype}, and I{covers} parameters may b [all...] |
rdatatype.py | 214 def is_metatype(rdtype): 216 @param rdtype: the type 217 @type rdtype: int 220 if rdtype >= TKEY and rdtype <= ANY or _metatypes.has_key(rdtype): 224 def is_singleton(rdtype): 226 @param rdtype: the type 227 @type rdtype: int 230 if _singletons.has_key(rdtype) [all...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/ |
HINFO.py | 31 def __init__(self, rdclass, rdtype, cpu, os): 32 super(HINFO, self).__init__(rdclass, rdtype) 40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 44 return cls(rdclass, rdtype, cpu, os) 60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 75 return cls(rdclass, rdtype, cpu, os)
|
SSHFP.py | 34 def __init__(self, rdclass, rdtype, algorithm, fp_type, 36 super(SSHFP, self).__init__(rdclass, rdtype) 47 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 53 return cls(rdclass, rdtype, algorithm, fp_type, fingerprint) 62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 67 return cls(rdclass, rdtype, header[0], header[1], fingerprint)
|
X25.py | 29 def __init__(self, rdclass, rdtype, address): 30 super(X25, self).__init__(rdclass, rdtype) 36 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 39 return cls(rdclass, rdtype, address) 50 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 57 return cls(rdclass, rdtype, address)
|
CERT.py | 67 def __init__(self, rdclass, rdtype, certificate_type, key_tag, algorithm, 69 super(CERT, self).__init__(rdclass, rdtype) 81 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 97 return cls(rdclass, rdtype, certificate_type, key_tag, 108 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 116 return cls(rdclass, rdtype, certificate_type, key_tag, algorithm,
|
ISDN.py | 31 def __init__(self, rdclass, rdtype, address, subaddress): 32 super(ISDN, self).__init__(rdclass, rdtype) 43 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 53 return cls(rdclass, rdtype, address, subaddress) 70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 88 return cls(rdclass, rdtype, address, subaddress)
|
NSEC3PARAM.py | 36 def __init__(self, rdclass, rdtype, algorithm, flags, iterations, salt): 37 super(NSEC3PARAM, self).__init__(rdclass, rdtype) 50 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 59 return cls(rdclass, rdtype, algorithm, flags, iterations, salt) 69 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 79 return cls(rdclass, rdtype, algorithm, flags, iterations, salt)
|
NXT.py | 32 def __init__(self, rdclass, rdtype, next, bitmap): 33 super(NXT, self).__init__(rdclass, rdtype) 48 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 70 return cls(rdclass, rdtype, next, bitmap) 81 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 88 return cls(rdclass, rdtype, next, bitmap)
|
RP.py | 32 def __init__(self, rdclass, rdtype, mbox, txt): 33 super(RP, self).__init__(rdclass, rdtype) 42 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 48 return cls(rdclass, rdtype, mbox, txt) 60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 74 return cls(rdclass, rdtype, mbox, txt)
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/IN/ |
A.py | 29 def __init__(self, rdclass, rdtype, address): 30 super(A, self).__init__(rdclass, rdtype) 38 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 41 return cls(rdclass, rdtype, address) 48 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 50 return cls(rdclass, rdtype, address)
|
AAAA.py | 29 def __init__(self, rdclass, rdtype, address): 30 super(AAAA, self).__init__(rdclass, rdtype) 38 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 41 return cls(rdclass, rdtype, address) 48 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 51 return cls(rdclass, rdtype, address)
|
DHCID.py | 28 def __init__(self, rdclass, rdtype, data): 29 super(DHCID, self).__init__(rdclass, rdtype) 35 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 46 return cls(rdclass, rdtype, data) 53 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 55 return cls(rdclass, rdtype, data)
|
NSAP.py | 29 def __init__(self, rdclass, rdtype, address): 30 super(NSAP, self).__init__(rdclass, rdtype) 36 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 45 return cls(rdclass, rdtype, address) 52 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 54 return cls(rdclass, rdtype, address)
|
PX.py | 35 def __init__(self, rdclass, rdtype, preference, map822, mapx400): 36 super(PX, self).__init__(rdclass, rdtype) 46 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 53 return cls(rdclass, rdtype, preference, map822, mapx400) 63 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 81 return cls(rdclass, rdtype, preference, map822, mapx400)
|
SRV.py | 37 def __init__(self, rdclass, rdtype, priority, weight, port, target): 38 super(SRV, self).__init__(rdclass, rdtype) 49 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 56 return cls(rdclass, rdtype, priority, weight, port, target) 65 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 76 return cls(rdclass, rdtype, priority, weight, port, target)
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ |
dsbase.py | 36 def __init__(self, rdclass, rdtype, key_tag, algorithm, digest_type, 38 super(DSBase, self).__init__(rdclass, rdtype) 50 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 64 return cls(rdclass, rdtype, key_tag, algorithm, digest_type, 75 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 80 return cls(rdclass, rdtype, header[0], header[1], header[2], digest)
|
mxbase.py | 35 def __init__(self, rdclass, rdtype, preference, exchange): 36 super(MXBase, self).__init__(rdclass, rdtype) 44 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 49 return cls(rdclass, rdtype, preference, exchange) 62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 72 return cls(rdclass, rdtype, preference, exchange)
|
nsbase.py | 32 def __init__(self, rdclass, rdtype, target): 33 super(NSBase, self).__init__(rdclass, rdtype) 40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 44 return cls(rdclass, rdtype, target) 54 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 61 return cls(rdclass, rdtype, target)
|
txtbase.py | 31 def __init__(self, rdclass, rdtype, strings): 32 super(TXTBase, self).__init__(rdclass, rdtype) 45 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 58 return cls(rdclass, rdtype, strings) 70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): 82 return cls(rdclass, rdtype, strings)
|