Lines Matching refs:startValue
3688 int32_t Calendar::getActualHelper(UCalendarDateFields field, int32_t startValue, int32_t endValue, … in getActualHelper() argument
3691 …fprintf(stderr, "getActualHelper(%d,%d .. %d, %s)\n", field, startValue, endValue, u_errorName(sta… in getActualHelper()
3693 if (startValue == endValue) { in getActualHelper()
3695 return startValue; in getActualHelper()
3698 int32_t delta = (endValue > startValue) ? 1 : -1; in getActualHelper()
3702 if(U_FAILURE(status)) return startValue; in getActualHelper()
3704 if(!work) { status = U_MEMORY_ALLOCATION_ERROR; return startValue; } in getActualHelper()
3716 work->set(field, startValue); in getActualHelper()
3723 int32_t result = startValue; in getActualHelper()
3724 if ((work->get(field, status) != startValue in getActualHelper()
3727 …er(fld %d) - got %d (not %d) - %s\n", field, work->get(field,status), startValue, u_errorName(sta… in getActualHelper()
3731 startValue += delta; in getActualHelper()
3733 if (work->get(field, status) != startValue || U_FAILURE(status)) { in getActualHelper()
3735 …%d) - got %d (not %d), BREAK - %s\n", field, work->get(field,status), startValue, u_errorName(sta… in getActualHelper()
3739 result = startValue; in getActualHelper()
3740 } while (startValue != endValue); in getActualHelper()