/openjdk7/jdk/src/share/native/sun/font/ |
H A D | AccelGlyphCache.c | 32 * When the cache is full, we will try to reuse the cache cells that have 45 * list describing the cache as new glyphs are added. Platform specific 50 * cache. There may be multiple glyph caches (for example, one per graphics 55 * GetCellInfoForCache method for retrieving cache infos from the glyph's list. 58 * cache then it one does not have to use AccelGlyphCache_GetCellInfoForCache 91 * Attempts to add the provided glyph to the specified cache. If the 92 * operation is successful, a pointer to the newly occupied cache cell is 95 * instead. If the cache is full, the least-recently-used glyph is 96 * invalidated and its cache cel 107 AccelGlyphCache_AddGlyph(GlyphCacheInfo *cache, GlyphInfo *glyph) argument 253 AccelGlyphCache_Invalidate(GlyphCacheInfo *cache) argument 285 AccelGlyphCache_Free(GlyphCacheInfo *cache) argument 394 AccelGlyphCache_GetCellInfoForCache(GlyphInfo *glyph, GlyphCacheInfo *cache) argument [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | cpCacheKlass.cpp | 62 // constantPoolCacheOop cache = (constantPoolCacheOop) 70 constantPoolCacheOop cache = (constantPoolCacheOop) obj; local 73 cache->set_length(length); // should become visible before klass is set below. 74 cache->set_constant_pool(NULL); 78 assert(cache->size() == size, "Incorrect cache->size()"); 79 return cache; 94 assert(obj->is_constantPoolCache(), "obj must be constant pool cache"); 95 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 98 // gc of constant pool cache instanc 109 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 123 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 139 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 155 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 174 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 192 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 208 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 217 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local 226 constantPoolCacheOop cache = (constantPoolCacheOop)obj; local [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | MemoryCacheImageInputStream.java | 37 * used to cache at least the data between the discard position and 50 private MemoryCache cache = new MemoryCache(); field in class:MemoryCacheImageInputStream 73 disposerRecord = new StreamDisposerRecord(cache); 85 long pos = cache.loadFromStream(stream, streamPos+1); 87 return cache.read(streamPos++); 110 long pos = cache.loadFromStream(stream, streamPos+len); 115 cache.read(b, off, len, streamPos); 125 cache.disposeBefore(pos); 144 * <code>ImageInputStream</code> does not maintain a file cache. 157 * <code>ImageInputStream</code> maintains a main memory cache 189 private MemoryCache cache; field in class:MemoryCacheImageInputStream.StreamDisposerRecord 191 StreamDisposerRecord(MemoryCache cache) argument [all...] |
H A D | MemoryCacheImageOutputStream.java | 34 * used to cache at least the data between the discard position and 38 * the stream that have already been written to the cache and not 46 private MemoryCache cache = new MemoryCache(); field in class:MemoryCacheImageOutputStream 69 int val = cache.read(streamPos); 95 // no more bytes left to read from cache 96 long bytesLeftInCache = cache.getLength() - streamPos; 102 // and so the rest of the error checking is done by cache.read() 105 cache.read(b, off, len, streamPos); 112 cache.write(b, streamPos); 118 cache [all...] |
H A D | FileCacheImageInputStream.java | 41 * cache previously read data. 50 private RandomAccessFile cache; field in class:FileCacheImageInputStream 63 /** The DisposerRecord that closes the underlying cache. */ 74 * <p> A temporary file is used as a cache. If 83 * cache file should be created, or <code>null</code> to use the 90 * @exception IOException if a cache file cannot be created. 106 this.cache = new RandomAccessFile(cacheFile, "rw"); 111 disposerRecord = new StreamDisposerRecord(cacheFile, cache); 137 cache.seek(length); 139 // Copy a buffer's worth of data from the source to the cache 269 private RandomAccessFile cache; field in class:FileCacheImageInputStream.StreamDisposerRecord 271 StreamDisposerRecord(File cacheFile, RandomAccessFile cache) argument [all...] |
H A D | FileCacheImageOutputStream.java | 38 * cache data until it is flushed to the output stream. 47 private RandomAccessFile cache; field in class:FileCacheImageOutputStream 60 * <p> A temporary file is used as a cache. If 69 * cache file should be created, or <code>null</code> to use the 76 * @exception IOException if a cache file cannot be created. 92 this.cache = new RandomAccessFile(cacheFile, "rw"); 101 int val = cache.read(); 125 int nbytes = cache.read(b, off, len); 134 cache.write(b); 141 cache [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Brush.cpp | 28 GDIHashtable AwtBrush::cache("Brush cache", DeleteAwtBrush); 44 cache.flushAll(); 58 CriticalSection::Lock l(cache.getManagerLock()); 60 AwtBrush* obj = static_cast<AwtBrush*>(cache.get( 64 VERIFY(cache.put(reinterpret_cast<void*>( 73 CriticalSection::Lock l(cache.getManagerLock()); 76 cache.release(reinterpret_cast<void*>(
|
H A D | awt_Pen.cpp | 28 GDIHashtable AwtPen::cache("Pen cache", DeleteAwtPen); 44 cache.flushAll(); 58 CriticalSection::Lock l(cache.getManagerLock()); 60 AwtPen* obj = static_cast<AwtPen*>(cache.get( 64 VERIFY(cache.put( 74 CriticalSection::Lock l(cache.getManagerLock()); 77 cache.release(
|
H A D | awt_Brush.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:AwtBrush
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | Utils.java | 39 static final Hashtable cache; field in class:Utils.CacheHolder 41 cache = new Hashtable(); 63 Object o = CacheHolder.cache.get(classname); 66 // class was not in the cache, so try to load it 72 CacheHolder.cache.put(classname, c);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/ |
H A D | CredentialsCache.java | 59 public static CredentialsCache getInstance(String cache) { argument 60 if ((cache.length() >= 5) && cache.substring(0, 5).equalsIgnoreCase("FILE:")) { 61 return FileCredentialsCache.acquireInstance(null, cache.substring(5)); 63 // XXX else, memory credential cache 64 // default is file credential cache. 65 return FileCredentialsCache.acquireInstance(null, cache); 69 String cache) { 72 if (cache != null && 73 (cache 68 getInstance(PrincipalName principal, String cache) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/util/ |
H A D | CacheMap.java | 68 cache(key); 73 cache(Util.<K>cast(key)); 81 cache but never removed. But the behavior is not wrong if 85 private void cache(K key) { method in class:CacheMap 86 Iterator<SoftReference<K>> it = cache.iterator(); 95 cache.add(0, sref); 100 int size = cache.size(); 107 cache.add(0, new SoftReference<K>(key)); 118 private final LinkedList<SoftReference<K>> cache = field in class:CacheMap
|
/openjdk7/jdk/test/java/lang/ThreadLocal/ |
H A D | ImmutableLocal.java | 44 private static final ThreadLocal cache = new ImmutableThreadLocal() { field in class:ImmutableLocal 51 System.out.println("cache.get() = " + cache.get());
|
/openjdk7/hotspot/test/compiler/8010927/ |
H A D | Test8010927.java | 78 static final Object[] cache = new Object[(surv_size / card_size)]; field in class:Test8010927 88 // Move cache[] to the old gen. 89 long low_limit = wb.getObjectAddress(cache); 91 // Move 'cache' to oldgen. 92 long upper_limit = wb.getObjectAddress(cache); 99 // cache[] has 8192 elements so GC should happen 115 long addr = wb.getObjectAddress(cache[top_index]); 122 for (int i = 0; i < cache.length; ++i) { 125 cache[i] = o; 132 for (int i = 0; i < cache [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/ |
H A D | RepositoryIdCache.java | 43 private RepositoryIdCache cache; field in class:RepositoryIdPool 59 //if (cache.size() <= MAX_CACHE_SIZE) 67 int numToReclaim = cache.size() / 2; 68 Enumeration keys = cache.keys(); 69 Enumeration elements = cache.elements(); 75 cache.remove(key); 81 final void setCaches(RepositoryIdCache cache) { argument 82 this.cache = cache;
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | AuthCacheValue.java | 32 * AuthCacheValue: interface to minimise exposure to authentication cache 48 static protected AuthCache cache = new AuthCacheImpl(); field in class:AuthCacheValue 51 cache = map;
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | PiscesTileGenerator.java | 43 PiscesCache cache; field in class:PiscesTileGenerator 48 // The alpha map used by this object (taken out of our map cache) to convert 54 this.cache = r.getCache(); 55 this.x = cache.bboxX0; 56 this.y = cache.bboxY0; 79 bbox[0] = cache.bboxX0; 80 bbox[1] = cache.bboxY0; 81 bbox[2] = cache.bboxX1; 82 bbox[3] = cache.bboxY1; 113 int al = cache [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | JDK13Services.java | 57 /** The default for the length of the period to hold the cache. 76 /** The length of the period to hold the cache. 117 ProviderCache cache = (ProviderCache) providersCacheMap.get(serviceClass); 118 if (cache == null) { 119 cache = new ProviderCache(); 120 providersCacheMap.put(serviceClass, cache); 122 if (cache.providers == null || 123 System.currentTimeMillis() > cache.lastUpdate + cachingPeriod) { 124 cache.providers = Collections.unmodifiableList(JSSecurityManager.getProviders(serviceClass)); 125 cache [all...] |
H A D | MidiUtils.java | 134 * @param cache tempo info and current tempo 136 public static long tick2microsecond(Sequence seq, long tick, TempoCache cache) { argument 142 if (cache == null) { 143 cache = new TempoCache(seq); 148 long[] ticks = cache.ticks; 149 int[] tempos = cache.tempos; // in MPQ 153 int snapshotIndex = cache.snapshotIndex; 154 int snapshotMicro = cache.snapshotMicro; 178 cache.snapshotIndex = snapshotIndex; 179 cache 187 microsecond2tick(Sequence seq, long micros, TempoCache cache) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/internal/ |
H A D | SnmpSecurityModel.java | 42 * @param cache The cache that has been created by calling <CODE>createSecurityCache</CODE> on this model. 56 public int generateRequestMsg(SnmpSecurityCache cache, argument 74 * @param cache The cache that has been created by calling <CODE>createSecurityCache</CODE> on this model. 88 public int generateResponseMsg(SnmpSecurityCache cache, argument 105 * @param cache The cache that has been created by calling <CODE>createSecurityCache</CODE> on this model. 121 processIncomingRequest(SnmpSecurityCache cache, argument 137 * @param cache Th 152 processIncomingResponse(SnmpSecurityCache cache, int version, int msgID, int msgMaxSize, byte msgFlags, int msgSecurityModel, byte[] params, byte[] contextEngineID, byte[] contextName, byte[] data, byte[] encryptedPdu, SnmpDecryptedPdu decryptedPdu) argument 175 releaseSecurityCache(SnmpSecurityCache cache) argument [all...] |
H A D | SnmpSecuritySubSystem.java | 42 * @return The model dependant security cache. 46 * To release the previously created cache. This call is routed to the dedicated model according to the model ID. 48 * @param cache The security cache to release. 51 SnmpSecurityCache cache) throws SnmpUnknownSecModelException; 56 * @param cache The cache that has been created by calling <CODE>createSecurityCache</CODE> on this model. 70 public int generateRequestMsg(SnmpSecurityCache cache, argument 87 * @param cache The cache tha 50 releaseSecurityCache(int id, SnmpSecurityCache cache) argument 101 generateResponseMsg(SnmpSecurityCache cache, int version, int msgID, int msgMaxSize, byte msgFlags, int msgSecurityModel, SnmpSecurityParameters params, byte[] contextEngineID, byte[] contextName, byte[] data, int dataLength, byte[] outputBytes) argument 134 processIncomingRequest(SnmpSecurityCache cache, int version, int msgID, int msgMaxSize, byte msgFlags, int msgSecurityModel, byte[] params, byte[] contextEngineID, byte[] contextName, byte[] data, byte[] encryptedPdu, SnmpDecryptedPdu decryptedPdu) argument 165 processIncomingResponse(SnmpSecurityCache cache, int version, int msgID, int msgMaxSize, byte msgFlags, int msgSecurityModel, byte[] params, byte[] contextEngineID, byte[] contextName, byte[] data, byte[] encryptedPdu, SnmpDecryptedPdu decryptedPdu) argument [all...] |
/openjdk7/hotspot/test/compiler/6724218/ |
H A D | Test.java | 39 static Test cache = null; field in class:Test 47 t.next = cache; 49 cache = t; 60 t = cache; 61 cache = t.next;
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ClassValue.java | 40 * it can use a {@code ClassValue} to cache information needed to 101 Entry<?>[] cache; 102 Entry<T> e = probeHomeLocation(cache = getCacheCarefully(type), this); 103 // racing e : current value <=> stale value from current cache or from stale cache 112 // 2. hash code collision (before or after reduction mod cache.length) 115 return getFromBackup(cache, type); 186 /** Return the cache, if it exists, else a dummy empty cache. */ 191 Entry<?>[] cache 205 getFromBackup(Entry<?>[] cache, Class<?> type) argument 526 loadFromCache(Entry<?>[] cache, int i) argument 534 probeHomeLocation(Entry<?>[] cache, ClassValue<T> classValue) argument 539 probeBackupLocations(Entry<?>[] cache, ClassValue<T> classValue) argument 575 entryDislocation(Entry<?>[] cache, int pos, Entry<?> e) argument 617 removeStaleEntries(Entry<?>[] cache, int begin, int count) argument 641 findReplacement(Entry<?>[] cache, int home1) argument 722 placeInCache(Entry<?>[] cache, int pos, Entry<?> e, boolean gently) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/ |
H A D | DebuggerBase.java | 28 implementations. It can use a PageCache to cache data from the 62 private PageCache cache; field in class:DebuggerBase 68 // Page-fetching functionality for LRU cache 149 ((cache != null) && 169 cache but may not be overridden */ 171 cache = new PageCache(pageSize, maxNumPages, new Fetcher()); 178 description is not available at the time of cache 184 /** May be called by subclasses to clear out the cache but may not 186 cache has not been initialized. */ 188 if (cache ! [all...] |
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/ |
H A D | DirectoryLoader.java | 47 private Hashtable cache; field in class:DirectoryLoader 54 cache = new Hashtable(); 80 // Do we already have it in the cache? 82 result = (Class) cache.get(className); 114 // Add to cache... 116 cache.put(className, result);
|