Home
last modified time | relevance | path

Searched refs:idna_codec (Results 1 – 25 of 37) sorted by relevance

12

/dports/finance/electrum/Electrum-4.1.5/packages/dns/
H A Drrset.py130 idna_codec=None): argument
142 name = dns.name.from_text(name, None, idna_codec=idna_codec)
148 rd = dns.rdata.from_text(r.rdclass, r.rdtype, t, idna_codec=idna_codec)
163 def from_rdata_list(name, ttl, rdatas, idna_codec=None): argument
176 name = dns.name.from_text(name, None, idna_codec=idna_codec)
H A Dname.py550 def to_unicode(self, omit_final_dot=False, idna_codec=None): argument
576 if idna_codec is None:
577 idna_codec = IDNA_2003_Practical
578 return '.'.join([idna_codec.decode(x) for x in l])
804 def from_unicode(text, origin=root, idna_codec=None): argument
831 if idna_codec is None:
832 idna_codec = IDNA_2003
859 labels.append(idna_codec.encode(label))
870 labels.append(idna_codec.encode(label))
884 def from_text(text, origin=root, idna_codec=None): argument
[all …]
H A Dtokenizer.py219 def __init__(self, f=sys.stdin, filename=None, idna_codec=None): argument
257 if idna_codec is None:
258 idna_codec = dns.name.IDNA_2003
259 self.idna_codec = idna_codec
590 name = dns.name.from_text(token.value, origin, self.idna_codec)
H A Dmessage.py962 def __init__(self, text, idna_codec, one_rr_per_rrset=False, argument
965 self.tok = dns.tokenizer.Tokenizer(text, idna_codec=idna_codec)
1167 def from_text(text, idna_codec=None, one_rr_per_rrset=False, argument
1203 reader = _TextReader(text, idna_codec, one_rr_per_rrset, origin,
1208 def from_file(f, idna_codec=None, one_rr_per_rrset=False): argument
1233 return from_text(f, idna_codec, one_rr_per_rrset)
1238 request_payload=None, options=None, idna_codec=None): argument
1282 qname = dns.name.from_text(qname, idna_codec=idna_codec)
H A Drdataset.py301 def from_text_list(rdclass, rdtype, ttl, text_rdatas, idna_codec=None): argument
317 rd = dns.rdata.from_text(r.rdclass, r.rdtype, t, idna_codec=idna_codec)
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/dns/
H A Drrset.py130 idna_codec=None): argument
142 name = dns.name.from_text(name, None, idna_codec=idna_codec)
148 rd = dns.rdata.from_text(r.rdclass, r.rdtype, t, idna_codec=idna_codec)
163 def from_rdata_list(name, ttl, rdatas, idna_codec=None): argument
176 name = dns.name.from_text(name, None, idna_codec=idna_codec)
H A Dname.py550 def to_unicode(self, omit_final_dot=False, idna_codec=None): argument
576 if idna_codec is None:
577 idna_codec = IDNA_2003_Practical
578 return '.'.join([idna_codec.decode(x) for x in l])
804 def from_unicode(text, origin=root, idna_codec=None): argument
831 if idna_codec is None:
832 idna_codec = IDNA_2003
859 labels.append(idna_codec.encode(label))
870 labels.append(idna_codec.encode(label))
884 def from_text(text, origin=root, idna_codec=None): argument
[all …]
H A Dtokenizer.py219 def __init__(self, f=sys.stdin, filename=None, idna_codec=None): argument
257 if idna_codec is None:
258 idna_codec = dns.name.IDNA_2003
259 self.idna_codec = idna_codec
590 name = dns.name.from_text(token.value, origin, self.idna_codec)
H A Dmessage.py962 def __init__(self, text, idna_codec, one_rr_per_rrset=False, argument
965 self.tok = dns.tokenizer.Tokenizer(text, idna_codec=idna_codec)
1167 def from_text(text, idna_codec=None, one_rr_per_rrset=False, argument
1203 reader = _TextReader(text, idna_codec, one_rr_per_rrset, origin,
1208 def from_file(f, idna_codec=None, one_rr_per_rrset=False): argument
1233 return from_text(f, idna_codec, one_rr_per_rrset)
1238 request_payload=None, options=None, idna_codec=None): argument
1282 qname = dns.name.from_text(qname, idna_codec=idna_codec)
H A Drdataset.py301 def from_text_list(rdclass, rdtype, ttl, text_rdatas, idna_codec=None): argument
317 rd = dns.rdata.from_text(r.rdclass, r.rdtype, t, idna_codec=idna_codec)
/dports/dns/py-dnspython2/dnspython-2.1.0/dns/
H A Drrset.py153 idna_codec=None, origin=None, relativize=True, argument
174 name = dns.name.from_text(name, None, idna_codec=idna_codec)
181 relativize_to, idna_codec)
196 def from_rdata_list(name, ttl, rdatas, idna_codec=None): argument
209 name = dns.name.from_text(name, None, idna_codec=idna_codec)
H A Dname.py545 def to_unicode(self, omit_final_dot=False, idna_codec=None): argument
571 if idna_codec is None:
572 idna_codec = IDNA_2003_Practical
573 return '.'.join([idna_codec.decode(x) for x in l])
799 def from_unicode(text, origin=root, idna_codec=None): argument
826 if idna_codec is None:
827 idna_codec = IDNA_2003
854 labels.append(idna_codec.encode(label))
865 labels.append(idna_codec.encode(label))
879 def from_text(text, origin=root, idna_codec=None): argument
[all …]
H A Dtokenizer.py226 def __init__(self, f=sys.stdin, filename=None, idna_codec=None): argument
264 if idna_codec is None:
265 idna_codec = dns.name.IDNA_2003
266 self.idna_codec = idna_codec
632 name = dns.name.from_text(token.value, origin, self.idna_codec)
H A Dmessage.py1103 def __init__(self, text, idna_codec, one_rr_per_rrset=False, argument
1106 self.tok = dns.tokenizer.Tokenizer(text, idna_codec=idna_codec)
1314 def from_text(text, idna_codec=None, one_rr_per_rrset=False, argument
1350 reader = _TextReader(text, idna_codec, one_rr_per_rrset, origin,
1355 def from_file(f, idna_codec=None, one_rr_per_rrset=False): argument
1380 return from_text(f, idna_codec, one_rr_per_rrset)
1385 request_payload=None, options=None, idna_codec=None): argument
1429 qname = dns.name.from_text(qname, idna_codec=idna_codec)
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/dns/
H A Drrset.py130 idna_codec=None): argument
138 name = dns.name.from_text(name, None, idna_codec=idna_codec)
161 def from_rdata_list(name, ttl, rdatas, idna_codec=None): argument
169 name = dns.name.from_text(name, None, idna_codec=idna_codec)
H A Dname.py557 def to_unicode(self, omit_final_dot=False, idna_codec=None): argument
583 if idna_codec is None:
584 idna_codec = IDNA_2003_Practical
585 return u'.'.join([idna_codec.decode(x) for x in l])
798 def from_unicode(text, origin=root, idna_codec=None): argument
825 if idna_codec is None:
826 idna_codec = IDNA_2003
853 labels.append(idna_codec.encode(label))
864 labels.append(idna_codec.encode(label))
873 def from_text(text, origin=root, idna_codec=None): argument
[all …]
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/dns/
H A Drrset.py123 idna_codec=None): argument
131 name = dns.name.from_text(name, None, idna_codec=idna_codec)
154 def from_rdata_list(name, ttl, rdatas, idna_codec=None): argument
162 name = dns.name.from_text(name, None, idna_codec=idna_codec)
H A Dname.py525 def to_unicode(self, omit_final_dot=False, idna_codec=None): argument
550 if idna_codec is None:
551 idna_codec = IDNA_2003_Practical
552 return u'.'.join([idna_codec.decode(x) for x in l])
737 def from_unicode(text, origin=root, idna_codec=None): argument
761 if idna_codec is None:
762 idna_codec = IDNA_2003
789 labels.append(idna_codec.encode(label))
800 labels.append(idna_codec.encode(label))
809 def from_text(text, origin=root, idna_codec=None): argument
[all …]
/dports/dns/py-dnspython/dnspython-1.16.0/dns/
H A Drrset.py130 idna_codec=None): argument
138 name = dns.name.from_text(name, None, idna_codec=idna_codec)
161 def from_rdata_list(name, ttl, rdatas, idna_codec=None): argument
169 name = dns.name.from_text(name, None, idna_codec=idna_codec)
H A Dname.py557 def to_unicode(self, omit_final_dot=False, idna_codec=None): argument
583 if idna_codec is None:
584 idna_codec = IDNA_2003_Practical
585 return u'.'.join([idna_codec.decode(x) for x in l])
798 def from_unicode(text, origin=root, idna_codec=None): argument
825 if idna_codec is None:
826 idna_codec = IDNA_2003
853 labels.append(idna_codec.encode(label))
864 labels.append(idna_codec.encode(label))
873 def from_text(text, origin=root, idna_codec=None): argument
[all …]
/dports/security/john/john-1.9.0-jumbo-1/run/dns/
H A Drrset.py128 idna_codec=None): argument
136 name = dns.name.from_text(name, None, idna_codec=idna_codec)
159 def from_rdata_list(name, ttl, rdatas, idna_codec=None): argument
167 name = dns.name.from_text(name, None, idna_codec=idna_codec)
H A Dname.py555 def to_unicode(self, omit_final_dot=False, idna_codec=None): argument
581 if idna_codec is None:
582 idna_codec = IDNA_2003_Practical
583 return u'.'.join([idna_codec.decode(x) for x in l])
796 def from_unicode(text, origin=root, idna_codec=None): argument
823 if idna_codec is None:
824 idna_codec = IDNA_2003
851 labels.append(idna_codec.encode(label))
862 labels.append(idna_codec.encode(label))
871 def from_text(text, origin=root, idna_codec=None): argument
[all …]
/dports/dns/py-dnspython/dnspython-1.16.0/tests/
H A Dtest_name.py657 e = dns.name.from_unicode(t, idna_codec=dns.name.IDNA_2003)
670 return dns.name.from_unicode(t, idna_codec=codec)
672 e1 = dns.name.from_unicode(t, idna_codec=dns.name.IDNA_2008)
675 e2 = dns.name.from_unicode(t, idna_codec=c2)
688 return dns.name.from_unicode(t, idna_codec=codec)
691 return dns.name.from_unicode(t, idna_codec=codec)
694 return dns.name.from_unicode(t, idna_codec=codec)
699 idna_codec=dns.name.IDNA_2008_Practical)
720 idna_codec=dns.name.IDNA_2008)
737 n.to_unicode(idna_codec=dns.name.IDNA_2003_Strict)
/dports/dns/py-dnspython2/dnspython-2.1.0/tests/
H A Dtest_name.py739 e = dns.name.from_unicode(t, idna_codec=dns.name.IDNA_2003)
753 return dns.name.from_unicode(t, idna_codec=codec)
755 e1 = dns.name.from_unicode(t, idna_codec=dns.name.IDNA_2008)
758 e2 = dns.name.from_unicode(t, idna_codec=c2)
772 return dns.name.from_unicode(t, idna_codec=codec)
775 return dns.name.from_unicode(t, idna_codec=codec)
778 return dns.name.from_unicode(t, idna_codec=codec)
810 idna_codec=dns.name.IDNA_2008)
823 self.assertEqual(n.to_unicode(idna_codec=codec),
846 n.to_unicode(idna_codec=dns.name.IDNA_2003_Strict)
[all …]
H A Dtest_rdataset.py26 idna_codec=dns.name.IDNA_2008)
29 idna_codec=dns.name.IDNA_2008)

12