Lines Matching refs:defobj
122 PyObject *defobj = NULL; in unicodedata_decimal() local
127 if (!PyArg_ParseTuple(args, "O!|O:decimal", &PyUnicode_Type, &v, &defobj)) in unicodedata_decimal()
149 if (defobj == NULL) { in unicodedata_decimal()
155 Py_INCREF(defobj); in unicodedata_decimal()
156 return defobj; in unicodedata_decimal()
173 PyObject *defobj = NULL; in unicodedata_digit() local
177 if (!PyArg_ParseTuple(args, "O!|O:digit", &PyUnicode_Type, &v, &defobj)) in unicodedata_digit()
184 if (defobj == NULL) { in unicodedata_digit()
189 Py_INCREF(defobj); in unicodedata_digit()
190 return defobj; in unicodedata_digit()
207 PyObject *defobj = NULL; in unicodedata_numeric() local
212 if (!PyArg_ParseTuple(args, "O!|O:numeric", &PyUnicode_Type, &v, &defobj)) in unicodedata_numeric()
234 if (defobj == NULL) { in unicodedata_numeric()
239 Py_INCREF(defobj); in unicodedata_numeric()
240 return defobj; in unicodedata_numeric()
1121 PyObject* defobj = NULL; in unicodedata_name() local
1122 if (!PyArg_ParseTuple(args, "O!|O:name", &PyUnicode_Type, &v, &defobj)) in unicodedata_name()
1130 if (defobj == NULL) { in unicodedata_name()
1135 Py_INCREF(defobj); in unicodedata_name()
1136 return defobj; in unicodedata_name()