Home | History | Annotate | Download | only in intltest

Lines Matching refs:success

132         UErrorCode success = U_ZERO_ERROR;
133 // form = (DecimalFormat*)NumberFormat::createCurrencyInstance(locale[i], success);
134 form = (DecimalFormat*)NumberFormat::createInstance(locale[i], success);
135 if (U_FAILURE(success)) {
144 success = U_ZERO_ERROR;
148 if (U_FAILURE(success)) {
296 UErrorCode success = U_ZERO_ERROR;
298 form = new MessageFormat(testCases[i], Locale::getUS(), success);
299 if (U_FAILURE(success)) {
300 dataerrln("MessageFormat creation failed.#1 - %s", u_errorName(success));
322 form->format(testArgs, count, result, fieldpos, success);
323 if (U_FAILURE(success)) {
324 dataerrln("MessageFormat failed test #3 - %s", u_errorName(success));
345 Formattable* values = form->parse(result, parseCount, success);
346 if (U_FAILURE(success)) {
348 logln(UnicodeString("MessageFormat failed test #5 with error code ")+(int32_t)success);
371 UErrorCode success = U_ZERO_ERROR;
372 form = new MessageFormat("There are {0} files on {1}", success);
373 if (U_FAILURE(success)) {
384 form->format(testArgs1, 2, buffer2, fieldpos, success));
385 assertSuccess("format", success);
854 UErrorCode success = U_ZERO_ERROR;
855 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
856 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
884 UErrorCode success = U_ZERO_ERROR;
885 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
886 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
887 MessageFormat *y = new MessageFormat("There are {0} files on {1} created", success);
913 UErrorCode success = U_ZERO_ERROR;
914 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
915 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
942 UErrorCode success = U_ZERO_ERROR;
943 MessageFormat x("There are {0} files on {1}", success);
944 MessageFormat y("There are {0} files on {1}", success);
954 UErrorCode success = U_ZERO_ERROR;
955 MessageFormat x("There are {0} files on {1}", success);
963 y.applyPattern("There are {0} files on {1} the disk", success);