Lines Matching defs:ec
29 UErrorCode* ec);
83 UErrorCode ec;
105 ec = U_ZERO_ERROR;
106 set = uset_openPattern(PAT, PAT_LEN, &ec);
107 if(U_FAILURE(ec)) {
108 log_err("uset_openPattern([a-c{ab}]) failed - %s\n", u_errorName(ec));
114 expect(set, "abc{ab}", "def{bc}", &ec);
162 uset_applyIntPropertyValue(set, UCHAR_ASCII_HEX_DIGIT, 1, &ec);
163 if(U_FAILURE(ec)) {
164 log_err("uset_applyIntPropertyValue([UCHAR_ASCII_HEX_DIGIT]) failed - %s\n", u_errorName(ec));
182 uset_applyPropertyAlias(set2, PAT_lb, PAT_lb_LEN, VAL_SP, VAL_SP_LEN, &ec);
223 * 'set' is not NULL and that 'ec' succeeds.
232 * @param ec an error code, checked for success. May be NULL in which
238 UErrorCode* ec) {
239 if (ec!=NULL && U_FAILURE(*ec)) {
240 log_err("FAIL: %s\n", u_errorName(*ec));
258 UErrorCode ec;
261 ec = U_ZERO_ERROR;
262 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec);
263 if(U_FAILURE(ec)) {
264 log_err("FAIL: uset_toPattern() fails in expectContainment() - %s\n", u_errorName(ec));
360 UErrorCode ec;
367 ec = U_ZERO_ERROR;
368 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec);
369 if (U_FAILURE(ec)) {
370 log_err("FAIL: uset_toPattern => %s\n", u_errorName(ec));
398 itemStr, sizeof(itemStr), &ec);
399 if (U_FAILURE(ec) || itemLen < 0) {
400 log_err("FAIL: uset_getItem => %s\n", u_errorName(ec));
519 UErrorCode ec = U_ZERO_ERROR;
528 USet *set = uset_openPattern(buf, len, &ec);