Searched refs:fq_name (Results 1 – 3 of 3) sorted by relevance
175 def for_name(fq_name, recursive=False): argument202 if fq_name is None:205 fq_name = str(fq_name)207 short_name = fq_name209 if fq_name.rfind(".") >= 0:210 (module_name, short_name) = (fq_name[:fq_name.rfind(".")],211 fq_name[fq_name.rfind(".") + 1:])249 def handler_for_name(fq_name): argument262 resolved_name = for_name(fq_name)328 def get_short_name(fq_name): argument[all …]
69 def for_name(fq_name, recursive=False): argument92 fq_name = str(fq_name)94 short_name = fq_name96 if fq_name.rfind(".") >= 0:97 (module_name, short_name) = (fq_name[:fq_name.rfind(".")],98 fq_name[fq_name.rfind(".") + 1:])
43 fq_name = 'unique_prefix.' + name45 q_srv = dpkt.dns.DNS.Q(name=fq_name, type=dpkt.dns.DNS_SRV)46 q_txt = dpkt.dns.DNS.Q(name=fq_name, type=dpkt.dns.DNS_TXT)59 self.assertEqual(fq_name, ptr_resp.ptrname)