• Home
  • Raw
  • Download

Lines Matching refs:coded

593     DBCHAR coded;  in ksx1001_encoder()  local
596 TRYMAP_ENC(cp949, coded, *data) in ksx1001_encoder()
597 if (!(coded & 0x8000)) in ksx1001_encoder()
598 return coded; in ksx1001_encoder()
631 DBCHAR coded; in jisx0208_encoder() local
636 else TRYMAP_ENC(jisxcommon, coded, *data) { in jisx0208_encoder()
637 if (!(coded & 0x8000)) in jisx0208_encoder()
638 return coded; in jisx0208_encoder()
670 DBCHAR coded; in jisx0212_encoder() local
673 TRYMAP_ENC(jisxcommon, coded, *data) { in jisx0212_encoder()
674 if (coded & 0x8000) in jisx0212_encoder()
675 return coded & 0x7fff; in jisx0212_encoder()
770 DBCHAR coded; in jisx0213_encoder() local
776 EMULATE_JISX0213_2000_ENCODE_EMP(coded, *data) in jisx0213_encoder()
777 else TRYMAP_ENC(jisx0213_emp, coded, in jisx0213_encoder()
779 return coded; in jisx0213_encoder()
784 EMULATE_JISX0213_2000_ENCODE_BMP(coded, *data) in jisx0213_encoder()
785 else TRYMAP_ENC(jisx0213_bmp, coded, *data) { in jisx0213_encoder()
786 if (coded == MULTIC) in jisx0213_encoder()
789 else TRYMAP_ENC(jisxcommon, coded, *data) { in jisx0213_encoder()
790 if (coded & 0x8000) in jisx0213_encoder()
795 return coded; in jisx0213_encoder()
797 coded = find_pairencmap((ucs2_t)data[0], (ucs2_t)data[1], in jisx0213_encoder()
799 if (coded == DBCINV) { in jisx0213_encoder()
801 coded = find_pairencmap((ucs2_t)data[0], 0, in jisx0213_encoder()
803 if (coded == DBCINV) in jisx0213_encoder()
807 return coded; in jisx0213_encoder()
810 coded = find_pairencmap((ucs2_t)data[0], 0, in jisx0213_encoder()
812 if (coded == DBCINV) in jisx0213_encoder()
815 return coded; in jisx0213_encoder()
824 DBCHAR coded = jisx0213_encoder(data, length, (void *)2000); in jisx0213_2000_1_encoder() local
825 if (coded == MAP_UNMAPPABLE || coded == MAP_MULTIPLE_AVAIL) in jisx0213_2000_1_encoder()
826 return coded; in jisx0213_2000_1_encoder()
827 else if (coded & 0x8000) in jisx0213_2000_1_encoder()
830 return coded; in jisx0213_2000_1_encoder()
836 DBCHAR coded; in jisx0213_2000_1_encoder_paironly() local
839 coded = jisx0213_encoder(data, length, (void *)2000); in jisx0213_2000_1_encoder_paironly()
842 if (coded == MAP_MULTIPLE_AVAIL) in jisx0213_2000_1_encoder_paironly()
850 return coded; in jisx0213_2000_1_encoder_paironly()
859 DBCHAR coded = jisx0213_encoder(data, length, (void *)2000); in jisx0213_2000_2_encoder() local
860 if (coded == MAP_UNMAPPABLE || coded == MAP_MULTIPLE_AVAIL) in jisx0213_2000_2_encoder()
861 return coded; in jisx0213_2000_2_encoder()
862 else if (coded & 0x8000) in jisx0213_2000_2_encoder()
863 return coded & 0x7fff; in jisx0213_2000_2_encoder()
871 DBCHAR coded = jisx0213_encoder(data, length, NULL); in jisx0213_2004_1_encoder() local
872 if (coded == MAP_UNMAPPABLE || coded == MAP_MULTIPLE_AVAIL) in jisx0213_2004_1_encoder()
873 return coded; in jisx0213_2004_1_encoder()
874 else if (coded & 0x8000) in jisx0213_2004_1_encoder()
877 return coded; in jisx0213_2004_1_encoder()
883 DBCHAR coded; in jisx0213_2004_1_encoder_paironly() local
886 coded = jisx0213_encoder(data, length, NULL); in jisx0213_2004_1_encoder_paironly()
889 if (coded == MAP_MULTIPLE_AVAIL) in jisx0213_2004_1_encoder_paironly()
897 return coded; in jisx0213_2004_1_encoder_paironly()
906 DBCHAR coded = jisx0213_encoder(data, length, NULL); in jisx0213_2004_2_encoder() local
907 if (coded == MAP_UNMAPPABLE || coded == MAP_MULTIPLE_AVAIL) in jisx0213_2004_2_encoder()
908 return coded; in jisx0213_2004_2_encoder()
909 else if (coded & 0x8000) in jisx0213_2004_2_encoder()
910 return coded & 0x7fff; in jisx0213_2004_2_encoder()
927 DBCHAR coded; in jisx0201_r_encoder() local
928 JISX0201_R_ENCODE(*data, coded) in jisx0201_r_encoder()
930 return coded; in jisx0201_r_encoder()
945 DBCHAR coded; in jisx0201_k_encoder() local
946 JISX0201_K_ENCODE(*data, coded) in jisx0201_k_encoder()
948 return coded - 0x80; in jisx0201_k_encoder()
977 DBCHAR coded; in gb2312_encoder() local
980 TRYMAP_ENC(gbcommon, coded, *data) { in gb2312_encoder()
981 if (!(coded & 0x8000)) in gb2312_encoder()
982 return coded; in gb2312_encoder()