Lines Matching refs:charsets
75 static struct charset_functions* charsets[MAX_CHARSETS];
175 if (charsets[ch] != NULL)
176 return charsets[ch];
178 charsets[ch] = find_charset_functions(charset_name(ch));
180 return charsets[ch];
208 LOG (log_debug, logtype_default, "Adding charset %s failed, too many charsets (max. %u allowed)",
234 charsets[cur_charset_t] = get_charset_functions (cur_charset_t);
273 charsets[c1] = get_charset_functions (c1);
381 if (charsets[to] && (charsets[to]->flags & CHARSET_DECOMPOSED) ) {
385 else if (!charsets[from] || (charsets[from]->flags & CHARSET_DECOMPOSED)) {
520 if (charsets[to] && (charsets[to]->flags & CHARSET_DECOMPOSED) ) {
524 else if ( !charsets[from] || (charsets[from]->flags & CHARSET_DECOMPOSED) ) {
1054 if (CHECK_FLAGS(flags, CONV_DECOMPOSE) || (charsets[to_set] && (charsets[to_set]->flags & CHARSET_DECOMPOSED)) ) {
1058 else if (CHECK_FLAGS(flags, CONV_PRECOMPOSE) || !charsets[from_set] || (charsets[from_set]->flags & CHARSET_DECOMPOSED)) {