Home
last modified time | relevance | path

Searched refs:CalendarCache (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/i18n/
Dastro.h737 class CalendarCache : public UMemory {
739 static int32_t get(CalendarCache** cache, int32_t key, UErrorCode &status);
740 static void put(CalendarCache** cache, int32_t key, int32_t value, UErrorCode &status);
741 virtual ~CalendarCache();
743 CalendarCache(int32_t size, UErrorCode& status);
744 static void createCache(CalendarCache** cache, UErrorCode& status);
748 CalendarCache();
Dastro.cpp1531 void CalendarCache::createCache(CalendarCache** cache, UErrorCode& status) { in createCache()
1536 *cache = new CalendarCache(32, status); in createCache()
1544 int32_t CalendarCache::get(CalendarCache** cache, int32_t key, UErrorCode &status) { in get()
1567 void CalendarCache::put(CalendarCache** cache, int32_t key, int32_t value, UErrorCode &status) { in put()
1587 CalendarCache::CalendarCache(int32_t size, UErrorCode &status) { in CalendarCache() function in CalendarCache
1592 CalendarCache::~CalendarCache() { in ~CalendarCache()
Dchnsecal.cpp56 static icu::CalendarCache *gChineseCalendarWinterSolsticeCache = NULL;
57 static icu::CalendarCache *gChineseCalendarNewYearCache = NULL;
527 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice()
547 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice()
759 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status); in newYear()
776 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status); in newYear()
Dhebrwcal.cpp134 static icu::CalendarCache *gCache = NULL;
390 int32_t day = CalendarCache::get(&gCache, year, status); in startOfYear()
418 CalendarCache::put(&gCache, year, day, status); in startOfYear()
Dislamcal.cpp56 static icu::CalendarCache *gMonthCache = NULL;
418 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart()
452 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DChineseCalendar.java16 import android.icu.impl.CalendarCache;
125 private transient CalendarCache winterSolsticeCache = new CalendarCache();
131 private transient CalendarCache newYearCache = new CalendarCache();
683 if (cacheValue == CalendarCache.EMPTY) { in winterSolstice()
920 if (cacheValue == CalendarCache.EMPTY) { in newYear()
1024 winterSolsticeCache = new CalendarCache(); in readObject()
1025 newYearCache = new CalendarCache(); in readObject()
DHebrewCalendar.java12 import android.icu.impl.CalendarCache;
257 private static CalendarCache cache = new CalendarCache();
584 if (day == CalendarCache.EMPTY) { in startOfYear()
DIslamicCalendar.java15 import android.icu.impl.CalendarCache;
616 if (start == CalendarCache.EMPTY) in trueMonthStart()
679 private static CalendarCache cache = new CalendarCache();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DChineseCalendar.java15 import com.ibm.icu.impl.CalendarCache;
125 private transient CalendarCache winterSolsticeCache = new CalendarCache();
131 private transient CalendarCache newYearCache = new CalendarCache();
701 if (cacheValue == CalendarCache.EMPTY) { in winterSolstice()
939 if (cacheValue == CalendarCache.EMPTY) { in newYear()
1044 winterSolsticeCache = new CalendarCache(); in readObject()
1045 newYearCache = new CalendarCache(); in readObject()
DHebrewCalendar.java11 import com.ibm.icu.impl.CalendarCache;
270 private static CalendarCache cache = new CalendarCache();
608 if (day == CalendarCache.EMPTY) { in startOfYear()
DIslamicCalendar.java14 import com.ibm.icu.impl.CalendarCache;
638 if (start == CalendarCache.EMPTY) in trueMonthStart()
701 private static CalendarCache cache = new CalendarCache();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java12 public class CalendarCache class
17 public CalendarCache() { in CalendarCache() method in CalendarCache
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarCache.java14 public class CalendarCache class
19 public CalendarCache() { in CalendarCache() method in CalendarCache