/third_party/cef/tools/ |
D | make_ctocpp_impl.py | 9 def make_ctocpp_impl_proto(clsname, name, func, parts): argument 13 if clsname is None: 16 proto += parts['retval'] + ' ' + clsname 28 def make_ctocpp_function_impl_existing(clsname, name, func, impl): argument 38 return make_ctocpp_impl_proto(clsname, name, func, parts)+'{'+ \ 42 def make_ctocpp_function_impl_new(clsname, name, func, base_scoped): argument 49 result = make_ctocpp_impl_proto(clsname, name, func, parts) + ' {' 58 if clsname == func.parent.get_name(): 59 result += '\n ' + get_capi_name(clsname, 501 def make_ctocpp_function_impl(clsname, funcs, existing, base_scoped): argument [all …]
|
D | make_cpptoc_header.py | 9 def make_cpptoc_header(header, clsname): argument 10 cls = header.get_class(clsname) 12 raise Exception('Class does not exist: ' + clsname) 20 defname += get_capi_name(clsname[3:], False) 56 base_class_name = header.get_base_class_name(clsname) 73 result += 'class '+clsname+'CppToC\n'+ \ 74 … ' : public ' + template_class + '<'+clsname+'CppToC, '+clsname+', '+capiname+'> {\n'+ \ 76 ' '+clsname+'CppToC();\n'+ \ 77 ' virtual ~'+clsname+'CppToC();\n'+ \ 85 def write_cpptoc_header(header, clsname, dir): argument [all …]
|
D | make_ctocpp_header.py | 43 def make_ctocpp_header(header, clsname): argument 44 cls = header.get_class(clsname) 46 raise Exception('Class does not exist: ' + clsname) 54 defname += get_capi_name(clsname[3:], False) 99 base_class_name = header.get_base_class_name(clsname) 116 result += 'class '+clsname+'CToCpp\n'+ \ 117 … ' : public ' + template_class + '<'+clsname+'CToCpp, '+clsname+', '+capiname+'> {\n'+ \ 119 ' '+clsname+'CToCpp();\n'+ \ 120 ' virtual ~'+clsname+'CToCpp();\n\n' 130 def write_ctocpp_header(header, clsname, dir): argument [all …]
|
D | make_cpptoc_impl.py | 546 for clsname in derived_classes: 547 impl[0] += ' if (type == '+get_wrapper_type_enum(clsname)+') {\n'+\ 548 ' return '+clsname+'CppToC::UnwrapOwn(reinterpret_cast<'+\ 549 get_capi_name(clsname, True)+'*>(s));\n'+\ 551 impl[1] += ' if (type == '+get_wrapper_type_enum(clsname)+') {\n'+\ 552 ' return '+clsname+'CppToC::UnwrapRaw(reinterpret_cast<'+\ 553 get_capi_name(clsname, True)+'*>(s));\n'+\ 557 for clsname in derived_classes: 558 impl += ' if (type == '+get_wrapper_type_enum(clsname)+') {\n'+\ 559 ' return '+clsname+'CppToC::Unwrap(reinterpret_cast<'+\ [all …]
|
D | make_gypi_file.py | 47 for clsname in classes: 48 cls = header.get_class(clsname) 49 filename = get_capi_name(clsname[3:], False) 63 for clsname in classes: 64 cls = header.get_class(clsname) 65 filename = get_capi_name(clsname[3:], False)
|
D | make_views_stub_impl.py | 10 def make_views_function_stub_impl(clsname, func): argument 15 result = make_ctocpp_impl_proto(clsname, name, func, parts) + ' {' 41 clsname = cls.get_name() 44 impl += make_views_function_stub_impl(clsname, func)
|
D | make_wrapper_types_header.py | 20 for clsname in clsnames: 21 result += ' ' + get_wrapper_type_enum(clsname) + ',\n'
|
D | cef_parser.py | 33 def is_base_class(clsname): argument 37 return clsname == 'CefBaseRefCounted' or clsname == 'CefBaseScoped'
|
/third_party/nghttp2/doc/_exts/rubydomain/ |
D | rubydomain.py | 288 clsname, methname = ruby_rsplit(name) 296 clsname) 298 return _('%s() (%s method)') % (methname, clsname) 352 clsname, methname = ruby_rsplit(name) 357 clsname) 359 return _('%s() (%s class method)') % (methname, clsname) 362 clsname, attrname = ruby_rsplit(name) 366 return _('%s (%s.%s attribute)') % (attrname, modname, clsname) 368 return _('%s (%s attribute)') % (attrname, clsname) 685 clsname = node.get('rb:class') [all …]
|
/third_party/python/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 | 894 clsname = self.__class__.__qualname__ 898 return "<{}.{}>".format(modname, clsname) 900 return "<{}.{} name={!r}>".format(modname, clsname, name)
|
/third_party/python/Doc/howto/ |
D | descriptor.rst | 1508 def __init__(self, name, clsname, offset): 1512 self.clsname = clsname 1536 return f'<Member {self.name!r} of {self.clsname!r}>' 1546 def __new__(mcls, clsname, bases, mapping): 1551 mapping[name] = Member(name, clsname, offset) 1552 return type.__new__(mcls, clsname, bases, mapping)
|
/third_party/python/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()
|
/third_party/python/Lib/test/ |
D | test_pathlib.py | 289 clsname = p.__class__.__name__ 292 self.assertTrue(r.startswith(clsname + '('), r) 294 inner = r[len(clsname) + 1 : -1]
|
D | test_io.py | 1135 clsname = r"(%s\.)?%s" % (self.tp.__module__, self.tp.__qualname__) 1136 self.assertRegex(repr(b), "<%s>" % clsname) 1138 self.assertRegex(repr(b), "<%s name='dummy'>" % clsname) 1140 self.assertRegex(repr(b), "<%s name=b'dummy'>" % clsname)
|