Home | History | Annotate | Download | only in gencase

Lines Matching refs:orig

606  * The initial function call has prev2<0, prev<0, and c==orig
610 * The second-level function call has prev2<0, prev==orig, and c is
612 * The function checks if any of c's case mappings go back to orig
615 * orig->c
617 * orig<->c
619 * The third-level function call has prev2==orig, prev>=0, and c is
622 * The function checks if any of c's case mappings go back to orig
625 * orig->prev->c or orig->prev<->c
627 * orig->prev->c->orig or orig->prev<->c->orig
640 addClosure(UChar32 orig, UChar32 prev2, UChar32 prev, UChar32 c, uint32_t value) {
644 if(c!=orig) {
648 /* else if c==orig then c's value was passed in */
657 * marker for whether any of c's mappings goes to orig
658 * c==orig: prevent adding a closure mapping when getting orig's own, direct mappings
660 UBool mapsToOrig=(UBool)(c==orig);
685 if(next==orig) {
686 mapsToOrig=TRUE; /* remember that we map to orig */
691 * this is a mapping to one of the previous code points (orig, prev, c)
693 someMappingsAdded|=addClosure(orig, prev, c, next, 0);
698 addClosureMapping(c, orig);
709 * this is a mapping to one of the previous code points (orig, prev, c)
711 if(prev2<0 && next!=orig && next!=prev) {
712 someMappingsAdded|=addClosure(orig, prev, c, next, 0);
715 if(c!=orig && next!=orig) {
716 /* c does not map to orig, add a closure mapping c->orig */
717 addClosureMapping(c, orig);