Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dzipimport.c1107 PyObject *fixed_source; in normalize_line_endings() local
1132 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() local
1144 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()
/external/python/cpython3/Modules/
Dzipimport.c1394 PyObject *fixed_source; in normalize_line_endings() local
1423 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() local
1435 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()