Lines Matching refs:df
154 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() local
155 if (df != NULL) { in unum_clone()
156 res = df->clone(); in unum_clone()
488 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() local
489 if (df != NULL) { in unum_getAttribute()
491 return df->getAttribute( attr, ignoredStatus ); in unum_getAttribute()
509 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() local
510 if (df != NULL) { in unum_setAttribute()
512 df->setAttribute(attr, newValue, ignoredStatus); in unum_setAttribute()
521 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getDoubleAttribute() local
522 if (df != NULL && attr == UNUM_ROUNDING_INCREMENT) { in unum_getDoubleAttribute()
523 return df->getRoundingIncrement(); in unum_getDoubleAttribute()
535 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setDoubleAttribute() local
536 if (df != NULL && attr == UNUM_ROUNDING_INCREMENT) { in unum_setDoubleAttribute()
537 df->setRoundingIncrement(newValue); in unum_setDoubleAttribute()
559 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getTextAttribute() local
560 if (df != NULL) { in unum_getTextAttribute()
563 df->getPositivePrefix(res); in unum_getTextAttribute()
567 df->getPositiveSuffix(res); in unum_getTextAttribute()
571 df->getNegativePrefix(res); in unum_getTextAttribute()
575 df->getNegativeSuffix(res); in unum_getTextAttribute()
579 res = df->getPadCharacterString(); in unum_getTextAttribute()
583 res = UnicodeString(df->getCurrency()); in unum_getTextAttribute()
622 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setTextAttribute() local
623 if (df != NULL) { in unum_setTextAttribute()
626 df->setPositivePrefix(val); in unum_setTextAttribute()
630 df->setPositiveSuffix(val); in unum_setTextAttribute()
634 df->setNegativePrefix(val); in unum_setTextAttribute()
638 df->setNegativeSuffix(val); in unum_setTextAttribute()
642 df->setPadCharacter(val); in unum_setTextAttribute()
646 df->setCurrency(val.getTerminatedBuffer(), *status); in unum_setTextAttribute()
682 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_toPattern() local
683 if (df != NULL) { in unum_toPattern()
685 df->toLocalizedPattern(pat); in unum_toPattern()
687 df->toPattern(pat); in unum_toPattern()
774 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_applyPattern() local
775 if (df != NULL) { in unum_applyPattern()
777 df->applyLocalizedPattern(pat,*parseError, *status); in unum_applyPattern()
779 df->applyPattern(pat,*parseError, *status); in unum_applyPattern()