• Home
  • Raw
  • Download

Lines Matching refs:PyObject

13 static PyObject *
14 pairwise_new_impl(PyTypeObject *type, PyObject *iterable);
16 static PyObject *
17 pairwise_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) in pairwise_new()
19 PyObject *return_value = NULL; in pairwise_new()
20 PyObject *iterable; in pairwise_new()
49 static PyObject *
50 itertools_groupby_impl(PyTypeObject *type, PyObject *it, PyObject *keyfunc);
52 static PyObject *
53 itertools_groupby(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_groupby()
55 PyObject *return_value = NULL; in itertools_groupby()
58 PyObject *argsbuf[2]; in itertools_groupby()
59 PyObject * const *fastargs; in itertools_groupby()
62 PyObject *it; in itertools_groupby()
63 PyObject *keyfunc = Py_None; in itertools_groupby()
81 static PyObject *
82 itertools__grouper_impl(PyTypeObject *type, PyObject *parent,
83 PyObject *tgtkey);
85 static PyObject *
86 itertools__grouper(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools__grouper()
88 PyObject *return_value = NULL; in itertools__grouper()
89 PyObject *parent; in itertools__grouper()
90 PyObject *tgtkey; in itertools__grouper()
117 static PyObject *
118 itertools_teedataobject_impl(PyTypeObject *type, PyObject *it,
119 PyObject *values, PyObject *next);
121 static PyObject *
122 itertools_teedataobject(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_teedataobject()
124 PyObject *return_value = NULL; in itertools_teedataobject()
125 PyObject *it; in itertools_teedataobject()
126 PyObject *values; in itertools_teedataobject()
127 PyObject *next; in itertools_teedataobject()
155 static PyObject *
156 itertools__tee_impl(PyTypeObject *type, PyObject *iterable);
158 static PyObject *
159 itertools__tee(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools__tee()
161 PyObject *return_value = NULL; in itertools__tee()
162 PyObject *iterable; in itertools__tee()
187 static PyObject *
188 itertools_tee_impl(PyObject *module, PyObject *iterable, Py_ssize_t n);
190 static PyObject *
191 itertools_tee(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in itertools_tee()
193 PyObject *return_value = NULL; in itertools_tee()
194 PyObject *iterable; in itertools_tee()
206 PyObject *iobj = _PyNumber_Index(args[1]); in itertools_tee()
229 static PyObject *
230 itertools_cycle_impl(PyTypeObject *type, PyObject *iterable);
232 static PyObject *
233 itertools_cycle(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_cycle()
235 PyObject *return_value = NULL; in itertools_cycle()
236 PyObject *iterable; in itertools_cycle()
260 static PyObject *
261 itertools_dropwhile_impl(PyTypeObject *type, PyObject *func, PyObject *seq);
263 static PyObject *
264 itertools_dropwhile(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_dropwhile()
266 PyObject *return_value = NULL; in itertools_dropwhile()
267 PyObject *func; in itertools_dropwhile()
268 PyObject *seq; in itertools_dropwhile()
291 static PyObject *
292 itertools_takewhile_impl(PyTypeObject *type, PyObject *func, PyObject *seq);
294 static PyObject *
295 itertools_takewhile(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_takewhile()
297 PyObject *return_value = NULL; in itertools_takewhile()
298 PyObject *func; in itertools_takewhile()
299 PyObject *seq; in itertools_takewhile()
322 static PyObject *
323 itertools_starmap_impl(PyTypeObject *type, PyObject *func, PyObject *seq);
325 static PyObject *
326 itertools_starmap(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_starmap()
328 PyObject *return_value = NULL; in itertools_starmap()
329 PyObject *func; in itertools_starmap()
330 PyObject *seq; in itertools_starmap()
364 static PyObject *
365 itertools_combinations_impl(PyTypeObject *type, PyObject *iterable,
368 static PyObject *
369 itertools_combinations(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_combinations()
371 PyObject *return_value = NULL; in itertools_combinations()
374 PyObject *argsbuf[2]; in itertools_combinations()
375 PyObject * const *fastargs; in itertools_combinations()
377 PyObject *iterable; in itertools_combinations()
387 PyObject *iobj = _PyNumber_Index(fastargs[1]); in itertools_combinations()
411 static PyObject *
413 PyObject *iterable,
416 static PyObject *
417 itertools_combinations_with_replacement(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_combinations_with_replacement()
419 PyObject *return_value = NULL; in itertools_combinations_with_replacement()
422 PyObject *argsbuf[2]; in itertools_combinations_with_replacement()
423 PyObject * const *fastargs; in itertools_combinations_with_replacement()
425 PyObject *iterable; in itertools_combinations_with_replacement()
435 PyObject *iobj = _PyNumber_Index(fastargs[1]); in itertools_combinations_with_replacement()
459 static PyObject *
460 itertools_permutations_impl(PyTypeObject *type, PyObject *iterable,
461 PyObject *robj);
463 static PyObject *
464 itertools_permutations(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_permutations()
466 PyObject *return_value = NULL; in itertools_permutations()
469 PyObject *argsbuf[2]; in itertools_permutations()
470 PyObject * const *fastargs; in itertools_permutations()
473 PyObject *iterable; in itertools_permutations()
474 PyObject *robj = Py_None; in itertools_permutations()
498 static PyObject *
499 itertools_accumulate_impl(PyTypeObject *type, PyObject *iterable,
500 PyObject *binop, PyObject *initial);
502 static PyObject *
503 itertools_accumulate(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_accumulate()
505 PyObject *return_value = NULL; in itertools_accumulate()
508 PyObject *argsbuf[3]; in itertools_accumulate()
509 PyObject * const *fastargs; in itertools_accumulate()
512 PyObject *iterable; in itertools_accumulate()
513 PyObject *binop = Py_None; in itertools_accumulate()
514 PyObject *initial = Py_None; in itertools_accumulate()
551 static PyObject *
552 itertools_compress_impl(PyTypeObject *type, PyObject *seq1, PyObject *seq2);
554 static PyObject *
555 itertools_compress(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_compress()
557 PyObject *return_value = NULL; in itertools_compress()
560 PyObject *argsbuf[2]; in itertools_compress()
561 PyObject * const *fastargs; in itertools_compress()
563 PyObject *seq1; in itertools_compress()
564 PyObject *seq2; in itertools_compress()
586 static PyObject *
587 itertools_filterfalse_impl(PyTypeObject *type, PyObject *func, PyObject *seq);
589 static PyObject *
590 itertools_filterfalse(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_filterfalse()
592 PyObject *return_value = NULL; in itertools_filterfalse()
593 PyObject *func; in itertools_filterfalse()
594 PyObject *seq; in itertools_filterfalse()
624 static PyObject *
625 itertools_count_impl(PyTypeObject *type, PyObject *long_cnt,
626 PyObject *long_step);
628 static PyObject *
629 itertools_count(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_count()
631 PyObject *return_value = NULL; in itertools_count()
634 PyObject *argsbuf[2]; in itertools_count()
635 PyObject * const *fastargs; in itertools_count()
638 PyObject *long_cnt = NULL; in itertools_count()
639 PyObject *long_step = NULL; in itertools_count()