Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dastro.h739 class CalendarCache : public UMemory {
741 static int32_t get(CalendarCache** cache, int32_t key, UErrorCode &status);
742 static void put(CalendarCache** cache, int32_t key, int32_t value, UErrorCode &status);
743 virtual ~CalendarCache();
745 CalendarCache(int32_t size, UErrorCode& status);
746 static void createCache(CalendarCache** cache, UErrorCode& status);
750 CalendarCache();
Dastro.cpp1533 void CalendarCache::createCache(CalendarCache** cache, UErrorCode& status) { in createCache()
1538 *cache = new CalendarCache(32, status); in createCache()
1546 int32_t CalendarCache::get(CalendarCache** cache, int32_t key, UErrorCode &status) { in get()
1569 void CalendarCache::put(CalendarCache** cache, int32_t key, int32_t value, UErrorCode &status) { in put()
1589 CalendarCache::CalendarCache(int32_t size, UErrorCode &status) { in CalendarCache() function in CalendarCache
1594 CalendarCache::~CalendarCache() { in ~CalendarCache()
Dchnsecal.cpp58 static icu::CalendarCache *gChineseCalendarWinterSolsticeCache = NULL;
59 static icu::CalendarCache *gChineseCalendarNewYearCache = NULL;
529 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice()
549 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice()
761 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status); in newYear()
778 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status); in newYear()
Dhebrwcal.cpp137 static icu::CalendarCache *gCache = NULL;
393 int32_t day = CalendarCache::get(&gCache, year, status); in startOfYear()
422 CalendarCache::put(&gCache, year, day, status); in startOfYear()
Dislamcal.cpp57 static icu::CalendarCache *gMonthCache = NULL;
417 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart()
452 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart()
/external/icu/libicu/cts_headers/
Dastro.h739 class CalendarCache : public UMemory {
741 static int32_t get(CalendarCache** cache, int32_t key, UErrorCode &status);
742 static void put(CalendarCache** cache, int32_t key, int32_t value, UErrorCode &status);
743 virtual ~CalendarCache();
745 CalendarCache(int32_t size, UErrorCode& status);
746 static void createCache(CalendarCache** cache, UErrorCode& status);
750 CalendarCache();
/external/icu/android_icu4j/src/main/java/android/icu/util/
DChineseCalendar.java18 import android.icu.impl.CalendarCache;
127 private transient CalendarCache winterSolsticeCache = new CalendarCache();
133 private transient CalendarCache newYearCache = new CalendarCache();
685 if (cacheValue == CalendarCache.EMPTY) { in winterSolstice()
922 if (cacheValue == CalendarCache.EMPTY) { in newYear()
1026 winterSolsticeCache = new CalendarCache(); in readObject()
1027 newYearCache = new CalendarCache(); in readObject()
DHebrewCalendar.java14 import android.icu.impl.CalendarCache;
259 private static CalendarCache cache = new CalendarCache();
588 if (day == CalendarCache.EMPTY) { in startOfYear()
DIslamicCalendar.java17 import android.icu.impl.CalendarCache;
620 if (start == CalendarCache.EMPTY) in trueMonthStart()
683 private static CalendarCache cache = new CalendarCache();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DChineseCalendar.java17 import com.ibm.icu.impl.CalendarCache;
127 private transient CalendarCache winterSolsticeCache = new CalendarCache();
133 private transient CalendarCache newYearCache = new CalendarCache();
703 if (cacheValue == CalendarCache.EMPTY) { in winterSolstice()
941 if (cacheValue == CalendarCache.EMPTY) { in newYear()
1046 winterSolsticeCache = new CalendarCache(); in readObject()
1047 newYearCache = new CalendarCache(); in readObject()
DHebrewCalendar.java13 import com.ibm.icu.impl.CalendarCache;
272 private static CalendarCache cache = new CalendarCache();
612 if (day == CalendarCache.EMPTY) { in startOfYear()
DIslamicCalendar.java16 import com.ibm.icu.impl.CalendarCache;
647 if (start == CalendarCache.EMPTY) in trueMonthStart()
710 private static CalendarCache cache = new CalendarCache();
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarCache.java16 public class CalendarCache class
21 public CalendarCache() { in CalendarCache() method in CalendarCache
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java14 public class CalendarCache class
19 public CalendarCache() { in CalendarCache() method in CalendarCache