Lines Matching defs:status
131 UErrorCode status = U_ZERO_ERROR;
166 status = U_ZERO_ERROR;
186 pData = udata_create(outDir, NULL, outFileName, &dummyDataInfo, NULL, &status);
188 udata_finish(pData, &status);
189 return (int)status;
193 u_init(&status);
194 if (U_FAILURE(status)) {
195 fprintf(stderr, "%s: can not initialize ICU. status = %s\n",
196 argv[0], u_errorName(status));
199 status = U_ZERO_ERROR;
233 ruleSourceC, ruleFileSize, &signatureLength, &status);
234 if (U_FAILURE(status)) {
235 exit(status);
246 conv = ucnv_open(encoding, &status);
247 if (U_FAILURE(status)) {
248 fprintf(stderr, "ucnv_open: ICU Error \"%s\"\n", u_errorName(status));
249 exit(status);
261 &status);
262 if (status != U_BUFFER_OVERFLOW_ERROR) {
263 fprintf(stderr, "ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
264 exit(status);
267 status = U_ZERO_ERROR;
274 &status);
275 if (U_FAILURE(status)) {
276 fprintf(stderr, "ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
277 exit(status);
294 RuleBasedBreakIterator *bi = new RuleBasedBreakIterator(ruleSourceS, parseError, status);
295 if (U_FAILURE(status)) {
297 u_errorName(status), (int)parseError.line, (int)parseError.offset);
298 exit(status);
317 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status);
318 if(U_FAILURE(status)) {
320 outFileName, u_errorName(status));
321 exit(status);
328 bytesWritten = udata_finish(pData, &status);
329 if(U_FAILURE(status)) {
330 fprintf(stderr, "genbrk: error %d writing the output file\n", status);
331 exit(status);