Lines Matching refs:translated
94 "Line endings translated so far.\n"
96 "Only line endings translated during reading are considered.\n"
396 PyObject *translated = NULL;
404 translated = PyUnicode_FromUnicode(NULL, len);
405 if (translated == NULL)
407 assert(Py_REFCNT(translated) == 1);
408 memcpy(PyUnicode_AS_UNICODE(translated),
413 translated = output;
415 out_str = PyUnicode_AS_UNICODE(translated);
443 if (translated != output) {
445 output = translated;
628 "or '\\r\\n' are translated to '\\n' before being returned to the\n"
629 "caller. Conversely, on output, '\\n' is translated to the system\n"
1566 int translated, int universal, PyObject *readnl,
1571 if (translated) {
1572 /* Newlines are already translated, only search for \n */