Lines Matching refs:_Call
267 if (IS_NULL(%_Call(StringMatch, service, GetServiceRE()))) {
315 var locale = %_Call(StringReplace,
322 %_Call(ArrayPush, matchedLocales, requestedLocales[i]);
326 var pos = %_Call(StringLastIndexOf, locale, '-');
330 locale = %_Call(StringSubstring, locale, 0, pos);
375 if (!IS_UNDEFINED(values) && %_Call(ArrayIndexOf, values, value) === -1) {
424 if (IS_NULL(%_Call(StringMatch, service, GetServiceRE()))) {
435 var locale = %_Call(StringReplace, requestedLocales[i],
441 %_Call(StringMatch, requestedLocales[i], GetUnicodeExtensionRE());
446 var pos = %_Call(StringLastIndexOf, locale, '-');
450 locale = %_Call(StringSubstring, locale, 0, pos);
479 var extensionSplit = %_Call(StringSplit, extension, '-');
616 return %_Call(StringReplace, resolved, resolvedBase, locales[0].base);
632 %_Call(StringMatch, i, /^([a-z]{2,3})-([A-Z][a-z]{3})-([A-Z]{2})$/);
692 return %StringToUpperCase(%_Call(StringSubstr, word, 0, 1)) +
693 %StringToLowerCase(%_Call(StringSubstr, word, 1));
703 var match = %_Call(StringMatch, location, GetTimezoneNameLocationPartRE());
710 var separator = %_Call(StringSubstring, match[2], 0, 1);
711 var parts = %_Call(StringSplit, match[2], separator);
765 %_Call(ArrayPush, seen, canonicalizeLanguageTag(locales));
778 if (%_Call(ArrayIndexOf, seen, tag) === -1) {
779 %_Call(ArrayPush, seen, tag);
800 if (!%_Call(RegExpTest, GetLanguageTagRE(), locale)) {
805 if (%_Call(StringIndexOf, locale, 'x-') === 0) {
812 locale = %_Call(StringSplit, locale, /-x-/)[0];
819 var parts = %_Call(StringSplit, locale, /-/);
822 if (%_Call(RegExpTest, GetLanguageVariantRE(), value) &&
824 if (%_Call(ArrayIndexOf, variants, value) === -1) {
825 %_Call(ArrayPush, variants, value);
831 if (%_Call(RegExpTest, GetLanguageSingletonRE(), value)) {
832 if (%_Call(ArrayIndexOf, extensions, value) === -1) {
833 %_Call(ArrayPush, extensions, value);
957 if (%_Call(ArrayIndexOf, ALLOWED_CO_VALUES, extensionMap.co) !== -1) {
1098 %_Call(StringMatch, currency, /[^A-Za-z]/) == null;
1438 ldmlString = %_Call(StringReplace, ldmlString, GetQuotedStringRE(), '');
1441 var match = %_Call(StringMatch, ldmlString, /E{3,5}/g);
1445 match = %_Call(StringMatch, ldmlString, /G{3,5}/g);
1449 match = %_Call(StringMatch, ldmlString, /y{1,2}/g);
1453 match = %_Call(StringMatch, ldmlString, /M{1,5}/g);
1458 match = %_Call(StringMatch, ldmlString, /L{1,5}/g);
1462 match = %_Call(StringMatch, ldmlString, /d{1,2}/g);
1466 match = %_Call(StringMatch, ldmlString, /h{1,2}/g);
1473 match = %_Call(StringMatch, ldmlString, /H{1,2}/g);
1480 match = %_Call(StringMatch, ldmlString, /m{1,2}/g);
1484 match = %_Call(StringMatch, ldmlString, /s{1,2}/g);
1488 match = %_Call(StringMatch, ldmlString, /z|zzzz/g);
1825 var match = %_Call(StringMatch, tzID, GetTimezoneNameCheckRE());
1832 var locations = %_Call(StringSplit, match[3], '/');
2093 var normalizationForm = %_Call(ArrayIndexOf, NORMALIZATION_FORMS, form);
2096 %_Call(ArrayJoin, NORMALIZATION_FORMS, ', '));