Lines Matching full:cache
869 DSTOffsetCache& cache = exec->globalData().dstOffsetCache;
870 double start = cache.start;
871 double end = cache.end;
875 if (ms <= end) return cache.offset;
878 double newEnd = end + cache.increment;
882 if (cache.offset == endOffset) {
884 // the offset in the cache, we grow the cached time interval
886 cache.end = newEnd;
887 cache.increment = msPerMonth;
896 cache.start = ms;
897 cache.end = newEnd;
898 cache.increment = msPerMonth;
903 cache.increment /= 3;
904 cache.end = ms;
906 // Update the offset in the cache and return it.
907 cache.offset = offset;
913 // Compute the DST offset for the time and shrink the cache interval
917 cache.offset = offset;
918 cache.start = ms;
919 cache.end = ms;
920 cache.increment = msPerMonth;