/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 | 156 print("consts:", tuple(consts(co.co_consts))) 223 co.co_consts, 254 ("co_consts", code2.co_consts), 291 v = self.find_const(co.co_consts, 'str_value') 297 v = self.find_const(co.co_consts, ('str_value',)) 303 v = self.find_const(co.co_consts, frozenset(('str_value',))) 315 v = self.find_const(co.co_consts, 'str\0value!')
|
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)) 621 self.assertIs(f1.__code__.co_consts[1], 622 f2.__code__.co_consts[1][0]) 623 self.assertIs(next(iter(f3.__code__.co_consts[1])), 624 f2.__code__.co_consts[1])
|
D | test_peepholer.py | 14 for c in f.co_consts: 244 self.assertNotIn("x"*10000, code.co_consts) 248 self.assertNotIn(1<<1000, code.co_consts) 252 self.assertNotIn(2**1000, code.co_consts)
|
D | test_dtrace.py | 135 for c in code.co_consts:
|
D | test_dis.py | 741 co_tricky_nested_f = tricky.__func__.__code__.co_consts[1] 911 code_object_f = outer.__code__.co_consts[3] 913 code_object_inner = code_object_f.co_consts[3]
|
/external/python/cpython3/Objects/clinic/ |
D | codeobject.c.h | 24 PyObject *co_consts, PyObject *co_names, 45 PyObject *co_consts = self->co_consts; in code_replace() local 174 co_consts = args[8]; in code_replace() 251 …yargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_va… in code_replace()
|
/external/python/cpython3/Lib/ |
D | dis.py | 165 if co.co_consts: 167 for i_c in enumerate(co.co_consts): 280 co.co_consts, cell_names, linestarts, 370 co.co_consts, cell_names, linestarts, file=file) 377 for x in co.co_consts: 503 co.co_consts, self._cell_names, 531 names=co.co_names, constants=co.co_consts,
|
D | modulefinder.py | 399 consts = co.co_consts 461 for c in co.co_consts: 614 consts = list(co.co_consts) 619 return co.replace(co_consts=tuple(consts), co_filename=new_filename)
|
/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 | 238 co->co_consts = consts; in PyCode_NewWithPosOnlyArgs() 383 {"co_consts", T_OBJECT, OFF(co_consts), READONLY}, 573 Py_XDECREF(co->co_consts); in code_dealloc() 642 PyObject *co_consts, PyObject *co_names, in code_replace_impl() argument 674 co_stacksize, co_flags, (PyObject*)co_code, co_consts, co_names, in code_replace_impl() 863 consts1 = _PyCode_ConstantKey(co->co_consts); in code_richcompare() 866 consts2 = _PyCode_ConstantKey(cp->co_consts); in code_richcompare() 912 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/tensorflow/tensorflow/python/platform/ |
D | benchmark.py | 62 func_code.co_code, func_code.co_consts, 73 func_code.co_code, func_code.co_consts, 81 func_code.co_code, func_code.co_consts,
|
/external/python/cpython2/Include/ |
D | code.h | 17 PyObject *co_consts; /* list (constants used) */ member
|
/external/python/cpython3/Include/cpython/ |
D | code.h | 28 PyObject *co_consts; /* list (constants used) */ member
|
/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/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/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:
|