Searched defs:size (Results 326 - 350 of 1126) sorted by relevance

<<11121314151617181920>>

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DOptions.java156 public int size() { method in class:Options
157 return values.size();
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileAttributes.java100 public long size() { method in class:ZipFileAttributes
101 return e.size;
157 fm.format(" size : %d%n", size());
H A DZipFileStore.java129 final long size; field in class:ZipFileStore.ZipFileStoreAttributes
135 this.size = Files.size(path);
140 return size;
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dutils.cpp49 void* must_malloc(size_t size) { argument
50 size_t msize = size;
57 memset(ptr, 0, size);
61 mtrace('m', ptr, size);
116 void mtrace(char c, void* ptr, size_t size) { argument
131 fprintf(mtfp, "%c %p %p\n", c, ptr, (void*)size);
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DPlatformMidi.c88 queue->size = 0;
111 if (queue->size == queue->capacity) {
119 queue->size++;
121 TRACE2("MIDI_QueueAddShort. index=%d, size=%d\n", queue->writeIndex, queue->size);
132 int MIDI_QueueAddLong(MidiMessageQueue* queue, UBYTE* data, UINT32 size, argument
136 if (queue->size == queue->capacity) {
144 queue->size++;
146 TRACE2("MIDI_QueueAddLong. index=%d, size=%d\n", queue->writeIndex, queue->size);
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_sys.c85 void *__mlib_malloc(mlib_u32 size) argument
92 return (void *) malloc(size);
94 return valloc(size);
96 return (void *) memalign(8, size);
100 void *__mlib_realloc(void *ptr, mlib_u32 size) argument
102 return realloc(ptr, size);
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Djava_awt_SplashScreen.c209 int size, rc; local
215 size = (*env)->GetArrayLength(env, data);
217 rc = SplashLoadMemory(pBytes, size);
/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DGSSToken.java87 * @size the number of bytes to read from the array.
90 public static final int readLittleEndian(byte[] data, int pos, int size) { argument
93 while (size > 0) {
97 size--;
102 public static final int readBigEndian(byte[] data, int pos, int size) { argument
104 int shifter = (size-1)*8;
105 while (size > 0) {
109 size--;
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A DCksumType.java153 public abstract byte[] calculateChecksum(byte[] data, int size) argument
156 public abstract byte[] calculateKeyedChecksum(byte[] data, int size, argument
159 public abstract boolean verifyKeyedChecksum(byte[] data, int size, argument
H A DCrc32CksumType.java66 public byte[] calculateChecksum(byte[] data, int size) { argument
67 return crc32.byte2crc32sum_bytes(data, size);
70 public byte[] calculateKeyedChecksum(byte[] data, int size, argument
75 public boolean verifyKeyedChecksum(byte[] data, int size, argument
H A DDesCbcEType.java39 protected abstract byte[] calculateChecksum(byte[] data, int size) argument
188 public void setChecksum(byte[] data, int size) throws KrbCryptoException{
190 byte[] cksum = calculateChecksum(data, size);
H A DDesMacCksumType.java68 public byte[] calculateChecksum(byte[] data, int size) { argument
75 * @param size length of the data.
81 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument
83 byte[] new_data = new byte[size + confounderSize()];
86 System.arraycopy(data, 0, new_data, confounderSize(), size);
126 * @param size the length of data.
133 public boolean verifyKeyedChecksum(byte[] data, int size, argument
137 byte[] new_data = new byte[size + confounderSize()];
139 System.arraycopy(data, 0, new_data, confounderSize(), size);
H A DRsaMd5DesCksumType.java76 * @param size length of the data.
82 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument
85 byte[] new_data = new byte[size + confounderSize()];
88 System.arraycopy(data, 0, new_data, confounderSize(), size);
121 * @param size the length of data.
128 public boolean verifyKeyedChecksum(byte[] data, int size, argument
134 byte[] new_data = new byte[size + confounderSize()];
136 System.arraycopy(data, 0, new_data, confounderSize(), size);
179 * @param size length of the data.
184 public byte[] calculateChecksum(byte[] data, int size) throw argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/asm/
H A DInstruction.java95 * value is used in determining how much size increase is
287 long entries = sw.tab.size();
508 * Return the size of the instruction
510 int size(ConstantPool tab) { method in class:Instruction
627 return n + 8 + sw.tab.size() * 8;
772 out.writeInt(sw.tab.size());
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DObjArrays.java66 * Arguments: <array size> <# batches> <# cycles per batch>
69 int size = Integer.parseInt(args[0]);
72 Node[][] arrays = genArrays(size, ncycles);
89 Node[][] genArrays(int size, int narrays) { argument
90 Node[][] arrays = new Node[narrays][size];
92 for (int j = 0; j < size; j++) {
H A DStreamBuffer.java146 public StreamBuffer(int size) { argument
147 buf = new byte[size];
/openjdk7/jdk/test/java/security/Identity/
H A DEqualsHashCodeContract.java123 public int size() { method in class:MyIdentityScope
/openjdk7/jdk/test/java/util/Arrays/
H A DCorrect.java43 int size = rnd.nextInt(TEST_SIZE) + 1;
44 array1 = (Object[])getIntegerArray(size);
53 int size = rnd.nextInt(TEST_SIZE) + 1;
54 array1 = (Object[])getIntegerArray(size);
63 static Integer[] getIntegerArray(int size) throws Exception { argument
64 Integer[] blah = new Integer[size];
65 for (int x=0; x<size; x++) {
/openjdk7/jdk/test/java/util/Collections/
H A DBigBinarySearch.java49 public int size() { method in class:BigBinarySearch.SparseIntegerList
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DTimeOutShrink.java36 int size, int core, int max) {
37 equal(pool.getPoolSize(), size);
35 checkPoolSizes(ThreadPoolExecutor pool, int size, int core, int max) argument
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/
H A DRWMap.java59 public int size() { method in class:RWMap
61 try { return m.size(); }
/openjdk7/jdk/test/sun/awt/image/ImageRepresentation/
H A DLUTCompareTest.java179 private static int getNumBits(int size) { argument
180 if (size < 0) {
181 throw new RuntimeException("Invalid palette size: " + size);
182 } else if (size < 3) {
184 } else if (size < 5) {
187 throw new RuntimeException("Palette size is not supported: " + size);
/openjdk7/jdk/test/sun/net/www/http/ChunkedOutputStream/
H A DcheckError.java128 static byte[] getThickBuffer(int size) { argument
130 byte[] buffer = new byte[size];
132 for (int i = 0; i < size; i++) {
225 //reading bytes until chunk whose size is zero,
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/
H A DPerfDataType.java44 private final int size; field in class:PerfDataType
68 public int size() { method in class:PerfDataType
69 return size;
88 private PerfDataType(String name, String c, int size) { argument
90 this.size = size;
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCache.java150 public int size() { method in class:Cache
202 * size exceeds the threshold.

Completed in 1602 milliseconds

<<11121314151617181920>>