Lines Matching refs:itself
51 PyObject *ResObj_New(Handle itself) in ResObj_New() argument
54 if (itself == NULL) return PyMac_Error(resNotFound); in ResObj_New()
57 it->ob_itself = itself; in ResObj_New()
583 Handle itself; in ResObj_tp_init() local
586 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, ResObj_Convert, &itself)) in ResObj_tp_init()
588 ((ResourceObject *)_self)->ob_itself = itself; in ResObj_tp_init()
593 if ((itself = NewHandle(srclen)) == NULL) in ResObj_tp_init()
598 ((ResourceObject *)_self)->ob_itself = itself; in ResObj_tp_init()
601 HLock(itself); in ResObj_tp_init()
602 memcpy(*itself, srcdata, srclen); in ResObj_tp_init()
603 HUnlock(itself); in ResObj_tp_init()
1697 PyObject *OptResObj_New(Handle itself) in OptResObj_New() argument
1699 if (itself == NULL) { in OptResObj_New()
1703 return ResObj_New(itself); in OptResObj_New()