Lines Matching refs:itself
51 static PyObject *FSRef_New(FSRef *itself);
53 static PyObject *FInfo_New(FInfo *itself);
55 static PyObject *FSSpec_New(FSSpec *itself);
59 static PyObject *Alias_New(AliasHandle itself);
110 PyMac_BuildHFSUniStr255(HFSUniStr255 *itself) in PyMac_BuildHFSUniStr255() argument
113 return Py_BuildValue("u#", itself->unicode, itself->length); in PyMac_BuildHFSUniStr255()
176 static PyObject *FSCatalogInfo_New(FSCatalogInfo *itself) in FSCatalogInfo_New() argument
179 if (itself == NULL) { Py_INCREF(Py_None); return Py_None; } in FSCatalogInfo_New()
182 it->ob_itself = *itself; in FSCatalogInfo_New()
554 static PyObject *FInfo_New(FInfo *itself) in FInfo_New() argument
557 if (itself == NULL) return PyMac_Error(resNotFound); in FInfo_New()
560 it->ob_itself = *itself; in FInfo_New()
657 FInfo *itself = NULL; in FInfo_tp_init() local
660 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "|O&", kw, FInfo_Convert, &itself)) in FInfo_tp_init()
662 if (itself) memcpy(&((FInfoObject *)_self)->ob_itself, itself, sizeof(FInfo)); in FInfo_tp_init()
742 static PyObject *Alias_New(AliasHandle itself) in Alias_New() argument
745 if (itself == NULL) return PyMac_Error(resNotFound); in Alias_New()
748 it->ob_itself = itself; in Alias_New()
985 AliasHandle itself = NULL; in Alias_tp_init() local
991 …if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "|O&s#", kw, Alias_Convert, &itself, &rawdata, &raw… in Alias_tp_init()
993 if (itself && rawdata) in Alias_tp_init()
998 if (!itself && !rawdata) in Alias_tp_init()
1016 ((AliasObject *)_self)->ob_itself = itself; in Alias_tp_init()
1093 static PyObject *FSSpec_New(FSSpec *itself) in FSSpec_New() argument
1096 if (itself == NULL) return PyMac_Error(resNotFound); in FSSpec_New()
1099 it->ob_itself = *itself; in FSSpec_New()
1553 static PyObject *FSRef_New(FSRef *itself) in FSRef_New() argument
1556 if (itself == NULL) return PyMac_Error(resNotFound); in FSRef_New()
1559 it->ob_itself = *itself; in FSRef_New()