Home
last modified time | relevance | path

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

123456789

/libcore/libart/src/main/java/sun/misc/
DUnsafe.java116 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt()
131 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong()
146 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject()
157 public native int getIntVolatile(Object obj, long offset); in getIntVolatile()
167 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile()
177 public native long getLongVolatile(Object obj, long offset); in getLongVolatile()
187 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile()
197 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile()
207 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile()
217 public native int getInt(Object obj, long offset); in getInt()
[all …]
/libcore/luni/src/main/java/java/nio/
DMemoryBlock.java100 …public static MemoryBlock mmap(FileDescriptor fd, long offset, long size, MapMode mapMode) throws … in mmap()
169 public final void pokeByte(int offset, byte value) { in pokeByte()
173 public final void pokeByteArray(int offset, byte[] src, int srcOffset, int byteCount) { in pokeByteArray()
177 …public final void pokeCharArray(int offset, char[] src, int srcOffset, int charCount, boolean swap… in pokeCharArray()
181 …public final void pokeDoubleArray(int offset, double[] src, int srcOffset, int doubleCount, boolea… in pokeDoubleArray()
185 …public final void pokeFloatArray(int offset, float[] src, int srcOffset, int floatCount, boolean s… in pokeFloatArray()
189 … public final void pokeIntArray(int offset, int[] src, int srcOffset, int intCount, boolean swap) { in pokeIntArray()
193 …public final void pokeLongArray(int offset, long[] src, int srcOffset, int longCount, boolean swap… in pokeLongArray()
197 …public final void pokeShortArray(int offset, short[] src, int srcOffset, int shortCount, boolean s… in pokeShortArray()
201 public final byte peekByte(int offset) { in peekByte()
[all …]
/libcore/luni/src/main/java/java/nio/charset/
DCharsets.java29 public static native byte[] toAsciiBytes(char[] chars, int offset, int length); in toAsciiBytes()
35 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length); in toIsoLatin1Bytes()
41 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length); in toUtf8Bytes()
47 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { in toBigEndianUtf16Bytes()
67 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars()
76 …public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars… in isoLatin1BytesToChars()
/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/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/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()
47 private void checkOffset(int offset) { in checkOffset()
86 @Override public boolean isBoundary(int offset) { in isBoundary()
91 @Override public int preceding(int offset) { in preceding()
/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/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.java226 …public synchronized int inflate(byte[] buf, int offset, int byteCount) throws DataFormatException { in inflate()
244 private native int inflateImpl(byte[] buf, int offset, int byteCount, long handle); in inflateImpl()
291 public synchronized void setDictionary(byte[] dictionary, int offset, int byteCount) { in setDictionary()
297 … private native void setDictionaryImpl(byte[] dictionary, int offset, int byteCount, long handle); in setDictionaryImpl()
311 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
319 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
321 synchronized int setFileInput(FileDescriptor fd, long offset, int byteCount) { in setFileInput()
328 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()
DAdler32.java72 public void update(byte[] buf, int offset, int byteCount) { in update()
77 private native long updateImpl(byte[] buf, int offset, int byteCount, long adler1); in updateImpl()
/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()
216 public static native void pokeByteArray(long address, byte[] src, int offset, int count); in pokeByteArray()
217 …public static native void pokeCharArray(long address, char[] src, int offset, int count, boolean s… in pokeCharArray()
218 …public static native void pokeDoubleArray(long address, double[] src, int offset, int count, boole… in pokeDoubleArray()
219 …public static native void pokeFloatArray(long address, float[] src, int offset, int count, boolean… in pokeFloatArray()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DCollationElementIteratorTest.java46 int offset = iterator.getOffset(); in testGetOffset() local
67 int offset = iterator.getOffset(); in testNext() local
68 assertEquals(text.length(), offset); in testNext() local
94 int offset = iterator.getOffset(); in testPrevious() local
95 assertEquals(text.length(), offset); in testPrevious() local
119 int offset = iterator.getOffset(); in testReset() local
120 assertEquals(text.length(), offset); in testReset() local
/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/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/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.java85 private int getRaw(long offset) { in getRaw()
119 long offset = checkedByteOffset(i); in getAndSet() local
141 private boolean compareAndSetRaw(long offset, int expect, int update) { in compareAndSetRaw()
190 long offset = checkedByteOffset(i); in getAndAdd() local
226 long offset = checkedByteOffset(i); in addAndGet() local
DAtomicLongArray.java84 private long getRaw(long offset) { in getRaw()
118 long offset = checkedByteOffset(i); in getAndSet() local
140 private boolean compareAndSetRaw(long offset, long expect, long update) { in compareAndSetRaw()
189 long offset = checkedByteOffset(i); in getAndAdd() local
225 long offset = checkedByteOffset(i); in addAndGet() local
/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
/libcore/luni/src/main/native/
Djava_nio_charset_Charsets.cpp109 static void Charsets_asciiBytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, jint… in Charsets_asciiBytesToChars()
128 static void Charsets_isoLatin1BytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, … in Charsets_isoLatin1BytesToChars()
150 static jbyteArray charsToBytes(JNIEnv* env, jcharArray javaChars, jint offset, jint length, jchar m… in charsToBytes()
175 static jbyteArray Charsets_toAsciiBytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jin… in Charsets_toAsciiBytes()
179 static jbyteArray Charsets_toIsoLatin1Bytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset,… in Charsets_toIsoLatin1Bytes()
183 static jbyteArray Charsets_toUtf8Bytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jint… in Charsets_toUtf8Bytes()
/libcore/luni/src/main/java/javax/crypto/
DMacSpi.java85 protected abstract void engineUpdate(byte[] input, int offset, int len); in engineUpdate()
102 int offset = input.arrayOffset(); in engineUpdate() local

123456789