Home
last modified time | relevance | path

Searched refs:b_base (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Objects/
Dbufferobject.c9 PyObject *b_base; member
29 if (self->b_base == NULL) { in get_buf()
37 PyBufferProcs *bp = self->b_base->ob_type->tp_as_buffer; in get_buf()
38 if ((*bp->bf_getsegcount)(self->b_base, NULL) != 1) { in get_buf()
79 if ((count = (*proc)(self->b_base, 0, ptr)) < 0) in get_buf()
120 b->b_base = base; in buffer_from_memory()
138 if ( PyBuffer_Check(base) && (((PyBufferObject *)base)->b_base) ) { in buffer_from_object()
149 base = b->b_base; in buffer_from_object()
220 b->b_base = NULL; in PyBuffer_New()
262 Py_XDECREF(self->b_base); in buffer_dealloc()
[all …]
/external/python/cpython2/Modules/_ctypes/
Dctypes.h88 CDataObject *b_base; /* pointer to base object or NULL */ member
118 CDataObject *b_base; /* pointer to base object or NULL */ member
D_ctypes.c2477 while (self->b_base) in PyCData_GetContainer()
2478 self = self->b_base; in PyCData_GetContainer()
2509 while (target->b_base) { in unique_key()
2522 target = target->b_base; in unique_key()
2581 Py_VISIT((PyObject *)self->b_base); in PyCData_traverse()
2593 Py_CLEAR(self->b_base); in PyCData_clear()
2606 offsetof(CDataObject, b_base), READONLY,
2839 cmem->b_base = (CDataObject *)base; in PyCData_FromBaseObj()
3057 obj->b_base = NULL; in GenericPyCData_new()