YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftwareFoundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* If we have already tested for this locale entry there has to
be one data set in the list of loaded domains. */
retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname,
strlen (dirname) + 1, 0, locale, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, domainname, 0); if (retval != NULL)
{ /* We know something about this locale. */ int cnt;
if (retval->decided == 0)
_nl_load_domain (retval);
if (retval->data != NULL) return retval;
for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
{ if (retval->successor[cnt]->decided == 0)
_nl_load_domain (retval->successor[cnt]);
/* See whether the locale value is an alias. If yes its value *overwrites*thealiasname.Notestfortheoriginalvalueis
done. */
alias_value = _nl_expand_alias (locale); if (alias_value != NULL)
{
size_t len = strlen (alias_value) + 1;
locale = (char *) malloc (len); if (locale == NULL) return NULL;
memcpy (locale, alias_value, len);
}
/* Now we determine the single parts of the locale name. First lookforthelanguage.Terminationsymbolsare`_'and`@'if
we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */
mask = _nl_explode_name (locale, &language, &modifier, &territory,
&codeset, &normalized_codeset, &special,
&sponsor, &revision);
/* Create all possible locale entries which might be interested in
generalization. */
retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname,
strlen (dirname) + 1, mask, language, territory,
codeset, normalized_codeset, modifier, special,
sponsor, revision, domainname, 1); if (retval == NULL) /* This means we are out of core. */ return NULL;
if (retval->decided == 0)
_nl_load_domain (retval); if (retval->data == NULL)
{ int cnt; for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
{ if (retval->successor[cnt]->decided == 0)
_nl_load_domain (retval->successor[cnt]); if (retval->successor[cnt]->data != NULL) break;
}
}
/* The room for an alias was dynamically allocated. Free it now. */ if (alias_value != NULL)
free (locale);
return retval;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.