Home
last modified time | relevance | path

Searched refs:getVariant (Results 1 – 25 of 83) sorted by relevance

1234

/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DReportTaskLocaleTest.java31 assertEquals("", locale.getVariant()); in testNone()
40 assertEquals("", locale.getVariant()); in testLanguage()
49 assertEquals("", locale.getVariant()); in testLanguageCountry()
58 assertEquals("Matte", locale.getVariant()); in testLanguageCountryVariant()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTestUtil.java28 String variant = locale.getVariant(); in toICUExtendedLocale()
56 String variant = locale.getVariant(); in isICUExtendedLocale()
142 String variant = loc.getVariant(); in isProblematicIBMLocale()
DLocaleNameTest.java56 String variant = forLocale.getVariant(); in TestLanguageNames()
232 String locVar = forLocale.getVariant(); in TestVariantNames()
/external/swiftshader/third_party/LLVM/lib/MC/
DWinCOFFStreamer.cpp193 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitAssignment()
237 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitSymbolAttribute()
264 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in BeginCOFFSymbolDef()
303 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitCommonSymbol()
311 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitLocalCommonSymbol()
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRLocale.java61 return ldn.variantDisplayName(cldrLocale.getVariant()); in getDisplayVariant()
75 String v = cldrLocale.getVariant(); in getDisplayName()
148 if (file != null) return file.getName("variant", cldrLocale.getVariant()); in getDisplayVariant()
150 cldrLocale.getVariant(), in getDisplayVariant()
496 public String getVariant() {
497 return toULocale().getVariant(); // TODO: replace with parts?
DCLDRTransforms.java745 … return getSource() + "-" + getTarget() + (getVariant() == null ? "" : "/" + getVariant()); in getId()
749 …return getDisplaySource() + "-" + getDisplayTarget() + (getVariant() == null ? "" : "/" + getDispl… in getDisplayId()
753 return getVariant(); in getDisplayVariant()
805 … return getTarget() + "-" + getSource() + (getVariant() == null ? "" : "/" + getVariant()); in getBackwardId()
865 protected String getVariant() { in getVariant() method in CLDRTransforms.ParsedTransformID
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java71 String variant = result.getVariant(); in toULocaleNoSpecialVariant()
120 String var = spLoc.getVariant(); in getSpecialLocalesMap()
174 String variant = loc.getVariant(); in addLocale()
190 StringBuilder var = new StringBuilder(uloc.getVariant()); in addULocale()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java731 cmp = getVariant().compareTo(other.getVariant()); in compareTo()
912 public String getVariant() { in getVariant() method in ULocale
913 return base().getVariant(); in getVariant()
921 public static String getVariant(String localeID) { in getVariant() method in ULocale
922 return new LocaleIDParser(localeID).getVariant(); in getVariant()
1153 if (parser.getLanguage().equals("nb") && parser.getVariant().equals("NY")) { in canonicalize()
1601 .variantDisplayName(locale.getVariant()); in getDisplayVariantInternal()
1922 && availableLocales[j].getVariant().equals(aLocale.getVariant())) { in acceptLanguage()
2764 String variant = parser.getVariant(); in parseTagString()
3070 if (base.getVariant().equalsIgnoreCase("POSIX")) { in toLanguageTag()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java782 cmp = getVariant().compareTo(other.getVariant()); in compareTo()
973 public String getVariant() { in getVariant() method in ULocale
974 return base().getVariant(); in getVariant()
983 public static String getVariant(String localeID) { in getVariant() method in ULocale
984 return new LocaleIDParser(localeID).getVariant(); in getVariant()
1227 if (parser.getLanguage().equals("nb") && parser.getVariant().equals("NY")) { in canonicalize()
1698 .variantDisplayName(locale.getVariant()); in getDisplayVariantInternal()
2040 && availableLocales[j].getVariant().equals(aLocale.getVariant())) { in acceptLanguage()
2883 String variant = parser.getVariant(); in parseTagString()
3203 if (base.getVariant().equalsIgnoreCase("POSIX")) { in toLanguageTag()
[all …]
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp282 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i])) in TestBasicGetters()
310 if (testLocale.getVariant()[0] != 0) in TestBasicGetters()
329 temp = test8.getVariant(); in TestBasicGetters()
354 *bogusLang.getVariant()!=0 || in TestBasicGetters()
2412 if (0 != strcmp(loc.getVariant(), "POSIX")) { in TestVariantWithOutCountry()
2413 …get parsed correctly - name is %s - expected %s got %s", loc.getName(), "POSIX", loc.getVariant()); in TestVariantWithOutCountry()
2416 if (0 != strcmp(loc2.getVariant(), "FOUR")) { in TestVariantWithOutCountry()
2417 …et parsed correctly - name is %s - expected %s got %s", loc2.getName(), "FOUR", loc2.getVariant()); in TestVariantWithOutCountry()
2420 if (0 != strcmp(loc3.getVariant(), "FOUR")) { in TestVariantWithOutCountry()
2421 …et parsed correctly - name is %s - expected %s got %s", loc3.getName(), "FOUR", loc3.getVariant()); in TestVariantWithOutCountry()
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoUtility.java117 if (l1.getVariant().equals(l2.getVariant())) { in compareLocales()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java837 public String getVariant() { in getVariant() method in ULocale
838 return getVariant(localeID); in getVariant()
847 public static String getVariant(String localeID) { in getVariant() method in ULocale
848 return new LocaleIDParser(localeID).getVariant(); in getVariant()
1092 if (parser.getLanguage().equals("nb") && parser.getVariant().equals("NY")) { in canonicalize()
1818 && availableLocales[j].getVariant().equals(aLocale.getVariant())) { in acceptLanguage()
2567 if (base.getVariant().equalsIgnoreCase("POSIX")) { in toLanguageTag()
3112 base.getVariant()); in getInstance()
3132 … if (lkey.equals("va") && ltype.equals("posix") && base.getVariant().length() == 0) { in getInstance()
3183 baseLocale = BaseLocale.getInstance(language, getScript(), getCountry(), getVariant()); in base()
[all …]
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp25 getVariant(uint64_t LLVMDisassembler_VariantKind) { in getVariant() function
171 MCSymbolRefExpr::VariantKind Variant = getVariant(SymbolicOp.VariantKind); in tryAddingSymbolicOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp25 getVariant(uint64_t LLVMDisassembler_VariantKind) { in getVariant() function
171 MCSymbolRefExpr::VariantKind Variant = getVariant(SymbolicOp.VariantKind); in tryAddingSymbolicOperand()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCSection.h49 SectionVariant getVariant() const { return Variant; } in getVariant() function
DMCSectionCOFF.h62 return S->getVariant() == SV_COFF; in classof()
DMCSectionELF.h76 return S->getVariant() == SV_ELF; in classof()
/external/llvm/include/llvm/MC/
DMCSectionMachO.h85 return S->getVariant() == SV_MachO; in classof()
DMCSectionCOFF.h87 static bool classof(const MCSection *S) { return S->getVariant() == SV_COFF; } in classof()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCSectionMachO.h86 return S->getVariant() == SV_MachO; in classof()
DMCSectionCOFF.h95 static bool classof(const MCSection *S) { return S->getVariant() == SV_COFF; } in classof()
DMCSectionWasm.h83 static bool classof(const MCSection *S) { return S->getVariant() == SV_Wasm; } in classof()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DConfigurationV25.java31 final int v = loc.getVariant().length(); in localesToResourceQualifier()
56 sb.append(loc.getVariant()); in localesToResourceQualifier()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleUtility.java121 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DLocaleUtility.java123 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()

1234