Lines Matching refs:xp
82 lad_t *xp; in newladobject() local
136 if ((xp = PyObject_New(lad_t, &Ladtype)) == NULL) { in newladobject()
140 xp->x_fd = fd; in newladobject()
141 xp->x_mode = imode; in newladobject()
142 xp->x_icount = xp->x_ocount = 0; in newladobject()
143 xp->x_afmts = afmts; in newladobject()
144 return xp; in newladobject()
148 lad_dealloc(lad_t *xp) in lad_dealloc() argument
151 if (xp->x_fd != -1) in lad_dealloc()
152 close(xp->x_fd); in lad_dealloc()
153 PyObject_Del(xp); in lad_dealloc()
438 lad_getattr(lad_t *xp, char *name) in lad_getattr() argument
440 return Py_FindMethod(lad_methods, (PyObject *)xp, name); in lad_getattr()