Home
last modified time | relevance | path

Searched refs:Simple_Type (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/_ctypes/
D_ctypes.c124 static PyTypeObject Simple_Type; variable
2043 if (result->tp_base == &Simple_Type) { in PyCSimpleType_new()
2870 return type->tp_base != &Simple_Type; in _ctypes_simple_instance()
4775 if (Py_TYPE(self)->tp_base != &Simple_Type) { in Simple_repr()
4790 static PyTypeObject Simple_Type = { variable
5532 Py_TYPE(&Simple_Type) = &PyCSimpleType_Type; in PyInit__ctypes()
5533 Simple_Type.tp_base = &PyCData_Type; in PyInit__ctypes()
5534 if (PyType_Ready(&Simple_Type) < 0) in PyInit__ctypes()
5536 Py_INCREF(&Simple_Type); in PyInit__ctypes()
5537 PyModule_AddObject(m, "_SimpleCData", (PyObject *)&Simple_Type); in PyInit__ctypes()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c142 static PyTypeObject Simple_Type; variable
2116 if (result->tp_base == &Simple_Type) { in PyCSimpleType_new()
2984 return type->tp_base != &Simple_Type; in _ctypes_simple_instance()
4978 if (Py_TYPE(self)->tp_base != &Simple_Type) { in Simple_repr()
5010 static PyTypeObject Simple_Type = { variable
5769 Py_TYPE(&Simple_Type) = &PyCSimpleType_Type; in init_ctypes()
5770 Simple_Type.tp_base = &PyCData_Type; in init_ctypes()
5771 if (PyType_Ready(&Simple_Type) < 0) in init_ctypes()
5773 Py_INCREF(&Simple_Type); in init_ctypes()
5774 PyModule_AddObject(m, "_SimpleCData", (PyObject *)&Simple_Type); in init_ctypes()