Lines Matching refs:cacheValue
527 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice() local
529 if (cacheValue == 0) { in winterSolstice()
546 cacheValue = (int32_t)millisToDays(solarLong); in winterSolstice()
547 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice()
550 cacheValue = 0; in winterSolstice()
552 return cacheValue; in winterSolstice()
759 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status); in newYear() local
761 if (cacheValue == 0) { in newYear()
771 cacheValue = newMoonNear(newMoon2 + SYNODIC_GAP, TRUE); in newYear()
773 cacheValue = newMoon2; in newYear()
776 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status); in newYear()
779 cacheValue = 0; in newYear()
781 return cacheValue; in newYear()