Lines Matching refs:shapes
282 std::vector<Shape> shapes; in all_shapes_in_random_order() local
290 shapes.push_back(shape); in all_shapes_in_random_order()
298 shapes.push_back(shape); in all_shapes_in_random_order()
309 shapes.push_back(shape); in all_shapes_in_random_order()
314 #error What shapes should we benchmark? (Suggestion: #define BENCHMARK_QUICK) in all_shapes_in_random_order()
316 std::shuffle(std::begin(shapes), std::end(shapes), RandomEngine()); in all_shapes_in_random_order()
317 return shapes; in all_shapes_in_random_order()
321 std::vector<Shape> shapes; in run_benchmarks() local
324 shapes.insert(std::end(shapes), std::begin(pass_shapes), in run_benchmarks()
329 for (std::size_t i = 0; i < shapes.size(); i++) { in run_benchmarks()
330 const double ratio = static_cast<double>(i) / shapes.size(); in run_benchmarks()
339 const Shape& shape = shapes[i]; in run_benchmarks()