/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Pen.h | 38 * Get a GDI object from its respective cache. If it doesn't exist 49 * zero, notify the cache that the object can be safely removed. 50 * The cache will eventually delete the GDI object and this wrapper. 58 static GDIHashtable cache; member in class:AwtPen
|
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | AccelGlyphCache.h | 55 // next cell info in the cache's list 78 AccelGlyphCache_AddGlyph(GlyphCacheInfo *cache, struct GlyphInfo *glyph); 80 AccelGlyphCache_Invalidate(GlyphCacheInfo *cache); 87 GlyphCacheInfo *cache); 91 AccelGlyphCache_Free(GlyphCacheInfo *cache);
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | NegotiateAuthentication.java | 54 // if it's true, a cached Negotiator is put into <code>cache</code>. 55 // the cache can be used only once, so after the first use, it's cleaned. 57 static HashMap <String, Negotiator> cache = null; field in class:NegotiateAuthentication 89 * the same hostname, the answer is retrieved from cache. 96 cache = new HashMap <String, Negotiator>(); 107 // the only place cache.put is called. here we can make sure 109 cache.put(hostname, neg); 174 if (cache != null) { 175 synchronized(cache) { 176 negotiator = cache [all...] |
H A D | AuthenticationInfo.java | 141 /* entry may be in cache now. */ 163 // REMIND: This cache just grows forever. We should put in a bounded 164 // cache, or maybe something using WeakRef's. 286 /* check the cache again, it might contain an entry */ 294 * Return the AuthenticationInfo object from the cache if it's path is 299 return (AuthenticationInfo)cache.get (key, null); 301 return (AuthenticationInfo)cache.get (key, url.getPath()); 312 AuthenticationInfo result = (AuthenticationInfo) cache.get(key, null); 328 AuthenticationInfo cached = (AuthenticationInfo) cache.get(key, null); 330 /* check the cache agai [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | Effect.java | 76 // Static data cache 79 ArrayCache cache = (ArrayCache)AppContext.getAppContext().get(ArrayCache.class); 80 if (cache == null){ 81 cache = new ArrayCache(); 82 AppContext.getAppContext().put(ArrayCache.class,cache); 84 return cache;
|
/openjdk7/jdk/src/share/classes/java/nio/charset/ |
H A D | CoderResult.java | 197 private Map<Integer,WeakReference<CoderResult>> cache = null; field in class:CoderResult.Cache 207 if (cache == null) { 208 cache = new HashMap<Integer,WeakReference<CoderResult>>(); 209 } else if ((w = cache.get(k)) != null) { 214 cache.put(k, new WeakReference<CoderResult>(e));
|
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | VMState.java | 55 private Cache cache = null; // synchronized (this) field in class:VMState 60 cache = null; 66 cache = markerCache; 72 if (cache == markerCache) { 73 cache = new Cache(); 75 return cache; 88 return cache != null; 100 if (cache == null && (lastCompletedCommandId >= lastResumeCommandId)) { 131 if (cache != null) { 133 vm.printTrace("Clearing VM suspended cache"); [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | SunLayoutEngine.java | 42 * engines, we query and fill this cache. 47 * shouldn't have to recheck each time we do layout. So the cache is 132 ConcurrentHashMap cache = (ConcurrentHashMap)cacheref.get(); 133 if (cache == null) { 134 cache = new ConcurrentHashMap(); 135 cacheref = new SoftReference(cache); 138 LayoutEngine e = (LayoutEngine)cache.get(key); 142 cache.put(copy, e);
|
/openjdk7/jdk/src/share/classes/java/lang/reflect/ |
H A D | AccessibleObject.java | 220 // A more complicated security check cache is needed for Method and Field 221 // The cache can be either null (empty cache), a 2-array of {caller,target}, 232 Object cache = securityCheckCache; // read volatile 238 if (cache instanceof Class[]) { 239 Class<?>[] cache2 = (Class<?>[]) cache; 244 // (Test cache[1] first since range check for [1] 247 } else if (cache == caller) { 263 // Success: Update the cache. 264 Object cache [all...] |
H A D | Proxy.java | 240 /** maps a class loader to the proxy class cache for that loader */ 469 /* collect interface names to use as key for proxy class cache */ 514 * keys in the proxy class cache (instead of their Class 524 * Find or create the proxy class cache for the class loader. 526 Map<List<String>, Object> cache; 528 cache = loaderToCache.get(loader); 529 if (cache == null) { 530 cache = new HashMap<>(); 531 loaderToCache.put(loader, cache); 541 * Look up the list of interfaces in the proxy class cache usin [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | CachedPainter.java | 62 ImageCache cache = cacheMap.get(key); 63 if (cache == null) { 64 cache = new ImageCache(1); 65 cacheMap.put(key, cache); 67 return cache; 72 * Creates an instance of <code>CachedPainter</code> that will cache up 75 * @param cacheCount Max number of images to cache 120 ImageCache cache = getCache(key); 121 Image image = cache.getImage(key, config, w, h, args); 140 cache [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Byte.java | 79 static final Byte cache[] = new Byte[-(-128) + 127 + 1]; field in class:Byte.ByteCache 82 for(int i = 0; i < cache.length; i++) 83 cache[i] = new Byte((byte)(i - 128)); 102 return ByteCache.cache[(int)b + offset];
|
H A D | Short.java | 205 static final Short cache[] = new Short[-(-128) + 127 + 1]; field in class:Short.ShortCache 208 for(int i = 0; i < cache.length; i++) 209 cache[i] = new Short((short)(i - 128)); 222 * This method will always cache values in the range -128 to 127, 223 * inclusive, and may cache other values outside of this range. 232 if (sAsInt >= -128 && sAsInt <= 127) { // must cache 233 return ShortCache.cache[sAsInt + offset];
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | CacheFSInfo.java | 60 cache.clear(); 89 // don't bother to lock the cache, because it is thread-safe, and 99 // don't bother to lock the cache, because it is thread-safe, and 102 Entry e = cache.get(file); 109 cache.put(file, e); 115 private Map<File,Entry> cache = new ConcurrentHashMap<File,Entry>(); field in class:CacheFSInfo
|
/openjdk7/jdk/test/javax/xml/crypto/dsig/ |
H A D | SignatureValidator.java | 49 boolean validate(String fn, KeySelector ks, boolean cache) argument 51 return validate(fn, ks, null, cache); 55 boolean cache) throws Exception { 69 if (cache) { 79 // Check reference cache 80 if (cache) { 54 validate(String fn, KeySelector ks, URIDereferencer ud, boolean cache) argument
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | FastCharsetProvider.java | 52 private Map<String,Charset> cache; field in class:FastCharsetProvider 64 cache = c; 101 // Check cache first 102 Charset cs = cache.get(csn); 113 cache.put(csn, cs); 117 // Instantiate the charset and cache it 123 cache.put(csn, cs);
|
/openjdk7/jdk/src/share/classes/sun/util/calendar/ |
H A D | JulianCalendar.java | 148 public long getFixedDate(int jyear, int month, int dayOfMonth, BaseCalendar.Date cache) { argument 151 // Look up the one year cache 152 if (cache != null && cache.hit(jyear)) { 154 return cache.getCachedJan1(); 156 return cache.getCachedJan1() + getDayOfYear(jyear, month, dayOfMonth) - 1; 177 // If it's January 1, update the cache. 178 if (cache != null && isJan1) { 179 cache.setCache(jyear, days, CalendarUtils.isJulianLeapYear(jyear) ? 366 : 365); 226 // as cache tabl [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | PopupFactory.java | 68 * Max number of items to store in any one particular cache. 360 List<HeavyWeightPopup> cache; 364 cache = heavyPopupCache.get(w); 368 if (cache.size() > 0) { 369 HeavyWeightPopup r = cache.get(0); 370 cache.remove(0); 378 * Returns the cache to use for heavy weight popups. Maps from 384 Map<Window, List<HeavyWeightPopup>> cache = (Map<Window, List<HeavyWeightPopup>>)SwingUtilities.appContextGet( 387 if (cache == null) { 388 cache [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/ |
H A D | JDKClassLoader.java | 109 * Private cache implementation specific to JDKClassLoader. 114 // ClassLoader. Note this in our cache so JDKClassLoader 117 cache.put(key, JDKClassLoaderCache.KNOWN_TO_FAIL); 133 return cache.get(key) == JDKClassLoaderCache.KNOWN_TO_FAIL; 137 private final Map cache field in class:JDKClassLoader.JDKClassLoaderCache
|
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/coders/ |
H A D | ComplexCoderDescriptor.java | 42 static Map<Pair<NType,NType>, ComplexCoderDescriptor> cache = new HashMap<Pair<NType,NType>, ComplexCoderDescriptor>(); field in class:ComplexCoderDescriptor 49 if(cache.containsKey(cacheKey)) return cache.get(cacheKey); 55 cache.put(cacheKey, newDesc);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/ |
H A D | MemoryCredentialsCache.java | 38 //Windows supports the "API: cache" type, which is a shared memory cache. This is 40 //MemoryCredentialsCache will provide future functions to access shared memeory cache on 44 * cache on Windows platforms. 59 public abstract boolean exists(String cache); argument
|
/openjdk7/jdk/src/macosx/classes/sun/font/ |
H A D | CCharToGlyphMapper.java | 33 private Cache cache = new Cache(); field in class:CCharToGlyphMapper 120 final int glyph = cache.get(unicode); 127 cache.put(unicode, glyphArray[0]); 146 cache.get(count, unicodes, glyphs); 174 // <rdar://problem/5331678> need to prevent getting '-1' stuck in the cache 220 final int[][] cache; field in class:CCharToGlyphMapper.Cache.SparseBitShiftingTwoLayerArray 228 this.cache = new int[1 << shift][]; 234 final int[] firstLayerRow = cache[firstIndex]; 241 int[] firstLayerRow = cache[firstIndex]; 243 cache[firstInde [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | MemoryCache.java | 43 * and the length of the cache is always the same as the 48 * <p> The total number of blocks resident in the cache must not 51 * issue, since a full cache would contain 8192*2^31 = 16 terabytes of 61 private ArrayList cache = new ArrayList(); field in class:MemoryCache 66 * The largest position ever written to the cache. 73 // This can only happen when the cache hits 16 terabytes of 77 return (byte[])cache.get((int)blockOffset); 106 throw new IOException("No memory left for cache!"); 119 cache.add(buf); 137 * Writes out a portion of the cache t [all...] |
/openjdk7/jdk/test/sun/security/krb5/ccache/ |
H A D | EmptyCC.java | 49 CredentialsCache cache = CredentialsCache.create(pn, ccache); 50 cache.save();
|
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | Collator.java | 237 Collator result = (Collator) cache.get(desiredLocale); 286 cache.put(desiredLocale,result); 503 private static SoftCache cache = new SoftCache(); field in class:Collator 542 // put this Collator instance in the cache for two locales, one 545 cache.put((Locale)params[0], result); 546 cache.put(locale, result);
|