Lines Matching refs:errorCode

55 PreparsedUCD::PreparsedUCD(const char *filename, UErrorCode &errorCode)
62 if(U_FAILURE(errorCode)) { return; }
73 errorCode=U_FILE_ACCESS_ERROR;
103 PreparsedUCD::readLine(UErrorCode &errorCode) {
104 if(U_FAILURE(errorCode)) { return NO_LINE; }
121 errorCode=U_FILE_ACCESS_ERROR;
153 errorCode=U_PARSE_ERROR;
183 PreparsedUCD::getProps(UnicodeSet &newValues, UErrorCode &errorCode) {
184 if(U_FAILURE(errorCode)) { return NULL; }
187 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
198 errorCode=U_PARSE_ERROR;
202 if(!parseCodePointRange(field, start, end, errorCode)) { return NULL; }
210 errorCode=U_PARSE_ERROR;
217 errorCode=U_PARSE_ERROR;
241 errorCode=U_PARSE_ERROR;
248 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
254 if(!parseProperty(*props, field, newValues, errorCode)) { return NULL; }
271 UErrorCode &errorCode) {
282 errorCode=U_PARSE_ERROR;
292 pBuffer.append(p, (int32_t)(v-p), errorCode);
319 errorCode=U_PARSE_ERROR;
327 errorCode=U_PARSE_ERROR;
332 errorCode=U_PARSE_ERROR;
347 errorCode=U_PARSE_ERROR;
391 errorCode=U_PARSE_ERROR;
412 props.bmg=parseCodePoint(v, errorCode);
415 props.bpb=parseCodePoint(v, errorCode);
418 props.scf=parseCodePoint(v, errorCode);
421 props.slc=parseCodePoint(v, errorCode);
424 props.stc=parseCodePoint(v, errorCode);
427 props.suc=parseCodePoint(v, errorCode);
430 parseString(v, props.cf, errorCode);
433 parseString(v, props.lc, errorCode);
436 parseString(v, props.tc, errorCode);
439 parseString(v, props.uc, errorCode);
449 parseScriptExtensions(v, props.scx, errorCode);
456 if(U_SUCCESS(errorCode)) {
465 PreparsedUCD::getRangeForAlgNames(UChar32 &start, UChar32 &end, UErrorCode &errorCode) {
466 if(U_FAILURE(errorCode)) { return FALSE; }
468 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
479 errorCode=U_PARSE_ERROR;
482 return parseCodePointRange(field, start, end, errorCode);
486 PreparsedUCD::parseCodePoint(const char *s, UErrorCode &errorCode) {
493 errorCode=U_PARSE_ERROR;
500 PreparsedUCD::parseCodePointRange(const char *s, UChar32 &start, UChar32 &end, UErrorCode &errorCode) {
502 u_parseCodePointRange(s, &st, &e, &errorCode);
503 if(U_FAILURE(errorCode)) {
515 PreparsedUCD::parseString(const char *s, UnicodeString &uni, UErrorCode &errorCode) {
517 int32_t length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode);
518 if(errorCode==U_BUFFER_OVERFLOW_ERROR) {
519 errorCode=U_ZERO_ERROR;
522 length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode);
525 if(U_FAILURE(errorCode)) {
533 PreparsedUCD::parseScriptExtensions(const char *s, UnicodeSet &scx, UErrorCode &errorCode) {
534 if(U_FAILURE(errorCode)) { return; }
541 scs=scString.clear().append(s, (int32_t)(scLimit-s), errorCode).data();
542 if(U_FAILURE(errorCode)) { return; }
551 errorCode=U_PARSE_ERROR;
557 errorCode=U_PARSE_ERROR;
570 errorCode=U_PARSE_ERROR;