Lines Matching defs:orig
285 UBool addClosure(UChar32 orig, UChar32 prev2, UChar32 prev, UChar32 c, uint32_t value,
725 * The initial function call has prev2<0, prev<0, and c==orig
729 * The second-level function call has prev2<0, prev==orig, and c is
731 * The function checks if any of c's case mappings go back to orig
734 * orig->c
736 * orig<->c
738 * The third-level function call has prev2==orig, prev>=0, and c is
741 * The function checks if any of c's case mappings go back to orig
744 * orig->prev->c or orig->prev<->c
746 * orig->prev->c->orig or orig->prev<->c->orig
759 CasePropsBuilder::addClosure(UChar32 orig, UChar32 prev2, UChar32 prev, UChar32 c, uint32_t value,
766 if(c!=orig) {
770 /* else if c==orig then c's value was passed in */
779 * marker for whether any of c's mappings goes to orig
780 * c==orig: prevent adding a closure mapping when getting orig's own, direct mappings
782 UBool mapsToOrig=(UBool)(c==orig);
806 if(next==orig) {
807 mapsToOrig=true; /* remember that we map to orig */
812 * this is a mapping to one of the previous code points (orig, prev, c)
814 someMappingsAdded|=addClosure(orig, prev, c, next, 0, errorCode);
819 addClosureMapping(c, orig, errorCode);
830 * this is a mapping to one of the previous code points (orig, prev, c)
832 if(prev2<0 && next!=orig && next!=prev) {
833 someMappingsAdded|=addClosure(orig, prev, c, next, 0, errorCode);
836 if(c!=orig && next!=orig) {
837 /* c does not map to orig, add a closure mapping c->orig */
838 addClosureMapping(c, orig, errorCode);