Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 271) sorted by relevance

1234567891011

/libcore/ojluni/src/main/java/sun/nio/ch/
DNativeObject.java66 NativeObject(long address, long offset) { in NativeObject()
108 NativeObject subObject(int offset) { in subObject()
123 NativeObject getObject(int offset) { in getObject()
150 void putObject(int offset, NativeObject ob) { in putObject()
175 final byte getByte(int offset) { in getByte()
189 final void putByte(int offset, byte value) { in putByte()
202 final short getShort(int offset) { in getShort()
216 final void putShort(int offset, short value) { in putShort()
229 final char getChar(int offset) { in getChar()
243 final void putChar(int offset, char value) { in putChar()
[all …]
DAbstractPollArrayWrapper.java54 int offset = SIZE_POLLFD * i + EVENT_OFFSET; in getEventOps() local
59 int offset = SIZE_POLLFD * i + REVENT_OFFSET; in getReventOps() local
64 int offset = SIZE_POLLFD * i + FD_OFFSET; in getDescriptor() local
69 int offset = SIZE_POLLFD * i + EVENT_OFFSET; in putEventOps() local
74 int offset = SIZE_POLLFD * i + REVENT_OFFSET; in putReventOps() local
79 int offset = SIZE_POLLFD * i + FD_OFFSET; in putDescriptor() local
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java132 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt()
148 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong()
164 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject()
176 public native int getIntVolatile(Object obj, long offset); in getIntVolatile()
187 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile()
198 public native long getLongVolatile(Object obj, long offset); in getLongVolatile()
209 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile()
220 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile()
231 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile()
242 public native int getInt(Object obj, long offset); in getInt()
[all …]
/libcore/luni/src/main/java/libcore/util/
DCharsetUtils.java32 public static native byte[] toAsciiBytes(String s, int offset, int length); in toAsciiBytes()
39 public static native byte[] toIsoLatin1Bytes(String s, int offset, int length); in toIsoLatin1Bytes()
46 public static native byte[] toUtf8Bytes(String s, int offset, int length); in toUtf8Bytes()
52 public static byte[] toBigEndianUtf16Bytes(String s, int offset, int length) { in toBigEndianUtf16Bytes()
73 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars()
83 …public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars… in isoLatin1BytesToChars()
/libcore/luni/src/main/java/org/w3c/dom/
DCharacterData.java81 public String substringData(int offset, in substringData()
106 public void insertData(int offset, in insertData()
125 public void deleteData(int offset, in deleteData()
148 public void replaceData(int offset, in replaceData()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DCharacterDataImpl.java46 public void deleteData(int offset, int count) throws DOMException { in deleteData()
70 public void insertData(int offset, String arg) throws DOMException { in insertData()
78 public void replaceData(int offset, int count, String arg) in replaceData()
91 public String substringData(int offset, int count) throws DOMException { in substringData()
/libcore/ojluni/src/main/java/java/util/zip/
DGZIPOutputStream.java200 private void writeTrailer(byte[] buf, int offset) throws IOException { in writeTrailer()
201 writeInt((int)crc.getValue(), buf, offset); // CRC-32 of uncompr. data in writeTrailer() local
202 writeInt(def.getTotalIn(), buf, offset + 4); // Number of uncompr. bytes in writeTrailer() local
209 private void writeInt(int i, byte[] buf, int offset) throws IOException { in writeInt()
218 private void writeShort(int s, byte[] buf, int offset) throws IOException { in writeShort()
/libcore/ojluni/src/main/java/java/lang/
DStringBuilder.java190 public StringBuilder append(char[] str, int offset, int len) { in append()
271 public StringBuilder insert(int index, char[] str, int offset, in insert()
282 public StringBuilder insert(int offset, Object obj) { in insert()
291 public StringBuilder insert(int offset, String str) { in insert()
300 public StringBuilder insert(int offset, char[] str) { in insert()
329 public StringBuilder insert(int offset, boolean b) { in insert()
338 public StringBuilder insert(int offset, char c) { in insert()
347 public StringBuilder insert(int offset, int i) { in insert()
356 public StringBuilder insert(int offset, long l) { in insert()
365 public StringBuilder insert(int offset, float f) { in insert()
[all …]
DStringBuffer.java365 public synchronized StringBuffer append(char[] str, int offset, int len) { in append()
488 public synchronized StringBuffer insert(int index, char[] str, int offset, in insert()
500 public synchronized StringBuffer insert(int offset, Object obj) { in insert()
510 public synchronized StringBuffer insert(int offset, String str) { in insert()
520 public synchronized StringBuffer insert(int offset, char[] str) { in insert()
556 public StringBuffer insert(int offset, boolean b) { in insert()
568 public synchronized StringBuffer insert(int offset, char c) { in insert()
578 public StringBuffer insert(int offset, int i) { in insert()
590 public StringBuffer insert(int offset, long l) { in insert()
602 public StringBuffer insert(int offset, float f) { in insert()
[all …]
/libcore/ojluni/src/main/java/javax/crypto/spec/
DDESKeySpec.java153 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESKeySpec()
186 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
219 public static boolean isWeak(byte[] key, int offset) in isWeak()
DDESedeKeySpec.java83 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESedeKeySpec()
114 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DBrokenInputStream.java31 private int offset; field in BrokenInputStream
33 public BrokenInputStream(InputStream stream, int offset) { in BrokenInputStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DCollationElementIteratorTest.java49 int offset = iterator.getOffset(); in testGetOffset() local
70 int offset = iterator.getOffset(); in testNext() local
71 assertEquals(text.length(), offset); in testNext() local
97 int offset = iterator.getOffset(); in testPrevious() local
98 assertEquals(text.length(), offset); in testPrevious() local
122 int offset = iterator.getOffset(); in testReset() local
123 assertEquals(text.length(), offset); in testReset() local
/libcore/ojluni/src/main/java/java/text/
DIcuIteratorWrapper.java320 protected static final void checkOffset(int offset, CharacterIterator text) { in checkOffset()
333 public int following(int offset) { in following()
346 public int preceding(int offset) { in preceding()
363 public boolean isBoundary(int offset) { in isBoundary()
/libcore/libart/src/main/java/java/lang/
DStringFactory.java53 public static String newStringFromBytes(byte[] data, int offset, int byteCount) { in newStringFromBytes()
58 … public static native String newStringFromBytes(byte[] data, int high, int offset, int byteCount); in newStringFromBytes()
60 …public static String newStringFromBytes(byte[] data, int offset, int byteCount, String charsetName… in newStringFromBytes()
69 … public static String newStringFromBytes(byte[] data, int offset, int byteCount, Charset charset) { in newStringFromBytes()
216 public static String newStringFromChars(char[] data, int offset, int charCount) { in newStringFromChars()
225 static native String newStringFromChars(int offset, int charCount, char[] data); in newStringFromChars()
237 public static String newStringFromCodePoints(int[] codePoints, int offset, int count) { in newStringFromCodePoints()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java119 private final transient ZoneOffset offset; field in ChronoZonedDateTimeImpl
144 ZoneOffset offset; in ofBest() local
172 ZoneOffset offset = rules.getOffset(instant); in ofInstant() local
218 …private ChronoZonedDateTimeImpl(ChronoLocalDateTimeImpl<D> dateTime, ZoneOffset offset, ZoneId zon… in ChronoZonedDateTimeImpl()
246 ZoneOffset offset = trans.getOffsetAfter(); in withLaterOffsetAtOverlap() local
290 ZoneOffset offset = ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue)); in with() local
358 ZoneOffset offset = (ZoneOffset) in.readObject(); in readExternal() local
/libcore/ojluni/src/main/java/java/nio/
DByteBufferAsDoubleBuffer.java34 protected final int offset; field in ByteBufferAsDoubleBuffer
100 public DoubleBuffer get(double[] dst, int offset, int length) { in get()
104 bb.getUnchecked(ix(position), dst, offset, length); in get() local
122 public DoubleBuffer put(double[] src, int offset, int length) { in put()
126 bb.putUnchecked(ix(position), src, offset, length); in put() local
DByteBufferAsShortBuffer.java33 protected final int offset; field in ByteBufferAsShortBuffer
98 public ShortBuffer get(short[] dst, int offset, int length) { in get()
102 bb.getUnchecked(ix(position), dst, offset, length); in get() local
120 public ShortBuffer put(short[] src, int offset, int length) { in put()
124 bb.putUnchecked(ix(position), src, offset, length); in put() local
DByteBufferAsFloatBuffer.java33 protected final int offset; field in ByteBufferAsFloatBuffer
99 public FloatBuffer get(float[] dst, int offset, int length) { in get()
103 bb.getUnchecked(ix(position), dst, offset, length); in get() local
121 public FloatBuffer put(float[] src, int offset, int length) { in put()
125 bb.putUnchecked(ix(position), src, offset, length); in put() local
DByteBufferAsIntBuffer.java33 protected final int offset; field in ByteBufferAsIntBuffer
99 public IntBuffer get(int[] dst, int offset, int length) { in get()
103 bb.getUnchecked(ix(position), dst, offset, length); in get() local
121 public IntBuffer put(int[] src, int offset, int length) { in put()
125 bb.putUnchecked(ix(position), src, offset, length); in put() local
DByteBufferAsLongBuffer.java33 protected final int offset; field in ByteBufferAsLongBuffer
99 public LongBuffer get(long[] dst, int offset, int length) { in get()
103 bb.getUnchecked(ix(position), dst, offset, length); in get() local
121 public LongBuffer put(long[] src, int offset, int length) { in put()
125 bb.putUnchecked(ix(position), src, offset, length); in put() local
DMappedByteBuffer.java87 MappedByteBuffer(int mark, int pos, int lim, int cap, byte[] buf, int offset) { in MappedByteBuffer()
107 long offset = address % ps; in mappingOffset() local
141 long offset = mappingOffset(); in isLoaded() local
163 long offset = mappingOffset(); in load() local
206 long offset = mappingOffset(); in force() local
/libcore/ojluni/src/main/java/java/net/
DDatagramPacket.java59 int offset; field in DatagramPacket
78 public DatagramPacket(byte buf[], int offset, int length) { in DatagramPacket()
114 public DatagramPacket(byte buf[], int offset, int length, in DatagramPacket()
143 public DatagramPacket(byte buf[], int offset, int length, SocketAddress address) { in DatagramPacket()
269 public synchronized void setData(byte[] buf, int offset, int length) { in setData()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceArray.java128 private E getRaw(long offset) { in getRaw()
180 private boolean compareAndSetRaw(long offset, E expect, E update) { in compareAndSetRaw()
213 long offset = checkedByteOffset(i); in getAndUpdate() local
234 long offset = checkedByteOffset(i); in updateAndGet() local
260 long offset = checkedByteOffset(i); in getAndAccumulate() local
286 long offset = checkedByteOffset(i); in accumulateAndGet() local
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunk.java35 public int offset, length; // position within "data" field in Chunk
45 public Chunk(int type, byte[] data, int offset, int length) { in Chunk()

1234567891011