Home
last modified time | relevance | path

Searched refs:Py_MARSHAL_VERSION (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Python/clinic/
Dmarshal.c.h35 int version = Py_MARSHAL_VERSION; in marshal_dump()
105 int version = Py_MARSHAL_VERSION; in marshal_dumps()
/external/python/cpython2/Include/
Dmarshal.h10 #define Py_MARSHAL_VERSION 2 macro
/external/python/cpython3/Include/
Dmarshal.h10 #define Py_MARSHAL_VERSION 4 macro
/external/python/cpython3/Programs/
D_freeze_importlib.c109 marshalled = PyMarshal_WriteObjectToString(code, Py_MARSHAL_VERSION); in main()
/external/python/cpython3/Doc/c-api/
Dmarshal.rst19 ``Py_MARSHAL_VERSION`` indicates the current file format (currently 2).
/external/python/cpython2/Doc/c-api/
Dmarshal.rst19 format for floating point numbers. *Py_MARSHAL_VERSION* indicates the current
/external/python/cpython2/Python/
Dmarshal.c1260 int version = Py_MARSHAL_VERSION; in marshal_dump()
1334 int version = Py_MARSHAL_VERSION; in marshal_dumps()
1422 PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION); in PyMarshal_Init()
Dimport.c973 PyMarshal_WriteLongToFile(pyc_magic, fp, Py_MARSHAL_VERSION); in write_compiled_module()
975 PyMarshal_WriteLongToFile(0L, fp, Py_MARSHAL_VERSION); in write_compiled_module()
976 PyMarshal_WriteObjectToFile((PyObject *)co, fp, Py_MARSHAL_VERSION); in write_compiled_module()
988 PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION); in write_compiled_module()
/external/python/cpython3/Python/
Dmarshal.c1807 if (PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION) < 0) { in PyMarshal_Init()