Searched refs:codeset (Results 1 - 14 of 14) sorted by relevance

/external/elfutils/m4/
H A DMakefile.am29 EXTRA_DIST = codeset.m4 gettext.m4 iconv.m4 lcmessage.m4 progtest.m4
/external/e2fsprogs/intl/
H A Dbindtextdom.c89 /* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP
176 const char *codeset = *codesetp; local
178 if (codeset == NULL)
180 *codesetp = binding->codeset;
186 char *result = binding->codeset;
187 if (result == NULL || strcmp (codeset, result) != 0)
190 result = strdup (codeset);
192 size_t len = strlen (codeset) + 1;
195 memcpy (result, codeset, len);
200 free (binding->codeset);
271 const char *codeset = *codesetp; local
352 BIND_TEXTDOMAIN_CODESET(const char *domainname, const char *codeset) argument
[all...]
H A Dexplodename.c54 const char **territory, const char **codeset,
64 *codeset = NULL;
96 /* Next is the codeset. */
99 *codeset = ++cp;
106 if (*codeset != cp && (*codeset)[0] != '\0')
108 *normalized_codeset = _nl_normalize_codeset (*codeset,
109 cp - *codeset);
110 if (strcmp (*codeset, *normalized_codeset) == 0)
177 if (*codeset !
52 _nl_explode_name(char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset, const char **special, const char **sponsor, const char **revision) argument
[all...]
H A Dloadinfo.h80 /* Normalize codeset name. There is no standard for the codeset
84 extern const char *_nl_normalize_codeset (const char *codeset,
105 const char *codeset, const char *normalized_codeset,
116 territory, codeset, special, sponsor, revision.
135 const char **codeset,
H A Dlocalcharset.c272 const char *codeset; local
280 codeset = nl_langinfo (CODESET);
308 codeset = locale;
318 codeset = buf;
327 /* Allow user to override the codeset, as set in the operating system,
359 codeset = locale;
365 codeset = "";
369 codeset = buf;
375 if (codeset == NULL)
377 codeset
[all...]
H A Dl10nflist.c173 const char *codeset, const char *normalized_codeset,
197 ? strlen (codeset) + 1 : 0)
236 cp = stpcpy (cp, codeset);
312 looking up (if an unnormalized codeset was specified). */
332 first the modifier, then the territory, then the codeset, then the
348 cnt, language, territory, codeset,
355 cnt, language, territory, codeset,
364 /* Normalize codeset name. There is no standard for the codeset
369 _nl_normalize_codeset (const char *codeset, size_ argument
170 _nl_make_l10nflist(struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *special, const char *sponsor, const char *revision, const char *filename, int do_allocate) argument
[all...]
H A Dintl-compat.c128 bind_textdomain_codeset (const char *domainname, const char *codeset) argument
130 return libintl_bind_textdomain_codeset (domainname, codeset);
H A Dfinddomain.c57 const char *codeset; local
67 language[_territory[.codeset]][@modifier]
80 (4) codeset
81 (5) normalized codeset
138 &codeset, &normalized_codeset, &special,
145 codeset, normalized_codeset, modifier, special,
H A DgettextP.h143 int codeset_cntr; /* Incremented each time codeset changes. */
144 char *codeset; member in struct:binding
H A Dloadmsgcat.c767 /* Initialize the codeset dependent parts of an opened message catalog.
826 if (domainbinding != NULL && domainbinding->codeset != NULL)
827 outcharset = domainbinding->codeset;
886 /* Frees the codeset dependent parts of an opened message catalog. */
H A Ddcigettext.c835 /* The domain's codeset has changed through bind_textdomain_codeset()
1203 free (oldp->codeset);
/external/tcpdump/
H A Dprint-fr.c723 u_int codeset; local
731 codeset = p[2]&0x0f; /* extract the codeset */
739 printf("%s, codeset %u", is_ansi ? "ANSI" : "CCITT", codeset);
779 tok2str(fr_q933_ie_codesets[codeset],"unknown",ie_p->ie_type),
787 if (fr_q933_print_ie_codeset[codeset] != NULL)
788 ie_is_known = fr_q933_print_ie_codeset[codeset](ie_p, ptemp);
/external/icu4c/common/
H A Dputil.c135 * Only include langinfo.h if we have a way to get the codeset. If we later
1917 const char *codeset = nl_langinfo(U_NL_LANGINFO_CODESET);
1924 codeset = remapPlatformDependentCodepage(localeName, codeset);
1928 codeset = remapPlatformDependentCodepage(NULL, codeset);
1931 if (codeset != NULL) {
1932 uprv_strncpy(codesetName, codeset, sizeof(codesetName));
1945 /* if we can find the codeset name from setlocale, return that. */
/external/bluetooth/glib/glib/
H A Dgutils.c2905 gchar **codeset,
2929 *codeset = g_strndup (dot_pos, at_pos - dot_pos);
2952 * X/Open format: language[_territory][.codeset][@modifier]
2966 gchar *codeset = NULL; local
2974 mask = explode_locale (locale, &language, &territory, &codeset, &modifier);
2984 (i & COMPONENT_CODESET) ? codeset : "",
2992 g_free (codeset);
3220 * Get the codeset for the current locale.
3223 * of the codeset. This string must be freed with g_free().
2902 explode_locale(const gchar *locale, gchar **language, gchar **territory, gchar **codeset, gchar **modifier) argument

Completed in 136 milliseconds