Searched refs:byteLength (Results 1 - 25 of 35) sorted by relevance

12

/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DStandardFileFormat.java42 private final long byteLength; field in class:StandardFileFormat
66 * @param byteLength the length of the file in bytes, or
72 StandardFileFormat(final Type type, final long byteLength, argument
74 super(type, clip(byteLength), format, clip(frameLength));
75 this.byteLength = byteLength;
112 return byteLength;
H A DAiffFileFormat.java70 AiffFileFormat(final Type type, final long byteLength, argument
72 super(type, byteLength, format, frameLength);
H A DWaveFileFormat.java76 WaveFileFormat(final AudioFileFormat.Type type, final long byteLength, argument
78 super(type, byteLength, format, frameLength);
H A DAuFileFormat.java67 AuFileFormat(final AudioFileFormat.Type type, final long byteLength, argument
69 super(type, byteLength, format, frameLength);
H A DAuFileReader.java144 long byteLength = AudioSystem.NOT_SPECIFIED;
147 byteLength = dataSize + headerSize;
152 return new AuFileFormat(Type.AU, byteLength, format, frameLength);
/openjdk10/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/
H A DClassFile.java146 public int byteLength() { method in class:ClassFile
150 constant_pool.byteLength() +
154 byteLength(interfaces) +
155 byteLength(fields) +
156 byteLength(methods) +
157 attributes.byteLength();
160 private int byteLength(int[] indices) { method in class:ClassFile
164 private int byteLength(Field[] fields) { method in class:ClassFile
167 length += f.byteLength();
171 private int byteLength(Metho method in class:ClassFile
[all...]
H A DField.java53 public int byteLength() { method in class:Field
54 return 6 + attributes.byteLength();
H A DMethod.java53 public int byteLength() { method in class:Method
54 return 6 + attributes.byteLength();
H A DAttributes.java106 public int byteLength() { method in class:Attributes
109 length += a.byteLength();
H A DConstantPool.java252 public int byteLength() { method in class:ConstantPool
256 length += cpInfo.byteLength();
383 public abstract int byteLength(); method in class:ConstantPool.CPInfo
409 public int byteLength() { method in class:ConstantPool.CPRefInfo
445 public int byteLength() { method in class:ConstantPool.CONSTANT_Class_info
511 public int byteLength() { method in class:ConstantPool.CONSTANT_Double_info
564 public int byteLength() { method in class:ConstantPool.CONSTANT_Float_info
593 public int byteLength() { method in class:ConstantPool.CONSTANT_Integer_info
645 public int byteLength() { method in class:ConstantPool.CONSTANT_InvokeDynamic_info
684 public int byteLength() { method in class:ConstantPool.CONSTANT_Long_info
717 public int byteLength() { method in class:ConstantPool.CONSTANT_MethodHandle_info
761 public int byteLength() { method in class:ConstantPool.CONSTANT_MethodType_info
815 public int byteLength() { method in class:ConstantPool.CONSTANT_Module_info
857 public int byteLength() { method in class:ConstantPool.CONSTANT_NameAndType_info
897 public int byteLength() { method in class:ConstantPool.CONSTANT_Package_info
937 public int byteLength() { method in class:ConstantPool.CONSTANT_String_info
970 public int byteLength() { method in class:ConstantPool.CONSTANT_Utf8_info
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/sound/sampled/
H A DAudioFileFormat.java101 private final int byteLength; field in class:AudioFileFormat
124 * @param byteLength the length of the file in bytes, or
131 protected AudioFileFormat(Type type, int byteLength, AudioFormat format, int frameLength) { argument
134 this.byteLength = byteLength;
197 return byteLength;
277 if (byteLength != AudioSystem.NOT_SPECIFIED) {
278 buf.append(", byte length: " + byteLength);
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeArrayBuffer.java75 * @param byteLength byteLength for buffer
77 protected NativeArrayBuffer(final int byteLength) { argument
78 this(ByteBuffer.allocateDirect(byteLength));
143 public static int byteLength(final Object self) { method in class:NativeArrayBuffer
170 final int byteLength = arrayBuffer.getByteLength();
171 final int begin = adjustIndex(JSType.toInt32(begin0), byteLength);
172 final int end = adjustIndex(end0 != ScriptRuntime.UNDEFINED ? JSType.toInt32(end0) : byteLength, byteLength);
186 final int byteLength
[all...]
H A DArrayBufferView.java87 private static void checkConstructorArgs(final int byteLength, final int bytesPerElement, final int byteOffset, final int elementLength) { argument
90 } else if (byteOffset + elementLength * bytesPerElement > byteLength) {
91 throw new RuntimeException("byteOffset + byteLength out of range, byteOffset=" + byteOffset + ", elementLength=" + elementLength + ", bytesPerElement=" + bytesPerElement);
127 public static int byteLength(final Object self) { method in class:ArrayBufferView
265 throw new RuntimeException("buffer.byteLength - byteOffset must be a multiple of the element size");
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DByteVector.java250 int byteLength = i;
254 byteLength++;
256 byteLength += 3;
258 byteLength += 2;
261 data[length] = (byte) (byteLength >>> 8);
262 data[length + 1] = (byte) byteLength;
263 if (length + 2 + byteLength > data.length) {
265 enlarge(2 + byteLength);
/openjdk10/nashorn/test/script/basic/
H A Ddataview_new.js43 if (dv.byteLength != length) {
44 fail("DataView.byteLength = " + dv.byteLength + ", expected " + length);
H A Dtypedarrays.js33 if (ab.byteLength != l) {
34 throw "length error: " + ab.byteLength + " != " + l;
56 mem1.byteLength;
H A DJDK-8036743.js37 print("abuf.byteLength = " + abuf.byteLength);
H A DNASHORN-377-payload.js91 print(i8.buffer.byteLength, b.byteLength, i8.buffer === b, b.length);
99 print(x.byteOffset, x.byteLength, x.length, x.constructor.BYTES_PER_ELEMENT);
115 print(arrstr(i8_2, 6) + " " + i8_2.byteOffset + " " + i8_2.byteLength);
116 print(arrstr(i8_2_4, 4) + " " + i8_2_4.byteOffset + " " + i8_2_4.byteLength);
120 print(arrstr(i8_1_5, 4) + " " + i8_1_5.byteOffset + " " + i8_1_5.byteLength);
/openjdk10/jdk/src/java.desktop/share/classes/javax/sound/midi/
H A DMidiFileFormat.java113 protected int byteLength; field in class:MidiFileFormat
148 this.byteLength = bytes;
226 return byteLength;
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/
H A DByteVector.java289 int byteLength = i;
294 byteLength++;
296 byteLength += 3;
298 byteLength += 2;
301 if (byteLength > maxByteLength) {
306 data[start] = (byte) (byteLength >>> 8);
307 data[start + 1] = (byte) byteLength;
309 if (length + byteLength - i > data.length) {
310 enlarge(byteLength - i);
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/io/
H A DUCSReader.java164 int byteLength = length << ((fEncoding >= 4)?2:1);
165 if (byteLength > fBuffer.length) {
166 byteLength = fBuffer.length;
168 int count = fInputStream.read(fBuffer, 0, byteLength);
/openjdk10/jdk/test/javax/sound/sampled/spi/AudioFileReader/
H A DRecognizeHugeAuFiles.java98 * Note that the frameLength and byteLength are stored as int which means
129 final long byteLength = size + AU_HEADER;
130 if (byteLength <= Integer.MAX_VALUE) {
131 if (aff.getByteLength() != byteLength) {
132 System.err.println("Expected: " + byteLength);
/openjdk10/langtools/test/tools/javap/
H A DT6866657.java27 * @summary add byteLength() method to primary classfile types
63 expectEqual(cfInfo.cf.byteLength(), cfInfo.size);
H A DT7186925.java59 expectEqual(cfInfo.cf.byteLength(), cfInfo.size);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/arraycopy/
H A DUnsafeArrayCopySnippets.java78 long byteLength = (long) length * elementSize;
87 if (byteLength >= VECTOR_SIZE && (srcOffset % VECTOR_SIZE) == (destOffset % VECTOR_SIZE)) {
89 postLoopBytes = (byteLength - preLoopBytes) % VECTOR_SIZE;
90 mainLoopBytes = byteLength - preLoopBytes - postLoopBytes;
94 preLoopBytes = byteLength % VECTOR_SIZE;
95 mainLoopBytes = byteLength - preLoopBytes;
99 preLoopBytes = byteLength;
107 srcOffset += byteLength;
108 destOffset += byteLength;

Completed in 408 milliseconds

12