Searched defs:offset (Results 176 - 200 of 840) sorted by relevance

1234567891011>>

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DLocalVariableTableElement.java62 private long offset; field in class:LocalVariableTableElement
64 public LocalVariableTableElement(OopHandle handle, long offset) { argument
66 this.offset = offset;
70 return (int) handle.getCIntegerAt(offset + offsetOfStartBCI, 2, true);
74 return (int) handle.getCIntegerAt(offset + offsetOfLength, 2, true);
78 return (int) handle.getCIntegerAt(offset + offsetOfNameCPIndex, 2, true);
82 return (int) handle.getCIntegerAt(offset + offsetOfDescriptorCPIndex, 2, true);
86 return (int) handle.getCIntegerAt(offset + offsetOfSignatureCPIndex, 2, true);
90 return (int) handle.getCIntegerAt(offset
[all...]
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DClip.java83 * @param offset the point at which to start copying, expressed in
100 public void open(AudioFormat format, byte[] data, int offset, int bufferSize) throws LineUnavailableException; argument
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSerialBlob.java295 * invalid offset value is set
318 * @param offset the offset in the <code>byte</code> array at which
319 * to start reading the bytes. The first offset position is
328 * invalid offset value is set; if number of bytes to be written
330 * values of the length and offset is greater than the Blob buffer
335 public int setBytes(long pos, byte[] bytes, int offset, int length) argument
338 if (offset < 0 || offset > bytes.length) {
339 throw new SerialException("Invalid offset i
[all...]
H A DSerialClob.java146 int offset = 0;
165 read = reader.read(buf, offset, (int)(len - offset));
166 offset += read;
358 * invalid offset value is set; if number of bytes to be written
360 * values of the length and offset is greater than the Clob buffer
368 * at character <code>offset</code>, to the <code>CLOB</code> value
377 * @param offset the offset into <code>str</code> to start reading
383 * invalid offset valu
387 setString(long pos, String str, int offset, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DStyledDocument.java79 * @param offset the start of the change >= 0
89 public void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace); argument
94 * @param offset the start of the change >= 0
104 public void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace); argument
129 * encloses the given offset within the document.
131 * @param pos the offset >= 0
138 * is at the given offset within the document.
140 * @param pos the offset >= 0
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DInlineView.java159 * in case <code>offset</code>, <code>pos</code>, or <code>len</code>
164 * @param offset the location in the document model
166 * would be the starting offset of the fragment
178 public View breakView(int axis, int offset, float pos, float len) { argument
179 return super.breakView(axis, offset, pos, len);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DDataBufferDouble.java117 * <code>offset</code> and <code>offset + size - 1</code> are
119 * must be large enough to hold <code>offset + size</code> elements.
129 * @param offset The offset of the first element of the array
132 public DataBufferDouble(double dataArray[], int size, int offset) { argument
133 super(UNTRACKABLE, TYPE_DOUBLE, size, 1, offset);
166 * corresponding offset. There must be an entry in the
241 return (int)(data[i+offset]);
269 data[i+offset]
[all...]
H A DDataBufferFloat.java118 * <code>offset</code> and <code>offset + size - 1</code> are
120 * must be large enough to hold <code>offset + size</code>
131 * @param offset The offset of the first element of the array
134 public DataBufferFloat(float dataArray[], int size, int offset) { argument
135 super(UNTRACKABLE, TYPE_FLOAT, size, 1, offset);
168 * corresponding offset. There must be an entry in the offsets
244 return (int)(data[i+offset]);
272 data[i+offset]
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DCharArrayReader.java65 * <tt>offset</tt>. The total number of <tt>char</tt> values that can be
67 * <tt>buf.length-offset</tt>, whichever is smaller.
70 * If <tt>offset</tt> is negative or greater than
75 * @param offset Offset of the first char to read
78 public CharArrayReader(char buf[], int offset, int length) { argument
79 if ((offset < 0) || (offset > buf.length) || (length < 0) ||
80 ((offset + length) < 0)) {
84 this.pos = offset;
85 this.count = Math.min(offset
[all...]
H A DObjectStreamField.java56 /** offset of field value in enclosing field group */
57 private int offset = 0; field in class:ObjectStreamField
209 * @return the offset of this field
214 return offset;
220 * @param offset the offset of the field
224 protected void setOffset(int offset) { argument
225 this.offset = offset;
/openjdk7/jdk/src/share/classes/java/net/
H A DDatagramPacket.java59 int offset; field in class:DatagramPacket
67 * length <code>length</code>, specifying an offset into the buffer.
73 * @param offset the offset for the buffer
78 public DatagramPacket(byte buf[], int offset, int length) { argument
79 setData(buf, offset, length);
100 * <code>length</code> with offset <code>ioffset</code>to the
106 * @param offset the packet data offset.
114 public DatagramPacket(byte buf[], int offset, in argument
137 DatagramPacket(byte buf[], int offset, int length, SocketAddress address) argument
259 setData(byte[] buf, int offset, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/
H A DStringCharBuffer.java50 offset + this.position());
58 int offset) {
59 super(mark, pos, limit, cap, null, offset);
65 position(), limit(), capacity(), offset);
73 return str.charAt(nextGetIndex() + offset);
77 return str.charAt(checkIndex(index) + offset);
99 return str.toString().substring(start + offset, end + offset);
110 offset);
53 StringCharBuffer(CharSequence s, int mark, int pos, int limit, int cap, int offset) argument
/openjdk7/jdk/src/share/classes/java/security/
H A DSignatureSpi.java119 * specified array of bytes, starting at the specified offset.
122 * @param off the offset to start from in the array of bytes
123 * @param len the number of bytes to use, starting at offset
187 * <code>offset</code>.
203 * @param offset offset into <code>outbuf</code> where the signature is
224 protected int engineSign(byte[] outbuf, int offset, int len) argument
231 if (outbuf.length - offset < sig.length) {
236 System.arraycopy(sig, 0, outbuf, offset, sig.length);
257 * of bytes, starting at the specified offset
274 engineVerify(byte[] sigBytes, int offset, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DDictionaryBasedBreakIterator.java144 * (i.e., the CharacterIterator's starting offset).
145 * @return The offset of the beginning of the text.
156 * (i.e., the CharacterIterator's ending offset).
157 * @return The text's past-the-end offset.
198 * @param offset The position to begin searching from
199 * @return The position of the last boundary before "offset"
201 public int preceding(int offset) { argument
203 checkOffset(offset, text);
205 // if we have no cached break positions, or "offset" is outside the
209 if (cachedBreakPositions == null || offset <
236 following(int offset) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/
H A DAtomicReferenceFieldUpdater.java187 private final long offset; field in class:AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl
235 offset = unsafe.objectFieldOffset(field);
258 return unsafe.compareAndSwapObject(obj, offset, expect, update);
267 return unsafe.compareAndSwapObject(obj, offset, expect, update);
275 unsafe.putObjectVolatile(obj, offset, newValue);
283 unsafe.putOrderedObject(obj, offset, newValue);
289 return (V)unsafe.getObjectVolatile(obj, offset);
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DGZIPOutputStream.java139 * @param off the start offset of the data
199 * offset.
201 private void writeTrailer(byte[] buf, int offset) throws IOException { argument
202 writeInt((int)crc.getValue(), buf, offset); // CRC-32 of uncompr. data
203 writeInt(def.getTotalIn(), buf, offset + 4); // Number of uncompr. bytes
208 * given offset.
210 private void writeInt(int i, byte[] buf, int offset) throws IOException { argument
211 writeShort(i & 0xffff, buf, offset);
212 writeShort((i >> 16) & 0xffff, buf, offset + 2);
217 * at a given offset
219 writeShort(int s, byte[] buf, int offset) argument
[all...]
/openjdk7/hotspot/src/share/vm/libadt/
H A Dset.cpp87 int offset = (int)(s-buf);// Not enuf space; compute offset into buffer local
90 s = buf+offset; // Get working pointer into new bigger buffer
102 int offset = (int)(s-buf);// Not enuf space; compute offset into buffer local
105 s = buf+offset; // Get working pointer into new bigger buffer
/openjdk7/hotspot/src/share/vm/opto/
H A Dmacro.hpp45 Node* basic_plus_adr(Node* base, int offset) { argument
46 return (offset == 0)? base: basic_plus_adr(base, MakeConX(offset));
48 Node* basic_plus_adr(Node* base, Node* ptr, int offset) { argument
49 return (offset == 0)? ptr: basic_plus_adr(base, ptr, MakeConX(offset));
51 Node* basic_plus_adr(Node* base, Node* offset) { argument
52 return basic_plus_adr(base, base, offset);
54 Node* basic_plus_adr(Node* base, Node* ptr, Node* offset) { argument
55 Node* adr = new (C) AddPNode(base, ptr, offset);
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DBerDecoder.java43 public BerDecoder(byte buf[], int offset, int bufsize) { argument
47 this.origOffset = offset;
53 * Resets this decode to start parsing from the initial offset
57 offset = origOffset;
66 return offset;
89 if (bufsize - offset < lengthbyte) {
96 retval = (retval << 8) + (buf[offset++] & 0xff);
126 if (offset + i > bufsize || offset + i < 0) {
129 offset
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/sasl/
H A DSaslOutputStream.java74 public void write(byte[] buffer, int offset, int total) throws IOException { argument
89 wrappedToken = sc.wrap(buffer, offset+i, count);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDLSSample.java92 public void setData(byte[] data, int offset, int length) { argument
93 this.data = new ModelByteBuffer(data, offset, length);
H A DSoftLanczosResampler.java54 public static float[] sincTable(int size, float offset) { argument
58 float x = (-center + k + offset);
H A DSoftSincResampler.java60 public static float[] wHanning(int size, float offset) { argument
64 * Math.cos(2.0 * Math.PI * (double)(k + offset)
71 public static float[] sincTable(int size, float offset, float scale) { argument
73 float[] w = wHanning(size, offset);
75 w[k] *= sinc((-center + k + offset) * scale) * scale;
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/
H A DCramMD5Base.java76 public byte[] unwrap(byte[] incoming, int offset, int len) argument
92 public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException { argument
H A DExternalClient.java116 public byte[] unwrap(byte[] incoming, int offset, int len) argument
131 public byte[] wrap(byte[] outgoing, int offset, int len) argument

Completed in 122 milliseconds

1234567891011>>