Home
last modified time | relevance | path

Searched refs:acceptLanguageList (Results 1 – 8 of 8) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/parser/
DAcceptLanguageParser.java84 AcceptLanguageList acceptLanguageList = new AcceptLanguageList(); in parse() local
121 acceptLanguageList.add(acceptLanguage); in parse()
134 return acceptLanguageList; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocalePriorityList.java380 public Builder add(final String acceptLanguageList) {
381 final String[] items = languageSplitter.split(acceptLanguageList.trim());
DULocale.java1869 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
1871 if (acceptLanguageList == null) { in acceptLanguage()
1876 acceptList = parseAcceptLanguage(acceptLanguageList, true); in acceptLanguage()
1901 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] in acceptLanguage() argument
1908 for(i=0;i<acceptLanguageList.length;i++) { in acceptLanguage()
1909 ULocale aLocale = acceptLanguageList[i]; in acceptLanguage()
1964 public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) { in acceptLanguage() argument
1965 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
1984 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback) { in acceptLanguage() argument
1985 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocalePriorityList.java396 public Builder add(final String acceptLanguageList) {
397 final String[] items = languageSplitter.split(acceptLanguageList.trim());
DULocale.java1991 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
1993 if (acceptLanguageList == null) { in acceptLanguage()
1998 acceptList = parseAcceptLanguage(acceptLanguageList, true); in acceptLanguage()
2024 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] in acceptLanguage() argument
2031 for(i=0;i<acceptLanguageList.length;i++) { in acceptLanguage()
2032 ULocale aLocale = acceptLanguageList[i]; in acceptLanguage()
2088 public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) { in acceptLanguage() argument
2089 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
2109 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback) { in acceptLanguage() argument
2110 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java1761 public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, in acceptLanguage() argument
1763 if (acceptLanguageList == null) { in acceptLanguage()
1768 acceptList = parseAcceptLanguage(acceptLanguageList, true); in acceptLanguage()
1794 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[] in acceptLanguage() argument
1801 for(i=0;i<acceptLanguageList.length;i++) { in acceptLanguage()
1802 ULocale aLocale = acceptLanguageList[i]; in acceptLanguage()
1858 public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) { in acceptLanguage() argument
1859 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
1879 public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback) { in acceptLanguage() argument
1880 return acceptLanguage(acceptLanguageList, ULocale.getAvailableLocales(), in acceptLanguage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java1646 private ULocale[] StringToULocaleArray(String acceptLanguageList){ in StringToULocaleArray() argument
1678 final int l = acceptLanguageList.length(); in StringToULocaleArray()
1681 int itemEnd = acceptLanguageList.indexOf(',',n); in StringToULocaleArray()
1685 int paramEnd = acceptLanguageList.indexOf(';',n); in StringToULocaleArray()
1691 while(UCharacter.isWhitespace(acceptLanguageList.charAt(t))) { in StringToULocaleArray()
1694 if(acceptLanguageList.charAt(t)=='q') { in StringToULocaleArray()
1697 while(UCharacter.isWhitespace(acceptLanguageList.charAt(t))) { in StringToULocaleArray()
1700 if(acceptLanguageList.charAt(t)=='=') { in StringToULocaleArray()
1703 while(UCharacter.isWhitespace(acceptLanguageList.charAt(t))) { in StringToULocaleArray()
1707 String val = acceptLanguageList.substring(t,itemEnd).trim(); in StringToULocaleArray()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java1649 private ULocale[] StringToULocaleArray(String acceptLanguageList){ in StringToULocaleArray() argument
1681 final int l = acceptLanguageList.length(); in StringToULocaleArray()
1684 int itemEnd = acceptLanguageList.indexOf(',',n); in StringToULocaleArray()
1688 int paramEnd = acceptLanguageList.indexOf(';',n); in StringToULocaleArray()
1694 while(UCharacter.isWhitespace(acceptLanguageList.charAt(t))) { in StringToULocaleArray()
1697 if(acceptLanguageList.charAt(t)=='q') { in StringToULocaleArray()
1700 while(UCharacter.isWhitespace(acceptLanguageList.charAt(t))) { in StringToULocaleArray()
1703 if(acceptLanguageList.charAt(t)=='=') { in StringToULocaleArray()
1706 while(UCharacter.isWhitespace(acceptLanguageList.charAt(t))) { in StringToULocaleArray()
1710 String val = acceptLanguageList.substring(t,itemEnd).trim(); in StringToULocaleArray()
[all …]