Lines Matching defs:unicode
2189 PyObject *unicode, *result;
2193 if (!PyArg_ParseTuple(args, "Un", &unicode, &buflen))
2199 size = PyUnicode_AsWideChar(unicode, buffer, buflen);
2220 PyObject *unicode, *result;
2224 if (!PyArg_ParseTuple(args, "U", &unicode))
2227 buffer = PyUnicode_AsWideCharString(unicode, &size);
2241 PyObject *unicode, *result;
2246 if (!PyArg_ParseTuple(args, "Unp:unicode_asucs4", &unicode, &str_len, ©_null)) {
2258 if (!PyUnicode_AsUCS4(unicode, buffer, buf_len, copy_null)) {
2271 PyObject *unicode;
2274 if (!PyArg_ParseTuple(args, "U", &unicode)) {
2278 buffer = PyUnicode_AsUTF8(unicode);
2289 PyObject *unicode, *result;
2293 if(!PyArg_ParseTuple(args, "U", &unicode)) {
2297 buffer = PyUnicode_AsUTF8AndSize(unicode, &utf8_len);
8254 const Py_UNICODE unicode[] = L"unicode";
8278 res = Py_BuildValue("(u#O)", unicode, 1, Py_None);