Home
last modified time | relevance | path

Searched refs:pyc_magic (Results 1 – 15 of 15) sorted by relevance

/dports/devel/radare2/radare2-5.1.1/libr/bin/p/
H A Dpyc.mk3 OBJ_PYC+=../format/pyc/pyc_magic.o
/dports/lang/python-legacy/Python-2.7.18/Python/
H A Dimport.c87 static long pyc_magic = MAGIC; variable
195 pyc_magic = MAGIC + 1; in _PyImport_Init()
586 return pyc_magic; in PyImport_GetMagicNumber()
819 if (magic != pyc_magic) { in check_compiled_module()
869 if (magic != pyc_magic) { in load_compiled_module()
973 PyMarshal_WriteLongToFile(pyc_magic, fp, Py_MARSHAL_VERSION); in write_compiled_module()
2954 buf[0] = (char) ((pyc_magic >> 0) & 0xff); in imp_get_magic()
2955 buf[1] = (char) ((pyc_magic >> 8) & 0xff); in imp_get_magic()
2956 buf[2] = (char) ((pyc_magic >> 16) & 0xff); in imp_get_magic()
2957 buf[3] = (char) ((pyc_magic >> 24) & 0xff); in imp_get_magic()
/dports/lang/python27/Python-2.7.18/Python/
H A Dimport.c87 static long pyc_magic = MAGIC; variable
195 pyc_magic = MAGIC + 1; in _PyImport_Init()
586 return pyc_magic; in PyImport_GetMagicNumber()
819 if (magic != pyc_magic) { in check_compiled_module()
869 if (magic != pyc_magic) { in load_compiled_module()
973 PyMarshal_WriteLongToFile(pyc_magic, fp, Py_MARSHAL_VERSION); in write_compiled_module()
2954 buf[0] = (char) ((pyc_magic >> 0) & 0xff); in imp_get_magic()
2955 buf[1] = (char) ((pyc_magic >> 8) & 0xff); in imp_get_magic()
2956 buf[2] = (char) ((pyc_magic >> 16) & 0xff); in imp_get_magic()
2957 buf[3] = (char) ((pyc_magic >> 24) & 0xff); in imp_get_magic()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/PyMod-2.7.2/Python/
H A Dimport.c87 static long pyc_magic = MAGIC; variable
167 pyc_magic = MAGIC + 1; in _PyImport_Init()
532 return pyc_magic; in PyImport_GetMagicNumber()
747 if (magic != pyc_magic) { in check_compiled_module()
797 if (magic != pyc_magic) { in load_compiled_module()
896 PyMarshal_WriteLongToFile(pyc_magic, fp, Py_MARSHAL_VERSION); in write_compiled_module()
2797 buf[0] = (char) ((pyc_magic >> 0) & 0xff); in find_module()
2798 buf[1] = (char) ((pyc_magic >> 8) & 0xff); in find_module()
2799 buf[2] = (char) ((pyc_magic >> 16) & 0xff); in find_module()
2800 buf[3] = (char) ((pyc_magic >> 24) & 0xff); in find_module()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dimport.c87 static long pyc_magic = MAGIC; variable
167 pyc_magic = MAGIC + 1; in _PyImport_Init()
532 return pyc_magic; in PyImport_GetMagicNumber()
747 if (magic != pyc_magic) { in check_compiled_module()
797 if (magic != pyc_magic) { in load_compiled_module()
896 PyMarshal_WriteLongToFile(pyc_magic, fp, Py_MARSHAL_VERSION); in write_compiled_module()
2797 buf[0] = (char) ((pyc_magic >> 0) & 0xff); in find_module()
2798 buf[1] = (char) ((pyc_magic >> 8) & 0xff); in find_module()
2799 buf[2] = (char) ((pyc_magic >> 16) & 0xff); in find_module()
2800 buf[3] = (char) ((pyc_magic >> 24) & 0xff); in find_module()
/dports/lang/python310/Python-3.10.1/Python/
H A Dimport.c380 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
385 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
387 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
389 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
390 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/databases/py-sqlite3/Python-3.8.12/Python/
H A Dimport.c613 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
618 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
620 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
622 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
623 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/databases/py-gdbm/Python-3.8.12/Python/
H A Dimport.c613 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
618 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
620 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
622 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
623 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/lang/python-tools/Python-3.8.12/Python/
H A Dimport.c613 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
618 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
620 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
622 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
623 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/lang/python37/Python-3.7.12/Python/
H A Dimport.c593 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
598 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
600 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
602 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
603 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/lang/python38/Python-3.8.12/Python/
H A Dimport.c613 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
618 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
620 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
622 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
623 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Python/
H A Dimport.c613 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
618 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
620 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
622 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
623 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/lang/python311/Python-3.11.0a3/Python/
H A Dimport.c380 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
385 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
387 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
389 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
390 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/lang/python39/Python-3.9.9/Python/
H A Dimport.c649 PyObject *external, *pyc_magic; in PyImport_GetMagicNumber() local
654 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
656 if (pyc_magic == NULL) in PyImport_GetMagicNumber()
658 res = PyLong_AsLong(pyc_magic); in PyImport_GetMagicNumber()
659 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
/dports/devel/radare2/radare2-5.1.1/libr/bin/
H A Dmeson.build111 'format/pyc/pyc_magic.c',