Home
last modified time | relevance | path

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

/third_party/cef/tools/
Dmake_ctocpp_impl.py9 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 …]
Dmake_cpptoc_header.py9 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 …]
Dmake_ctocpp_header.py43 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 …]
Dmake_cpptoc_impl.py546 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 …]
Dmake_gypi_file.py47 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)
Dmake_views_stub_impl.py10 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)
Dmake_wrapper_types_header.py20 for clsname in clsnames:
21 result += ' ' + get_wrapper_type_enum(clsname) + ',\n'
Dcef_parser.py33 def is_base_class(clsname): argument
37 return clsname == 'CefBaseRefCounted' or clsname == 'CefBaseScoped'
/third_party/nghttp2/doc/_exts/rubydomain/
Drubydomain.py288 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/
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.py894 clsname = self.__class__.__qualname__
898 return "<{}.{}>".format(modname, clsname)
900 return "<{}.{} name={!r}>".format(modname, clsname, name)
/third_party/python/Doc/howto/
Ddescriptor.rst1508 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.c1664 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/
Dtest_pathlib.py289 clsname = p.__class__.__name__
292 self.assertTrue(r.startswith(clsname + '('), r)
294 inner = r[len(clsname) + 1 : -1]
Dtest_io.py1135 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)