Home | History | Annotate | Download | only in gencase

Lines Matching refs:orig

598  * The initial function call has prev2<0, prev<0, and c==orig
602 * The second-level function call has prev2<0, prev==orig, and c is
604 * The function checks if any of c's case mappings go back to orig
607 * orig->c
609 * orig<->c
611 * The third-level function call has prev2==orig, prev>=0, and c is
614 * The function checks if any of c's case mappings go back to orig
617 * orig->prev->c or orig->prev<->c
619 * orig->prev->c->orig or orig->prev<->c->orig
632 addClosure(UChar32 orig, UChar32 prev2, UChar32 prev, UChar32 c, uint32_t value) {
636 if(c!=orig) {
640 /* else if c==orig then c's value was passed in */
649 * marker for whether any of c's mappings goes to orig
650 * c==orig: prevent adding a closure mapping when getting orig's own, direct mappings
652 UBool mapsToOrig=(UBool)(c==orig);
677 if(next==orig) {
678 mapsToOrig=TRUE; /* remember that we map to orig */
683 * this is a mapping to one of the previous code points (orig, prev, c)
685 someMappingsAdded|=addClosure(orig, prev, c, next, 0);
690 addClosureMapping(c, orig);
701 * this is a mapping to one of the previous code points (orig, prev, c)
703 if(prev2<0 && next!=orig && next!=prev) {
704 someMappingsAdded|=addClosure(orig, prev, c, next, 0);
707 if(c!=orig && next!=orig) {
708 /* c does not map to orig, add a closure mapping c->orig */
709 addClosureMapping(c, orig);