Searched refs:offset (Results 1 - 25 of 1222) sorted by relevance

1234567891011>>

/openjdk7/hotspot/src/share/vm/oops/
H A DklassOop.hpp49 oop obj_field(int offset) const;
50 volatile oop obj_field_volatile(int offset) const;
51 void obj_field_put(int offset, oop value);
52 void obj_field_put_raw(int offset, oop value);
53 void obj_field_put_volatile(int offset, oop value);
55 jbyte byte_field(int offset) const;
56 void byte_field_put(int offset, jbyte contents);
58 jchar char_field(int offset) const;
59 void char_field_put(int offset, jchar contents);
61 jboolean bool_field(int offset) cons
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/src/core/native/
H A DNativeBuffer.h32 #define BUFFER_AT(buffer, offset) (((UInt8 *)buffer) + offset)
33 #define GET_VALUE(type, buffer, offset) (*((type *)BUFFER_AT(buffer, offset)))
34 #define PUT_VALUE(type, buffer, offset, value) (*((type *)BUFFER_AT(buffer, offset)) = value)
36 #define GET_INT_AT(buffer, offset) GET_VALUE(jint, buffer, offset)
37 #define GET_LONG_AT(buffer, offset) GET_VALUE(jlong, buffer, offset)
[all...]
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DbytecodeInterpreter_sparc.hpp61 #define GET_STACK_SLOT(offset) (*((intptr_t*) &topOfStack[-(offset)]))
62 #define STACK_SLOT(offset) ((address) &topOfStack[-(offset)])
63 #define STACK_ADDR(offset) (*((address *) &topOfStack[-(offset)]))
64 #define STACK_INT(offset) (*((jint*) &topOfStack[-(offset)]))
65 #define STACK_FLOAT(offset) (*((jfloat *) &topOfStack[-(offset)]))
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A DbytecodeInterpreter_x86.hpp71 #define GET_STACK_SLOT(offset) (*((intptr_t*) &topOfStack[-(offset)]))
72 #define STACK_SLOT(offset) ((address) &topOfStack[-(offset)])
73 #define STACK_ADDR(offset) (*((address *) &topOfStack[-(offset)]))
74 #define STACK_INT(offset) (*((jint*) &topOfStack[-(offset)]))
75 #define STACK_FLOAT(offset) (*((jfloat *) &topOfStack[-(offset)]))
[all...]
/openjdk7/corba/src/share/classes/org/omg/CORBA/portable/
H A DIndirectionException.java44 * for an object with the stream offset specified by the indirection
45 * tag. The stream offset is returned in the exception's offset field.
52 * Points to the stream's offset.
54 public int offset; field in class:IndirectionException
57 * Creates an IndirectionException with the right offset value.
58 * The stream offset is returned in the exception's offset field.
62 * @param offset the stream offset wher
64 IndirectionException(int offset) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DIIOByteBuffer.java30 * an offset and length within that array. <code>IIOByteBuffer</code>
45 private int offset; field in class:IIOByteBuffer
51 * given byte array, offset, and length.
54 * @param offset an int offset within the array.
58 public IIOByteBuffer(byte[] data, int offset, int length) { argument
60 this.offset = offset;
93 * Returns the offset within the byte array returned by
96 * @return an int offset
114 setOffset(int offset) argument
[all...]
/openjdk7/hotspot/src/cpu/zero/vm/
H A DbytecodeInterpreter_zero.hpp109 #define GET_STACK_SLOT(offset) (*((intptr_t*) &topOfStack[-(offset)]))
110 #define STACK_SLOT(offset) ((address) &topOfStack[-(offset)])
111 #define STACK_ADDR(offset) (*((address *) &topOfStack[-(offset)]))
112 #define STACK_INT(offset) (*((jint*) &topOfStack[-(offset)]))
113 #define STACK_FLOAT(offset) (*((jfloat *) &topOfStack[-(offset)]))
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/
H A DClosestSymbol.java28 offset. */
32 private long offset; field in class:ClosestSymbol
34 public ClosestSymbol(String name, long offset) { argument
36 this.offset = offset;
44 return offset;
48 return "0x" + Long.toHexString(offset);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DLookupTable.java35 * and it contains an offset which will be subtracted from the
53 int offset; field in class:LookupTable
57 * Constructs a new LookupTable from the number of components and an offset
59 * @param offset the offset to subtract from input values before indexing
63 * @throws IllegalArgumentException if <code>offset</code> is less than 0
66 protected LookupTable(int offset, int numComponents) { argument
67 if (offset < 0) {
76 this.offset = offset;
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DAddress.java86 public long getCIntegerAt (long offset, long numBytes, boolean isUnsigned) argument
88 /** This returns null if the address at the given offset is NULL. */
89 public Address getAddressAt (long offset) throws UnmappedAddressException, UnalignedAddressException; argument
90 /** Returns the decoded address at the given offset */
91 public Address getCompOopAddressAt (long offset) throws UnmappedAddressException, UnalignedAddressException; argument
97 public boolean getJBooleanAt (long offset) throws UnmappedAddressException, UnalignedAddressException; argument
98 public byte getJByteAt (long offset) throws UnmappedAddressException, UnalignedAddressException; argument
99 public char getJCharAt (long offset) throws UnmappedAddressException, UnalignedAddressException; argument
100 public double getJDoubleAt (long offset) throws UnmappedAddressException, UnalignedAddressException; argument
101 public float getJFloatAt (long offset) throw argument
102 getJIntAt(long offset) argument
103 getJLongAt(long offset) argument
104 getJShortAt(long offset) argument
106 getOopHandleAt(long offset) argument
108 getCompOopHandleAt(long offset) argument
122 setCIntegerAt(long offset, long numBytes, long value) argument
125 setAddressAt(long offset, Address value) argument
131 setJBooleanAt(long offset, boolean value) argument
133 setJByteAt(long offset, byte value) argument
135 setJCharAt(long offset, char value) argument
137 setJDoubleAt(long offset, double value) argument
139 setJFloatAt(long offset, float value) argument
141 setJIntAt(long offset, int value) argument
143 setJLongAt(long offset, long value) argument
145 setJShortAt(long offset, short value) argument
147 setOopHandleAt(long offset, OopHandle value) argument
158 addOffsetTo(long offset) argument
167 addOffsetToAsOopHandle(long offset) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/spec/
H A DDESedeKeySpec.java67 * <code>key</code>, beginning at <code>offset</code> inclusive,
71 * <code>key[offset]</code> and <code>key[offset+23]</code> inclusive.
74 * 24 bytes of the buffer beginning at <code>offset</code> inclusive
76 * @param offset the offset in <code>key</code>, where the DES-EDE key
81 * <code>offset</code> inclusive, is shorter than 24 bytes
83 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { argument
84 if (key.length - offset < 24) {
88 System.arraycopy(key, offset, thi
114 isParityAdjusted(byte[] key, int offset) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DNativeSignatureIterator.java33 // [RGV] We need seperate JNI and Java offset values because in 64 bit mode, the argument offsets
36 private int offset; // The java stack offset field in class:NativeSignatureIterator
38 private int jni_offset; // the current parameter offset, starting with 0
40 public void doBool () { passInt(); jni_offset++; offset++; }
41 public void doChar () { passInt(); jni_offset++; offset++; }
48 jni_offset++; offset++;
53 passDouble(); jni_offset++; offset += 2;
55 passDouble(); jni_offset += 2; offset += 2;
59 public void doByte () { passInt(); jni_offset++; offset
76 public int offset() { return offset; } method in class:NativeSignatureIterator
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DOffsetClosure.java28 public void offsetDo(int offset); argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DBitMapClosure.java29 public void doBit(int offset); argument
/openjdk7/jdk/src/share/classes/sun/awt/
H A DCharsetString.java29 * chars for this string. See also offset, length.
36 public int offset; field in class:CharsetString
51 public CharsetString(char charsetChars[], int offset, int length, argument
55 this.offset = offset;
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DCode_attribute.java71 public int getByte(int offset) throws InvalidIndex { argument
72 if (offset < 0 || offset >= code.length)
73 throw new InvalidIndex(offset);
74 return code[offset];
77 public int getUnsignedByte(int offset) throws InvalidIndex { argument
78 if (offset < 0 || offset >= code.length)
79 throw new InvalidIndex(offset);
80 return code[offset]
83 getShort(int offset) argument
89 getUnsignedShort(int offset) argument
95 getInt(int offset) argument
[all...]
/openjdk7/hotspot/test/compiler/6700047/
H A DTest6700047.java41 int offset = 40;
46 while (offset > 0) {
49 offset--;
55 if (offset > 0) {
56 for(int j = 0; j < offset; j++) {
/openjdk7/jdk/src/share/classes/sun/misc/
H A DUnsafe.java103 * object <code>o</code> at the given offset, or (if <code>o</code> is
105 * offset.
109 * <li>The offset was obtained from {@link #objectFieldOffset} on
114 * <li>The offset and object reference <code>o</code> (either null or
119 * <li>The object referred to by <code>o</code> is an array, and the offset
135 * uses its offset as an absolute address. This is similar in operation
147 * @param offset indication of where the variable resides in a Java heap
154 public native int getInt(Object o, long offset); argument
169 * @param offset indication of where the variable resides in a Java heap
176 public native void putInt(Object o, long offset, in argument
182 getObject(Object o, long offset) argument
194 putObject(Object o, long offset, Object x) argument
197 getBoolean(Object o, long offset) argument
199 putBoolean(Object o, long offset, boolean x) argument
201 getByte(Object o, long offset) argument
203 putByte(Object o, long offset, byte x) argument
205 getShort(Object o, long offset) argument
207 putShort(Object o, long offset, short x) argument
209 getChar(Object o, long offset) argument
211 putChar(Object o, long offset, char x) argument
213 getLong(Object o, long offset) argument
215 putLong(Object o, long offset, long x) argument
217 getFloat(Object o, long offset) argument
219 putFloat(Object o, long offset, float x) argument
221 getDouble(Object o, long offset) argument
223 putDouble(Object o, long offset, double x) argument
234 getInt(Object o, int offset) argument
243 putInt(Object o, int offset, int x) argument
252 getObject(Object o, int offset) argument
261 putObject(Object o, int offset, Object x) argument
270 getBoolean(Object o, int offset) argument
279 putBoolean(Object o, int offset, boolean x) argument
288 getByte(Object o, int offset) argument
297 putByte(Object o, int offset, byte x) argument
306 getShort(Object o, int offset) argument
315 putShort(Object o, int offset, short x) argument
324 getChar(Object o, int offset) argument
333 putChar(Object o, int offset, char x) argument
342 getLong(Object o, int offset) argument
351 putLong(Object o, int offset, long x) argument
360 getFloat(Object o, int offset) argument
369 putFloat(Object o, int offset, float x) argument
378 getDouble(Object o, int offset) argument
387 putDouble(Object o, int offset, double x) argument
519 setMemory(Object o, long offset, long bytes, byte value) argument
881 compareAndSwapObject(Object o, long offset, Object expected, Object x) argument
890 compareAndSwapInt(Object o, long offset, int expected, int x) argument
899 compareAndSwapLong(Object o, long offset, long expected, long x) argument
907 getObjectVolatile(Object o, long offset) argument
913 putObjectVolatile(Object o, long offset, Object x) argument
916 getIntVolatile(Object o, long offset) argument
919 putIntVolatile(Object o, long offset, int x) argument
922 getBooleanVolatile(Object o, long offset) argument
925 putBooleanVolatile(Object o, long offset, boolean x) argument
928 getByteVolatile(Object o, long offset) argument
931 putByteVolatile(Object o, long offset, byte x) argument
934 getShortVolatile(Object o, long offset) argument
937 putShortVolatile(Object o, long offset, short x) argument
940 getCharVolatile(Object o, long offset) argument
943 putCharVolatile(Object o, long offset, char x) argument
946 getLongVolatile(Object o, long offset) argument
949 putLongVolatile(Object o, long offset, long x) argument
952 getFloatVolatile(Object o, long offset) argument
955 putFloatVolatile(Object o, long offset, float x) argument
958 getDoubleVolatile(Object o, long offset) argument
961 putDoubleVolatile(Object o, long offset, double x) argument
970 putOrderedObject(Object o, long offset, Object x) argument
973 putOrderedInt(Object o, long offset, int x) argument
976 putOrderedLong(Object o, long offset, long x) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DNativeObject.java64 * whose base is at the additional offset.
66 NativeObject(long address, long offset) { argument
68 this.address = address + offset;
99 * Creates a new native object starting at the given offset from the base
102 * @param offset
103 * The offset from the base of this native object that is to be
108 NativeObject subObject(int offset) { argument
109 return new NativeObject(offset + address);
113 * Reads an address from this native object at the given offset and
116 * @param offset
123 getObject(int offset) argument
150 putObject(int offset, NativeObject ob) argument
175 getByte(int offset) argument
189 putByte(int offset, byte value) argument
202 getShort(int offset) argument
216 putShort(int offset, short value) argument
229 getChar(int offset) argument
243 putChar(int offset, char value) argument
256 getInt(int offset) argument
270 putInt(int offset, int value) argument
283 getLong(int offset) argument
297 putLong(int offset, long value) argument
310 getFloat(int offset) argument
324 putFloat(int offset, float value) argument
337 getDouble(int offset) argument
351 putDouble(int offset, double value) argument
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DBreakDictionary.java185 int offset = 0;
189 l = BreakIterator.getInt(buf, offset);
190 offset += 4;
192 for (int i = 0; i < l; i++, offset+=2) {
193 temp[i] = BreakIterator.getShort(buf, offset);
195 l = BreakIterator.getInt(buf, offset);
196 offset += 4;
198 for (int i = 0; i < l; i++, offset++) {
199 temp2[i] = buf[offset];
204 numCols = BreakIterator.getInt(buf, offset);
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDocumentFilter.java71 * @param offset the offset from the beginning >= 0
77 public void remove(FilterBypass fb, int offset, int length) throws argument
79 fb.remove(offset, length);
89 * @param offset the offset into the document to insert the content >= 0.
98 public void insertString(FilterBypass fb, int offset, String string, argument
100 fb.insertString(offset, string, attr);
110 * @param offset Location in Document
118 public void replace(FilterBypass fb, int offset, in argument
150 remove(int offset, int length) argument
165 insertString(int offset, String string, AttributeSet attr) argument
182 replace(int offset, int length, String string, AttributeSet attrs) argument
[all...]
H A DSegment.java53 * This is the offset into the array that
56 public int offset; field in class:Segment
77 * @param offset the offset into the array
80 public Segment(char[] array, int offset, int count) { argument
82 this.offset = offset;
119 return new String(array, offset, count);
134 pos = offset;
149 pos = offset
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DUninitializedType.java47 public static UninitializedType uninitializedObject(Type qtype, int offset) { argument
48 return new UninitializedType(UNINITIALIZED_OBJECT, qtype, offset);
51 public final int offset; // PC where allocation took place field in class:UninitializedType
52 private UninitializedType(int tag, Type qtype, int offset) { argument
54 this.offset = offset;
/openjdk7/jdk/test/java/util/zip/
H A DBounds.java34 int offset = 4;
38 (new CRC32()).update(b, offset, length);
44 (new Deflater()).setDictionary(b, offset, length);
50 (new Adler32()).update(b, offset, length);
56 (new Deflater()).deflate(b, offset, length);
62 (new Inflater()).inflate(b, offset, length);
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DTCOffsets.java61 public int offset (String name) method in class:TCOffsets
65 } // offset
73 offset += 8;
76 tcs.put (entry.fullName (), new Integer (offset));
77 offset += 4;
80 offset += alignStrLen (repID) + alignStrLen (entry.name ());
82 offset += alignStrLen (repID) + alignStrLen (entry.name ()) + 4;
84 offset += alignStrLen (repID) + alignStrLen (entry.name ()) + 12;
87 offset += alignStrLen (repID) + alignStrLen (entry.name ()) + 4;
90 offset
144 private int offset = 0; field in class:TCOffsets
[all...]

Completed in 101 milliseconds

1234567891011>>