Home
last modified time | relevance | path

Searched refs:PyArg_UnpackTuple (Results 1 – 25 of 94) sorted by relevance

1234

/external/python/cpython2/Modules/
Doperator.c18 if(! PyArg_UnpackTuple(a,#OP,2,2,&a1,&a2)) return NULL; \
28 if(! PyArg_UnpackTuple(a,#OP,2,2,&a1,&a2)) return NULL; \
35 if(! PyArg_UnpackTuple(a,#OP,3,3,&a1,&a2,&a3)) return NULL; \
47 if(! PyArg_UnpackTuple(a,#OP,2,2,&a1,&a2)) return NULL; \
53 if(! PyArg_UnpackTuple(a,#OP,2,2,&a1,&a2)) return NULL; \
59 if(! PyArg_UnpackTuple(a,#OP,2,2,&a1,&a2)) return NULL; \
65 if(! PyArg_UnpackTuple(a,#OP,2,2,&a1,&a2)) return NULL; \
144 if (PyArg_UnpackTuple(a,"pow", 2, 2, &a1, &a2)) in spami()
153 if (PyArg_UnpackTuple(a,"ipow", 2, 2, &a1, &a2)) in op_ipow()
168 if (PyArg_UnpackTuple(a,"is_", 2, 2, &a1, &a2)) { in is_()
[all …]
D_heapqmodule.c125 if (!PyArg_UnpackTuple(args, "heappush", 2, 2, &heap, &item)) in heappush()
187 if (!PyArg_UnpackTuple(args, "heapreplace", 2, 2, &heap, &item)) in heapreplace()
226 if (!PyArg_UnpackTuple(args, "heappushpop", 2, 2, &heap, &item)) in heappushpop()
Dmathmodule.c762 if (! PyArg_UnpackTuple(args, funcname, 2, 2, &ox, &oy)) in math_2()
1320 if (!PyArg_UnpackTuple(args, "log", 1, 2, &arg, &base)) in math_log()
1358 if (! PyArg_UnpackTuple(args, "fmod", 2, 2, &ox, &oy)) in math_fmod()
1392 if (! PyArg_UnpackTuple(args, "hypot", 2, 2, &ox, &oy)) in math_hypot()
1441 if (! PyArg_UnpackTuple(args, "pow", 2, 2, &ox, &oy)) in math_pow()
D_weakref.c109 if (PyArg_UnpackTuple(args, "proxy", 1, 2, &object, &callback)) { in weakref_proxy()
D_csv.c946 if (!PyArg_UnpackTuple(args, "", 1, 2, &iterator, &dialect)) { in csv_reader()
1369 if (!PyArg_UnpackTuple(args, "", 1, 2, &output_file, &dialect)) { in csv_writer()
1404 if (!PyArg_UnpackTuple(args, "", 1, 2, &name_obj, &dialect_obj)) in csv_register_dialect()
1444 if (!PyArg_UnpackTuple(args, "field_size_limit", 0, 1, &new_limit)) in csv_field_size_limit()
Ditertoolsmodule.c553 if (!PyArg_UnpackTuple(args, "tee", 1, 1, &iterable)) in tee_new()
695 if (!PyArg_UnpackTuple(args, "cycle", 1, 1, &iterable)) in cycle_new()
846 if (!PyArg_UnpackTuple(args, "dropwhile", 2, 2, &func, &seq)) in dropwhile_new()
990 if (!PyArg_UnpackTuple(args, "takewhile", 2, 2, &func, &seq)) in takewhile_new()
1134 if (!PyArg_UnpackTuple(args, "islice", 2, 4, &seq, &a1, &a2, &a3)) in islice_new()
1332 if (!PyArg_UnpackTuple(args, "starmap", 2, 2, &func, &seq)) in starmap_new()
2963 if (!PyArg_UnpackTuple(args, "ifilter", 2, 2, &func, &seq)) in ifilter_new()
3108 if (!PyArg_UnpackTuple(args, "ifilterfalse", 2, 2, &func, &seq)) in ifilterfalse_new()
Dtimemodule.c668 if (!PyArg_UnpackTuple(args, "asctime", 0, 1, &tup)) in time_asctime()
694 if (!PyArg_UnpackTuple(args, "ctime", 0, 1, &ot)) in time_ctime()
DcStringIO.c132 if (!PyArg_UnpackTuple(args,"getval", 0, 1,&use_pos)) return NULL; in IO_getval()
719 if (!PyArg_UnpackTuple(args, "StringIO", 0, 1, &s)) return NULL; in IO_StringIO()
/external/python/cpython2/Python/
Dbltinmodule.c178 if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict)) in builtin_apply()
249 if (!PyArg_UnpackTuple(args, "filter", 2, 2, &func, &seq)) in builtin_filter()
428 if (!PyArg_UnpackTuple(args, "cmp", 2, 2, &a, &b)) in builtin_cmp()
450 if (!PyArg_UnpackTuple(args, "coerce", 2, 2, &v, &w)) in builtin_coerce()
597 if (!PyArg_UnpackTuple(args, "dir", 0, 1, &arg)) in builtin_dir()
621 if (!PyArg_UnpackTuple(args, "divmod", 2, 2, &v, &w)) in builtin_divmod()
640 if (!PyArg_UnpackTuple(args, "eval", 1, 3, &cmd, &globals, &locals)) in builtin_eval()
834 if (!PyArg_UnpackTuple(args, "getattr", 2, 3, &v, &name, &dflt)) in builtin_getattr()
890 if (!PyArg_UnpackTuple(args, "hasattr", 2, 2, &v, &name)) in builtin_hasattr()
1110 if (!PyArg_UnpackTuple(args, "next", 1, 2, &it, &def)) in builtin_next()
[all …]
/external/python/cpython3/Modules/
D_heapqmodule.c104 if (!PyArg_UnpackTuple(args, "heappush", 2, 2, &heap, &item)) in heappush()
174 if (!PyArg_UnpackTuple(args, "heapreplace", 2, 2, &heap, &item)) in heapreplace_internal()
219 if (!PyArg_UnpackTuple(args, "heappushpop", 2, 2, &heap, &item)) in heappushpop()
D_operator.c957 if (!PyArg_UnpackTuple(args, "itemgetter", 1, 1, &item)) in itemgetter_new()
998 if (!PyArg_UnpackTuple(args, "itemgetter", 1, 1, &obj)) in itemgetter_call()
1132 if (!PyArg_UnpackTuple(args, "attrgetter", 1, 1, &attr)) in attrgetter_new()
1288 if (!PyArg_UnpackTuple(args, "attrgetter", 1, 1, &obj)) in attrgetter_call()
1532 if (!PyArg_UnpackTuple(args, "methodcaller", 1, 1, &obj)) in methodcaller_call()
D_weakref.c121 if (PyArg_UnpackTuple(args, "proxy", 1, 2, &object, &callback)) { in weakref_proxy()
D_csv.c954 if (!PyArg_UnpackTuple(args, "", 1, 2, &iterator, &dialect)) { in csv_reader()
1378 if (!PyArg_UnpackTuple(args, "", 1, 2, &output_file, &dialect)) { in csv_writer()
1413 if (!PyArg_UnpackTuple(args, "", 1, 2, &name_obj, &dialect_obj)) in csv_register_dialect()
1453 if (!PyArg_UnpackTuple(args, "field_size_limit", 0, 1, &new_limit)) in csv_field_size_limit()
/external/python/cpython3/Objects/clinic/
Denumobject.c.h61 if (!PyArg_UnpackTuple(args, "reversed", in reversed_new()
Dtupleobject.c.h71 if (!PyArg_UnpackTuple(args, "tuple", in tuple_new()
Dfloatobject.c.h176 if (!PyArg_UnpackTuple(args, "float", in float_new()
Dlistobject.c.h242 if (!PyArg_UnpackTuple(args, "list", in list___init__()
/external/python/cpython2/Include/
Dmodsupport.h30 PyAPI_FUNC(int) PyArg_UnpackTuple(PyObject *, const char *, Py_ssize_t, Py_ssize_t, ...);
/external/python/cpython3/Objects/
Dboolobject.c50 if (!PyArg_UnpackTuple(args, "bool", 0, 1, &x)) in bool_new()
Dclassobject.c173 if (!PyArg_UnpackTuple(args, "method", 2, 2, in method_new()
586 if (!PyArg_UnpackTuple(args, "instancemethod", 1, 1, &func)) in instancemethod_new()
Dfuncobject.c709 if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) in cm_init()
890 if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) in sm_init()
/external/python/cpython3/Include/
Dmodsupport.h48 PyAPI_FUNC(int) PyArg_UnpackTuple(PyObject *, const char *, Py_ssize_t, Py_ssize_t, ...);
/external/python/cpython2/Objects/
Dfuncobject.c656 if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) in cm_init()
811 if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) in sm_init()
Dgenobject.c224 if (!PyArg_UnpackTuple(args, "throw", 1, 3, &typ, &val, &tb)) in gen_throw()
/external/python/cpython3/Python/
Dbltinmodule.c548 if (!PyArg_UnpackTuple(args, "filter", 2, 2, &func, &seq)) in filter_new()
895 if (!PyArg_UnpackTuple(args, "dir", 0, 1, &arg)) in builtin_dir()
1549 if (!PyArg_UnpackTuple(args, "iter", 1, 2, &v, &w)) in builtin_iter()
1628 else if (!PyArg_UnpackTuple(args, name, 1, 1, &v)) in min_max()
2274 if (!PyArg_UnpackTuple(args, "vars", 0, 1, &v)) in builtin_vars()

1234