/external/scapy/scapy/contrib/ |
D | cdp.py | 97 clsname = _cdp_tlv_cls.get(t, "CDPMsgGeneric") 98 cls = globals()[clsname] 154 clsname = "CDPAddrRecordIPv4" 156 clsname = "CDPAddrRecordIPv6" 158 clsname = "CDPAddrRecord" 160 cls = globals()[clsname]
|
D | ospf.py | 181 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]
|
D | dtp.py | 111 clsname = _DTP_TLV_CLS.get(t, "DtpGenericTlv") 112 cls = globals()[clsname]
|
D | isis.py | 238 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
|
D | eigrp.py | 446 clsname = _eigrp_tlv_cls.get(t, "EIGRPGeneric") 447 cls = globals()[clsname]
|
D | bgp.py | 571 def __new__(cls, clsname, bases, attrs): argument 573 cls, clsname, bases, attrs)
|
/external/python/cpython2/Lib/ |
D | trace.py | 538 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.py | 775 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/ |
D | benchmark.py | 175 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/ |
D | trace.py | 476 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.py | 870 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/ |
D | ptyprocess.py | 341 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/ |
D | descriptor.rst | 1408 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.c | 1664 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/ |
D | test_io.py | 812 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/ |
D | test_pathlib.py | 288 clsname = p.__class__.__name__ 291 self.assertTrue(r.startswith(clsname + '('), r) 293 inner = r[len(clsname) + 1 : -1]
|
D | test_io.py | 1124 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)
|