/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | Options.java | 156 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 D | ZipFileAttributes.java | 100 public long size() { method in class:ZipFileAttributes 101 return e.size; 157 fm.format(" size : %d%n", size());
|
H A D | ZipFileStore.java | 129 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 D | utils.cpp | 49 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 D | PlatformMidi.c | 88 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 D | mlib_sys.c | 85 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 D | java_awt_SplashScreen.c | 209 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 D | GSSToken.java | 87 * @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 D | CksumType.java | 153 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 D | Crc32CksumType.java | 66 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 D | DesCbcEType.java | 39 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 D | DesMacCksumType.java | 68 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 D | RsaMd5DesCksumType.java | 76 * @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 D | Instruction.java | 95 * 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 D | ObjArrays.java | 66 * 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 D | StreamBuffer.java | 146 public StreamBuffer(int size) { argument 147 buf = new byte[size];
|
/openjdk7/jdk/test/java/security/Identity/ |
H A D | EqualsHashCodeContract.java | 123 public int size() { method in class:MyIdentityScope
|
/openjdk7/jdk/test/java/util/Arrays/ |
H A D | Correct.java | 43 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 D | BigBinarySearch.java | 49 public int size() { method in class:BigBinarySearch.SparseIntegerList
|
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/ |
H A D | TimeOutShrink.java | 36 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 D | RWMap.java | 59 public int size() { method in class:RWMap 61 try { return m.size(); }
|
/openjdk7/jdk/test/sun/awt/image/ImageRepresentation/ |
H A D | LUTCompareTest.java | 179 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 D | checkError.java | 128 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 D | PerfDataType.java | 44 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 D | Cache.java | 150 public int size() { method in class:Cache 202 * size exceeds the threshold.
|