Lines Matching full:cd
101 iconv_t * cd; in IconvOpen() local
110 cd = (iconv_t *) malloc(sizeof *cd); in IconvOpen()
112 if (!cd) in IconvOpen()
115 *cd = iconv_open(toibmccsid, fromibmccsid); in IconvOpen()
117 if (cd->return_value) { in IconvOpen()
118 free((char *) cd); in IconvOpen()
122 return (Iconv_t) cd; in IconvOpen()
127 Iconv(Iconv_t cd, char * * inbuf, size_t * inbytesleft, in Iconv() argument
131 if (!cd || cd == (Iconv_t) -1) { in Iconv()
136 return iconv(*(iconv_t *) cd, inbuf, inbytesleft, outbuf, outbytesleft); in Iconv()
141 IconvClose(Iconv_t cd) in IconvClose() argument
144 if (!cd || cd == (Iconv_t) -1) { in IconvClose()
149 if (iconv_close(*(iconv_t *) cd)) in IconvClose()
152 free((char *) cd); in IconvClose()