/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/intl/ |
H A D | explodename.c | 58 const char **territory, const char **codeset, 66 *codeset = NULL; 95 /* Next is the codeset. */ 97 *codeset = ++cp; 104 if (*codeset != cp && (*codeset)[0] != '\0') 106 *normalized_codeset = _nl_normalize_codeset (*codeset, 107 cp - *codeset); 108 if (strcmp (*codeset, *normalized_codeset) == 0) 129 if (*codeset ! 56 _nl_explode_name(char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset) argument [all...] |
H A D | bindtextdom.c | 87 /* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP 174 const char *codeset = *codesetp; local 176 if (codeset == NULL) 178 *codesetp = binding->codeset; 184 char *result = binding->codeset; 185 if (result == NULL || strcmp (codeset, result) != 0) 188 result = strdup (codeset); 190 size_t len = strlen (codeset) + 1; 193 memcpy (result, codeset, len); 198 if (binding->codeset ! 267 const char *codeset = *codesetp; local 347 BIND_TEXTDOMAIN_CODESET(const char *domainname, const char *codeset) argument [all...] |
H A D | loadinfo.h | 77 /* Normalize codeset name. There is no standard for the codeset 81 extern const char *_nl_normalize_codeset (const char *codeset, 102 const char *codeset, const char *normalized_codeset, 113 territory, codeset. 129 const char **codeset,
|
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | localcharset.c | 833 const char *codeset; local 847 codeset = nl_langinfo (CODESET); 853 if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0) 906 codeset = resultbuf; 911 if (codeset == NULL) 913 codeset = ""; 944 codeset = "UTF-8"; 948 codeset = resultbuf; 958 codeset [all...] |
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | localcharset.c | 833 const char *codeset; local 847 codeset = nl_langinfo (CODESET); 853 if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0) 906 codeset = resultbuf; 911 if (codeset == NULL) 913 codeset = ""; 944 codeset = "UTF-8"; 948 codeset = resultbuf; 958 codeset [all...] |
/netbsd-current/external/gpl3/gcc/dist/intl/ |
H A D | bindtextdom.c | 94 /* 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 D | explodename.c | 53 _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...] |
/netbsd-current/external/gpl3/binutils/dist/intl/ |
H A D | bindtextdom.c | 94 /* 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 D | explodename.c | 53 _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...] |
/netbsd-current/external/gpl3/gdb/dist/intl/ |
H A D | bindtextdom.c | 94 /* 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 D | explodename.c | 53 _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...] |
/netbsd-current/external/gpl3/gdb.old/dist/intl/ |
H A D | bindtextdom.c | 94 /* 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 D | explodename.c | 53 _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...] |
/netbsd-current/external/gpl2/grep/dist/intl/ |
H A D | bindtextdom.c | 91 /* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP 180 const char *codeset = *codesetp; local 182 if (codeset == NULL) 184 *codesetp = binding->codeset; 190 char *result = binding->codeset; 191 if (result == NULL || strcmp (codeset, result) != 0) 194 result = strdup (codeset); 196 size_t len = strlen (codeset) + 1; 199 memcpy (result, codeset, len); 204 if (binding->codeset ! 276 const char *codeset = *codesetp; local [all...] |
H A D | explodename.c | 55 _nl_explode_name (name, language, modifier, territory, codeset, 61 const char **codeset; 73 *codeset = NULL; 105 /* Next is the codeset. */ 108 *codeset = ++cp; 115 if (*codeset != cp && (*codeset)[0] != '\0') 117 *normalized_codeset = _nl_normalize_codeset (*codeset, 118 cp - *codeset); 119 if (strcmp (*codeset, *normalized_codese [all...] |
H A D | localcharset.c | 228 const char *codeset; local 236 codeset = nl_langinfo (CODESET); 264 codeset = locale; 274 codeset = buf; 283 /* Allow user to override the codeset, as set in the operating system, 315 codeset = locale; 321 codeset = ""; 325 codeset = buf; 331 if (codeset == NULL) 333 codeset [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/intl/ |
H A D | bindtextdom.c | 94 /* 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 D | explodename.c | 53 _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...] |
/netbsd-current/external/gpl3/gcc.old/dist/intl/ |
H A D | bindtextdom.c | 94 /* 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 D | explodename.c | 53 _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...] |
/netbsd-current/external/gpl2/texinfo/dist/intl/ |
H A D | bindtextdom.c | 91 /* 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 355 BIND_TEXTDOMAIN_CODESET(const char *domainname, const char *codeset) argument [all...] |
H A D | explodename.c | 56 const char **territory, const char **codeset, 66 *codeset = NULL; 98 /* Next is the codeset. */ 101 *codeset = ++cp; 108 if (*codeset != cp && (*codeset)[0] != '\0') 110 *normalized_codeset = _nl_normalize_codeset (*codeset, 111 cp - *codeset); 112 if (strcmp (*codeset, *normalized_codeset) == 0) 179 if (*codeset ! 54 _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 D | loadinfo.h | 82 /* Normalize codeset name. There is no standard for the codeset 86 extern const char *_nl_normalize_codeset (const char *codeset, 107 const char *codeset, const char *normalized_codeset, 118 territory, codeset, special, sponsor, revision. 137 const char **codeset,
|
/netbsd-current/lib/libintl/ |
H A D | textdomain.c | 109 bind_textdomain_codeset(const char *domainname, const char *codeset) argument 113 p = domainbinding_lookup(domainname, (codeset != NULL)); 117 if (codeset) { 118 free(p->codeset); 119 p->codeset = strdup(codeset); 122 return p->codeset;
|
/netbsd-current/external/gpl3/gdb/dist/readline/readline/ |
H A D | nls.c | 197 normalize_codeset (char *codeset) argument 203 codeset = find_codeset (codeset, &namelen); 205 if (codeset == 0) 206 return (codeset); 211 if (ISALNUM ((unsigned char)codeset[i])) 214 all_digits &= _rl_digit_p (codeset[i]); 223 /* Add `iso' to beginning of an all-digit codeset */ 232 if (ISALPHA ((unsigned char)codeset[i])) 233 *wp++ = _rl_to_lower (codeset[ [all...] |