Lines Matching refs:requestedLocales
306 var requestedLocales = initializeLocaleList(locales);
313 requestedLocales, availableLocales));
317 requestedLocales, availableLocales));
326 function lookupSupportedLocalesOf(requestedLocales, availableLocales) { argument
328 for (var i = 0; i < requestedLocales.length; ++i) {
331 GetUnicodeExtensionRE(), requestedLocales[i], '');
335 %_Call(ArrayPush, matchedLocales, requestedLocales[i]);
357 function bestFitSupportedLocalesOf(requestedLocales, availableLocales) { argument
359 return lookupSupportedLocalesOf(requestedLocales, availableLocales);
418 function resolveLocale(service, requestedLocales, options) { argument
419 requestedLocales = initializeLocaleList(requestedLocales);
426 resolved = lookupMatcher(service, requestedLocales);
428 resolved = bestFitMatcher(service, requestedLocales);
439 function lookupMatcher(service, requestedLocales) { argument
446 for (var i = 0; i < requestedLocales.length; ++i) {
449 GetAnyExtensionRE(), requestedLocales[i], '');
454 GetUnicodeExtensionRE(), requestedLocales[i]);
476 function bestFitMatcher(service, requestedLocales) { argument
478 return lookupMatcher(service, requestedLocales);