/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | AcceptLanguageParser.java | 84 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/ |
D | LocalePriorityList.java | 380 public Builder add(final String acceptLanguageList) { 381 final String[] items = languageSplitter.split(acceptLanguageList.trim());
|
D | ULocale.java | 1869 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/ |
D | LocalePriorityList.java | 396 public Builder add(final String acceptLanguageList) { 397 final String[] items = languageSplitter.split(acceptLanguageList.trim());
|
D | ULocale.java | 1991 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/ |
D | ULocale.java | 1761 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/ |
D | ULocaleTest.java | 1646 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/ |
D | ULocaleTest.java | 1649 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 …]
|