/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | peephole.c | 37 tuple_of_constants(unsigned char *codestr, Py_ssize_t n, PyObject *consts) in tuple_of_constants() argument 43 assert(PyList_CheckExact(consts)); in tuple_of_constants() 53 len_consts = PyList_GET_SIZE(consts); in tuple_of_constants() 57 constant = PyList_GET_ITEM(consts, arg); in tuple_of_constants() 63 if (PyList_Append(consts, newconst)) { in tuple_of_constants() 88 fold_binops_on_constants(unsigned char *codestr, PyObject *consts) in fold_binops_on_constants() argument 95 assert(PyList_CheckExact(consts)); in fold_binops_on_constants() 100 v = PyList_GET_ITEM(consts, GETARG(codestr, 0)); in fold_binops_on_constants() 101 w = PyList_GET_ITEM(consts, GETARG(codestr, 3)); in fold_binops_on_constants() 175 len_consts = PyList_GET_SIZE(consts); in fold_binops_on_constants() [all …]
|
D | compile.c | 1305 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure() 1340 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure() 1449 ADDOP_O(c, LOAD_CONST, s->v.ClassDef.name, consts); in compiler_class() 1814 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_try_finally() 1968 ADDOP_O(c, LOAD_CONST, level, consts); in compiler_import() 1970 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_import() 2040 ADDOP_O(c, LOAD_CONST, level, consts); in compiler_from_import() 2042 ADDOP_O(c, LOAD_CONST, names, consts); in compiler_from_import() 2132 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_visit_stmt() 2194 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_visit_stmt() [all …]
|
D | ceval.c | 722 PyObject *consts; in PyEval_EvalFrameEx() local 917 consts = co->co_consts; in PyEval_EvalFrameEx() 1127 x = GETITEM(consts, oparg); in PyEval_EvalFrameEx()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | peephole.c | 37 tuple_of_constants(unsigned char *codestr, Py_ssize_t n, PyObject *consts) in tuple_of_constants() argument 43 assert(PyList_CheckExact(consts)); in tuple_of_constants() 53 len_consts = PyList_GET_SIZE(consts); in tuple_of_constants() 57 constant = PyList_GET_ITEM(consts, arg); in tuple_of_constants() 63 if (PyList_Append(consts, newconst)) { in tuple_of_constants() 88 fold_binops_on_constants(unsigned char *codestr, PyObject *consts) argument 95 assert(PyList_CheckExact(consts)); 100 v = PyList_GET_ITEM(consts, GETARG(codestr, 0)); 101 w = PyList_GET_ITEM(consts, GETARG(codestr, 3)); 186 len_consts = PyList_GET_SIZE(consts); [all …]
|
D | compile.c | 1282 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure() 1317 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure() 1426 ADDOP_O(c, LOAD_CONST, s->v.ClassDef.name, consts); in compiler_class() 1792 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_try_finally() 1946 ADDOP_O(c, LOAD_CONST, level, consts); in compiler_import() 1948 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_import() 2018 ADDOP_O(c, LOAD_CONST, level, consts); in compiler_from_import() 2020 ADDOP_O(c, LOAD_CONST, names, consts); in compiler_from_import() 2112 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_visit_stmt() 2174 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_visit_stmt() [all …]
|
D | marshal.c | 1005 PyObject *consts = NULL; in r_object() local 1025 consts = r_object(p); in r_object() 1026 if (consts == NULL) in r_object() 1053 code, consts, names, varnames, in r_object() 1059 Py_XDECREF(consts); in r_object()
|
D | ceval.c | 720 PyObject *consts; in PyEval_EvalFrameEx() local 915 consts = co->co_consts; in PyEval_EvalFrameEx() 1124 x = GETITEM(consts, oparg); in PyEval_EvalFrameEx()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | codeobject.c | 45 PyObject *code, PyObject *consts, PyObject *names, in PyCode_New() argument 55 consts == NULL || !PyTuple_Check(consts) || in PyCode_New() 72 for (i = PyTuple_Size(consts); --i >= 0; ) { in PyCode_New() 73 PyObject *v = PyTuple_GetItem(consts, i); in PyCode_New() 78 PyString_InternInPlace(&PyTuple_GET_ITEM(consts, i)); in PyCode_New() 88 Py_INCREF(consts); in PyCode_New() 89 co->co_consts = consts; in PyCode_New() 237 PyObject *consts; in code_new() local 250 &PyTuple_Type, &consts, in code_new() 293 code, consts, ournames, ourvarnames, in code_new()
|
D | funcobject.c | 17 PyObject *consts; in PyFunction_New() local 28 consts = ((PyCodeObject *)code)->co_consts; in PyFunction_New() 29 if (PyTuple_Size(consts) >= 1) { in PyFunction_New() 30 doc = PyTuple_GetItem(consts, 0); in PyFunction_New()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | codeobject.c | 45 PyObject *code, PyObject *consts, PyObject *names, in PyCode_New() argument 55 consts == NULL || !PyTuple_Check(consts) || in PyCode_New() 72 for (i = PyTuple_Size(consts); --i >= 0; ) { in PyCode_New() 73 PyObject *v = PyTuple_GetItem(consts, i); in PyCode_New() 78 PyString_InternInPlace(&PyTuple_GET_ITEM(consts, i)); in PyCode_New() 88 Py_INCREF(consts); in PyCode_New() 89 co->co_consts = consts; in PyCode_New() 237 PyObject *consts; in code_new() local 250 &PyTuple_Type, &consts, in code_new() 293 code, consts, ournames, ourvarnames, in code_new()
|
D | funcobject.c | 17 PyObject *consts; in PyFunction_New() local 28 consts = ((PyCodeObject *)code)->co_consts; in PyFunction_New() 29 if (PyTuple_Size(consts) >= 1) { in PyFunction_New() 30 doc = PyTuple_GetItem(consts, 0); in PyFunction_New()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | modulefinder.py | 346 consts = co.co_consts 356 yield "import", (consts[oparg_1], names[oparg_2]) 370 consts = co.co_consts 381 level = consts[oparg_1] 383 yield "import", (consts[oparg_2], names[oparg_3]) 385 yield "absolute_import", (consts[oparg_2], names[oparg_3]) 387 yield "relative_import", (level, consts[oparg_2], names[oparg_3]) 596 consts = list(co.co_consts) 597 for i in range(len(consts)): 598 if isinstance(consts[i], type(co)): [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | modulefinder.py | 346 consts = co.co_consts 356 yield "import", (consts[oparg_1], names[oparg_2]) 370 consts = co.co_consts 381 level = consts[oparg_1] 383 yield "import", (consts[oparg_2], names[oparg_3]) 385 yield "absolute_import", (consts[oparg_2], names[oparg_3]) 387 yield "relative_import", (level, consts[oparg_2], names[oparg_3]) 598 consts = list(co.co_consts) 599 for i in range(len(consts)): 600 if isinstance(consts[i], type(co)): [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_code.py | 88 def consts(t): function 102 print "consts:", tuple(consts(co.co_consts))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | code.h | 101 PyAPI_FUNC(PyObject*) PyCode_Optimize(PyObject *code, PyObject* consts,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | code.h | 101 PyAPI_FUNC(PyObject*) PyCode_Optimize(PyObject *code, PyObject* consts,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ |
D | pyassem.py | 8 from compiler.consts \ 269 self.consts = [] 408 self.consts.insert(0, self.docstring) 453 return self._lookupName(arg, self.consts) 553 for elt in self.consts:
|
D | symbols.py | 4 from compiler.consts import SC_LOCAL, SC_GLOBAL_IMPLICIT, SC_GLOBAL_EXPLICT, \
|
D | transformer.py | 36 from compiler.consts import CO_VARARGS, CO_VARKEYWORDS 37 from compiler.consts import OP_ASSIGN, OP_DELETE, OP_APPLY
|
D | pycodegen.py | 10 from compiler.consts import SC_LOCAL, SC_GLOBAL_IMPLICIT, SC_GLOBAL_EXPLICT, \ 12 from compiler.consts import (CO_VARARGS, CO_VARKEYWORDS, CO_NEWLOCALS,
|
D | ast.py | 5 from compiler.consts import CO_VARARGS, CO_VARKEYWORDS
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/ |
D | marshal.c | 1010 PyObject *consts = NULL; in r_object() local 1030 consts = r_object(p); in r_object() 1031 if (consts == NULL) in r_object() 1058 code, consts, names, varnames, in r_object() 1064 Py_XDECREF(consts); in r_object()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/ |
D | marshal.c | 1005 PyObject *consts = NULL; in r_object() local 1025 consts = r_object(p); in r_object() 1026 if (consts == NULL) in r_object() 1053 code, consts, names, varnames, in r_object() 1059 Py_XDECREF(consts); in r_object()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/ |
D | astgen.py | 243 from consts import CO_VARARGS, CO_VARKEYWORDS
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | ChangeLog | 62 - Add casts and consts to ease user conversion to C++ 226 - Fix bug and add consts in contrib/puff [Oberhumer]
|