Lines Matching refs:uresult
101 UFormattedNumber* uresult = unumf_openResult(&ec); in TestSkeletonFormatToFields() local
103 unumf_formatInt(uformatter, 9876543210L, uresult, &ec); // "+9,876,543,210.00 m" in TestSkeletonFormatToFields()
108 unumf_resultNextFieldPosition(uresult, &ufpos, &ec); in TestSkeletonFormatToFields()
116 unumf_resultGetAllFieldPositions(uresult, ufpositer, &ec); in TestSkeletonFormatToFields()
161 while (unumf_resultNextFieldPosition(uresult, &actual, &ec)) { in TestSkeletonFormatToFields()
171 unumf_closeResult(uresult); in TestSkeletonFormatToFields()
183 UFormattedNumber* uresult = unumf_openResult(&ec); in TestExampleCode() local
188 unumf_formatDouble(uformatter, 5142.3, uresult, &ec); in TestExampleCode()
192 int32_t len = unumf_resultToString(uresult, NULL, 0, &ec); in TestExampleCode()
196 unumf_resultToString(uresult, buffer, len+1, &ec); in TestExampleCode()
203 unumf_closeResult(uresult); in TestExampleCode()
213 UFormattedNumber* uresult = unumf_openResult(&ec); in TestFormattedValue() local
216 unumf_formatInt(uformatter, 55000, uresult, &ec); // "55.00 K" in TestFormattedValue()
218 const UFormattedValue* fv = unumf_resultAsValue(uresult, &ec); in TestFormattedValue()
236 unumf_closeResult(uresult); in TestFormattedValue()
274 UFormattedNumber* uresult = unumf_openResult(&ec); in TestToDecimalNumber() local
277 unumf_formatDouble(uformatter, 3.0, uresult, &ec); in TestToDecimalNumber()
278 const UChar* str = ufmtval_getString(unumf_resultAsValue(uresult, &ec), NULL, &ec); in TestToDecimalNumber()
284 int32_t len = unumf_resultToDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestToDecimalNumber()
289 unumf_closeResult(uresult); in TestToDecimalNumber()