Lines Matching refs:cacheValue
529 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice() local
531 if (cacheValue == 0) { in winterSolstice()
548 cacheValue = (int32_t)millisToDays(solarLong); in winterSolstice()
549 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice()
552 cacheValue = 0; in winterSolstice()
554 return cacheValue; in winterSolstice()
761 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status); in newYear() local
763 if (cacheValue == 0) { in newYear()
773 cacheValue = newMoonNear(newMoon2 + SYNODIC_GAP, TRUE); in newYear()
775 cacheValue = newMoon2; in newYear()
778 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status); in newYear()
781 cacheValue = 0; in newYear()
783 return cacheValue; in newYear()