/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | Converters.java | 64 private static final int CACHE_SIZE = 3; field in class:Converters 69 /* Cached converter classes, CACHE_SIZE per converter type. Each cache 91 new SoftReference<?>[CACHE_SIZE], 92 new SoftReference<?>[CACHE_SIZE] 104 for (int i = 0; i < CACHE_SIZE; i++) { 123 srs[CACHE_SIZE - 1] = new SoftReference<>(new Object[] { c, encoding }); 124 moveToFront(srs, CACHE_SIZE - 1); 134 for (int i = 0; i < CACHE_SIZE; i++) {
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | ThreadLocalCoders.java | 39 private static final int CACHE_SIZE = 3; field in class:ThreadLocalCoders 89 private static Cache decoderCache = new Cache(CACHE_SIZE) { 113 private static Cache encoderCache = new Cache(CACHE_SIZE) {
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | BufImgSurfaceData.java | 367 private static final int CACHE_SIZE = 5; field in class:BufImgSurfaceData 368 private static RenderLoops loopcache[] = new RenderLoops[CACHE_SIZE]; 369 private static SurfaceType typecache[] = new SurfaceType[CACHE_SIZE]; 371 for (int i = CACHE_SIZE - 1; i >= 0; i--) { 382 System.arraycopy(loopcache, 1, loopcache, 0, CACHE_SIZE-1); 383 System.arraycopy(typecache, 1, typecache, 0, CACHE_SIZE-1); 384 loopcache[CACHE_SIZE - 1] = l; 385 typecache[CACHE_SIZE - 1] = type;
|
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/ |
H A D | URICertStore.java | 100 private final static int CACHE_SIZE = 185; field in class:URICertStore 217 Cache.newSoftMemoryCache(CACHE_SIZE);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/ |
H A D | StreamReaderBufferProcessor.java | 64 private static final int CACHE_SIZE = 16; field in class:StreamReaderBufferProcessor 67 protected ElementStackEntry[] _stack = new ElementStackEntry[CACHE_SIZE]; 77 protected String[] _namespaceAIIsPrefix = new String[CACHE_SIZE]; 78 protected String[] _namespaceAIIsNamespaceName = new String[CACHE_SIZE];
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | SwingUtilities2.java | 82 // Maintain a cache of CACHE_SIZE fonts and the left side bearing 88 private static final int CACHE_SIZE = 6; field in class:SwingUtilities2 200 fontCache = new LSBCacheEntry[CACHE_SIZE]; 314 nextIndex = (nextIndex + 1) % CACHE_SIZE;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | GTKEngine.java | 62 private static final int CACHE_SIZE = 50; field in class:GTKEngine 116 private ImageCache cache = new ImageCache(CACHE_SIZE);
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageConv_D64nw.c | 569 #define CACHE_SIZE (64*1024) macro 590 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
|
H A D | mlib_ImageConv_F32nw.c | 569 #define CACHE_SIZE (64*1024) macro 590 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
|
H A D | mlib_ImageConv_32nw.c | 40 #define CACHE_SIZE (64*1024) macro 941 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
|
H A D | mlib_ImageConv_16ext.c | 1612 #define CACHE_SIZE (64*1024) macro 1639 max_hsize = ((CACHE_SIZE/sizeof(DTYPE))/sll) - (n - 1);
|
H A D | mlib_ImageConv_16nw.c | 77 #define CACHE_SIZE (64*1024) macro 1429 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
|
H A D | mlib_ImageConv_8ext.c | 1612 #define CACHE_SIZE (64*1024) macro 1639 max_hsize = ((CACHE_SIZE/sizeof(DTYPE))/sll) - (n - 1);
|
H A D | mlib_ImageConv_8nw.c | 78 #define CACHE_SIZE (64*1024) macro 1430 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
|
H A D | mlib_ImageConv_u16ext.c | 1612 #define CACHE_SIZE (64*1024) macro 1639 max_hsize = ((CACHE_SIZE/sizeof(DTYPE))/sll) - (n - 1);
|
H A D | mlib_ImageConv_u16nw.c | 77 #define CACHE_SIZE (64*1024) macro 1429 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
|