Searched refs:fixed_source (Results 1 – 2 of 2) sorted by relevance
1107 PyObject *fixed_source; in normalize_line_endings() local1132 fixed_source = PyString_FromString(buf); in normalize_line_endings()1134 return fixed_source; in normalize_line_endings()1142 PyObject *code, *fixed_source; in compile_source() local1144 fixed_source = normalize_line_endings(source); in compile_source()1145 if (fixed_source == NULL) in compile_source()1148 code = Py_CompileString(PyString_AsString(fixed_source), pathname, in compile_source()1150 Py_DECREF(fixed_source); in compile_source()
1394 PyObject *fixed_source; in normalize_line_endings() local1423 fixed_source = PyBytes_FromStringAndSize(buf, len + 2); in normalize_line_endings()1425 return fixed_source; in normalize_line_endings()1433 PyObject *code, *fixed_source; in compile_source() local1435 fixed_source = normalize_line_endings(source); in compile_source()1436 if (fixed_source == NULL) { in compile_source()1440 code = Py_CompileStringObject(PyBytes_AsString(fixed_source), in compile_source()1443 Py_DECREF(fixed_source); in compile_source()