Lines Matching refs:success
127 UErrorCode success = U_ZERO_ERROR;
128 // form = (DecimalFormat*)NumberFormat::createCurrencyInstance(locale[i], success);
129 form = (DecimalFormat*)NumberFormat::createInstance(locale[i], success);
130 if (U_FAILURE(success)) {
139 success = U_ZERO_ERROR;
143 if (U_FAILURE(success)) {
294 UErrorCode success = U_ZERO_ERROR;
296 form = new MessageFormat(testCases[i], Locale::getUS(), success);
297 if (U_FAILURE(success)) {
298 dataerrln("MessageFormat creation failed.#1 - %s", u_errorName(success));
314 form->format(testArgs, count, result, fieldpos, success);
315 if (U_FAILURE(success)) {
316 dataerrln("MessageFormat failed test #3 - %s", u_errorName(success));
337 Formattable* values = form->parse(result, parseCount, success);
338 if (U_FAILURE(success)) {
340 logln(UnicodeString("MessageFormat failed test #5 with error code ")+(int32_t)success);
363 UErrorCode success = U_ZERO_ERROR;
364 form = new MessageFormat("There are {0} files on {1}", success);
365 if (U_FAILURE(success)) {
376 form->format(testArgs1, 2, buffer2, fieldpos, success));
377 assertSuccess("format", success);
829 UErrorCode success = U_ZERO_ERROR;
830 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
831 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
859 UErrorCode success = U_ZERO_ERROR;
860 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
861 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
862 MessageFormat *y = new MessageFormat("There are {0} files on {1} created", success);
888 UErrorCode success = U_ZERO_ERROR;
889 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
890 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
917 UErrorCode success = U_ZERO_ERROR;
918 MessageFormat x("There are {0} files on {1}", success);
919 MessageFormat y("There are {0} files on {1}", success);
929 UErrorCode success = U_ZERO_ERROR;
930 MessageFormat x("There are {0} files on {1}", success);
938 y.applyPattern("There are {0} files on {1} the disk", success);