Home
last modified time | relevance | path

Searched refs:clsname (Results 1 – 14 of 14) sorted by relevance

/external/scapy/scapy/contrib/
Dcdp.py97 clsname = _cdp_tlv_cls.get(t, "CDPMsgGeneric")
98 cls = globals()[clsname]
154 clsname = "CDPAddrRecordIPv4"
156 clsname = "CDPAddrRecordIPv6"
158 clsname = "CDPAddrRecord"
160 cls = globals()[clsname]
Dospf.py181 clsname = _OSPF_LLSclasses.get(typ, "LLS_Generic_TLV")
182 cls = globals()[clsname]
268 clsname = _OSPF_LSclasses.get(typ, "Raw")
269 cls = globals()[clsname]
526 clsname = _OSPFv3_LSclasses.get(typ, "Raw")
527 cls = globals()[clsname]
Ddtp.py111 clsname = _DTP_TLV_CLS.get(t, "DtpGenericTlv")
112 cls = globals()[clsname]
Disis.py238 clsname = tlv_classes.get(tlvtype, defaultname)
239 cls = globals()[clsname]
802 def _lsp_answers(lsp, other, clsname): argument
831 def _snp_answers(snp, other, clsname): argument
Deigrp.py446 clsname = _eigrp_tlv_cls.get(t, "EIGRPGeneric")
447 cls = globals()[clsname]
Dbgp.py571 def __new__(cls, clsname, bases, attrs): argument
573 cls, clsname, bases, attrs)
/external/python/cpython3/Lib/
Dtrace.py475 clsname = None
478 clsname = self._caller_cache[code]
496 clsname = classes[0].__name__
501 self._caller_cache[code] = clsname
502 if clsname is not None:
503 funcname = "%s.%s" % (clsname, funcname)
D_pyio.py817 clsname = self.__class__.__qualname__
821 return "<{}.{}>".format(modname, clsname)
823 return "<{}.{} name={!r}>".format(modname, clsname, name)
/external/python/cpython2/Lib/
Dtrace.py538 clsname = None
541 clsname = self._caller_cache[code]
559 clsname = classes[0].__name__
564 self._caller_cache[code] = clsname
565 if clsname is not None:
566 funcname = "%s.%s" % (clsname, funcname)
D_pyio.py775 clsname = self.__class__.__name__
779 return "<_pyio.{0}>".format(clsname)
781 return "<_pyio.{0} name={1!r}>".format(clsname, name)
/external/tensorflow/tensorflow/python/platform/
Dbenchmark.py118 def __new__(mcs, clsname, base, attrs): argument
120 mcs, clsname, base, attrs)
/external/python/cpython2/Lib/test/
Dtest_io.py812 clsname = "%s.%s" % (self.tp.__module__, self.tp.__name__)
813 self.assertEqual(repr(b), "<%s>" % clsname)
815 self.assertEqual(repr(b), "<%s name=u'dummy'>" % clsname)
817 self.assertEqual(repr(b), "<%s name='dummy'>" % clsname)
/external/python/cpython3/Lib/test/
Dtest_pathlib.py288 clsname = p.__class__.__name__
291 self.assertTrue(r.startswith(clsname + '('), r)
293 inner = r[len(clsname) + 1 : -1]
Dtest_io.py1107 clsname = "%s.%s" % (self.tp.__module__, self.tp.__qualname__)
1108 self.assertEqual(repr(b), "<%s>" % clsname)
1110 self.assertEqual(repr(b), "<%s name='dummy'>" % clsname)
1112 self.assertEqual(repr(b), "<%s name=b'dummy'>" % clsname)