Lines Matching refs:variant
96 char *language = NULL, *country = NULL, *variant = NULL,
155 * <language name>_<country name>.<encoding name>@<variant name>
156 * <country name>, <encoding name>, and <variant name> are optional.
163 /* Parse the language, country, encoding, and variant from the
165 * in the order language_country.encoding@variant, and must be
168 * If the locale name (without .encoding@variant, if any) matches
232 if ((variant = strchr(p, '@')) != NULL) {
233 p[variant++ - p] = '\0';
253 /* Normalize the script and variant name. Note that we only use
256 if (variant != NULL) {
258 mapLookup(script_names, variant, std_script);
262 mapLookup(variant_names, variant, std_variant);
295 * the variant of "EUC-JP" encoding used on linux
458 /* Determine the language, country, variant, and encoding from the host,
459 * and store these in the user.language, user.country, user.variant and
472 &(sprops.variant),
481 sprops.display_variant = sprops.variant;