Searched defs:variant (Results 1 - 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DUUID.java35 * of this class are for manipulating the Leach-Salz variant, although the
36 * constructors allow the creation of any variant of UUID (described below).
38 * <p> The layout of a variant 2 (Leach-Salz) UUID is as follows:
49 * 0xC000000000000000 variant
54 * <p> The variant field contains a value which identifies the layout of the
56 * UUID} with a variant value of 2, which indicates the Leach-Salz variant.
148 randomBytes[8] &= 0x3f; /* clear variant */
149 randomBytes[8] |= 0x80; /* set to IETF variant */
172 md5Bytes[8] &= 0x3f; /* clear variant */
265 public int variant() { method in class:UUID
[all...]
H A DResourceBundle.java914 * locale's language, script, country, and variant are all empty strings,
917 * specified locale (language, script, country and variant) and appended to
921 * baseName + "_" + language + "_" + script + "_" + country + "_" + variant
924 * baseName + "_" + language + "_" + country + "_" + variant
934 * and variant "JAVA" will produce candidate names with base name
942 * In the case that the variant contains one or more underscores ('_'), a
945 * original variant. For example, for a locale with language "en", script
946 * "Latn, country "US" and variant "WINDOWS_VISTA", and bundle base name
2211 * variant. For example, [<em>L</em>, <em>C</em>] represents a
2231 * <code>Locale</code> with country and variant restore
2441 getDefaultList(String language, String script, String region, String variant) argument
[all...]
H A DLocale.java129 * <dt><a name="def_variant"><b>variant</b></a></dt>
132 * <code>Locale</code>. Where there are two or more variant values
135 * underscore('_'). The variant field is case sensitive.</dd>
137 * <dd>Note: IETF BCP 47 places syntactic restrictions on variant
141 * region subtags. You can find a full list of valid variant codes
142 * in the IANA Language Subtag Registry (search for "Type: variant").
144 * <p>However, the variant field in <code>Locale</code> has
153 * <dd>Well-formed variant values have the form <code>SUBTAG
245 * {@link #Locale(String language, String country, String variant)}
249 * with language, country and variant, bu
731 Locale(String language, String country, String variant) argument
812 getInstance(String language, String country, String variant) argument
816 getInstance(String language, String script, String country, String variant, LocaleExtensions extensions) argument
2013 normalizeAndValidateVariant(String variant) argument
2401 getCompatibilityExtensions(String language, String script, String country, String variant) argument
2671 setVariant(String variant) argument
[all...]
/libcore/ojluni/src/main/java/sun/util/locale/
H A DBaseLocale.java46 private final String variant; field in class:BaseLocale
55 this.variant = "";
58 private BaseLocale(String language, String script, String region, String variant) { argument
62 this.variant = (variant != null) ? variant.intern() : "";
74 String region, String variant) {
86 Key key = new Key(language, script, region, variant);
104 return variant;
119 && variant
73 getInstance(String language, String script, String region, String variant) argument
199 Key(String language, String script, String region, String variant) argument
203 Key(String language, String script, String region, String variant, boolean normalized) argument
[all...]
H A DInternalLocaleBuilder.java49 private String variant = ""; field in class:InternalLocaleBuilder
95 public InternalLocaleBuilder setVariant(String variant) throws LocaleSyntaxException { argument
96 if (LocaleUtils.isEmpty(variant)) {
97 this.variant = "";
100 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP);
103 throw new LocaleSyntaxException("Ill-formed variant: " + variant, errIdx);
105 this.variant = var;
368 variant = var.toString();
380 String variant
[all...]
/libcore/ojluni/src/main/native/
H A Djava_props_md.c139 char *language = NULL, *country = NULL, *variant = NULL, local
183 * <language name>_<country name>.<encoding name>@<variant name>
184 * <country name>, <encoding name>, and <variant name> are optional.
191 /* Parse the language, country, encoding, and variant from the
193 * in the order language_country.encoding@variant, and must be
196 * If the locale name (without .encoding@variant, if any) matches
236 if ((variant = strchr(p, '@')) != NULL) {
237 p[variant++ - p] = '\0';
257 /* Normalize the script and variant name. Note that we only use
260 if (variant !
[all...]

Completed in 115 milliseconds