Lines Matching refs:to
6 * @param {string} toTest The string to be tested.
17 * @param {string} value The string to be tested.
26 * @param {Array.<{from: number, to: number}>} array1 The first array.
27 * @param {Array.<{from: number, to: number}>} array2 The second array.
50 array1[i].to != array2[i].to) {
59 * @param {Array.<number>} inArray The array to be processed.
80 * greater the 0 and less or equal to |totalPageCount| unless wildcards are
90 * Example: "2-" is valid, assuming |totalPageCount| >= 2, means from 2 to the
95 * @param {string} pageRangeText The text to be checked.
97 * @return {Array.<{from: number, to: number}>} An array of page range objects.
119 var to = match[2] ? parseInt(match[2], 10) : totalPageCount;
120 if (from > to || from > totalPageCount)
122 pageRanges.push({'from': from, 'to': to});
129 pageRanges.push({'from': singlePageNumber, 'to': singlePageNumber});
141 * @param {string} pageRangeText The text to be checked.
150 for (var j = pageRanges[i].from; j <= Math.min(pageRanges[i].to,
164 * @param {Array.<number>} pageList The list to be processed.
181 * @param {!HTMLElement} element Element to check for visibility.
190 * @param {!HTMLElement} element Element to show or hide.
198 * @param {!Array} array Array to check for item.
199 * @param {*} item Item to look for in array.