Lines Matching refs:os2
285 PyObject *os1, *os2, *result = NULL; in PyLocale_strcoll()
289 if (!PyArg_UnpackTuple(args, "strcoll", 2, 2, &os1, &os2)) in PyLocale_strcoll()
292 if (PyString_Check(os1) && PyString_Check(os2)) in PyLocale_strcoll()
294 PyString_AS_STRING(os2))); in PyLocale_strcoll()
296 if (!PyUnicode_Check(os1) && !PyUnicode_Check(os2)) { in PyLocale_strcoll()
306 if (!PyUnicode_Check(os2)) { in PyLocale_strcoll()
307 os2 = PyUnicode_FromObject(os2); in PyLocale_strcoll()
308 if (!os2) { in PyLocale_strcoll()
326 len2 = PyUnicode_GET_SIZE(os2) + 1; in PyLocale_strcoll()
332 if (PyUnicode_AsWideChar((PyUnicodeObject*)os2, ws2, len2) == -1) in PyLocale_strcoll()
345 Py_DECREF(os2); in PyLocale_strcoll()