Lines Matching defs:ipath
90 char *ipath;
96 * Memory for ipath is allocated/released in this function.
98 ipath = malloc(MAXPATHLEN);
99 if (ipath == NULL) {
104 cd->_conv = iconv_open_all(tocode, fromcode, ipath);
107 free(ipath);
114 cd->_conv = iconv_search_alias(tocode, fromcode, ipath);
115 free(ipath);
232 iconv_open_all(const char *to, const char *from, char *ipath)
247 len = snprintf(ipath, MAXPATHLEN, _GENICONVTBL_PATH, from, to);
248 if ((len <= MAXPATHLEN) && (access(ipath, R_OK) == 0)) {
252 cv = iconv_open_private(_GENICONVTBL_INT_PATH, ipath);
260 len = snprintf(ipath, MAXPATHLEN, _ICONV_PATH, from, to);
261 if ((len <= MAXPATHLEN) && (access(ipath, R_OK) == 0)) {
266 return (iconv_open_private(ipath, NULL));
274 iconv_search_alias(const char *tocode, const char *fromcode, char *ipath)
330 cv = iconv_open_all(to_canonical, from_canonical, ipath);