Home
last modified time | relevance | path

Searched refs:clsname (Results 1 – 17 of 17) 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/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.py175 def __new__(mcs, clsname, base, attrs): argument
176 newclass = type.__new__(mcs, clsname, base, attrs)
206 def __new__(mcs, clsname, base, attrs): argument
232 return super(mcs, ParameterizedBenchmark).__new__(mcs, clsname, base, attrs)
/external/python/cpython3/Lib/
Dtrace.py476 clsname = None
479 clsname = self._caller_cache[code]
497 clsname = classes[0].__name__
502 self._caller_cache[code] = clsname
503 if clsname is not None:
504 funcname = "%s.%s" % (clsname, funcname)
D_pyio.py870 clsname = self.__class__.__qualname__
874 return "<{}.{}>".format(modname, clsname)
876 return "<{}.{} name={!r}>".format(modname, clsname, name)
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
Dptyprocess.py341 clsname = type(self).__name__
349 return "{}.spawn({})".format(clsname, ", ".join(args))
352 return "{}(pid={}, fd={})".format(clsname, self.pid, self.fd)
/external/python/cpython3/Doc/howto/
Ddescriptor.rst1408 def __init__(self, name, clsname, offset):
1412 self.clsname = clsname
1436 return f'<Member {self.name!r} of {self.clsname!r}>'
1446 def __new__(mcls, clsname, bases, mapping):
1451 mapping[name] = Member(name, clsname, offset)
1452 return type.__new__(mcls, clsname, bases, mapping)
/external/python/cpython3/Modules/
D_xxsubinterpretersmodule.c1664 const char *clsname = (end == CHANNEL_RECV) ? "RecvChannel" : in _channel_from_cid() local
1666 PyObject *cls = PyObject_GetAttrString(highlevel, clsname); in _channel_from_cid()
/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.py1124 clsname = r"(%s\.)?%s" % (self.tp.__module__, self.tp.__qualname__)
1125 self.assertRegex(repr(b), "<%s>" % clsname)
1127 self.assertRegex(repr(b), "<%s name='dummy'>" % clsname)
1129 self.assertRegex(repr(b), "<%s name=b'dummy'>" % clsname)