Lines Matching refs:xt
81 struct xlat16_table xt;
101 xt = kiconv_xlat16_open(fromcode, fromcode, flag);
103 xt = kiconv_xlat16_open(tocode, fromcode, flag);
104 if (xt.size == 0)
107 idxsize = sizeof(xt.idx);
109 if ((idxsize + xt.size) > ICONV_CSMAXDATALEN) {
114 if ((data = malloc(idxsize + xt.size)) != NULL) {
116 memcpy(p, xt.idx, idxsize);
118 memcpy(p, xt.data, xt.size);
120 (int)(idxsize + xt.size));
159 struct xlat16_table xt;
164 xt.data = NULL;
165 xt.size = 0;
172 return (xt);
177 return (xt);
179 if ((xt.data = malloc(0x200 * 0x80 * sizeof(uint32_t))) == NULL)
180 return (xt);
182 p = xt.data;
185 xt.idx[ls] = NULL;
215 xt.idx[ls] = table;
288 xt.idx[ls] = table;
290 if (xt.idx[ls]) {
297 xt.size = p - (char *)xt.data;
298 xt.data = realloc(xt.data, xt.size);
299 return (xt);