Lines Matching refs:errorCode
401 void handlePlainDirection(ResourceValue &value, UErrorCode &errorCode) {
403 if (U_FAILURE(errorCode)) { return; }
414 [absUnit][UDAT_DIRECTION_PLAIN].fastCopyFrom(value.getUnicodeString(errorCode));
419 void consumeTableRelative(const char *key, ResourceValue &value, UErrorCode &errorCode) {
420 ResourceTable unitTypesTable = value.getTable(errorCode);
421 if (U_FAILURE(errorCode)) { return; }
435 [UDAT_DIRECTION_PLAIN].fastCopyFrom(value.getUnicodeString(errorCode));
445 [direction].fastCopyFrom(value.getUnicodeString(errorCode));
452 const char *key, ResourceValue &value, UErrorCode &errorCode) {
453 ResourceTable unitTypesTable = value.getTable(errorCode);
454 if (U_FAILURE(errorCode)) { return; }
466 value.getUnicodeString(errorCode), 0, 1, errorCode);
468 errorCode = U_MEMORY_ALLOCATION_ERROR;
476 void consumeTableRelativeTime(const char *key, ResourceValue &value, UErrorCode &errorCode) {
477 ResourceTable relativeTimeTable = value.getTable(errorCode);
478 if (U_FAILURE(errorCode)) { return; }
493 consumeTimeDetail(relUnitIndex, key, value, errorCode);
497 void consumeAlias(const char *key, const ResourceValue &value, UErrorCode &errorCode) {
500 const UnicodeString valueStr = value.getAliasUnicodeString(errorCode);
501 if (U_FAILURE(errorCode)) { return; }
507 errorCode = U_INVALID_FORMAT_ERROR;
512 errorCode = U_INVALID_FORMAT_ERROR;
518 void consumeTimeUnit(const char *key, ResourceValue &value, UErrorCode &errorCode) {
519 ResourceTable unitTypesTable = value.getTable(errorCode);
520 if (U_FAILURE(errorCode)) { return; }
525 handlePlainDirection(value, errorCode);
529 consumeTableRelative(key, value, errorCode);
531 consumeTableRelativeTime(key, value, errorCode);
538 UBool /*noFallback*/, UErrorCode &errorCode) {
540 ResourceTable table = value.getTable(errorCode);
541 if (U_FAILURE(errorCode)) { return; }
544 consumeAlias(key, value, errorCode);
550 consumeTimeUnit(key, value, errorCode);