Home | History | Annotate | Download | only in file

Lines Matching defs: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)
113 return Py_BuildValue("u#", itself->unicode, itself->length);
176 static PyObject *FSCatalogInfo_New(FSCatalogInfo *itself)
179 if (itself == NULL) { Py_INCREF(Py_None); return Py_None; }
182 it->ob_itself = *itself;
554 static PyObject *FInfo_New(FInfo *itself)
557 if (itself == NULL) return PyMac_Error(resNotFound);
560 it->ob_itself = *itself;
657 FInfo *itself = NULL;
658 static char *kw[] = {"itself", 0};
660 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "|O&", kw, FInfo_Convert, &itself))
662 if (itself) memcpy(&((FInfoObject *)_self)->ob_itself, itself, sizeof(FInfo));
742 static PyObject *Alias_New(AliasHandle itself)
745 if (itself == NULL) return PyMac_Error(resNotFound);
748 it->ob_itself = itself;
985 AliasHandle itself = NULL;
989 static char *kw[] = {"itself", "rawdata", 0};
991 if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "|O&s#", kw, Alias_Convert, &itself, &rawdata, &rawdatalen))
993 if (itself && rawdata)
995 PyErr_SetString(PyExc_TypeError, "Only one of itself or rawdata may be specified");
998 if (!itself && !rawdata)
1000 PyErr_SetString(PyExc_TypeError, "One of itself or rawdata must be specified");
1016 ((AliasObject *)_self)->ob_itself = itself;
1093 static PyObject *FSSpec_New(FSSpec *itself)
1096 if (itself == NULL) return PyMac_Error(resNotFound);
1099 it->ob_itself = *itself;
1452 static char *kw[] = {"itself", "rawdata", 0};
1458 PyErr_SetString(PyExc_TypeError, "Only one of itself or rawdata may be specified");
1463 PyErr_SetString(PyExc_TypeError, "One of itself or rawdata must be specified");
1553 static PyObject *FSRef_New(FSRef *itself)
1556 if (itself == NULL) return PyMac_Error(resNotFound);
1559 it->ob_itself = *itself;
2039 static char *kw[] = {"itself", "rawdata", 0};
2045 PyErr_SetString(PyExc_TypeError, "Only one of itself or rawdata may be specified");
2050 PyErr_SetString(PyExc_TypeError, "One of itself or rawdata must be specified");