/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeObject.java | 66 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 …]
|
D | AbstractPollArrayWrapper.java | 65 int offset = SIZE_POLLFD * i + EVENT_OFFSET; in getEventOps() local 70 int offset = SIZE_POLLFD * i + REVENT_OFFSET; in getReventOps() local 75 int offset = SIZE_POLLFD * i + FD_OFFSET; in getDescriptor() local 80 int offset = SIZE_POLLFD * i + EVENT_OFFSET; in putEventOps() local 85 int offset = SIZE_POLLFD * i + REVENT_OFFSET; in putReventOps() local 90 int offset = SIZE_POLLFD * i + FD_OFFSET; in putDescriptor() local
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 128 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt() 143 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong() 158 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject() 169 public native int getIntVolatile(Object obj, long offset); in getIntVolatile() 179 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile() 189 public native long getLongVolatile(Object obj, long offset); in getLongVolatile() 199 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile() 209 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile() 219 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile() 229 public native int getInt(Object obj, long offset); in getInt() [all …]
|
/libcore/luni/src/main/java/libcore/util/ |
D | CharsetUtils.java | 29 public static native byte[] toAsciiBytes(String s, int offset, int length); in toAsciiBytes() 35 public static native byte[] toIsoLatin1Bytes(String s, int offset, int length); in toIsoLatin1Bytes() 41 public static native byte[] toUtf8Bytes(String s, int offset, int length); in toUtf8Bytes() 47 public static byte[] toBigEndianUtf16Bytes(String s, 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/org/w3c/dom/ |
D | CharacterData.java | 81 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/ |
D | CharacterDataImpl.java | 46 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/ |
D | GZIPOutputStream.java | 201 private void writeTrailer(byte[] buf, int offset) throws IOException { in writeTrailer() 202 writeInt((int)crc.getValue(), buf, offset); // CRC-32 of uncompr. data in writeTrailer() local 203 writeInt(def.getTotalIn(), buf, offset + 4); // Number of uncompr. bytes in writeTrailer() local 210 private void writeInt(int i, byte[] buf, int offset) throws IOException { in writeInt() 219 private void writeShort(int s, byte[] buf, int offset) throws IOException { in writeShort()
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | DESKeySpec.java | 153 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()
|
D | DESedeKeySpec.java | 83 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESedeKeySpec() 114 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringBuilder.java | 204 public StringBuilder append(char[] str, int offset, int len) { in append() 274 public StringBuilder insert(int index, char[] str, int offset, in insert() 284 public StringBuilder insert(int offset, Object obj) { in insert() 291 public StringBuilder insert(int offset, String str) { in insert() 299 public StringBuilder insert(int offset, char[] str) { in insert() 328 public StringBuilder insert(int offset, boolean b) { in insert() 336 public StringBuilder insert(int offset, char c) { in insert() 344 public StringBuilder insert(int offset, int i) { in insert() 351 public StringBuilder insert(int offset, long l) { in insert() 358 public StringBuilder insert(int offset, float f) { in insert() [all …]
|
D | StringBuffer.java | 321 public synchronized StringBuffer append(char[] str, int offset, int len) { in append() 419 public synchronized StringBuffer insert(int index, char[] str, int offset, in insert() 429 public synchronized StringBuffer insert(int offset, Object obj) { in insert() 437 public synchronized StringBuffer insert(int offset, String str) { in insert() 445 public synchronized StringBuffer insert(int offset, char[] str) { in insert() 477 public StringBuffer insert(int offset, boolean b) { in insert() 484 public synchronized StringBuffer insert(int offset, char c) { in insert() 492 public StringBuffer insert(int offset, int i) { in insert() 499 public StringBuffer insert(int offset, long l) { in insert() 506 public StringBuffer insert(int offset, float f) { in insert() [all …]
|
D | AbstractStringBuilder.java | 548 public AbstractStringBuilder append(char str[], int offset, int len) { in append() 929 public AbstractStringBuilder insert(int index, char[] str, int offset, in insert() 965 public AbstractStringBuilder insert(int offset, Object obj) { in insert() 1001 public AbstractStringBuilder insert(int offset, String str) { in insert() 1039 public AbstractStringBuilder insert(int offset, char[] str) { in insert() 1165 public AbstractStringBuilder insert(int offset, boolean b) { in insert() 1189 public AbstractStringBuilder insert(int offset, char c) { in insert() 1217 public AbstractStringBuilder insert(int offset, int i) { in insert() 1241 public AbstractStringBuilder insert(int offset, long l) { in insert() 1265 public AbstractStringBuilder insert(int offset, float f) { in insert() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
D | BrokenInputStream.java | 31 private int offset; field in BrokenInputStream 33 public BrokenInputStream(InputStream stream, int offset) { in BrokenInputStream()
|
/libcore/ojluni/src/main/java/java/text/ |
D | IcuIteratorWrapper.java | 320 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | CollationElementIteratorTest.java | 49 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/libart/src/main/java/java/lang/ |
D | StringFactory.java | 52 public static String newStringFromBytes(byte[] data, int offset, int byteCount) { in newStringFromBytes() 56 … public static native String newStringFromBytes(byte[] data, int high, int offset, int byteCount); in newStringFromBytes() 58 …public static String newStringFromBytes(byte[] data, int offset, int byteCount, String charsetName… in newStringFromBytes() 67 … public static String newStringFromBytes(byte[] data, int offset, int byteCount, Charset charset) { in newStringFromBytes() 214 public static String newStringFromChars(char[] data, int offset, int charCount) { in newStringFromChars() 222 static native String newStringFromChars(int offset, int charCount, char[] data); in newStringFromChars() 233 public static String newStringFromCodePoints(int[] codePoints, int offset, int count) { in newStringFromCodePoints()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBufferAsShortBuffer.java | 33 protected final int offset; field in ByteBufferAsShortBuffer 97 public ShortBuffer get(short[] dst, int offset, int length) { in get() 101 bb.getUnchecked(ix(position), dst, offset, length); in get() local 119 public ShortBuffer put(short[] src, int offset, int length) { in put() 123 bb.putUnchecked(ix(position), src, offset, length); in put() local
|
D | ByteBufferAsLongBuffer.java | 33 protected final int offset; field in ByteBufferAsLongBuffer 98 public LongBuffer get(long[] dst, int offset, int length) { in get() 102 bb.getUnchecked(ix(position), dst, offset, length); in get() local 120 public LongBuffer put(long[] src, int offset, int length) { in put() 124 bb.putUnchecked(ix(position), src, offset, length); in put() local
|
D | ByteBufferAsDoubleBuffer.java | 34 protected final int offset; field in ByteBufferAsDoubleBuffer 99 public DoubleBuffer get(double[] dst, int offset, int length) { in get() 103 bb.getUnchecked(ix(position), dst, offset, length); in get() local 121 public DoubleBuffer put(double[] src, int offset, int length) { in put() 125 bb.putUnchecked(ix(position), src, offset, length); in put() local
|
D | ByteBufferAsIntBuffer.java | 33 protected final int offset; field in ByteBufferAsIntBuffer 98 public IntBuffer get(int[] dst, int offset, int length) { in get() 102 bb.getUnchecked(ix(position), dst, offset, length); in get() local 120 public IntBuffer put(int[] src, int offset, int length) { in put() 124 bb.putUnchecked(ix(position), src, offset, length); in put() local
|
D | ByteBufferAsFloatBuffer.java | 33 protected final int offset; field in ByteBufferAsFloatBuffer 98 public FloatBuffer get(float[] dst, int offset, int length) { in get() 102 bb.getUnchecked(ix(position), dst, offset, length); in get() local 120 public FloatBuffer put(float[] src, int offset, int length) { in put() 124 bb.putUnchecked(ix(position), src, offset, length); in put() local
|
D | MappedByteBuffer.java | 87 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/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicReferenceArray.java | 99 private E getRaw(long offset) { in getRaw() 151 private boolean compareAndSetRaw(long offset, E expect, E update) { in compareAndSetRaw() 184 long offset = checkedByteOffset(i); in getAndUpdate() local 205 long offset = checkedByteOffset(i); in updateAndGet() local 231 long offset = checkedByteOffset(i); in getAndAccumulate() local 257 long offset = checkedByteOffset(i); in accumulateAndGet() local
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | Chunk.java | 35 public int offset, length; // position within "data" field in Chunk 45 public Chunk(int type, byte[] data, int offset, int length) { in Chunk()
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramPacket.java | 58 int offset; field in DatagramPacket 77 public DatagramPacket(byte buf[], int offset, int length) { in DatagramPacket() 113 public DatagramPacket(byte buf[], int offset, int length, in DatagramPacket() 136 public DatagramPacket(byte buf[], int offset, int length, in DatagramPacket() 258 public synchronized void setData(byte[] buf, int offset, int length) { in setData()
|