Lines Matching refs:charset
206 struct charset_cache *charset;
225 for (charset = exi->exi_charset;
226 charset != NULL;
227 charset = charset->next) {
228 if (bcmp(sp, &charset->client_addr,
235 if (charset == NULL)
236 charset = nfscmd_charmap(exi, sp);
238 return (charset);
252 struct charset_cache *charset;
254 charset = (struct charset_cache *)
257 if (charset == NULL)
260 charset->inbound = kiconv_open("UTF-8", name);
261 charset->outbound = kiconv_open(name, "UTF-8");
263 charset->client_addr = *sp;
265 charset->next = exi->exi_charset;
266 exi->exi_charset = charset;
269 return (charset);
284 struct charset_cache *charset;
303 charset = nfscmd_insert_charmap(exi, sp,
306 charset = nfscmd_insert_charmap(exi, sp, NULL);
308 return (charset);
333 struct charset_cache *charset = NULL;
335 charset = nfscmd_findmap(exi, ca);
336 if (charset == NULL ||
337 (charset->inbound == NULL && inbound) ||
338 (charset->outbound == NULL && !inbound))
347 ret = kiconv(charset->inbound, &name, &nsize,
350 ret = kiconv(charset->outbound, &name, &nsize,
363 * There is only one entry in the data. Convert to new charset, if
377 struct charset_cache *charset;
379 charset = nfscmd_findmap(exi, ca);
380 if (charset == NULL || charset->outbound == (void *)~0)
392 ret = kiconv(charset->outbound, &iname, &nsize, &oname, &count, &err);
432 struct charset_cache *charset;
435 charset = nfscmd_findmap(exi, ca);
437 if (charset == NULL || charset->outbound == (void *)~0)
459 ret = kiconv(charset->outbound, &iname, &ilen, &oname,