Lines Matching refs:arg_locale
49 static char *arg_locale = NULL; /* $LANG */ variable
76 STATIC_DESTRUCTOR_REGISTER(arg_locale, freep);
242 if (arg_locale || arg_locale_messages) in prompt_locale()
245 r = read_credential("firstboot.locale", (void**) &arg_locale, NULL); in prompt_locale()
278 arg_locale = strdup(locales[0]); in prompt_locale()
279 if (!arg_locale) in prompt_locale()
288 locales, 60, locale_is_ok, &arg_locale); in prompt_locale()
292 if (isempty(arg_locale)) in prompt_locale()
301 if (streq_ptr(arg_locale, arg_locale_messages)) in prompt_locale()
335 if (!isempty(arg_locale)) in process_locale()
336 locales[i++] = strjoina("LANG=", arg_locale); in process_locale()
337 if (!isempty(arg_locale_messages) && !streq(arg_locale_messages, arg_locale)) in process_locale()
1125 r = free_and_strdup(&arg_locale, optarg); in parse_argv()
1310 if (arg_locale && !locale_is_ok(arg_locale)) in parse_argv()
1311 … return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Locale %s is not installed.", arg_locale); in parse_argv()