Lines Matching refs:arglists
255 std::vector<std::vector<int64_t>> arglists(ranges.size()); in Ranges() local
257 AddRange(&arglists[i], ranges[i].first, ranges[i].second, in Ranges()
261 ArgsProduct(arglists); in Ranges()
267 const std::vector<std::vector<int64_t>>& arglists) { in ArgsProduct() argument
268 BM_CHECK(ArgsCnt() == -1 || ArgsCnt() == static_cast<int>(arglists.size())); in ArgsProduct()
270 std::vector<std::size_t> indices(arglists.size()); in ArgsProduct()
272 std::begin(arglists), std::end(arglists), std::size_t{1}, in ArgsProduct()
277 args.reserve(arglists.size()); in ArgsProduct()
279 for (std::size_t arg = 0; arg < arglists.size(); arg++) { in ArgsProduct()
280 args.push_back(arglists[arg][indices[arg]]); in ArgsProduct()
287 indices[arg] = (indices[arg] + 1) % arglists[arg].size(); in ArgsProduct()
288 } while (indices[arg++] == 0 && arg < arglists.size()); in ArgsProduct()