• Home
  • Raw
  • Download

Lines Matching full:status

65   UErrorCode status = U_ZERO_ERROR;  in TestEnglishSpelloutRT()  local
67 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestEnglishSpelloutRT()
69 if (U_FAILURE(status)) { in TestEnglishSpelloutRT()
70 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestEnglishSpelloutRT()
83 UErrorCode status = U_ZERO_ERROR; in TestDurationsRT() local
85 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status); in TestDurationsRT()
87 if (U_FAILURE(status)) { in TestDurationsRT()
88 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestDurationsRT()
101 UErrorCode status = U_ZERO_ERROR; in TestSpanishSpelloutRT() local
103 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("es", "es"), status); in TestSpanishSpelloutRT()
105 if (U_FAILURE(status)) { in TestSpanishSpelloutRT()
106 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestSpanishSpelloutRT()
119 UErrorCode status = U_ZERO_ERROR; in TestFrenchSpelloutRT() local
121 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getFrance(), status); in TestFrenchSpelloutRT()
123 if (U_FAILURE(status)) { in TestFrenchSpelloutRT()
124 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestFrenchSpelloutRT()
137 UErrorCode status = U_ZERO_ERROR; in TestSwissFrenchSpelloutRT() local
139 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("fr", "CH"), status); in TestSwissFrenchSpelloutRT()
141 if (U_FAILURE(status)) { in TestSwissFrenchSpelloutRT()
142 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestSwissFrenchSpelloutRT()
155 UErrorCode status = U_ZERO_ERROR; in TestItalianSpelloutRT() local
157 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getItalian(), status); in TestItalianSpelloutRT()
159 if (U_FAILURE(status)) { in TestItalianSpelloutRT()
160 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestItalianSpelloutRT()
173 UErrorCode status = U_ZERO_ERROR; in TestGermanSpelloutRT() local
175 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getGermany(), status); in TestGermanSpelloutRT()
177 if (U_FAILURE(status)) { in TestGermanSpelloutRT()
178 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestGermanSpelloutRT()
191 UErrorCode status = U_ZERO_ERROR; in TestSwedishSpelloutRT() local
193 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("sv", "SE"), status); in TestSwedishSpelloutRT()
195 if (U_FAILURE(status)) { in TestSwedishSpelloutRT()
196 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestSwedishSpelloutRT()
209 UErrorCode status = U_ZERO_ERROR; in TestDutchSpelloutRT() local
211 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("nl", "NL"), status); in TestDutchSpelloutRT()
213 if (U_FAILURE(status)) { in TestDutchSpelloutRT()
214 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestDutchSpelloutRT()
227 UErrorCode status = U_ZERO_ERROR; in TestJapaneseSpelloutRT() local
229 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getJapan(), status); in TestJapaneseSpelloutRT()
231 if (U_FAILURE(status)) { in TestJapaneseSpelloutRT()
232 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestJapaneseSpelloutRT()
245 UErrorCode status = U_ZERO_ERROR; in TestRussianSpelloutRT() local
247 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("ru", "RU"), status); in TestRussianSpelloutRT()
249 if (U_FAILURE(status)) { in TestRussianSpelloutRT()
250 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestRussianSpelloutRT()
263 UErrorCode status = U_ZERO_ERROR; in TestPortugueseSpelloutRT() local
265 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("pt", "BR"), status); in TestPortugueseSpelloutRT()
267 if (U_FAILURE(status)) { in TestPortugueseSpelloutRT()
268 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); in TestPortugueseSpelloutRT()
299 UErrorCode status = U_ZERO_ERROR; in doTest() local
301 formatter->parse(formatResult, parseResult, status); in doTest()
302 if (U_FAILURE(status)) { in doTest()
303 sprintf(buf, "Round-trip status failure: %.12g, status: %d", i, status); in doTest()
326 UErrorCode status = U_ZERO_ERROR; in doTest() local
328 formatter->parse(formatResult, parseResult, status); in doTest()
329 if (U_FAILURE(status)) { in doTest()
330 sprintf(buf, "Round-trip status failure: %.12g, status: %d", d, status); in doTest()