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

123

/openbsd-current/gnu/lib/libreadline/
H A Dnls.c129 normalize_codeset (codeset)
130 char *codeset;
136 codeset = find_codeset (codeset, &namelen);
138 if (codeset == 0)
139 return (codeset);
144 if (ISALNUM ((unsigned char)codeset[i]))
147 all_digits &= _rl_digit_p (codeset[i]);
156 /* Add `iso' to beginning of an all-digit codeset */
165 if (ISALPHA ((unsigned char)codeset[
[all...]
/openbsd-current/gnu/gcc/intl/
H A Dbindtextdom.c94 /* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP
183 const char *codeset = *codesetp; local
185 if (codeset == NULL)
187 *codesetp = binding->codeset;
193 char *result = binding->codeset;
194 if (result == NULL || strcmp (codeset, result) != 0)
197 result = strdup (codeset);
199 size_t len = strlen (codeset) + 1;
202 memcpy (result, codeset, len);
207 if (binding->codeset !
279 const char *codeset = *codesetp; local
[all...]
H A Dexplodename.c53 _nl_explode_name (name, language, modifier, territory, codeset,
59 const char **codeset;
71 *codeset = NULL;
103 /* Next is the codeset. */
106 *codeset = ++cp;
113 if (*codeset != cp && (*codeset)[0] != '\0')
115 *normalized_codeset = _nl_normalize_codeset (*codeset,
116 cp - *codeset);
117 if (strcmp (*codeset, *normalized_codese
[all...]
H A Dlocalcharset.c273 const char *codeset; local
281 codeset = nl_langinfo (CODESET);
309 codeset = locale;
319 codeset = buf;
328 /* Allow user to override the codeset, as set in the operating system,
360 codeset = locale;
366 codeset = "";
370 codeset = buf;
376 if (codeset == NULL)
378 codeset
[all...]
H A Dintl-compat.c146 bind_textdomain_codeset (domainname, codeset)
148 const char *codeset;
150 return libintl_bind_textdomain_codeset (domainname, codeset);
H A Dloadinfo.h88 /* Normalize codeset name. There is no standard for the codeset
92 extern const char *_nl_normalize_codeset PARAMS ((const char *codeset,
113 const char *codeset,
125 territory, codeset, special, sponsor, revision.
145 const char **codeset,
H A Dl10nflist.c189 territory, codeset, normalized_codeset, modifier, special,
197 const char *codeset;
225 ? strlen (codeset) + 1 : 0)
264 cp = stpcpy (cp, codeset);
340 looking up (if an unnormalized codeset was specified). */
360 first the modifier, then the territory, then the codeset, then the
376 cnt, language, territory, codeset,
383 cnt, language, territory, codeset,
393 /* Normalize codeset name. There is no standard for the codeset
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/intl/
H A Dbindtextdom.c89 /* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP
178 const char *codeset = *codesetp; local
180 if (codeset == NULL)
182 *codesetp = binding->codeset;
188 char *result = binding->codeset;
189 if (result == NULL || strcmp (codeset, result) != 0)
192 result = strdup (codeset);
194 size_t len = strlen (codeset) + 1;
197 memcpy (result, codeset, len);
202 if (binding->codeset !
274 const char *codeset = *codesetp; local
[all...]
H A Dexplodename.c53 _nl_explode_name (name, language, modifier, territory, codeset,
59 const char **codeset;
71 *codeset = NULL;
103 /* Next is the codeset. */
106 *codeset = ++cp;
113 if (*codeset != cp && (*codeset)[0] != '\0')
115 *normalized_codeset = _nl_normalize_codeset (*codeset,
116 cp - *codeset);
117 if (strcmp (*codeset, *normalized_codese
[all...]
H A Dlocalcharset.c208 const char *codeset; local
216 codeset = nl_langinfo (CODESET);
244 codeset = locale;
254 codeset = buf;
258 if (codeset == NULL)
260 codeset = "";
266 if (strcmp (codeset, aliases) == 0
269 codeset = aliases + strlen (aliases) + 1;
273 return codeset;
H A Dintl-compat.c161 bind_textdomain_codeset (domainname, codeset)
163 const char *codeset;
165 return bind_textdomain_codeset__ (domainname, codeset);
H A Dloadinfo.h76 /* Normalize codeset name. There is no standard for the codeset
80 extern const char *_nl_normalize_codeset PARAMS ((const char *codeset,
87 const char *codeset,
101 const char **codeset,
H A Dl10nflist.c167 territory, codeset, normalized_codeset, modifier, special,
175 const char *codeset;
197 ? strlen (codeset) + 1 : 0)
234 cp = stpcpy (cp, codeset);
335 language, territory, codeset,
345 /* Normalize codeset name. There is no standard for the codeset
350 _nl_normalize_codeset (codeset, name_len)
351 const char *codeset;
361 if (isalnum ((unsigned char)codeset[cn
[all...]
/openbsd-current/gnu/usr.bin/binutils/intl/
H A Dexplodename.c47 _nl_explode_name (name, language, modifier, territory, codeset,
53 const char **codeset;
65 *codeset = NULL;
99 /* Next is the codeset. */
102 *codeset = ++cp;
109 if (*codeset != cp && (*codeset)[0] != '\0')
111 *normalized_codeset = _nl_normalize_codeset (*codeset,
112 cp - *codeset);
113 if (strcmp (*codeset, *normalized_codese
[all...]
H A Dloadinfo.h53 extern const char *_nl_normalize_codeset PARAMS ((const unsigned char *codeset,
60 const char *codeset,
72 const char **codeset,
H A Dl10nflist.c174 territory, codeset, normalized_codeset, modifier, special,
182 const char *codeset;
204 ? strlen (codeset) + 1 : 0)
241 cp = stpcpy (cp, codeset);
342 language, territory, codeset,
352 /* Normalize codeset name. There is no standard for the codeset
356 _nl_normalize_codeset (codeset, name_len)
357 const unsigned char *codeset;
367 if (isalnum (codeset[cn
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/intl/
H A Dexplodename.c47 _nl_explode_name (name, language, modifier, territory, codeset,
53 const char **codeset;
65 *codeset = NULL;
99 /* Next is the codeset. */
102 *codeset = ++cp;
109 if (*codeset != cp && (*codeset)[0] != '\0')
111 *normalized_codeset = _nl_normalize_codeset (*codeset,
112 cp - *codeset);
113 if (strcmp (*codeset, *normalized_codese
[all...]
H A Dloadinfo.h53 extern const char *_nl_normalize_codeset PARAMS ((const unsigned char *codeset,
60 const char *codeset,
72 const char **codeset,
H A Dl10nflist.c174 territory, codeset, normalized_codeset, modifier, special,
182 const char *codeset;
204 ? strlen (codeset) + 1 : 0)
241 cp = stpcpy (cp, codeset);
342 language, territory, codeset,
352 /* Normalize codeset name. There is no standard for the codeset
356 _nl_normalize_codeset (codeset, name_len)
357 const unsigned char *codeset;
367 if (isalnum (codeset[cn
[all...]
/openbsd-current/gnu/usr.bin/texinfo/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 if (binding->codeset !
272 const char *codeset = *codesetp; local
353 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.c273 const char *codeset; local
281 codeset = nl_langinfo (CODESET);
309 codeset = locale;
319 codeset = buf;
328 /* Allow user to override the codeset, as set in the operating system,
360 codeset = locale;
366 codeset = "";
370 codeset = buf;
376 if (codeset == NULL)
378 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,
365 /* Normalize codeset name. There is no standard for the codeset
370 _nl_normalize_codeset (const char *codeset, size_
169 _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
368 _nl_normalize_codeset(const char *codeset, size_t name_len) 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);

Completed in 277 milliseconds

123