Home | History | Annotate | Download | only in Include

Lines Matching defs:obj

476      PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,

492 PyAPI_FUNC(int) PyObject_CheckReadBuffer(PyObject *obj);
501 PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
517 PyAPI_FUNC(int) PyObject_AsWriteBuffer(PyObject *obj,
534 #define PyObject_CheckBuffer(obj) \
535 (((obj)->ob_type->tp_as_buffer != NULL) && \
536 (PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_NEWBUFFER)) && \
537 ((obj)->ob_type->tp_as_buffer->bf_getbuffer != NULL))
542 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
573 pointed to by buf into the buffer exported by obj. Return
623 PyAPI_FUNC(PyObject *) PyObject_Format(PyObject* obj,
627 calling obj.__format__(format_spec).
637 #define PyIter_Check(obj) \
638 (PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_ITER) && \
639 (obj)->ob_type->tp_iternext != NULL && \
640 (obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented)
848 #define PyIndex_Check(obj) \
849 ((obj)->ob_type->tp_as_number != NULL && \
850 PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_INDEX) && \
851 (obj)->ob_type->tp_as_number->nb_index != NULL)
1205 PyObject *obj, int operation);
1208 PY_ITERSEARCH_COUNT: return # of times obj appears in seq; -1 if
1211 obj in seq; set ValueError and return -1 if none found;
1213 PY_ITERSEARCH_CONTAINS: return 1 if obj in seq, else 0; -1 on