Lines Matching refs:def
170 UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr,
176 def=unum_open(style, NULL,0,NULL, NULL,&status);
224 myclone = unum_clone(def,&status);
226 log_err("Error: could not clone unum_clone(def, &status): %s\n", myErrorName(status));
668 unum_setTextAttribute(def, UNUM_POSITIVE_PREFIX, prefix, u_strlen(prefix) , &status);
673 unum_getTextAttribute(def, UNUM_POSITIVE_PREFIX, temp, resultlength, &status);
685 unum_setTextAttribute(def, UNUM_NEGATIVE_PREFIX, prefix, u_strlen(prefix), &status);
690 unum_getTextAttribute(def, UNUM_NEGATIVE_PREFIX, temp, resultlength, &status);
701 unum_setTextAttribute(def, UNUM_NEGATIVE_SUFFIX, suffix, u_strlen(suffix) , &status);
707 unum_getTextAttribute(def, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status);
718 unum_setTextAttribute(def, UNUM_POSITIVE_SUFFIX, suffix, u_strlen(suffix) , &status);
724 unum_getTextAttribute(def, UNUM_POSITIVE_SUFFIX, temp, resultlength, &status);
737 newvalue=unum_getAttribute(def, attr);
739 unum_setAttribute(def, attr, newvalue);
740 if(unum_getAttribute(def,attr)!=2)
746 newvalue=unum_getAttribute(def, attr);
748 unum_setAttribute(def, attr, newvalue);
749 if(unum_getAttribute(def,attr) != 8)
755 newvalue=unum_getAttribute(def, attr);
757 unum_setAttribute(def, attr, newvalue);
758 if(unum_getAttribute(def,attr) != 2)
768 unum_setAttribute(def, attr, newvalue);
769 if(unum_getAttribute(def,attr)!=unum_getAttribute(fr, attr))
927 unum_close(def);