Lines Matching refs:status

94     UErrorCode status;  in debug_i18n_cal_dump()  local
96 fprintf( stderr, " %04ld", (long)r.get( UCAL_YEAR, status = U_ZERO_ERROR)); in debug_i18n_cal_dump()
97 fprintf( stderr, "-%02ld", (long)r.get( UCAL_MONTH, status = U_ZERO_ERROR)+1); in debug_i18n_cal_dump()
98 fprintf( stderr, "-%02ld", (long)r.get( UCAL_DATE, status = U_ZERO_ERROR)); in debug_i18n_cal_dump()
99 fprintf( stderr, " %02ld", (long)r.get( UCAL_HOUR_OF_DAY, status = U_ZERO_ERROR)); in debug_i18n_cal_dump()
100 fprintf( stderr, ":%02ld", (long)r.get( UCAL_MINUTE, status = U_ZERO_ERROR)); in debug_i18n_cal_dump()
101 fprintf( stderr, ":%02ld", (long)r.get( UCAL_SECOND, status = U_ZERO_ERROR)); in debug_i18n_cal_dump()
102 …fprintf( stderr, " zone: %ld", (long)(nMillis = r.get( UCAL_ZONE_OFFSET, status = U_ZERO_ERROR))); in debug_i18n_cal_dump()
106 … fprintf( stderr, " DST: %ld", (long)(nMillis = r.get( UCAL_DST_OFFSET, status = U_ZERO_ERROR))); in debug_i18n_cal_dump()
166 UErrorCode status; in init() local
167 body = icu::Calendar::createInstance( aIcuLocale, status = U_ZERO_ERROR); in init()
168 if (!body || !U_SUCCESS(status)) throw ERROR; in init()
173 loc = body->getLocale( ULOC_ACTUAL_LOCALE, status = U_ZERO_ERROR); in init()
175 loc = body->getLocale( ULOC_VALID_LOCALE, status = U_ZERO_ERROR); in init()
295 UErrorCode status; in setDateTime() local
296 body->setTime(timeInDays * U_MILLIS_PER_DAY, status = U_ZERO_ERROR); in setDateTime()
297 if ( !U_SUCCESS(status) ) throw ERROR; in setDateTime()
308 UErrorCode status; in getDateTime() local
309 double r = body->getTime(status = U_ZERO_ERROR); in getDateTime()
310 if ( !U_SUCCESS(status) ) throw ERROR; in getDateTime()
533 UErrorCode status; in setValue() local
536 nYear = body->get( UCAL_YEAR, status = U_ZERO_ERROR); in setValue()
537 if ( !U_SUCCESS(status) ) in setValue()
542 nMonth = body->get( UCAL_MONTH, status = U_ZERO_ERROR); in setValue()
543 if ( !U_SUCCESS(status) ) in setValue()
548 nDay = body->get( UCAL_DATE, status = U_ZERO_ERROR); in setValue()
549 if ( !U_SUCCESS(status) ) in setValue()
554 nHour = body->get( UCAL_HOUR_OF_DAY, status = U_ZERO_ERROR); in setValue()
555 if ( !U_SUCCESS(status) ) in setValue()
560 nMinute = body->get( UCAL_MINUTE, status = U_ZERO_ERROR); in setValue()
561 if ( !U_SUCCESS(status) ) in setValue()
566 nSecond = body->get( UCAL_SECOND, status = U_ZERO_ERROR); in setValue()
567 if ( !U_SUCCESS(status) ) in setValue()
572 nMilliSecond = body->get( UCAL_MILLISECOND, status = U_ZERO_ERROR); in setValue()
573 if ( !U_SUCCESS(status) ) in setValue()
578 nZone0 = body->get( UCAL_ZONE_OFFSET, status = U_ZERO_ERROR); in setValue()
579 if ( !U_SUCCESS(status) ) in setValue()
584 nDST0 = body->get( UCAL_DST_OFFSET, status = U_ZERO_ERROR); in setValue()
585 if ( !U_SUCCESS(status) ) in setValue()
594 nZone1 = body->get( UCAL_ZONE_OFFSET, status = U_ZERO_ERROR); in setValue()
595 if ( !U_SUCCESS(status) ) in setValue()
597 nDST1 = body->get( UCAL_DST_OFFSET, status = U_ZERO_ERROR); in setValue()
598 if ( !U_SUCCESS(status) ) in setValue()
610 UErrorCode status; in setValue() local
611 sal_Int32 nZone2 = body->get( UCAL_ZONE_OFFSET, status = U_ZERO_ERROR); in setValue()
612 if ( !U_SUCCESS(status) ) in setValue()
614 sal_Int32 nDST2 = body->get( UCAL_DST_OFFSET, status = U_ZERO_ERROR); in setValue()
615 if ( !U_SUCCESS(status) ) in setValue()
650 sal_Int32 nZone3 = body->get( UCAL_ZONE_OFFSET, status = U_ZERO_ERROR); in setValue()
651 if ( !U_SUCCESS(status) ) in setValue()
671 sal_Int32 nDST3 = body->get( UCAL_DST_OFFSET, status = U_ZERO_ERROR); in setValue()
672 if ( !U_SUCCESS(status) ) in setValue()
696 UErrorCode status; in setValue() local
697 sal_Int32 nTmp = body->get( UCAL_DATE, status = U_ZERO_ERROR); in setValue()
714 UErrorCode status; sal_Int32 value = body->get( fieldNameConverter( in getValue() local
715 fieldIndex), status = U_ZERO_ERROR); in getValue()
716 if ( !U_SUCCESS(status) ) throw ERROR; in getValue()
765 UErrorCode status; in addValue() local
766 body->add(fieldNameConverter(fieldIndex), value, status = U_ZERO_ERROR); in addValue()
767 if ( !U_SUCCESS(status) ) throw ERROR; in addValue()