Lines Matching defs:translated
108 "Line endings translated so far.\n"
110 "Only line endings translated during reading are considered.\n"
431 void *translated;
441 translated = PyMem_Malloc(kind * len);
442 if (translated == NULL) {
451 PyUnicode_WRITE(kind, translated, out++, c);
453 PyUnicode_WRITE(kind, translated, out++, c);
464 PyUnicode_WRITE(kind, translated, out++, '\n');
469 PyUnicode_WRITE(kind, translated, out++, c);
472 output = PyUnicode_FromKindAndData(kind, translated, out);
473 PyMem_Free(translated);
1047 these are translated into '\n' before being returned to the
1054 translated to the system default line separator, os.linesep. If
1056 of the other legal values, any '\n' characters written are translated
2023 int translated, int universal, PyObject *readnl,
2028 if (translated) {
2029 /* Newlines are already translated, only search for \n */