Lines Matching refs:err
19 UErrorCode err = U_ZERO_ERROR;
31 a = utrans_open("Latin-Greek", UTRANS_FORWARD, NULL, -1, NULL, &err);
32 if(U_FAILURE(err))
34 log_err("Error opening transliterator %s\n", u_errorName(err));
41 b = u_fsettransliterator(f, U_WRITE, a, &err);
42 if(U_FAILURE(err))
44 log_err("Error setting transliterator %s\n", u_errorName(err));
54 b = u_fsettransliterator(NULL, U_WRITE, a, &err);
55 if(err != U_ILLEGAL_ARGUMENT_ERROR)
57 log_err("Error setting transliterator on NULL file err=%s\n", u_errorName(err));
65 err = U_FILE_ACCESS_ERROR;
66 b = u_fsettransliterator(f, U_WRITE, a, &err);
67 if(err != U_FILE_ACCESS_ERROR)
69 log_err("Error setting transliterator on error status err=%s\n", u_errorName(err));
76 err = U_ZERO_ERROR;
80 c = u_fsettransliterator(f, U_WRITE, NULL, &err);
81 if(U_FAILURE(err))
83 log_err("Err setting transliterator %s\n", u_errorName(err));
90 log_err("Err, transliterator that came back was not the original one.\n");
94 b = u_fsettransliterator(f, U_READ, NULL, &err);
95 if(err != U_UNSUPPORTED_ERROR)
97 log_err("Should have U_UNSUPPORTED_ERROR setting Read transliterator but got %s - REVISIT AND UPDATE TEST\n", u_errorName(err));
103 log_verbose("Got %s error (expected) setting READ transliterator.\n", u_errorName(err));
104 err = U_ZERO_ERROR;
118 UErrorCode err = U_ZERO_ERROR;
134 a = utrans_open("Latin-Greek", UTRANS_FORWARD, NULL, -1, NULL, &err);
135 if(U_FAILURE(err))
137 log_err("Err opening transliterator %s\n", u_errorName(err));
143 b = u_fsettransliterator(f, U_WRITE, a, &err);
144 if(U_FAILURE(err))
146 log_err("Err setting transliterator %s\n", u_errorName(err));
153 log_err("Err, a transliterator was already set!\n");
158 c = utrans_open("Latin-Cyrillic", UTRANS_FORWARD, NULL, -1, NULL, &err);
159 if(U_FAILURE(err))
161 log_err("Err opening transliterator %s\n", u_errorName(err));
167 b = u_fsettransliterator(f, U_WRITE, c, &err);
168 if(U_FAILURE(err))
170 log_err("Err setting transliterator %s\n", u_errorName(err));
225 UErrorCode err = U_ZERO_ERROR;
239 a = utrans_open("Latin-Greek", UTRANS_FORWARD, NULL, -1, NULL, &err);
240 if(U_FAILURE(err))
242 log_err("Err opening transliterator %s\n", u_errorName(err));
248 b = u_fsettransliterator(f, U_WRITE, a, &err);
249 if(U_FAILURE(err))
251 log_err("Err setting transliterator %s\n", u_errorName(err));
258 log_err("Err, a transliterator was already set!\n");
263 c = utrans_open("Latin-Cyrillic", UTRANS_FORWARD, NULL, -1, NULL, &err);
264 if(U_FAILURE(err))
266 log_err("Err opening transliterator %s\n", u_errorName(err));
272 b = u_fsettransliterator(f, U_WRITE, c, &err);
273 if(U_FAILURE(err))
275 log_err("Err setting transliterator %s\n", u_errorName(err));