/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 | 57 int offset = SIZE_POLLFD * i + EVENT_OFFSET; in getEventOps() local 62 int offset = SIZE_POLLFD * i + REVENT_OFFSET; in getReventOps() local 67 int offset = SIZE_POLLFD * i + FD_OFFSET; in getDescriptor() local 72 int offset = SIZE_POLLFD * i + EVENT_OFFSET; in putEventOps() local 77 int offset = SIZE_POLLFD * i + REVENT_OFFSET; in putReventOps() local 82 int offset = SIZE_POLLFD * i + FD_OFFSET; in putDescriptor() local
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 66 java.lang.Object obj, long offset, int expectedValue, int newValue); in compareAndSwapInt() 70 java.lang.Object obj, long offset, long expectedValue, long newValue); in compareAndSwapLong() 75 long offset, in compareAndSwapObject() 80 public native int getIntVolatile(java.lang.Object obj, long offset); in getIntVolatile() 83 public native void putIntVolatile(java.lang.Object obj, long offset, int newValue); in putIntVolatile() 86 public native long getLongVolatile(java.lang.Object obj, long offset); in getLongVolatile() 89 public native void putLongVolatile(java.lang.Object obj, long offset, long newValue); in putLongVolatile() 92 public native java.lang.Object getObjectVolatile(java.lang.Object obj, long offset); in getObjectVolatile() 96 java.lang.Object obj, long offset, java.lang.Object newValue); in putObjectVolatile() 99 public native int getInt(java.lang.Object obj, long offset); in getInt() [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 134 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt() 150 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong() 166 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject() 178 public native int getIntVolatile(Object obj, long offset); in getIntVolatile() 189 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile() 200 public native long getLongVolatile(Object obj, long offset); in getLongVolatile() 211 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile() 222 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile() 233 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile() 244 public native int getInt(Object obj, long offset); in getInt() [all …]
|
/libcore/luni/src/main/java/libcore/util/ |
D | CharsetUtils.java | 32 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/ |
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 | 200 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/ |
D | StringBuilder.java | 190 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 …]
|
/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/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/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 | 53 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() 77 … public static String newStringFromBytes(byte[] data, int offset, int byteCount, Charset charset) { in newStringFromBytes() 256 public static String newStringFromChars(char[] data, int offset, int charCount) { in newStringFromChars() 265 static native String newStringFromChars(int offset, int charCount, char[] data); in newStringFromChars() 277 public static String newStringFromCodePoints(int[] codePoints, int offset, int count) { in newStringFromCodePoints()
|
/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/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 119 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/annotations/mmodule/sun/misc/ |
D | Unsafe.annotated.java | 53 public native byte getByte(java.lang.Object obj, long offset); in getByte() 59 public native long getLong(java.lang.Object obj, long offset); in getLong() 65 public native void putByte(java.lang.Object obj, long offset, byte newValue); in putByte()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBufferAsIntBuffer.java | 33 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
|
D | ByteBufferAsShortBuffer.java | 33 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
|
D | ByteBufferAsFloatBuffer.java | 33 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
|
D | ByteBufferAsLongBuffer.java | 33 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
|
D | ByteBufferAsDoubleBuffer.java | 34 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
|
D | MappedByteBuffer.java | 90 MappedByteBuffer(int mark, int pos, int lim, int cap, byte[] buf, int offset) { in MappedByteBuffer() 110 long offset = address % ps; in mappingOffset() local 144 long offset = mappingOffset(); in isLoaded() local 166 long offset = mappingOffset(); in load() local 209 long offset = mappingOffset(); in force() local
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | StringBuffer.annotated.java | 77 @libcore.util.NonNull public synchronized java.lang.StringBuffer append(char[] str, int offset, int… in append() 105 …blic synchronized java.lang.StringBuffer insert(int index, char[] str, int offset, int len) { thro… in insert() 107 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, @libcore.util.N… in insert() 109 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, @libcore.util.N… in insert() 111 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, char[] str) { t… in insert() 117 @libcore.util.NonNull public java.lang.StringBuffer insert(int offset, boolean b) { throw new Runti… in insert() 119 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, char c) { throw… in insert() 121 @libcore.util.NonNull public java.lang.StringBuffer insert(int offset, int i) { throw new RuntimeEx… in insert() 123 @libcore.util.NonNull public java.lang.StringBuffer insert(int offset, long l) { throw new RuntimeE… in insert() 125 @libcore.util.NonNull public java.lang.StringBuffer insert(int offset, float f) { throw new Runtime… in insert() [all …]
|
D | StringBuilder.annotated.java | 54 @libcore.util.NonNull public java.lang.StringBuilder append(char[] str, int offset, int len) { thro… in append() 76 @libcore.util.NonNull public java.lang.StringBuilder insert(int index, char[] str, int offset, int … in insert() 78 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, @libcore.util.Nullable java… in insert() 80 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, @libcore.util.Nullable java… in insert() 82 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, char[] str) { throw new Run… in insert() 88 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, boolean b) { throw new Runt… in insert() 90 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, char c) { throw new Runtime… in insert() 92 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, int i) { throw new RuntimeE… in insert() 94 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, long l) { throw new Runtime… in insert() 96 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, float f) { throw new Runtim… in insert() [all …]
|