Lines Matching defs:tocode
46 rpl_iconv_open (const char *tocode, const char *fromcode)
69 if (c_toupper (tocode[0]) == 'U'
70 && c_toupper (tocode[1]) == 'T'
71 && c_toupper (tocode[2]) == 'F'
72 && tocode[3] == '-')
76 if (c_strcasecmp (tocode + 4, "16BE") == 0)
78 if (c_strcasecmp (tocode + 4, "16LE") == 0)
80 if (c_strcasecmp (tocode + 4, "32BE") == 0)
82 if (c_strcasecmp (tocode + 4, "32LE") == 0)
85 else if (strcmp (tocode + 4, "8") == 0)
108 This covers the case when fromcode or tocode is a lowercase encoding name
112 iconv_t cd = iconv_open (tocode, fromcode);
138 const char *p = tocode;
165 tocode = (m != NULL ? m->vendor_name : tocode_upper);
169 tocode = tocode_upper;
172 return iconv_open (tocode, fromcode);