Home | History | Annotate | Download | only in os

Lines Matching refs:offset

45      * @param offset offset to unmarshall a boolean from
47 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
49 public native final boolean getBool(long offset);
51 * @param offset offset to unmarshall a byte from
53 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
55 public native final byte getInt8(long offset);
57 * @param offset offset to unmarshall a short from
59 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
61 public native final short getInt16(long offset);
63 * @param offset offset to unmarshall an int from
65 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
67 public native final int getInt32(long offset);
69 * @param offset offset to unmarshall a long from
71 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
73 public native final long getInt64(long offset);
75 * @param offset offset to unmarshall a float from
77 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
79 public native final float getFloat(long offset);
81 * @param offset offset to unmarshall a double from
83 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
85 public native final double getDouble(long offset);
87 * @param offset offset to unmarshall a string from
89 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
91 public native final String getString(long offset);
94 * Copy the blobs data starting from the given byte offset into the range, copying
97 * @param offset starting location in blob
101 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jboolean)] out of the blob.
103 public native final void copyToBoolArray(long offset, boolean[] array, int size);
105 * Copy the blobs data starting from the given byte offset into the range, copying
108 * @param offset starting location in blob
112 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jbyte)] out of the blob.
114 public native final void copyToInt8Array(long offset, byte[] array, int size);
116 * Copy the blobs data starting from the given byte offset into the range, copying
119 * @param offset starting location in blob
123 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jshort)] out of the blob.
125 public native final void copyToInt16Array(long offset, short[] array, int size);
127 * Copy the blobs data starting from the given byte offset into the range, copying
130 * @param offset starting location in blob
134 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jint)] out of the blob.
136 public native final void copyToInt32Array(long offset, int[] array, int size);
138 * Copy the blobs data starting from the given byte offset into the range, copying
141 * @param offset starting location in blob
145 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jlong)] out of the blob.
147 public native final void copyToInt64Array(long offset, long[] array, int size);
149 * Copy the blobs data starting from the given byte offset into the range, copying
152 * @param offset starting location in blob
156 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jfloat)] out of the blob.
158 public native final void copyToFloatArray(long offset, float[] array, int size);
160 * Copy the blobs data starting from the given byte offset into the range, copying
163 * @param offset starting location in blob
167 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jdouble)] out of the blob.
169 public native final void copyToDoubleArray(long offset, double[] array, int size);
172 * Writes a boolean value at an offset.
174 * @param offset location to write value
176 * @throws IndexOutOfBoundsException when [offset, offset + sizeof(jboolean)] is out of range
178 public native final void putBool(long offset, boolean x);
180 * Writes a byte value at an offset.
182 * @param offset location to write value
184 * @throws IndexOutOfBoundsException when [offset, offset + sizeof(jbyte)] is out of range
186 public native final void putInt8(long offset, byte x);
188 * Writes a short value at an offset.
190 * @param offset location to write value
192 * @throws IndexOutOfBoundsException when [offset, offset + sizeof(jshort)] is out of range
194 public native final void putInt16(long offset, short x);
196 * Writes a int value at an offset.
198 * @param offset location to write value
200 * @throws IndexOutOfBoundsException when [offset, offset + sizeof(jint)] is out of range
202 public native final void putInt32(long offset, int x);
204 * Writes a long value at an offset.
206 * @param offset location to write value
208 * @throws IndexOutOfBoundsException when [offset, offset + sizeof(jlong)] is out of range
210 public native final void putInt64(long offset, long x);
212 * Writes a float value at an offset.
214 * @param offset location to write value
216 * @throws IndexOutOfBoundsException when [offset, offset + sizeof(jfloat)] is out of range
218 public native final void putFloat(long offset, float x);
220 * Writes a double value at an offset.
222 * @param offset location to write value
224 * @throws IndexOutOfBoundsException when [offset, offset + sizeof(jdouble)] is out of range
226 public native final void putDouble(long offset, double x);
228 * Writes a string value at an offset.
230 * @param offset location to write value
232 * @throws IndexOutOfBoundsException when [offset, offset + sizeof(jstring)] is out of range
234 public native final void putString(long offset, String x);
237 * Put a boolean array contiguously at an offset in the blob.
239 * @param offset location to write values
241 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jboolean)] out of the blob.
243 public native final void putBoolArray(long offset, boolean[] x);
245 * Put a byte array contiguously at an offset in the blob.
247 * @param offset location to write values
249 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jbyte)] out of the blob.
251 public native final void putInt8Array(long offset, byte[] x);
253 * Put a short array contiguously at an offset in the blob.
255 * @param offset location to write values
257 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jshort)] out of the blob.
259 public native final void putInt16Array(long offset, short[] x);
261 * Put a int array contiguously at an offset in the blob.
263 * @param offset location to write values
265 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jint)] out of the blob.
267 public native final void putInt32Array(long offset, int[] x);
269 * Put a long array contiguously at an offset in the blob.
271 * @param offset location to write values
273 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jlong)] out of the blob.
275 public native final void putInt64Array(long offset, long[] x);
277 * Put a float array contiguously at an offset in the blob.
279 * @param offset location to write values
281 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jfloat)] out of the blob.
283 public native final void putFloatArray(long offset, float[] x);
285 * Put a double array contiguously at an offset in the blob.
287 * @param offset location to write values
289 * @throws IndexOutOfBoundsException [offset, offset + size * sizeof(jdouble)] out of the blob.
291 public native final void putDoubleArray(long offset, double[] x);
296 * @param offset location to write value
298 * @throws IndexOutOfBoundsException if [offset, offset + blob's size] outside of the range of
301 public native final void putBlob(long offset, HwBlob blob);