Home
last modified time | relevance | path

Searched refs:PyTypeObject (Results 1 – 25 of 597) sorted by relevance

12345678910>>...24

/external/python/cpython3/Tools/c-analyzer/
DTODO612 # PyTypeObject (311)
613 Modules/_abc.c:_abc_data_type static PyTypeObject _abc_data_type
614 Modules/_blake2/blake2b_impl.c:PyBlake2_BLAKE2bType PyTypeObject PyBlake2_BLAKE2bType
615 Modules/_blake2/blake2s_impl.c:PyBlake2_BLAKE2sType PyTypeObject PyBlake2_BLAKE2sType
616 Modules/_collectionsmodule.c:defdict_type static PyTypeObject defdict_type
617 Modules/_collectionsmodule.c:deque_type static PyTypeObject deque_type
618 Modules/_collectionsmodule.c:dequeiter_type static PyTypeObject dequeiter_type
619 Modules/_collectionsmodule.c:dequereviter_type static PyTypeObject dequereviter_t…
620 Modules/_collectionsmodule.c:tuplegetter_type static PyTypeObject tuplegetter_ty…
621 Modules/_functoolsmodule.c:keyobject_type static PyTypeObject keyobject_type
[all …]
Dknown.tsv2 Modules/_abc.c - _abc_data_type variable static PyTypeObject _abc_data_type
7 Modules/itertoolsmodule.c - accumulate_type variable static PyTypeObject accumulate_type
9 Python/Python-ast.c - Add_type variable static PyTypeObject *Add_type
15 Python/Python-ast.c - alias_type variable static PyTypeObject *alias_type
18 Python/Python-ast.c - And_type variable static PyTypeObject *And_type
20 Python/Python-ast.c - AnnAssign_type variable static PyTypeObject *AnnAssign_type
25 Python/Python-ast.c - arg_type variable static PyTypeObject *arg_type
27 Python/Python-ast.c - arguments_type variable static PyTypeObject *arguments_type
30 Python/Python-ast.c - Assert_type variable static PyTypeObject *Assert_type
32 Python/Python-ast.c - Assign_type variable static PyTypeObject *Assign_type
[all …]
/external/python/cpython3/Include/
Ddescrobject.h43 PyTypeObject *d_type;
76 PyAPI_DATA(PyTypeObject) PyClassMethodDescr_Type;
77 PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type;
78 PyAPI_DATA(PyTypeObject) PyMemberDescr_Type;
79 PyAPI_DATA(PyTypeObject) PyMethodDescr_Type;
80 PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type;
81 PyAPI_DATA(PyTypeObject) PyDictProxy_Type;
83 PyAPI_DATA(PyTypeObject) _PyMethodWrapper_Type;
86 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
87 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
[all …]
Ddictobject.h15 PyAPI_DATA(PyTypeObject) PyDict_Type;
63 PyAPI_DATA(PyTypeObject) PyDictKeys_Type;
64 PyAPI_DATA(PyTypeObject) PyDictValues_Type;
65 PyAPI_DATA(PyTypeObject) PyDictItems_Type;
76 PyAPI_DATA(PyTypeObject) PyDictIterKey_Type;
77 PyAPI_DATA(PyTypeObject) PyDictIterValue_Type;
78 PyAPI_DATA(PyTypeObject) PyDictIterItem_Type;
80 PyAPI_DATA(PyTypeObject) PyDictRevIterKey_Type;
81 PyAPI_DATA(PyTypeObject) PyDictRevIterItem_Type;
82 PyAPI_DATA(PyTypeObject) PyDictRevIterValue_Type;
Dobject.h66 typedef struct _typeobject PyTypeObject; typedef
108 PyTypeObject *ob_type;
127 static inline int _Py_IS_TYPE(const PyObject *ob, const PyTypeObject *type) { in _Py_IS_TYPE()
137 static inline void _Py_SET_TYPE(PyObject *ob, PyTypeObject *type) { in _Py_SET_TYPE()
193 typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *);
194 typedef PyObject *(*allocfunc)(PyTypeObject *, Py_ssize_t);
214 PyAPI_FUNC(void*) PyType_GetSlot(PyTypeObject*, int);
223 PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
227 PyAPI_DATA(PyTypeObject) PyType_Type; /* built-in 'type' */
228 PyAPI_DATA(PyTypeObject) PyBaseObject_Type; /* built-in 'object' */
[all …]
Dgenobject.h36 PyAPI_DATA(PyTypeObject) PyGen_Type;
56 PyAPI_DATA(PyTypeObject) PyCoro_Type;
57 PyAPI_DATA(PyTypeObject) _PyCoroWrapper_Type;
82 PyAPI_DATA(PyTypeObject) PyAsyncGen_Type;
83 PyAPI_DATA(PyTypeObject) _PyAsyncGenASend_Type;
84 PyAPI_DATA(PyTypeObject) _PyAsyncGenWrappedValue_Type;
85 PyAPI_DATA(PyTypeObject) _PyAsyncGenAThrow_Type;
Ddatetime.h152 PyTypeObject *DateType;
153 PyTypeObject *DateTimeType;
154 PyTypeObject *TimeType;
155 PyTypeObject *DeltaType;
156 PyTypeObject *TZInfoType;
162 PyObject *(*Date_FromDate)(int, int, int, PyTypeObject*);
164 PyObject*, PyTypeObject*);
165 PyObject *(*Time_FromTime)(int, int, int, int, PyObject*, PyTypeObject*);
166 PyObject *(*Delta_FromDelta)(int, int, int, int, PyTypeObject*);
175 PyObject*, int, PyTypeObject*);
[all …]
/external/python/cpython3/Modules/_io/
D_iomodule.h8 extern PyTypeObject PyIOBase_Type;
9 extern PyTypeObject PyRawIOBase_Type;
10 extern PyTypeObject PyBufferedIOBase_Type;
11 extern PyTypeObject PyTextIOBase_Type;
14 extern PyTypeObject PyFileIO_Type;
15 extern PyTypeObject PyBytesIO_Type;
16 extern PyTypeObject PyStringIO_Type;
17 extern PyTypeObject PyBufferedReader_Type;
18 extern PyTypeObject PyBufferedWriter_Type;
19 extern PyTypeObject PyBufferedRWPair_Type;
[all …]
/external/python/cpython2/Include/
Ddescrobject.h42 PyTypeObject *d_type; \
70 PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type;
71 PyAPI_DATA(PyTypeObject) PyDictProxy_Type;
72 PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type;
73 PyAPI_DATA(PyTypeObject) PyMemberDescr_Type;
75 PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
76 PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
77 PyAPI_FUNC(PyObject *) PyDescr_NewMember(PyTypeObject *,
79 PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *,
81 PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *,
[all …]
Ddatetime.h142 PyTypeObject *DateType;
143 PyTypeObject *DateTimeType;
144 PyTypeObject *TimeType;
145 PyTypeObject *DeltaType;
146 PyTypeObject *TZInfoType;
149 PyObject *(*Date_FromDate)(int, int, int, PyTypeObject*);
151 PyObject*, PyTypeObject*);
152 PyObject *(*Time_FromTime)(int, int, int, int, PyObject*, PyTypeObject*);
153 PyObject *(*Delta_FromDelta)(int, int, int, int, PyTypeObject*);
/external/python/cpython2/Modules/_io/
D_iomodule.h6 extern PyTypeObject PyIOBase_Type;
7 extern PyTypeObject PyRawIOBase_Type;
8 extern PyTypeObject PyBufferedIOBase_Type;
9 extern PyTypeObject PyTextIOBase_Type;
12 extern PyTypeObject PyFileIO_Type;
13 extern PyTypeObject PyBytesIO_Type;
14 extern PyTypeObject PyStringIO_Type;
15 extern PyTypeObject PyBufferedReader_Type;
16 extern PyTypeObject PyBufferedWriter_Type;
17 extern PyTypeObject PyBufferedRWPair_Type;
[all …]
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst9 structure that defines a new type: the :c:type:`PyTypeObject` structure. Type
28 The structure definition for :c:type:`PyTypeObject` can be found in
38 metatype) initializes :c:member:`~PyTypeObject.tp_itemsize`, which means that its instances (i.e.
72 .. c:member:: PyTypeObject* PyObject.ob_type
103 .. c:member:: char* PyTypeObject.tp_name
111 should have the :c:member:`~PyTypeObject.tp_name` initializer ``"P.Q.M.T"``.
122 … If no dot is present, the entire :c:member:`~PyTypeObject.tp_name` field is made accessible as the
131 .. c:member:: Py_ssize_t PyTypeObject.tp_basicsize
132 Py_ssize_t PyTypeObject.tp_itemsize
137 :c:member:`~PyTypeObject.tp_itemsize` field, types with variable-length instances have a non-zero
[all …]
Ddescriptor.rst12 .. c:var:: PyTypeObject PyProperty_Type
19 .. c:function:: PyObject* PyDescr_NewGetSet(PyTypeObject *type, struct PyGetSetDef *getset)
24 .. c:function:: PyObject* PyDescr_NewMember(PyTypeObject *type, struct PyMemberDef *meth)
29 .. c:function:: PyObject* PyDescr_NewMethod(PyTypeObject *type, struct PyMethodDef *meth)
34 .. c:function:: PyObject* PyDescr_NewWrapper(PyTypeObject *type, struct wrapperbase *wrapper, void …
39 .. c:function:: PyObject* PyDescr_NewClassMethod(PyTypeObject *type, PyMethodDef *method)
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.h44 extern PyTypeObject PyMessageDescriptor_Type;
45 extern PyTypeObject PyFieldDescriptor_Type;
46 extern PyTypeObject PyEnumDescriptor_Type;
47 extern PyTypeObject PyEnumValueDescriptor_Type;
48 extern PyTypeObject PyFileDescriptor_Type;
49 extern PyTypeObject PyOneofDescriptor_Type;
50 extern PyTypeObject PyServiceDescriptor_Type;
51 extern PyTypeObject PyMethodDescriptor_Type;
/external/python/cpython3/Modules/clinic/
Ditertoolsmodule.c.h19 itertools_groupby_impl(PyTypeObject *type, PyObject *it, PyObject *keyfunc);
22 itertools_groupby(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_groupby()
51 itertools__grouper_impl(PyTypeObject *type, PyObject *parent,
55 itertools__grouper(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools__grouper()
87 itertools_teedataobject_impl(PyTypeObject *type, PyObject *it,
91 itertools_teedataobject(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_teedataobject()
125 itertools__tee_impl(PyTypeObject *type, PyObject *iterable);
128 itertools__tee(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools__tee()
204 itertools_cycle_impl(PyTypeObject *type, PyObject *iterable);
207 itertools_cycle(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_cycle()
[all …]
D_testmultiphase.c.h16 PyTypeObject *cls);
19 _testmultiphase_StateAccessType_get_defining_module(StateAccessTypeObject *self, PyTypeObject *cls,… in _testmultiphase_StateAccessType_get_defining_module()
50 PyTypeObject *cls,
54 _testmultiphase_StateAccessType_increment_count_clinic(StateAccessTypeObject *self, PyTypeObject *c… in _testmultiphase_StateAccessType_increment_count_clinic()
83 PyTypeObject *cls);
86 _testmultiphase_StateAccessType_get_count(StateAccessTypeObject *self, PyTypeObject *cls, PyObject … in _testmultiphase_StateAccessType_get_count()
/external/python/cpython3/Objects/clinic/
Dtypeobject.c.h15 type___instancecheck___impl(PyTypeObject *self, PyObject *instance);
18 type___instancecheck__(PyTypeObject *self, PyObject *instance) in type___instancecheck__()
43 type___subclasscheck___impl(PyTypeObject *self, PyObject *subclass);
46 type___subclasscheck__(PyTypeObject *self, PyObject *subclass) in type___subclasscheck__()
71 type_mro_impl(PyTypeObject *self);
74 type_mro(PyTypeObject *self, PyObject *Py_UNUSED(ignored)) in type_mro()
89 type___subclasses___impl(PyTypeObject *self);
92 type___subclasses__(PyTypeObject *self, PyObject *Py_UNUSED(ignored)) in type___subclasses__()
107 type___dir___impl(PyTypeObject *self);
110 type___dir__(PyTypeObject *self, PyObject *Py_UNUSED(ignored)) in type___dir__()
[all …]
/external/python/cpython3/Doc/c-api/
Dtype.rst11 .. c:type:: PyTypeObject
38 .. c:function:: unsigned long PyType_GetFlags(PyTypeObject* type)
40 Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This function is primarily
43 :c:member:`~PyTypeObject.tp_flags` itself is not part of the limited API.
51 .. c:function:: void PyType_Modified(PyTypeObject *type)
58 .. c:function:: int PyType_HasFeature(PyTypeObject *o, int feature)
64 .. c:function:: int PyType_IS_GC(PyTypeObject *o)
70 .. c:function:: int PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b)
80 .. c:function:: PyObject* PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems)
82 Generic handler for the :c:member:`~PyTypeObject.tp_alloc` slot of a type object. Use
[all …]
Dtypeobj.rst9 structure that defines a new type: the :c:type:`PyTypeObject` structure. Type
25 :c:type:`PyTypeObject`.
40 …| PyTypeObject Slot [#slots]_ | :ref:`Type <slot-typedefs-table>` | special …
44 …| <R> :c:member:`~PyTypeObject.tp_name` | const char * | __name__ …
46 …| :c:member:`~PyTypeObject.tp_basicsize` | Py_ssize_t | …
48 …| :c:member:`~PyTypeObject.tp_itemsize` | Py_ssize_t | …
50 …| :c:member:`~PyTypeObject.tp_dealloc` | :c:type:`destructor` | …
52 …| :c:member:`~PyTypeObject.tp_vectorcall_offset` | Py_ssize_t | …
54 …| (:c:member:`~PyTypeObject.tp_getattr`) | :c:type:`getattrfunc` | __getattrib…
57 …| (:c:member:`~PyTypeObject.tp_setattr`) | :c:type:`setattrfunc` | __setattr__…
[all …]
Ddescriptor.rst13 .. c:var:: PyTypeObject PyProperty_Type
18 .. c:function:: PyObject* PyDescr_NewGetSet(PyTypeObject *type, struct PyGetSetDef *getset)
21 .. c:function:: PyObject* PyDescr_NewMember(PyTypeObject *type, struct PyMemberDef *meth)
24 .. c:function:: PyObject* PyDescr_NewMethod(PyTypeObject *type, struct PyMethodDef *meth)
27 .. c:function:: PyObject* PyDescr_NewWrapper(PyTypeObject *type, struct wrapperbase *wrapper, void …
30 .. c:function:: PyObject* PyDescr_NewClassMethod(PyTypeObject *type, PyMethodDef *method)
/external/python/cpython3/Include/internal/
Dpycore_hamt.h64 PyAPI_DATA(PyTypeObject) _PyHamt_Type;
65 PyAPI_DATA(PyTypeObject) _PyHamt_ArrayNode_Type;
66 PyAPI_DATA(PyTypeObject) _PyHamt_BitmapNode_Type;
67 PyAPI_DATA(PyTypeObject) _PyHamt_CollisionNode_Type;
68 PyAPI_DATA(PyTypeObject) _PyHamtKeys_Type;
69 PyAPI_DATA(PyTypeObject) _PyHamtValues_Type;
70 PyAPI_DATA(PyTypeObject) _PyHamtItems_Type;
/external/python/cpython3/Objects/
Dtypeobject.c86 slot_tp_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
151 _PyType_CheckConsistency(PyTypeObject *type) in _PyType_CheckConsistency()
261 PyType_Modified(PyTypeObject *type) in PyType_Modified()
296 PyType_Modified((PyTypeObject *)ref); in PyType_Modified()
304 type_mro_modified(PyTypeObject *type, PyObject *bases) { in type_mro_modified()
343 PyTypeObject *cls; in type_mro_modified()
346 cls = (PyTypeObject *)b; in type_mro_modified()
363 assign_version_tag(PyTypeObject *type) in assign_version_tag()
402 if (!assign_version_tag((PyTypeObject *)b)) in assign_version_tag()
412 {"__basicsize__", T_PYSSIZET, offsetof(PyTypeObject,tp_basicsize),READONLY},
[all …]
/external/python/cpython3/Modules/_ctypes/
Dctypes.h70 extern PyTypeObject PyCThunk_Type;
104 extern PyTypeObject PyCStgDict_Type;
109 extern int PyType_stginfo(PyTypeObject *self, Py_ssize_t *psize, Py_ssize_t *palign, Py_ssize_t *pl…
114 extern PyTypeObject PyCData_Type;
119 extern PyTypeObject PyCSimpleType_Type;
123 extern PyTypeObject PyCField_Type;
136 extern PyTypeObject PyCArrayType_Type;
137 extern PyTypeObject PyCArray_Type;
138 extern PyTypeObject PyCPointerType_Type;
139 extern PyTypeObject PyCPointer_Type;
[all …]
/external/python/cpython2/Modules/_ctypes/
Dctypes.h110 extern PyTypeObject PyCThunk_Type;
144 extern PyTypeObject PyCStgDict_Type;
149 extern int PyType_stginfo(PyTypeObject *self, Py_ssize_t *psize, Py_ssize_t *palign, Py_ssize_t *pl…
154 extern PyTypeObject PyCData_Type;
159 extern PyTypeObject PyCSimpleType_Type;
163 extern PyTypeObject PyCField_Type;
176 extern PyTypeObject PyCArrayType_Type;
177 extern PyTypeObject PyCArray_Type;
178 extern PyTypeObject PyCPointerType_Type;
179 extern PyTypeObject PyCPointer_Type;
[all …]
/external/python/cpython2/Objects/
Dtypeobject.c75 PyType_Modified(PyTypeObject *type) in PyType_Modified()
109 PyType_Modified((PyTypeObject *)ref); in PyType_Modified()
117 type_mro_modified(PyTypeObject *type, PyObject *bases) { in type_mro_modified()
141 PyTypeObject *cls; in type_mro_modified()
148 cls = (PyTypeObject *)b; in type_mro_modified()
163 assign_version_tag(PyTypeObject *type) in assign_version_tag()
202 if (!assign_version_tag((PyTypeObject *)b)) in assign_version_tag()
211 {"__basicsize__", T_PYSSIZET, offsetof(PyTypeObject,tp_basicsize),READONLY},
212 {"__itemsize__", T_PYSSIZET, offsetof(PyTypeObject, tp_itemsize), READONLY},
213 {"__flags__", T_LONG, offsetof(PyTypeObject, tp_flags), READONLY},
[all …]

12345678910>>...24