/external/python/cpython2/Lib/test/ |
D | test_code.py | 102 print "consts:", tuple(consts(co.co_consts)) 139 v = self.find_const(co.co_consts, 'str_value') 145 v = self.find_const(co.co_consts, ('str_value',)) 157 v = self.find_const(co.co_consts, 'str\0value!')
|
D | test_compile.py | 324 for variable in self.test_32_63_bit_values.func_code.co_consts: 627 for const in func.__code__.co_consts: 632 % (expected, func.__code__.co_consts))
|
D | test_new.py | 116 constants = c.co_consts
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 132 print("consts:", tuple(consts(co.co_consts))) 161 c.co_stacksize, c.co_flags, c.co_code, c.co_consts, c.co_names, 213 v = self.find_const(co.co_consts, 'str_value') 219 v = self.find_const(co.co_consts, ('str_value',)) 225 v = self.find_const(co.co_consts, frozenset(('str_value',))) 237 v = self.find_const(co.co_consts, 'str\0value!')
|
D | test_peepholer.py | 180 self.assertNotIn("x"*10000, code.co_consts) 183 self.assertNotIn(1<<1000, code.co_consts) 186 self.assertNotIn(2**1000, code.co_consts)
|
D | test_compile.py | 222 for variable in self.test_32_63_bit_values.__code__.co_consts: 484 for obj in c.co_consts: 581 for const in func.__code__.co_consts: 586 % (expected, func.__code__.co_consts))
|
D | test_dtrace.py | 135 for c in code.co_consts:
|
D | test_dis.py | 670 co_tricky_nested_f = tricky.__func__.__code__.co_consts[1] 830 code_object_f = outer.__code__.co_consts[3] 832 code_object_inner = code_object_f.co_consts[3]
|
/external/python/cpython3/Lib/ |
D | dis.py | 155 if co.co_consts: 157 for i_c in enumerate(co.co_consts): 270 co.co_consts, cell_names, linestarts, 357 co.co_consts, cell_names, linestarts, file=file) 364 for x in co.co_consts: 485 co.co_consts, self._cell_names, 513 names=co.co_names, constants=co.co_consts,
|
D | modulefinder.py | 343 consts = co.co_consts 405 for c in co.co_consts: 557 consts = list(co.co_consts)
|
D | types.py | 263 co.co_consts, co.co_names, co.co_varnames, co.co_filename,
|
D | trace.py | 343 for c in code.co_consts:
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 129 co->co_consts = consts; in PyCode_New() 206 {"co_consts", T_OBJECT, OFF(co_consts), READONLY}, 348 Py_XDECREF(co->co_consts); in code_dealloc() 399 cmp = PyObject_Compare(co->co_consts, cp->co_consts); in code_compare() 586 consts1 = _PyCode_ConstantKey(co->co_consts); in code_richcompare() 589 consts2 = _PyCode_ConstantKey(cp->co_consts); in code_richcompare() 635 h2 = PyObject_Hash(co->co_consts); in code_hash()
|
D | funcobject.c | 28 consts = ((PyCodeObject *)code)->co_consts; in PyFunction_New()
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 201 co->co_consts = consts; in PyCode_New() 281 {"co_consts", T_OBJECT, OFF(co_consts), READONLY}, 446 Py_XDECREF(co->co_consts); in code_dealloc() 654 consts1 = _PyCode_ConstantKey(co->co_consts); in code_richcompare() 657 consts2 = _PyCode_ConstantKey(cp->co_consts); in code_richcompare() 703 h2 = PyObject_Hash(co->co_consts); in code_hash()
|
/external/python/cpython2/Tools/compiler/ |
D | dumppyc.py | 26 for obj in co.co_consts:
|
D | stacktest.py | 7 for const in co.co_consts:
|
/external/python/cpython2/Include/ |
D | code.h | 17 PyObject *co_consts; /* list (constants used) */ member
|
/external/python/cpython2/Lib/ |
D | modulefinder.py | 365 consts = co.co_consts 382 consts = co.co_consts 451 for c in co.co_consts: 604 consts = list(co.co_consts)
|
D | dis.py | 95 print '(' + repr(co.co_consts[oparg]) + ')',
|
/external/libchrome/third_party/jinja2/ |
D | debug.py | 273 code.co_flags, code.co_code, code.co_consts, 280 code.co_flags, code.co_code, code.co_consts,
|
/external/python/cpython3/Include/ |
D | code.h | 30 PyObject *co_consts; /* list (constants used) */ member
|
/external/python/setuptools/setuptools/ |
D | depends.py | 164 const = code.co_consts[arg]
|
/external/scapy/scapy/ |
D | automaton.py | 474 for n in st.atmt_origfunc.__code__.co_names+st.atmt_origfunc.__code__.co_consts: 483 for n in f.__code__.co_names+f.__code__.co_consts: 493 for n in f.__code__.co_names+f.__code__.co_consts:
|
/external/python/setuptools/setuptools/command/ |
D | bdist_egg.py | 446 for const in code.co_consts:
|