Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/resources/print_preview/
Dprint_preview_utils_unittest.gtestjs74 pageRangeTextToPageRanges("1,2,3,1,56", 100));
76 pageRangeTextToPageRanges("1-3, 6-9,6-10 ", 100));
78 pageRangeTextToPageRanges("10-", 100));
80 pageRangeTextToPageRanges("10-100000", 100));
82 pageRangeTextToPageRanges("-", 100));
84 pageRangeTextToPageRanges("1,2", undefined));
86 pageRangeTextToPageRanges("-", null));
88 pageRangeTextToPageRanges("-", 0));
92 assertTrue(pageRangeTextToPageRanges("1,100000", 100) == null);
93 assertTrue(pageRangeTextToPageRanges("1,2,0,56", 100) == null);
[all …]
Dprint_preview_utils.js99 function pageRangeTextToPageRanges(pageRangeText, totalPageCount) { function
146 var pageRanges = pageRangeTextToPageRanges(pageRangeText, totalPageCount);
/external/chromium_org/chrome/browser/resources/print_preview/data/ticket_items/
Dpage_range.js38 return null != pageRangeTextToPageRanges(
72 return pageRangeTextToPageRanges(this.getValue()) || [];
82 var pageRanges = pageRangeTextToPageRanges(