Home | History | Annotate | Download | only in i18n

Lines Matching refs:cacheValue

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