Searched refs:co_argcount (Results 1 – 24 of 24) sorted by relevance
/external/python/cpython2/Objects/ |
D | codeobject.c | 122 co->co_argcount = argcount; in PyCode_New() 201 {"co_argcount", T_INT, OFF(co_argcount), READONLY}, 389 cmp = co->co_argcount - cp->co_argcount; in code_compare() 575 eq = co->co_argcount == cp->co_argcount; in code_richcompare() 647 co->co_argcount ^ co->co_nlocals ^ co->co_flags; in code_hash()
|
/external/python/cpython2/Include/ |
D | code.h | 12 int co_argcount; /* #arguments, except *args */ member
|
/external/python/cpython2/Python/ |
D | ceval.c | 3372 if (co->co_argcount > 0 || in PyEval_EvalCodeEx() 3381 i = co->co_argcount; in PyEval_EvalCodeEx() 3386 if (argcount > co->co_argcount) { in PyEval_EvalCodeEx() 3393 co->co_argcount, in PyEval_EvalCodeEx() 3394 co->co_argcount == 1 ? "" : "s", in PyEval_EvalCodeEx() 3398 n = co->co_argcount; in PyEval_EvalCodeEx() 3409 SETLOCAL(co->co_argcount, u); in PyEval_EvalCodeEx() 3434 for (j = 0; j < co->co_argcount; j++) { in PyEval_EvalCodeEx() 3440 for (j = 0; j < co->co_argcount; j++) { in PyEval_EvalCodeEx() 3480 if (argcount < co->co_argcount) { in PyEval_EvalCodeEx() [all …]
|
D | marshal.c | 431 w_long(co->co_argcount, p); in w_object()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | compat.py | 129 nargs = co.co_argcount
|
/external/python/cpython2/Tools/framer/framer/ |
D | function.py | 103 args = code.co_varnames[:code.co_argcount]
|
/external/python/cpython2/Lib/idlelib/ |
D | CallTips.py | 180 argcount = fob.func_code.co_argcount
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 111 argcount = c.co_argcount
|
D | test_import.py | 506 code = type(code)(code.co_argcount, code.co_nlocals, code.co_stacksize,
|
D | test_subprocess.py | 132 argcount = subprocess.Popen.__init__.__code__.co_argcount
|
/external/autotest/client/common_lib/ |
D | test.py | 691 return func.func_code.co_varnames[:func.func_code.co_argcount] 756 all_varnames += func.func_code.co_varnames[:func.func_code.co_argcount]
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | yacc.py | 466 if 1 and isinstance(v,types.FunctionType) and v.__code__.co_argcount == 1: 740 if f.__code__.co_argcount > reqdargs: 744 if f.__code__.co_argcount < reqdargs: 2091 if (ef.__code__.co_argcount != 1+ismethod):
|
D | lex.py | 666 nargs = f.__code__.co_argcount
|
/external/libmojo/third_party/ply/ |
D | yacc.py | 2884 if (func_code(self.error_func).co_argcount != 1+ismethod): 2988 if func_code(func).co_argcount > reqargs: 2991 elif func_code(func).co_argcount < reqargs: 3018 if ((isinstance(v,types.FunctionType) and func_code(v).co_argcount == 1) or 3019 (isinstance(v,types.MethodType) and func_code(v).co_argcount == 2)):
|
D | lex.py | 739 nargs = func_code(f).co_argcount 808 nargs = func_code(f).co_argcount
|
/external/ply/ply/ply/ |
D | yacc.py | 3052 argcount = self.error_func.__code__.co_argcount - ismethod 3163 if func.__code__.co_argcount > reqargs: 3166 elif func.__code__.co_argcount < reqargs: 3195 if ((isinstance(v, types.FunctionType) and v.__code__.co_argcount == 1) or 3196 (isinstance(v, types.MethodType) and v.__func__.__code__.co_argcount == 2)):
|
D | lex.py | 744 nargs = f.__code__.co_argcount 812 nargs = f.__code__.co_argcount
|
/external/python/cpython2/Lib/ |
D | modulefinder.py | 609 return types.CodeType(co.co_argcount, co.co_nlocals, co.co_stacksize,
|
D | inspect.py | 753 nargs = co.co_argcount
|
D | pdb.py | 741 n = co.co_argcount
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 168 | code | co_argcount | number of arguments (not | |
|
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 3788 counter = fob.func_code.co_argcount
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 926 single: co_argcount (code object attribute) 942 :attr:`co_argcount` is the number of positional arguments (including arguments
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1277 co_argcount (int, R/0): number of positional args
|