euc 446 ext/charconv/jconv.c static inline size_t utf2euc_emit_euc(unsigned short euc, size_t inchars, char *outptr, size_t outroom, size_t *outchars) euc 448 ext/charconv/jconv.c if (euc == 0) { euc 450 ext/charconv/jconv.c } else if (euc < 0x8000) { euc 453 ext/charconv/jconv.c outptr[1] = (euc >> 8) + 0x80; euc 454 ext/charconv/jconv.c outptr[2] = euc & 0xff; euc 458 ext/charconv/jconv.c outptr[0] = (euc >> 8); euc 459 ext/charconv/jconv.c outptr[1] = euc & 0xff; euc 526 ext/charconv/jconv.c unsigned short euc = 0; euc 528 ext/charconv/jconv.c if (u2 == 0xbe) euc = 0xa8f2; euc 529 ext/charconv/jconv.c else if (u2 == 0xbf) euc = 0xa8f3; euc 531 ext/charconv/jconv.c if (u2 == 0xb0) euc = 0xabc6; euc 532 ext/charconv/jconv.c else if (u2 == 0xb1) euc = 0xabc7; euc 533 ext/charconv/jconv.c else if (u2 == 0xb2) euc = 0xabd0; euc 534 ext/charconv/jconv.c else if (u2 == 0xb3) euc = 0xabd1; euc 536 ext/charconv/jconv.c return utf2euc_emit_euc(euc, 3, outptr, outroom, outchars);