Lines Matching refs:success
126 UErrorCode success = U_ZERO_ERROR;
127 // form = (DecimalFormat*)NumberFormat::createCurrencyInstance(locale[i], success);
128 form = (DecimalFormat*)NumberFormat::createInstance(locale[i], success);
129 if (U_FAILURE(success)) {
138 success = U_ZERO_ERROR;
142 if (U_FAILURE(success)) {
293 UErrorCode success = U_ZERO_ERROR;
295 form = new MessageFormat(testCases[i], Locale::getUS(), success);
296 if (U_FAILURE(success)) {
297 dataerrln("MessageFormat creation failed.#1 - %s", u_errorName(success));
313 form->format(testArgs, count, result, fieldpos, success);
314 if (U_FAILURE(success)) {
315 dataerrln("MessageFormat failed test #3 - %s", u_errorName(success));
336 Formattable* values = form->parse(result, parseCount, success);
337 if (U_FAILURE(success)) {
339 logln(UnicodeString("MessageFormat failed test #5 with error code ")+(int32_t)success);
362 UErrorCode success = U_ZERO_ERROR;
363 form = new MessageFormat("There are {0} files on {1}", success);
364 if (U_FAILURE(success)) {
375 form->format(testArgs1, 2, buffer2, fieldpos, success));
376 assertSuccess("format", success);
828 UErrorCode success = U_ZERO_ERROR;
829 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
830 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
858 UErrorCode success = U_ZERO_ERROR;
859 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
860 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
861 MessageFormat *y = new MessageFormat("There are {0} files on {1} created", success);
887 UErrorCode success = U_ZERO_ERROR;
888 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
889 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
916 UErrorCode success = U_ZERO_ERROR;
917 MessageFormat x("There are {0} files on {1}", success);
918 MessageFormat y("There are {0} files on {1}", success);
928 UErrorCode success = U_ZERO_ERROR;
929 MessageFormat x("There are {0} files on {1}", success);
937 y.applyPattern("There are {0} files on {1} the disk", success);