/third_party/python/Lib/ |
D | _py_abc.py | 36 cls = super().__new__(mcls, name, bases, namespace, **kwargs) 43 value = getattr(cls, name, None) 46 cls.__abstractmethods__ = frozenset(abstracts) 48 cls._abc_registry = WeakSet() 49 cls._abc_cache = WeakSet() 50 cls._abc_negative_cache = WeakSet() 51 cls._abc_negative_cache_version = ABCMeta._abc_invalidation_counter 52 return cls 54 def register(cls, subclass): argument 61 if issubclass(subclass, cls): [all …]
|
D | enum.py | 57 def _make_class_unpicklable(cls): argument 63 cls.__reduce_ex__ = _break_on_call_reduce 64 cls.__module__ = '<unknown>' 165 def __prepare__(metacls, cls, bases, **kwds): argument 167 metacls._check_for_existing_members(cls, bases) 170 enum_dict._cls_name = cls 172 member_type, first_enum = metacls._get_mixins_(cls, bases) 179 def __new__(metacls, cls, bases, classdict, **kwds): argument 190 member_type, first_enum = metacls._get_mixins_(cls, bases) 214 enum_class = super().__new__(metacls, cls, bases, classdict, **kwds) [all …]
|
D | abc.py | 85 cls = super().__new__(mcls, name, bases, namespace, **kwargs) 86 _abc_init(cls) 87 return cls 89 def register(cls, subclass): argument 94 return _abc_register(cls, subclass) 96 def __instancecheck__(cls, instance): argument 98 return _abc_instancecheck(cls, instance) 100 def __subclasscheck__(cls, subclass): argument 102 return _abc_subclasscheck(cls, subclass) 104 def _dump_registry(cls, file=None): argument [all …]
|
/third_party/FreeBSD/sys/kern/ |
D | subr_kobj.c | 82 kobj_class_compile_common(kobj_class_t cls, kobj_ops_t ops) in kobj_class_compile_common() argument 90 if (cls->ops) in kobj_class_compile_common() 96 for (i = 0, m = cls->methods; m->desc; i++, m++) { in kobj_class_compile_common() 106 ops->cls = cls; in kobj_class_compile_common() 107 cls->ops = ops; in kobj_class_compile_common() 111 kobj_class_compile(kobj_class_t cls) in kobj_class_compile() argument 131 if (cls->ops) { in kobj_class_compile() 137 kobj_class_compile_common(cls, ops); in kobj_class_compile() 142 kobj_class_compile_static(kobj_class_t cls, kobj_ops_t ops) in kobj_class_compile_static() argument 151 cls->refs++; in kobj_class_compile_static() [all …]
|
/third_party/libnl/lib/route/ |
D | cls.c | 36 static int cls_build(struct rtnl_cls *cls, int type, int flags, in cls_build() argument 43 if ((cls->ce_mask & required) != required) { in cls_build() 48 err = rtnl_tc_msg_build(TC_CAST(cls), type, flags, result); in cls_build() 53 prio = rtnl_cls_get_prio(cls); in cls_build() 54 proto = rtnl_cls_get_protocol(cls); in cls_build() 76 void rtnl_cls_put(struct rtnl_cls *cls) in rtnl_cls_put() argument 78 nl_object_put((struct nl_object *) cls); in rtnl_cls_put() 88 void rtnl_cls_set_prio(struct rtnl_cls *cls, uint16_t prio) in rtnl_cls_set_prio() argument 90 cls->c_prio = prio; in rtnl_cls_set_prio() 91 cls->ce_mask |= CLS_ATTR_PRIO; in rtnl_cls_set_prio() [all …]
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_editor.py | 16 def setUpClass(cls): argument 18 cls.root = Tk() 19 cls.root.withdraw() 22 def tearDownClass(cls): argument 23 cls.root.update_idletasks() 24 for id in cls.root.tk.call('after', 'info'): 25 cls.root.after_cancel(id) 26 cls.root.destroy() 27 del cls.root 105 def setUpClass(cls): argument [all …]
|
D | test_help_about.py | 25 def setUpClass(cls): argument 27 cls.root = Tk() 28 cls.root.withdraw() 29 cls.dialog = About(cls.root, 'About IDLE', _utest=True) 32 def tearDownClass(cls): argument 33 del cls.dialog 34 cls.root.update_idletasks() 35 cls.root.destroy() 36 del cls.root 93 def setUpClass(cls): argument [all …]
|
D | test_config_key.py | 32 def setUpClass(cls): argument 34 cls.root = Tk() 35 cls.root.withdraw() 37 cls.dialog = cls.Validator( 38 cls.root, 'Title', '<<Test>>', keylist, _utest=True) 41 def tearDownClass(cls): argument 42 cls.dialog.cancel() 43 cls.root.update_idletasks() 44 cls.root.destroy() 45 del cls.dialog, cls.root [all …]
|
D | test_iomenu.py | 13 def setUpClass(cls): argument 15 cls.root = Tk() 16 cls.root.withdraw() 17 cls.editwin = EditorWindow(root=cls.root) 18 cls.io = iomenu.IOBinding(cls.editwin) 21 def tearDownClass(cls): argument 22 cls.io.close() 23 cls.editwin._close() 24 del cls.editwin 25 cls.root.update_idletasks() [all …]
|
D | test_autocomplete_w.py | 13 def setUpClass(cls): argument 15 cls.root = Tk() 16 cls.root.withdraw() 17 cls.text = Text(cls.root) 18 cls.acw = acw.AutoCompleteWindow(cls.text) 21 def tearDownClass(cls): argument 22 del cls.text, cls.acw 23 cls.root.update_idletasks() 24 cls.root.destroy() 25 del cls.root
|
D | test_calltip_w.py | 12 def setUpClass(cls): argument 14 cls.root = Tk() 15 cls.root.withdraw() 16 cls.text = Text(cls.root) 17 cls.calltip = calltip_w.CalltipWindow(cls.text) 20 def tearDownClass(cls): argument 21 cls.root.update_idletasks() 22 cls.root.destroy() 23 del cls.text, cls.root
|
D | test_zoomheight.py | 14 def setUpClass(cls): argument 16 cls.root = Tk() 17 cls.root.withdraw() 18 cls.editwin = EditorWindow(root=cls.root) 21 def tearDownClass(cls): argument 22 cls.editwin._close() 23 cls.root.update_idletasks() 24 for id in cls.root.tk.call('after', 'info'): 25 cls.root.after_cancel(id) # Need for EditorWindow. 26 cls.root.destroy() [all …]
|
D | test_editmenu.py | 18 def setUpClass(cls): argument 19 cls.root = root = tk.Tk() 20 cls.root.withdraw() 22 cls.text = tk.Text(root) 23 cls.entry = tk.Entry(root) 24 cls.tentry = ttk.Entry(root) 25 cls.spin = tk.Spinbox(root) 30 def tearDownClass(cls): argument 31 del cls.text, cls.entry, cls.tentry 32 cls.root.clipboard_clear() [all …]
|
/third_party/node/deps/npm/docs/public/static/ |
D | network-icon-f659855f70bb0e12addd96250807c241.svg | 1 …cls-1,.cls-16,.cls-2,.cls-3,.cls-6{fill:none;}.cls-1,.cls-13,.cls-14,.cls-15,.cls-16,.cls-2,.cls-3…
|
/third_party/node/deps/npm/docs/src/images/ |
D | network-icon.svg | 1 …cls-1,.cls-16,.cls-2,.cls-3,.cls-6{fill:none;}.cls-1,.cls-13,.cls-14,.cls-15,.cls-16,.cls-2,.cls-3…
|
D | manager-icon.svg | 1 …cls-1{opacity:0.7;}.cls-2{fill:#d42782;}.cls-3{fill:none;}.cls-3,.cls-4{stroke:#223839;stroke-line…
|
D | terminal-icon.svg | 1 …cls-1{fill:#413844;stroke-width:0.83px;}.cls-1,.cls-2,.cls-9{stroke:#223839;}.cls-1,.cls-9{stroke-…
|
/third_party/typescript/tests/baselines/reference/ |
D | jsDeclarationsExportSubAssignments.symbols | 1 === tests/cases/conformance/jsdoc/declarations/cls.js === 3 >Strings : Symbol(Strings, Decl(cls.js, 0, 5)) 6 >a : Symbol(a, Decl(cls.js, 0, 17)) 9 >b : Symbol(b, Decl(cls.js, 1, 11)) 13 >Foo : Symbol(Foo, Decl(cls.js, 3, 2)) 16 >module.exports : Symbol(module.exports, Decl(cls.js, 0, 0)) 17 >module : Symbol(export=, Decl(cls.js, 4, 12)) 18 >exports : Symbol(export=, Decl(cls.js, 4, 12)) 19 >Foo : Symbol(Foo, Decl(cls.js, 3, 2)) 22 >module.exports.Strings : Symbol(Strings, Decl(cls.js, 5, 21)) [all …]
|
D | jsDeclarationsClassExtendsVisibility.symbols | 1 === tests/cases/conformance/jsdoc/declarations/cls.js === 3 >Bar : Symbol(Bar, Decl(cls.js, 0, 5)) 8 >Strings : Symbol(Strings, Decl(cls.js, 1, 5)) 11 >a : Symbol(a, Decl(cls.js, 1, 17)) 14 >b : Symbol(b, Decl(cls.js, 2, 11)) 18 >Foo : Symbol(Foo, Decl(cls.js, 4, 2)) 19 >Bar : Symbol(Bar, Decl(cls.js, 0, 5)) 22 >module.exports : Symbol(module.exports, Decl(cls.js, 0, 0)) 23 >module : Symbol(export=, Decl(cls.js, 5, 24)) 24 >exports : Symbol(export=, Decl(cls.js, 5, 24)) [all …]
|
/third_party/boost/boost/wave/cpplexer/ |
D | cpplexer_exceptions.hpp | 33 #define BOOST_WAVE_LEXER_THROW(cls, code, msg, line, column, name) \ argument 37 stream << cls::severity_text(cls::code) << ": " \ 38 << cls::error_text(cls::code); \ 42 boost::throw_exception(cls(throwmsg.c_str(), cls::code, line, column, \ 48 #define BOOST_WAVE_LEXER_THROW(cls, code, msg, line, column, name) \ argument 52 stream << cls::severity_text(cls::code) << ": " \ 53 << cls::error_text(cls::code); \ 56 boost::throw_exception(cls(stream.str().c_str(), cls::code, line, column, \ 66 #define BOOST_WAVE_LEXER_THROW_VAR(cls, codearg, msg, line, column, name) \ argument 69 cls::error_code code = static_cast<cls::error_code>(codearg); \ [all …]
|
/third_party/libnl/tests/ |
D | test-u32-filter-with-actions.c | 110 struct rtnl_cls *cls; in u32_add_filter_on_ht_with_hashmask() local 113 cls=rtnl_cls_alloc(); in u32_add_filter_on_ht_with_hashmask() 114 if (!(cls)) { in u32_add_filter_on_ht_with_hashmask() 120 rtnl_tc_set_link(TC_CAST(cls), rtnlLink); in u32_add_filter_on_ht_with_hashmask() 122 if ((err = rtnl_tc_set_kind(TC_CAST(cls), "u32"))) { in u32_add_filter_on_ht_with_hashmask() 127 rtnl_cls_set_prio(cls, prio); in u32_add_filter_on_ht_with_hashmask() 128 rtnl_cls_set_protocol(cls, ETH_P_IP); in u32_add_filter_on_ht_with_hashmask() 130 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(0xffff, 0)); in u32_add_filter_on_ht_with_hashmask() 133 rtnl_u32_set_hashtable(cls, htid); in u32_add_filter_on_ht_with_hashmask() 135 rtnl_u32_add_key_uint32(cls, keyval, keymask, keyoff, keyoffmask); in u32_add_filter_on_ht_with_hashmask() [all …]
|
/third_party/cef/tools/ |
D | make_ctocpp_header.py | 9 def make_function_body_block(cls): argument 10 impl = ' // ' + cls.get_name() + ' methods.\n' 12 funcs = cls.get_virtual_funcs() 15 if cls.is_client_side(): 23 def make_function_body(header, cls): argument 24 impl = make_function_body_block(cls) 26 cur_cls = cls 44 cls = header.get_class(clsname) 45 if cls is None: 48 clientside = cls.is_client_side() [all …]
|
/third_party/protobuf/python/google/protobuf/ |
D | service_reflection.py | 70 def __init__(cls, name, bases, dictionary): argument 92 service_builder.BuildService(cls) 93 cls.DESCRIPTOR = descriptor 106 def __init__(cls, name, bases, dictionary): argument 116 descriptor = dictionary.get(cls._DESCRIPTOR_KEY) 120 super(GeneratedServiceStubType, cls).__init__(name, bases, dictionary) 127 service_stub_builder.BuildServiceStub(cls) 149 def BuildService(self, cls): argument 163 self.cls = cls 164 cls.CallMethod = _WrapCallMethod [all …]
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | python_message.py | 107 def __new__(cls, name, bases, dictionary): argument 156 superclass = super(GeneratedProtocolMessageType, cls) 157 new_class = superclass.__new__(cls, name, bases, dictionary) 160 def __init__(cls, name, bases, dictionary): argument 183 assert existing_class is cls, ( 188 cls._decoders_by_tag = {} 191 cls._decoders_by_tag[decoder.MESSAGE_SET_ITEM_TAG] = ( 196 _AttachFieldHelpers(cls, field) 198 descriptor._concrete_class = cls # pylint: disable=protected-access 199 _AddEnumValues(descriptor, cls) [all …]
|
/third_party/python/Lib/test/ |
D | test_subclassinit.py | 10 def __init_subclass__(cls): argument 12 cls.initialized = True 24 def __init_subclass__(cls): argument 26 cls.initialized = True 36 def __init_subclass__(cls, **kwargs): argument 37 cls.kwargs = kwargs 46 def __init_subclass__(cls): argument 55 def __init_subclass__(cls, whatever): argument 64 def __init_subclass__(cls, **kwargs): argument 66 cls.initialized = cls [all …]
|