Lines Matching defs:sourceChar
1312 const uint32_t sourceChar, const uint32_t targetUniChar,
1314 if(sourceChar>0xff){
1315 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8);
1316 cnv->toUBytes[1] = (uint8_t)sourceChar;
1320 cnv->toUBytes[0] =(char) sourceChar;
1617 UChar32 sourceChar;
1635 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) {
1642 sourceChar = *(source++);
1644 if(UTF_IS_SURROGATE(sourceChar)) {
1645 if(UTF_IS_SURROGATE_FIRST(sourceChar)) {
1653 sourceChar=UTF16_GET_PAIR_VALUE(sourceChar, trail);
1661 cnv->fromUChar32=sourceChar;
1666 cnv->fromUChar32=sourceChar;
1673 cnv->fromUChar32=sourceChar;
1679 if(IS_2022_CONTROL(sourceChar)) {
1682 cnv->fromUChar32=sourceChar;
1746 if(sourceChar <= 0x7f) {
1747 targetValue = (uint32_t)sourceChar;
1754 if(GR96_START <= sourceChar && sourceChar <= GR96_END) {
1755 targetValue = (uint32_t)sourceChar - 0x80;
1762 if((uint32_t)(sourceChar - HWKANA_START) <= (HWKANA_END - HWKANA_START)) {
1766 targetValue = (uint32_t)(sourceChar - (HWKANA_START - 0x21));
1773 targetValue = (uint32_t)(sourceChar - (HWKANA_START - 0xa1));
1789 value = jisx201FromU(sourceChar);
1802 sourceChar, &value,
1814 (uint32_t)(sourceChar - HWKANA_START) <= (HWKANA_END - HWKANA_START)) {
1815 targetValue = hwkana_fb[sourceChar - HWKANA_START];
1826 sourceChar, &value,
1840 sourceChar, &value,
1916 cnv->fromUChar32=sourceChar;
1920 if(sourceChar == CR || sourceChar == LF) {
1936 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar));
1945 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)),
2309 UChar32 sourceChar = 0x0000;
2334 if((sourceChar = args->converter->fromUChar32)!=0 && target <targetLimit) {
2342 sourceChar = *source++;
2345 if(IS_2022_CONTROL(sourceChar)) {
2348 args->converter->fromUChar32=sourceChar;
2352 length = MBCS_FROM_UCHAR32_ISO2022(sharedData,sourceChar,&targetByteUnit,useFallback,MBCS_OUTPUT_2);
2421 if(UTF_IS_SURROGATE(sourceChar)) {
2422 if(UTF_IS_SURROGATE_FIRST(sourceChar)) {
2430 sourceChar=UTF16_GET_PAIR_VALUE(sourceChar, trail);
2453 args->converter->fromUChar32=sourceChar;
2869 UChar32 sourceChar;
2884 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) {
2891 sourceChar = *(source++);
2893 if(UTF_IS_SURROGATE(sourceChar)) {
2894 if(UTF_IS_SURROGATE_FIRST(sourceChar)) {
2902 sourceChar=UTF16_GET_PAIR_VALUE(sourceChar, trail);
2910 cnv->fromUChar32=sourceChar;
2915 cnv->fromUChar32=sourceChar;
2922 cnv->fromUChar32=sourceChar;
2928 if(sourceChar <= 0x007f ){
2930 if(IS_2022_CONTROL(sourceChar)) {
2933 cnv->fromUChar32=sourceChar;
2939 buffer[0] = (char)sourceChar;
2943 buffer[1] = (char)sourceChar;
2948 if(sourceChar == CR || sourceChar == LF) {
3028 sourceChar,
3056 sourceChar,
3117 cnv->fromUChar32=sourceChar;
3132 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar));
3141 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)),