Lines Matching refs:attr
115 UNumberFormatAttribute attr;
681 attr=UNUM_GROUPING_SIZE;
682 newvalue=unum_getAttribute(def, attr);
684 unum_setAttribute(def, attr, newvalue);
685 if(unum_getAttribute(def,attr)!=2)
690 attr=UNUM_MULTIPLIER;
691 newvalue=unum_getAttribute(def, attr);
693 unum_setAttribute(def, attr, newvalue);
694 if(unum_getAttribute(def,attr) != 8)
699 attr=UNUM_SECONDARY_GROUPING_SIZE;
700 newvalue=unum_getAttribute(def, attr);
702 unum_setAttribute(def, attr, newvalue);
703 if(unum_getAttribute(def,attr) != 2)
710 for(attr=UNUM_PARSE_INT_ONLY; attr<= UNUM_PADDING_POSITION; attr=(UNumberFormatAttribute)((int32_t)attr + 1) )
712 newvalue=unum_getAttribute(fr, attr);
713 unum_setAttribute(def, attr, newvalue);
714 if(unum_getAttribute(def,attr)!=unum_getAttribute(fr, attr))