/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() 574 eq = co->co_argcount == cp->co_argcount; in code_richcompare() 646 co->co_argcount ^ co->co_nlocals ^ co->co_flags; in code_hash()
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 193 co->co_argcount = argcount; in PyCode_New() 275 {"co_argcount", T_INT, OFF(co_argcount), READONLY}, 640 eq = co->co_argcount == cp->co_argcount; in code_richcompare() 714 co->co_argcount ^ co->co_kwonlyargcount ^ in code_hash()
|
D | call.c | 321 if (argdefs == NULL && co->co_argcount == nargs) { in _PyFunction_FastCallDict() 325 && co->co_argcount == PyTuple_GET_SIZE(argdefs)) { in _PyFunction_FastCallDict() 407 if (argdefs == NULL && co->co_argcount == nargs) { in _PyFunction_FastCallKeywords() 411 && co->co_argcount == PyTuple_GET_SIZE(argdefs)) { in _PyFunction_FastCallKeywords()
|
/external/python/cpython2/Include/ |
D | code.h | 12 int co_argcount; /* #arguments, except *args */ member
|
/external/python/cpython3/Include/ |
D | code.h | 23 int co_argcount; /* #arguments, except *args */ member
|
/external/python/cpython3/Python/ |
D | ceval.c | 3581 end = co->co_argcount - defcount; in missing_arguments() 3584 start = co->co_argcount; in missing_arguments() 3611 Py_ssize_t co_argcount = co->co_argcount; in too_many_positional() local 3615 for (i = co_argcount; i < co_argcount + co->co_kwonlyargcount; i++) { in too_many_positional() 3621 Py_ssize_t atleast = co_argcount - defcount; in too_many_positional() 3623 sig = PyUnicode_FromFormat("from %zd to %zd", atleast, co_argcount); in too_many_positional() 3626 plural = (co_argcount != 1); in too_many_positional() 3627 sig = PyUnicode_FromFormat("%zd", co_argcount); in too_many_positional() 3678 const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount; in _PyEval_EvalCodeWithName() 3714 if (argcount > co->co_argcount) { in _PyEval_EvalCodeWithName() [all …]
|
/external/tensorflow/tensorflow/contrib/framework/python/ops/ |
D | arg_scope.py | 102 return func.__code__.co_varnames[-kwargs_length:func.__code__.co_argcount]
|
/external/python/cpython2/Python/ |
D | ceval.c | 3392 if (co->co_argcount > 0 || in PyEval_EvalCodeEx() 3401 i = co->co_argcount; in PyEval_EvalCodeEx() 3406 if (argcount > co->co_argcount) { in PyEval_EvalCodeEx() 3413 co->co_argcount, in PyEval_EvalCodeEx() 3414 co->co_argcount == 1 ? "" : "s", in PyEval_EvalCodeEx() 3418 n = co->co_argcount; in PyEval_EvalCodeEx() 3429 SETLOCAL(co->co_argcount, u); in PyEval_EvalCodeEx() 3454 for (j = 0; j < co->co_argcount; j++) { in PyEval_EvalCodeEx() 3460 for (j = 0; j < co->co_argcount; j++) { in PyEval_EvalCodeEx() 3500 if (argcount < co->co_argcount) { in PyEval_EvalCodeEx() [all …]
|
/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 | 505 code = type(code)(code.co_argcount, code.co_nlocals, code.co_stacksize,
|
/external/python/cpython3/Lib/ |
D | types.py | 259 co.co_argcount, co.co_kwonlyargcount, co.co_nlocals,
|
D | dis.py | 150 lines.append("Argument count: %s" % co.co_argcount)
|
D | modulefinder.py | 562 return types.CodeType(co.co_argcount, co.co_kwonlyargcount,
|
/external/autotest/client/common_lib/ |
D | test.py | 673 return func.func_code.co_varnames[:func.func_code.co_argcount] 738 all_varnames += func.func_code.co_varnames[:func.func_code.co_argcount]
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 160 c.co_argcount, c.co_kwonlyargcount, c.co_nlocals,
|
/external/libchrome/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 | 3054 argcount = self.error_func.__code__.co_argcount - ismethod 3165 if func.__code__.co_argcount > reqargs: 3168 elif func.__code__.co_argcount < reqargs: 3197 if ((isinstance(v, types.FunctionType) and v.__code__.co_argcount == 1) or 3198 (isinstance(v, types.MethodType) and v.__func__.__code__.co_argcount == 2)):
|
D | lex.py | 743 nargs = f.__code__.co_argcount 811 nargs = f.__code__.co_argcount
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | yacc.py | 3054 argcount = self.error_func.__code__.co_argcount - ismethod 3165 if func.__code__.co_argcount > reqargs: 3168 elif func.__code__.co_argcount < reqargs: 3197 if ((isinstance(v, types.FunctionType) and v.__code__.co_argcount == 1) or 3198 (isinstance(v, types.MethodType) and v.__func__.__code__.co_argcount == 2)):
|
D | lex.py | 743 nargs = f.__code__.co_argcount 811 nargs = f.__code__.co_argcount
|
/external/python/funcsigs/funcsigs/ |
D | __init__.py | 523 pos_count = func_code.co_argcount
|
/external/python/cpython2/Lib/ |
D | modulefinder.py | 609 return types.CodeType(co.co_argcount, co.co_nlocals, co.co_stacksize,
|