Home
last modified time | relevance | path

Searched refs:fixed_source (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dzipimport.c1109 PyObject *fixed_source; in normalize_line_endings() local
1134 fixed_source = PyString_FromString(buf); in normalize_line_endings()
1136 return fixed_source; in normalize_line_endings()
1144 PyObject *code, *fixed_source; in compile_source() local
1146 fixed_source = normalize_line_endings(source); in compile_source()
1147 if (fixed_source == NULL) in compile_source()
1150 code = Py_CompileString(PyString_AsString(fixed_source), pathname, in compile_source()
1152 Py_DECREF(fixed_source); in compile_source()
/external/python/cpython3/Modules/
Dzipimport.c1324 PyObject *fixed_source; in normalize_line_endings() local
1353 fixed_source = PyBytes_FromStringAndSize(buf, len + 2); in normalize_line_endings()
1355 return fixed_source; in normalize_line_endings()
1363 PyObject *code, *fixed_source; in compile_source() local
1365 fixed_source = normalize_line_endings(source); in compile_source()
1366 if (fixed_source == NULL) { in compile_source()
1370 code = Py_CompileStringObject(PyBytes_AsString(fixed_source), in compile_source()
1373 Py_DECREF(fixed_source); in compile_source()