Lines Matching refs:comb
436 static ucs2_t do_precomposition(unsigned int base, unsigned int comb)
441 u_int32_t sought = (base << 16) | comb, that;
446 that = (precompositions[mid].base << 16) | (precompositions[mid].comb);
501 result = (decompositions[mid].base << 16) | (decompositions[mid].comb);
554 ucs2_t base, comb;
580 comb = *in;
584 if (comb < 0x300) ;
588 else if ((VBASE <= comb) && (comb <= VBASE + VCOUNT)) {
592 vindex = comb - VBASE;
598 else if ((TBASE < comb) && (comb < TBASE + TCOUNT)) {
601 base += comb - TBASE;
607 if ((0xDC00 <= comb) && (comb < 0xE000) && (i + 6 <= inplen)) {
608 base_sp = ((u_int32_t)base << 16) | (u_int32_t)comb;
645 else if (result = do_precomposition(base, comb)) {
653 base = comb;
666 ucs2_t base, comb[COMBBUFLEN];
691 comb[COMBBUFLEN-2] = VBASE + (sindex % NCOUNT) / TCOUNT;
695 comb[COMBBUFLEN-1] = comb[COMBBUFLEN-2];
701 comb[COMBBUFLEN-1] = tjamo;
714 comb[COMBBUFLEN-comblen] = (result_sp >> 16) & 0xFFFF; /* hi */
715 comb[COMBBUFLEN-comblen+1] = result_sp & 0xFFFF; /* lo */
740 comb[COMBBUFLEN-comblen] = result & 0xFFFF;
754 *out = comb[COMBBUFLEN-comblen];