Lines Matching refs:ec
30 UErrorCode* ec);
84 UErrorCode ec;
106 ec = U_ZERO_ERROR;
107 set = uset_openPattern(PAT, PAT_LEN, &ec);
108 if(U_FAILURE(ec)) {
109 log_err("uset_openPattern([a-c{ab}]) failed - %s\n", u_errorName(ec));
115 expect(set, "abc{ab}", "def{bc}", &ec);
163 uset_applyIntPropertyValue(set, UCHAR_ASCII_HEX_DIGIT, 1, &ec);
164 if(U_FAILURE(ec)) {
165 log_err("uset_applyIntPropertyValue([UCHAR_ASCII_HEX_DIGIT]) failed - %s\n", u_errorName(ec));
183 uset_applyPropertyAlias(set2, PAT_lb, PAT_lb_LEN, VAL_SP, VAL_SP_LEN, &ec);
224 * 'set' is not NULL and that 'ec' succeeds.
233 * @param ec an error code, checked for success. May be NULL in which
239 UErrorCode* ec) {
240 if (ec!=NULL && U_FAILURE(*ec)) {
241 log_err("FAIL: %s\n", u_errorName(*ec));
259 UErrorCode ec;
262 ec = U_ZERO_ERROR;
263 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec);
264 if(U_FAILURE(ec)) {
265 log_err("FAIL: uset_toPattern() fails in expectContainment() - %s\n", u_errorName(ec));
361 UErrorCode ec;
368 ec = U_ZERO_ERROR;
369 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec);
370 if (U_FAILURE(ec)) {
371 log_err("FAIL: uset_toPattern => %s\n", u_errorName(ec));
399 itemStr, sizeof(itemStr), &ec);
400 if (U_FAILURE(ec) || itemLen < 0) {
401 log_err("FAIL: uset_getItem => %s\n", u_errorName(ec));
520 UErrorCode ec = U_ZERO_ERROR;
529 USet *set = uset_openPattern(buf, len, &ec);