/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | zutil.c | 240 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument 243 ulg bsize = (ulg)items*size; 299 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument 302 return _halloc((long)items, size); 319 extern voidp malloc OF((uInt size)); 320 extern voidp calloc OF((uInt items, uInt size)); 324 voidpf zcalloc (opaque, items, size) 327 unsigned size; 329 if (opaque) items += size - size; /* mak [all...] |
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngmem.c | 71 png_size_t size; local 75 size = png_sizeof(png_info); 78 size = png_sizeof(png_struct); 89 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); 94 struct_ptr = (png_voidp)farmalloc(size); 96 png_memset(struct_ptr, 0, size); 132 /* Allocate memory. For reasonable files, size should never exceed 146 * Note that we can't use png_size_t for the "size" declaration, 152 png_calloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) 156 ret = (png_malloc(png_ptr, size)); 151 PNG_FUNCTION(png_voidp,PNGAPI png_calloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) argument 164 PNG_FUNCTION(png_voidp,PNGAPI png_malloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) argument 185 PNG_FUNCTION(png_voidp,PNGAPI png_malloc_default,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) argument 420 png_size_t size; local 512 PNG_FUNCTION(png_voidp,PNGAPI png_calloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) argument 525 PNG_FUNCTION(png_voidp,PNGAPI png_malloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) argument 546 PNG_FUNCTION(png_voidp,PNGAPI png_malloc_default,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) argument 650 PNG_FUNCTION(png_voidp,PNGAPI png_malloc_warn,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KDCOptions.java | 154 public KDCOptions(int size, byte[] data) throws Asn1Exception { argument 155 super(size, data); 156 if ((size > data.length * BITS_PER_UNIT) || (size > Krb5.KDC_OPTS_MAX + 1))
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | crc32.java | 233 public static int byte2crc32sum(int seed, byte[] data, int size) { argument 236 for (int i = 0; i < size; i++) 260 public static byte[] byte2crc32sum_bytes(byte[] data, int size) { argument 261 int temp = byte2crc32sum(0, data, size);
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | SSLSessionContextImpl.java | 50 private int cacheLimit; // the max cache size 57 cacheLimit = getDefaultCacheLimit(); // default cache size 120 * Sets the size of the cache used for storing 123 public void setSessionCacheSize(int size) argument 125 if (size < 0) 128 if (cacheLimit != size) { 129 sessionCache.setCapacity(size); 130 sessionHostPortCache.setCapacity(size); 131 cacheLimit = size; 136 * Gets the size o [all...] |
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | GeneralSubtrees.java | 108 public int size() { method in class:GeneralSubtrees 109 return trees.size(); 140 for (int i = 0, n = size(); i < n; i++) { 194 for (int i = 0; i < size(); i++) { 199 for (int j = i + 1; j < size(); j++) { 331 if (size() == 0) { 350 for (int i = 0; i < size(); i++) { 360 for (int j = 0; j < other.size(); j++) { 396 for (int j = 0; j < size(); j++) { 400 for (int k = 0; k < other.size(); [all...] |
H A D | RDN.java | 154 assertion = avaVec.toArray(new AVA[avaVec.size()]); 230 assertion = avaVec.toArray(new AVA[avaVec.size()]); 292 public int size() { method in class:RDN 468 for (int i = 0; i < avaList.size(); i++) {
|
/openjdk7/jdk/src/share/classes/sun/text/ |
H A D | IntHashtable.java | 49 public int size() { method in class:IntHashtable 98 if (other.size() != count || other.defaultValue != defaultValue) {
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/ |
H A D | OutputTests.java | 160 int size; field in class:OutputTests.Context 166 size = env.getIntValue(sizeList);
|
/openjdk7/jdk/test/java/util/AbstractCollection/ |
H A D | ToArrayTest.java | 49 * Sets the values that size() will return on each use. The next 50 * call to size will return sizes[0], then sizes[1] etc. This allows us 62 /* can change collection's size after each invocation */ 64 public int size() { method in class:ToArrayTest.TestCollection
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | NotificationAccessControllerTest.java | 155 public int checkNotifs(int size, argument 158 if (received.size() != size) { 159 echo("Error: expecting " + size + " notifications, got " + 160 received.size());
|
H A D | NotificationEmissionTest.java | 101 public int checkNotifs(int size, argument 104 if (received.size() != size) { 105 echo("Error: expecting " + size + " notifications, got " + 106 received.size()); 298 while (li.notifs.size() < expectedNotifs &&
|
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | ChunkedOutputStream.java | 35 /* Default chunk size (including chunk header) if not specified */ 46 /* size of data (excluding footers and headers) already stored in buf */ 47 private int size; field in class:ChunkedOutputStream 57 /* the chunk size we use */ 64 /* return the size of the header for a particular chunk size */ 65 private static int getHeaderSize(int size) { argument 66 return (Integer.toHexString(size)).length() + CRLF_SIZE; 69 /* return a header for a particular chunk size */ 70 private static byte[] getHeader(int size){ argument 90 ChunkedOutputStream(PrintStream o, int size) argument 273 public int size() { method in class:ChunkedOutputStream [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | AsynchronousFileChannelImpl.java | 107 long size, 114 long size, 118 return implLock(position, size, shared, null, null); 123 long size, 130 implLock(position, size, shared, attachment, handler); 162 protected final FileLockImpl addToFileLockTable(long position, long size, boolean shared) { argument 176 fli = new FileLockImpl(this, position, size, shared); 106 implLock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument 113 lock(long position, long size, boolean shared) argument 122 lock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument
|
H A D | FileLockTable.java | 152 checkList(list, fl.position(), fl.size()); 183 while (index < list.size()) { 204 while (index < list.size()) { 235 for (int index=0; index<list.size(); index++) { 248 private void checkList(List<FileLockReference> list, long position, long size) argument 254 if (fl != null && fl.overlaps(position, size))
|
H A D | IOVecWrapper.java | 55 private final int size; field in class:IOVecWrapper 68 // Address size in bytes 85 private IOVecWrapper(int size) { argument 86 this.size = size; 87 this.buf = new ByteBuffer[size]; 88 this.position = new int[size]; 89 this.remaining = new int[size]; 90 this.shadow = new ByteBuffer[size]; 91 this.vecArray = new AllocatedNativeObject(size * SIZE_IOVE 95 get(int size) argument [all...] |
H A D | NativeObject.java | 46 // may be smaller than the base address due to page-size rounding 73 protected NativeObject(int size, boolean pageAligned) { argument 75 this.allocationAddress = unsafe.allocateMemory(size); 79 long a = unsafe.allocateMemory(size + ps); 117 * The offset of the address to be read. Note that the size of an 133 throw new InternalError("Address size not supported"); 145 * size of an address is implementation-dependent. 159 throw new InternalError("Address size not supported"); 356 * Returns the native architecture's address size in bytes. 358 * @return The address size o [all...] |
H A D | SimpleAsynchronousFileChannelImpl.java | 107 public long size() throws IOException { method in class:SimpleAsynchronousFileChannelImpl 114 n = nd.size(fdObj); 126 public AsynchronousFileChannel truncate(long size) throws IOException { argument 127 if (size < 0L) 128 throw new IllegalArgumentException("Negative size"); 137 n = nd.size(fdObj); 140 // truncate file if 'size' less than current size 141 if (size < n && isOpen()) { 143 n = nd.truncate(fdObj, size); 174 implLock(final long position, final long size, final boolean shared, final A attachment, final CompletionHandler<FileLock,? super A> handler) argument 244 tryLock(long position, long size, boolean shared) argument [all...] |
/openjdk7/jdk/src/share/sample/forkjoin/mergesort/ |
H A D | MergeDemo.java | 136 System.err.println("MergeExample <size start> <size step> <size steps> <parallel start> <parallel step>" + 194 for (int size = 0; size < sizes.getIterations(); size++) { 195 runForSize(parallelism, sizes.get(size), times, size); 215 for (int size = 0; size < size 230 runForSize(Range parallelism, int elements, long[][] times, int size) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | WindowDimensions.java | 31 private Dimension size; field in class:WindowDimensions 53 this.size = rec.getSize(); 61 public WindowDimensions(Point loc, Dimension size, Insets in, boolean isClient) { argument 62 this(new Rectangle(loc, size), in, isClient); 75 this.size = new Dimension(dims.size); 82 return new Rectangle(loc, size); 87 size.width-(insets.left+insets.right), 88 size.height-(insets.top+insets.bottom)); 90 return new Rectangle(loc, size); 95 setClientSize(Dimension size) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | LinuxNativeDispatcher.java | 66 * ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size); 83 * fsetxattr(int filedes, const char *name, const void *value, size_t size, int flags); 115 * size_t flistxattr(int filedes, const char *list, size_t size) 117 static native int flistxattr(int filedes, long listAddress, int size) argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | BitArray.java | 60 * Constructor. Defines the initial size of the bit array (in bits). 66 public BitArray(int size) { argument 67 if (size < 32) size = 32; 68 _bitSize = size; 73 public BitArray(int size, int[] bits) { argument 74 if (size < 32) size = 32; 75 _bitSize = size; 96 * Returns the size o 98 public final int size() { method in class:BitArray [all...] |
H A D | DocumentCache.java | 156 public DocumentCache(int size) throws SAXException { argument 157 this(size, null); 169 public DocumentCache(int size, XSLTCDTMManager dtmManager) throws SAXException { argument 173 _size = size; 329 "<font size=-1>"+_URIs[i]+"</font></a></td>");
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/util/ |
H A D | IntegerArray.java | 40 public IntegerArray(int size) { argument 41 _array = new int[_size = size]; 186 private void growArray(int size) { argument 187 final int[] newArray = new int[_size = size];
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/ |
H A D | XSNamedMapImpl.java | 222 public int size() { method in class:XSNamedMapImpl 254 public int size() {
|