/external/chromium_org/third_party/cython/src/Cython/Utility/ |
D | ObjectHandling.c | 669 static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases); 673 static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases) { 683 if (!metaclass) { 684 metaclass = tmptype; 687 if (PyType_IsSubtype(metaclass, tmptype)) 689 if (PyType_IsSubtype(tmptype, metaclass)) { 690 metaclass = tmptype; 701 if (!metaclass) { 703 metaclass = &PyClass_Type; 705 metaclass = &PyType_Type; [all …]
|
/external/javassist/src/main/javassist/tools/reflect/ |
D | Reflection.java | 146 String metaobject, String metaclass) in makeReflective() argument 151 classPool.get(metaclass)); in makeReflective() 172 Class metaobject, Class metaclass) in makeReflective() argument 176 metaclass.getName()); in makeReflective() 198 CtClass metaobject, CtClass metaclass) in makeReflective() argument 217 return modifyClassfile(clazz, metaobject, metaclass); in makeReflective() 238 CtClass metaclass) in modifyClassfile() argument 268 clazz.addField(f, CtField.Initializer.byNew(metaclass, in modifyClassfile()
|
D | Loader.java | 158 String metaobject, String metaclass) in makeReflective() argument 161 return reflection.makeReflective(clazz, metaobject, metaclass); in makeReflective()
|
/external/chromium_org/third_party/jinja2/ |
D | _compat.py | 102 class metaclass(meta): class 109 return metaclass('temporary_class', None, {})
|
/external/chromium_org/third_party/cython/src/ |
D | pylintrc | 251 # List of valid names for the first argument in a metaclass class method. 252 valid-metaclass-classmethod-first-arg=mcs
|
D | CHANGES.rst | 166 * The metaclass of a Python class was not inherited from its parent 168 provided explicitly using the Py3 ``metaclass`` keyword argument. 170 dict will still take precedence if not using Py3 metaclass syntax, 172 by a metaclass of a base class, see PEP 3115). It is generally
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
D | Nodes.py | 3983 metaclass = None variable in PyClassDefNode 4008 if self.metaclass is not None: 4013 self.metaclass = item.value 4022 assert self.metaclass is not None 4024 if force_py3_semantics or self.bases or self.mkw or self.metaclass: 4025 if self.metaclass is None: 4036 self.metaclass = ExprNodes.PyClassMetaclassNode( 4044 metaclass=self.metaclass, bases=self.bases, mkw=self.mkw) 4048 metaclass=self.metaclass, mkw=self.mkw, 4131 if self.metaclass: [all …]
|
D | ExprNodes.py | 6993 if self.metaclass: 6994 metaclass = self.metaclass.result() 6996 metaclass = "((PyObject*)&__Pyx_DefaultClassType)" 7000 metaclass, 7193 if self.metaclass: 7194 metaclass = self.metaclass.result() 7196 metaclass = "(PyObject *) NULL" 7200 metaclass,
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 6570 bool metaclass = ((flags & CLS_META) != 0); in Write__class_ro_t_initializer() local 6573 if (metaclass) in Write__class_ro_t_initializer() 6583 if (!metaclass && baseProtocols.size() > 0) { in Write__class_ro_t_initializer() 6591 if (!metaclass && ivars.size() > 0) { in Write__class_ro_t_initializer() 6601 if (!metaclass && Properties.size() > 0) { in Write__class_ro_t_initializer() 6614 const ObjCInterfaceDecl *CDecl, bool metaclass) { in Write_class_t() argument 6626 if (metaclass && rootClass) { in Write_class_t() 6654 if (metaclass && RootClass != SuperClass) { in Write_class_t() 6672 if (metaclass) { in Write_class_t() 6703 if (metaclass) in Write_class_t() [all …]
|
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
D | AppleObjCRuntimeV2.cpp | 993 …ClassDescriptorV2 metaclass(m_runtime, objc_class->m_isa, NULL); // The metaclass is not in the ca… in Describe() local 998 metaclass.Describe(std::function <void (ObjCLanguageRuntime::ObjCISA)> (nullptr), in Describe()
|
/external/clang/docs/ |
D | AutomaticReferenceCounting.rst | 120 every class *T* there's an associated metaclass; it has no fields, its 121 superclass is the metaclass of *T*'s superclass, and its metaclass is a global 122 class. Every class has a global object whose class is the class's metaclass; 131 can be invoked on objects of the metaclass. A method may be invoked by
|