Home
last modified time | relevance | path

Searched refs:page_ranges (Results 1 – 3 of 3) sorted by relevance

/third_party/cef/tests/ceftests/
Dprint_unittest.cc33 CefPrintSettings::PageRangeList page_ranges; in TEST() local
34 page_ranges.push_back(CefRange(1, 3)); in TEST()
35 page_ranges.push_back(CefRange(5, 6)); in TEST()
36 settings->SetPageRanges(page_ranges); in TEST()
37 EXPECT_EQ(page_ranges.size(), settings->GetPageRangesCount()); in TEST()
40 EXPECT_EQ(page_ranges.size(), page_ranges2.size()); in TEST()
41 for (size_t i = 0; i < page_ranges.size(); ++i) in TEST()
42 EXPECT_EQ(page_ranges[i], page_ranges2[i]); in TEST()
/third_party/cef/libcef/browser/
Dprint_settings_impl.cc74 printing::PageRanges page_ranges; in SetPageRanges() local
81 page_ranges.push_back(range); in SetPageRanges()
83 mutable_value()->set_ranges(page_ranges); in SetPageRanges()
95 const printing::PageRanges& page_ranges = const_value().ranges(); in GetPageRanges() local
96 printing::PageRanges::const_iterator it = page_ranges.begin(); in GetPageRanges()
97 for (; it != page_ranges.end(); ++it) { in GetPageRanges()
/third_party/cups-filters/filter/
Dtexttotext.c58 static int check_range(char *page_ranges, int even_pages,
114 char *page_ranges = NULL; /* Selection of pages to print */ in main() local
495 page_ranges = strdup(val); in main()
497 if (page_ranges) in main()
498 fprintf(stderr, "DEBUG: Page selection: %s\n", page_ranges); in main()
695 check_range(page_ranges, even_pages, odd_pages, page)) { in main()
857 free(page_ranges); in main()
903 check_range(char *page_ranges, /* I - Selection of pages to print */ in check_range() argument
925 if (!page_ranges || page_ranges[0] == '\0') in check_range()
928 for (range = page_ranges; *range != '\0';) in check_range()