Home | History | Annotate | Download | only in intltest

Lines Matching refs:success

129         UErrorCode success = U_ZERO_ERROR;
130 // form = (DecimalFormat*)NumberFormat::createCurrencyInstance(locale[i], success);
131 form = (DecimalFormat*)NumberFormat::createInstance(locale[i], success);
132 if (U_FAILURE(success)) {
141 success = U_ZERO_ERROR;
145 if (U_FAILURE(success)) {
298 UErrorCode success = U_ZERO_ERROR;
300 form = new MessageFormat(testCases[i], Locale::getUS(), success);
301 if (U_FAILURE(success)) {
302 dataerrln("MessageFormat creation failed.#1 - %s", u_errorName(success));
324 form->format(testArgs, count, result, fieldpos, success);
325 if (U_FAILURE(success)) {
326 dataerrln("MessageFormat failed test #3 - %s", u_errorName(success));
347 Formattable* values = form->parse(result, parseCount, success);
348 if (U_FAILURE(success)) {
350 logln(UnicodeString("MessageFormat failed test #5 with error code ")+(int32_t)success);
373 UErrorCode success = U_ZERO_ERROR;
374 form = new MessageFormat("There are {0} files on {1}", success);
375 if (U_FAILURE(success)) {
386 form->format(testArgs1, 2, buffer2, fieldpos, success));
387 assertSuccess("format", success);
856 UErrorCode success = U_ZERO_ERROR;
857 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
858 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
886 UErrorCode success = U_ZERO_ERROR;
887 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
888 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
889 MessageFormat *y = new MessageFormat("There are {0} files on {1} created", success);
915 UErrorCode success = U_ZERO_ERROR;
916 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success);
917 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success);
944 UErrorCode success = U_ZERO_ERROR;
945 MessageFormat x("There are {0} files on {1}", success);
946 MessageFormat y("There are {0} files on {1}", success);
956 UErrorCode success = U_ZERO_ERROR;
957 MessageFormat x("There are {0} files on {1}", success);
965 y.applyPattern("There are {0} files on {1} the disk", success);