Lines Matching refs:pools
2035 PyObject *pools; /* tuple of pool tuples */ member
2048 PyObject *pools = NULL; in product_new() local
2088 pools = PyTuple_New(npools); in product_new()
2089 if (pools == NULL) in product_new()
2097 PyTuple_SET_ITEM(pools, i, pool); in product_new()
2101 PyObject *pool = PyTuple_GET_ITEM(pools, i - nargs); in product_new()
2103 PyTuple_SET_ITEM(pools, i, pool); in product_new()
2112 lz->pools = pools; in product_new()
2122 Py_XDECREF(pools); in product_new()
2130 Py_XDECREF(lz->pools); in product_dealloc()
2143 res += PyTuple_GET_SIZE(lz->pools) * sizeof(Py_ssize_t); in product_sizeof()
2152 Py_VISIT(lz->pools); in product_traverse()
2163 PyObject *pools = lz->pools; in product_next() local
2165 Py_ssize_t npools = PyTuple_GET_SIZE(pools); in product_next()
2179 pool = PyTuple_GET_ITEM(pools, i); in product_next()
2209 pool = PyTuple_GET_ITEM(pools, i); in product_next()
2250 return Py_BuildValue("OO", Py_TYPE(lz), lz->pools); in product_reduce()
2258 n = PyTuple_GET_SIZE(lz->pools); in product_reduce()
2270 return Py_BuildValue("OON", Py_TYPE(lz), lz->pools, indices); in product_reduce()
2280 n = PyTuple_GET_SIZE(lz->pools); in product_setstate()
2293 pool = PyTuple_GET_ITEM(lz->pools, i); in product_setstate()
2311 PyObject *pool = PyTuple_GET_ITEM(lz->pools, i); in product_setstate()