Lines Matching refs:tocode
45 rpl_iconv_open (const char *tocode, const char *fromcode)
68 if (c_toupper (tocode[0]) == 'U'
69 && c_toupper (tocode[1]) == 'T'
70 && c_toupper (tocode[2]) == 'F'
71 && tocode[3] == '-')
75 if (c_strcasecmp (tocode + 4, "16BE") == 0)
77 if (c_strcasecmp (tocode + 4, "16LE") == 0)
79 if (c_strcasecmp (tocode + 4, "32BE") == 0)
81 if (c_strcasecmp (tocode + 4, "32LE") == 0)
84 else if (strcmp (tocode + 4, "8") == 0)
107 This covers the case when fromcode or tocode is a lowercase encoding name
111 iconv_t cd = iconv_open (tocode, fromcode);
137 const char *p = tocode;
164 tocode = (m != NULL ? m->vendor_name : tocode_upper);
168 tocode = tocode_upper;
171 return iconv_open (tocode, fromcode);