Home
last modified time | relevance | path

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

12345678910

/libcore/luni/src/main/java/sun/misc/
DUnsafe.java140 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt()
155 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong()
170 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject()
181 public native int getIntVolatile(Object obj, long offset); in getIntVolatile()
191 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile()
201 public native long getLongVolatile(Object obj, long offset); in getLongVolatile()
211 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile()
221 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile()
231 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile()
241 public native int getInt(Object obj, long offset); in getInt()
[all …]
/libcore/luni/src/main/java/java/nio/
DMemoryBlock.java95 …public static MemoryBlock mmap(FileDescriptor fd, long offset, long size, MapMode mapMode) throws … in mmap()
148 public final void pokeByte(int offset, byte value) { in pokeByte()
152 public final void pokeByteArray(int offset, byte[] src, int srcOffset, int byteCount) { in pokeByteArray()
156 …public final void pokeCharArray(int offset, char[] src, int srcOffset, int charCount, boolean swap… in pokeCharArray()
160 …public final void pokeDoubleArray(int offset, double[] src, int srcOffset, int doubleCount, boolea… in pokeDoubleArray()
164 …public final void pokeFloatArray(int offset, float[] src, int srcOffset, int floatCount, boolean s… in pokeFloatArray()
168 … public final void pokeIntArray(int offset, int[] src, int srcOffset, int intCount, boolean swap) { in pokeIntArray()
172 …public final void pokeLongArray(int offset, long[] src, int srcOffset, int longCount, boolean swap… in pokeLongArray()
176 …public final void pokeShortArray(int offset, short[] src, int srcOffset, int shortCount, boolean s… in pokeShortArray()
180 public final byte peekByte(int offset) { in peekByte()
[all …]
/libcore/luni/src/main/java/java/nio/charset/
DCharsets.java48 public static native byte[] toAsciiBytes(char[] chars, int offset, int length); in toAsciiBytes()
54 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length); in toIsoLatin1Bytes()
60 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length); in toUtf8Bytes()
66 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { in toBigEndianUtf16Bytes()
86 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars()
95 …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/java/lang/
DStringBuilder.java270 public StringBuilder append(char[] str, int offset, int len) { in append()
379 public StringBuilder insert(int offset, boolean b) { in insert()
399 public StringBuilder insert(int offset, char c) { in insert()
419 public StringBuilder insert(int offset, int i) { in insert()
439 public StringBuilder insert(int offset, long l) { in insert()
459 public StringBuilder insert(int offset, float f) { in insert()
480 public StringBuilder insert(int offset, double d) { in insert()
500 public StringBuilder insert(int offset, Object obj) { in insert()
518 public StringBuilder insert(int offset, String str) { in insert()
538 public StringBuilder insert(int offset, char[] ch) { in insert()
[all …]
/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/luni/src/test/java/tests/api/org/xml/sax/support/
DBrokenInputStream.java31 private int offset; field in BrokenInputStream
33 public BrokenInputStream(InputStream stream, int offset) { in BrokenInputStream()
/libcore/luni/src/main/java/javax/crypto/spec/
DDESKeySpec.java117 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESKeySpec()
153 public static boolean isParityAdjusted(byte[] key, int offset) throws InvalidKeyException { in isParityAdjusted()
190 public static boolean isWeak(byte[] key, int offset) throws InvalidKeyException { in isWeak()
DDESedeKeySpec.java72 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESedeKeySpec()
108 public static boolean isParityAdjusted(byte[] key, int offset) throws InvalidKeyException { in isParityAdjusted()
/libcore/luni/src/main/java/java/text/
DRuleBasedBreakIterator.java42 @Override public int following(int offset) { in following()
50 private void validateOffset(int offset) { in validateOffset()
84 @Override public boolean isBoundary(int offset) { in isBoundary()
89 @Override public int preceding(int offset) { in preceding()
/libcore/luni/src/main/java/java/security/
DMessageDigestSpi.java64 protected abstract void engineUpdate(byte[] input, int offset, int len); in engineUpdate()
79 int offset = input.arrayOffset(); in engineUpdate() local
120 protected int engineDigest(byte[] buf, int offset, int len) throws DigestException { in engineDigest()
/libcore/luni/src/main/java/java/util/zip/
DInflater.java217 …public synchronized int inflate(byte[] buf, int offset, int byteCount) throws DataFormatException { in inflate()
235 private native int inflateImpl(byte[] buf, int offset, int byteCount, long handle); in inflateImpl()
282 public synchronized void setDictionary(byte[] dictionary, int offset, int byteCount) { in setDictionary()
288 … private native void setDictionaryImpl(byte[] dictionary, int offset, int byteCount, long handle); in setDictionaryImpl()
302 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
310 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
312 synchronized int setFileInput(FileDescriptor fd, long offset, int byteCount) { in setFileInput()
319 private native int setFileInputImpl(FileDescriptor fd, long offset, int byteCount, long handle); in setFileInputImpl()
DDeflater.java211 public synchronized int deflate(byte[] buf, int offset, int byteCount) { in deflate()
228 public synchronized int deflate(byte[] buf, int offset, int byteCount, int flush) { in deflate()
235 private synchronized int deflateImpl(byte[] buf, int offset, int byteCount, int flush) { in deflateImpl()
244 … private native int deflateImpl(byte[] buf, int offset, int byteCount, long handle, int flushParm); in deflateImpl()
380 public synchronized void setDictionary(byte[] buf, int offset, int byteCount) { in setDictionary()
386 private native void setDictionaryImpl(byte[] buf, int offset, int byteCount, long handle); in setDictionaryImpl()
400 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
414 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
/libcore/luni/src/test/java/libcore/java/text/
DOldCollationElementIteratorTest.java41 int offset = iterator.getOffset(); in testPrevious() local
42 assertEquals(text.length(), offset); in testPrevious() local
/libcore/luni/src/main/java/libcore/io/
DHeapBufferIterator.java29 private final int offset; field in HeapBufferIterator
35 HeapBufferIterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { in HeapBufferIterator()
42 public void seek(int offset) { in seek()
83 … public static BufferIterator iterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { in iterator()
DMemory.java45 public static int peekInt(byte[] src, int offset, ByteOrder order) { in peekInt()
59 public static long peekLong(byte[] src, int offset, ByteOrder order) { in peekLong()
83 public static short peekShort(byte[] src, int offset, ByteOrder order) { in peekShort()
91 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { in pokeInt()
105 public static void pokeLong(byte[] dst, int offset, long value, ByteOrder order) { in pokeLong()
131 public static void pokeShort(byte[] dst, int offset, short value, ByteOrder order) { in pokeShort()
171 public static native void pokeByteArray(int address, byte[] src, int offset, int count); in pokeByteArray()
172 …public static native void pokeCharArray(int address, char[] src, int offset, int count, boolean sw… in pokeCharArray()
173 …public static native void pokeDoubleArray(int address, double[] src, int offset, int count, boolea… in pokeDoubleArray()
174 …public static native void pokeFloatArray(int address, float[] src, int offset, int count, boolean … in pokeFloatArray()
[all …]
/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()
/libcore/luni/src/main/java/libcore/net/
DRawSocket.java50 int offset, int byteCount); in sendPacket()
52 int offset, int byteCount, int destPort, int timeoutMillis); in recvPacket()
80 public int read(byte[] packet, int offset, int byteCount, int destPort, in read()
103 public int write(byte[] destMac, byte[] packet, int offset, int byteCount) { in write()
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSHA1_MessageDigestImpl.java75 private void processDigest(byte[] digest, int offset) { in processDigest()
200 protected int engineDigest(byte[] buf, int offset, int len) throws DigestException { in engineDigest()
290 protected void engineUpdate(byte[] input, int offset, int len) { in engineUpdate()
/libcore/luni/src/main/java/java/net/
DDatagramPacket.java48 private int offset = 0; field in DatagramPacket
74 public DatagramPacket(byte[] data, int offset, int length) { in DatagramPacket()
95 public DatagramPacket(byte[] data, int offset, int length, InetAddress host, int aPort) { in DatagramPacket()
180 public synchronized void setData(byte[] data, int offset, int byteCount) { in setData()
286 public DatagramPacket(byte[] data, int offset, int length, in DatagramPacket()
/libcore/luni/src/main/java/java/io/
DFilterWriter.java90 public void write(char[] buffer, int offset, int count) throws IOException { in write()
127 public void write(String str, int offset, int count) throws IOException { in write()
/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerArray.java86 private int getRaw(long offset) { in getRaw()
120 long offset = checkedByteOffset(i); in getAndSet() local
142 private boolean compareAndSetRaw(long offset, int expect, int update) { in compareAndSetRaw()
191 long offset = checkedByteOffset(i); in getAndAdd() local
227 long offset = checkedByteOffset(i); in addAndGet() local
DAtomicLongArray.java85 private long getRaw(long offset) { in getRaw()
120 long offset = checkedByteOffset(i); in getAndSet() local
142 private boolean compareAndSetRaw(long offset, long expect, long update) { in compareAndSetRaw()
191 long offset = checkedByteOffset(i); in getAndAdd() local
227 long offset = checkedByteOffset(i); in addAndGet() local
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DSSLEngineDataStream.java34 private int offset; field in SSLEngineDataStream
42 protected void setSourceBuffers(ByteBuffer[] srcs, int offset, int length) { in setSourceBuffers()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DSecretKeySpecTest.java83 int offset = 1; in testSecretKeySpec2() local
141 int offset = 1; in testSecretKeySpec3() local
202 int offset = 1; in testGetEncoded() local

12345678910