• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ICU-531.30/icuSources/tools/toolutil/

Lines Matching defs:errorCode

57 PreparsedUCD::PreparsedUCD(const char *filename, UErrorCode &errorCode)
64 if(U_FAILURE(errorCode)) { return; }
75 errorCode=U_FILE_ACCESS_ERROR;
105 PreparsedUCD::readLine(UErrorCode &errorCode) {
106 if(U_FAILURE(errorCode)) { return NO_LINE; }
123 errorCode=U_FILE_ACCESS_ERROR;
155 errorCode=U_PARSE_ERROR;
185 PreparsedUCD::getProps(UnicodeSet &newValues, UErrorCode &errorCode) {
186 if(U_FAILURE(errorCode)) { return NULL; }
189 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
200 errorCode=U_PARSE_ERROR;
204 if(!parseCodePointRange(field, start, end, errorCode)) { return NULL; }
212 errorCode=U_PARSE_ERROR;
219 errorCode=U_PARSE_ERROR;
243 errorCode=U_PARSE_ERROR;
250 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
256 if(!parseProperty(*props, field, newValues, errorCode)) { return NULL; }
273 UErrorCode &errorCode) {
284 errorCode=U_PARSE_ERROR;
294 pBuffer.append(p, (int32_t)(v-p), errorCode);
321 errorCode=U_PARSE_ERROR;
329 errorCode=U_PARSE_ERROR;
334 errorCode=U_PARSE_ERROR;
349 errorCode=U_PARSE_ERROR;
393 errorCode=U_PARSE_ERROR;
414 props.bmg=parseCodePoint(v, errorCode);
417 props.bpb=parseCodePoint(v, errorCode);
420 props.scf=parseCodePoint(v, errorCode);
423 props.slc=parseCodePoint(v, errorCode);
426 props.stc=parseCodePoint(v, errorCode);
429 props.suc=parseCodePoint(v, errorCode);
432 parseString(v, props.cf, errorCode);
435 parseString(v, props.lc, errorCode);
438 parseString(v, props.tc, errorCode);
441 parseString(v, props.uc, errorCode);
451 parseScriptExtensions(v, props.scx, errorCode);
458 if(U_SUCCESS(errorCode)) {
467 PreparsedUCD::getRangeForAlgNames(UChar32 &start, UChar32 &end, UErrorCode &errorCode) {
468 if(U_FAILURE(errorCode)) { return FALSE; }
470 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
481 errorCode=U_PARSE_ERROR;
484 return parseCodePointRange(field, start, end, errorCode);
488 PreparsedUCD::parseCodePoint(const char *s, UErrorCode &errorCode) {
495 errorCode=U_PARSE_ERROR;
502 PreparsedUCD::parseCodePointRange(const char *s, UChar32 &start, UChar32 &end, UErrorCode &errorCode) {
504 u_parseCodePointRange(s, &st, &e, &errorCode);
505 if(U_FAILURE(errorCode)) {
517 PreparsedUCD::parseString(const char *s, UnicodeString &uni, UErrorCode &errorCode) {
519 int32_t length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode);
520 if(errorCode==U_BUFFER_OVERFLOW_ERROR) {
521 errorCode=U_ZERO_ERROR;
524 length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode);
527 if(U_FAILURE(errorCode)) {
535 PreparsedUCD::parseScriptExtensions(const char *s, UnicodeSet &scx, UErrorCode &errorCode) {
536 if(U_FAILURE(errorCode)) { return; }
543 scs=scString.clear().append(s, (int32_t)(scLimit-s), errorCode).data();
544 if(U_FAILURE(errorCode)) { return; }
553 errorCode=U_PARSE_ERROR;
559 errorCode=U_PARSE_ERROR;
572 errorCode=U_PARSE_ERROR;