Lines Matching refs:status
63 UErrorCode status = U_ZERO_ERROR;
65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status);
67 if (U_FAILURE(status)) {
68 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
81 UErrorCode status = U_ZERO_ERROR;
83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status);
85 if (U_FAILURE(status)) {
86 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
99 UErrorCode status = U_ZERO_ERROR;
101 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("es", "es"), status);
103 if (U_FAILURE(status)) {
104 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
117 UErrorCode status = U_ZERO_ERROR;
119 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getFrance(), status);
121 if (U_FAILURE(status)) {
122 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
135 UErrorCode status = U_ZERO_ERROR;
137 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("fr", "CH"), status);
139 if (U_FAILURE(status)) {
140 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
153 UErrorCode status = U_ZERO_ERROR;
155 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getItalian(), status);
157 if (U_FAILURE(status)) {
158 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
171 UErrorCode status = U_ZERO_ERROR;
173 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getGermany(), status);
175 if (U_FAILURE(status)) {
176 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
189 UErrorCode status = U_ZERO_ERROR;
191 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("sv", "SE"), status);
193 if (U_FAILURE(status)) {
194 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
207 UErrorCode status = U_ZERO_ERROR;
209 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("nl", "NL"), status);
211 if (U_FAILURE(status)) {
212 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
225 UErrorCode status = U_ZERO_ERROR;
227 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getJapan(), status);
229 if (U_FAILURE(status)) {
230 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
243 UErrorCode status = U_ZERO_ERROR;
245 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("ru", "RU"), status);
247 if (U_FAILURE(status)) {
248 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
261 UErrorCode status = U_ZERO_ERROR;
263 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("pt", "BR"), status);
265 if (U_FAILURE(status)) {
266 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
297 UErrorCode status = U_ZERO_ERROR;
299 formatter->parse(formatResult, parseResult, status);
300 if (U_FAILURE(status)) {
301 sprintf(buf, "Round-trip status failure: %.12g, status: %d", i, status);
324 UErrorCode status = U_ZERO_ERROR;
326 formatter->parse(formatResult, parseResult, status);
327 if (U_FAILURE(status)) {
328 sprintf(buf, "Round-trip status failure: %.12g, status: %d", d, status);