Searched refs:plocals (Results 1 – 2 of 2) sorted by relevance
75 struct wc_to_mb_fallback_locals * plocals =78 if (plocals->l_errno == 0) {83 size_t res = unicode_loop_convert(&plocals->l_wcd->parent,85 &plocals->l_outbuf,&plocals->l_outbytesleft);89 plocals->l_errno = EILSEQ;92 plocals->l_errno = E2BIG;115 struct wc_to_mb_fallback_locals * plocals = in wc_to_mb_write_replacement() local118 if (plocals->l_errno == 0) { in wc_to_mb_write_replacement()120 if (plocals->l_outbytesleft < buflen) in wc_to_mb_write_replacement()121 plocals->l_errno = E2BIG; in wc_to_mb_write_replacement()[all …]
168 struct uc_to_mb_fallback_locals * plocals = in uc_to_mb_write_replacement() local171 if (plocals->l_errno == 0) { in uc_to_mb_write_replacement()173 if (plocals->l_outbytesleft < buflen) in uc_to_mb_write_replacement()174 plocals->l_errno = E2BIG; in uc_to_mb_write_replacement()176 memcpy(plocals->l_outbuf, buf, buflen); in uc_to_mb_write_replacement()177 plocals->l_outbuf += buflen; in uc_to_mb_write_replacement()178 plocals->l_outbytesleft -= buflen; in uc_to_mb_write_replacement()193 struct mb_to_uc_fallback_locals * plocals = in mb_to_uc_write_replacement() local196 if (plocals->l_errno == 0) { in mb_to_uc_write_replacement()198 conv_t cd = plocals->l_cd; in mb_to_uc_write_replacement()[all …]