Home
last modified time | relevance | path

Searched refs:tp_doc (Results 1 – 25 of 39) sorted by relevance

12

/external/python/pybind11/include/pybind11/detail/
Dclass.h624 char *tp_doc = nullptr; in make_new_python_type() local
629 tp_doc = (char *) PyObject_MALLOC(size); in make_new_python_type()
630 memcpy((void *) tp_doc, rec.doc, size); in make_new_python_type()
656 type->tp_doc = tp_doc; in make_new_python_type()
/external/python/cpython3/Doc/includes/
Dcustom.c12 .tp_doc = "Custom objects",
Dtypestruct.h36 const char *tp_doc; /* Documentation string */ member
Dsublist.c34 .tp_doc = "SubList objects",
Dcustom2.c101 .tp_doc = "Custom objects",
Dcustom3.c151 .tp_doc = "Custom objects",
Dcustom4.c163 .tp_doc = "Custom objects",
/external/python/cpython2/Doc/includes/
Dtypestruct.h35 char *tp_doc; /* Documentation string */ member
/external/python/cpython3/Objects/
Dpicklebufobject.c209 .tp_doc = "Wrapper for potentially out-of-band buffers",
Dtypeobject.c900 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) { in type_get_doc()
901 return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc); in type_get_doc()
923 return _PyType_GetTextSignatureFromInternalDoc(type->tp_name, type->tp_doc); in type_get_text_signature()
2883 char *tp_doc = (char *)PyObject_Malloc(size); in type_new_set_doc() local
2884 if (tp_doc == NULL) { in type_new_set_doc()
2889 memcpy(tp_doc, doc_str, size); in type_new_set_doc()
2890 type->tp_doc = tp_doc; in type_new_set_doc()
3516 type->tp_doc = NULL; in PyType_FromModuleAndSpec()
3520 char *tp_doc = PyObject_Malloc(len); in PyType_FromModuleAndSpec() local
3521 if (tp_doc == NULL) { in PyType_FromModuleAndSpec()
[all …]
Dtypeslots.inc57 {-1, offsetof(PyTypeObject, tp_doc)},
Dunionobject.c450 .tp_doc = "Represent a PEP 604 union type\n"
Dstructseq.c490 type->tp_doc = desc->doc; in _PyStructSequence_InitType()
Dgenericaliasobject.c636 .tp_doc = "Represent a PEP 585 generic type\n"
/external/tensorflow/tensorflow/python/util/
Dfast_module_type.cc241 obj.tp_doc = "FastModuleType objects"; in __anon0e55d6a00102()
/external/python/cpython2/Objects/
Dmethodobject.c362 const char *doc = self->ob_type->tp_doc; in Py_FindMethodInChain()
Dtypeobject.c595 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) in type_get_doc()
596 return PyString_FromString(type->tp_doc); in type_get_doc()
2421 char *tp_doc = (char *)PyObject_MALLOC(n+1); in type_new() local
2422 if (tp_doc == NULL) { in type_new()
2426 memcpy(tp_doc, PyString_AS_STRING(doc), n+1); in type_new()
2427 type->tp_doc = tp_doc; in type_new()
2761 PyObject_Free((char *)type->tp_doc); in type_dealloc()
4270 if (type->tp_doc != NULL) {
4271 PyObject *doc = PyString_FromString(type->tp_doc);
Dstructseq.c499 type->tp_doc = desc->doc; in PyStructSequence_InitType()
/external/python/cpython3/Include/cpython/
Dobject.h226 const char *tp_doc; /* Documentation string */ member
/external/python/cpython2/Modules/
Dthreadmodule.c922 Locktype.tp_doc = lock_doc; in initthread()
/external/python/cpython2/Include/
Dobject.h358 const char *tp_doc; /* Documentation string */ member
/external/python/cpython3/Doc/c-api/
Dtype.rst188 ``NULL`` as the ``tp_doc`` slot.
/external/python/cpython3/Doc/extending/
Dnewtypes_tutorial.rst93 .tp_doc = "Custom objects",
162 We provide a doc string for the type in :c:member:`~PyTypeObject.tp_doc`. ::
164 .tp_doc = "Custom objects",
/external/python/cpython2/Doc/extending/
Dnewtypes.rst102 "Noddy objects", /* tp_doc */
171 We provide a doc string for the type in :c:member:`~PyTypeObject.tp_doc`. ::
173 "Noddy objects", /* tp_doc */
947 char *tp_doc;
1512 0, /* tp_doc */
/external/python/cpython3/Modules/
D_asynciomodule.c1533 .tp_doc = _asyncio_Future___init____doc__,
2483 .tp_doc = _asyncio_Task___init____doc__,

12