/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/mmodule/sun/misc/ |
D | Unsafe.annotated.java | 54 public native boolean compareAndSwapInt(java.lang.Object obj, long offset, int expectedValue, int n… in compareAndSwapInt() 57 public native boolean compareAndSwapLong(java.lang.Object obj, long offset, long expectedValue, lon… in compareAndSwapLong() 60 public native boolean compareAndSwapObject(java.lang.Object obj, long offset, java.lang.Object expe… in compareAndSwapObject() 63 public native int getIntVolatile(java.lang.Object obj, long offset); in getIntVolatile() 66 public native void putIntVolatile(java.lang.Object obj, long offset, int newValue); in putIntVolatile() 69 public native long getLongVolatile(java.lang.Object obj, long offset); in getLongVolatile() 72 public native void putLongVolatile(java.lang.Object obj, long offset, long newValue); in putLongVolatile() 75 public native void putObjectVolatile(java.lang.Object obj, long offset, java.lang.Object newValue); in putObjectVolatile() 78 public native java.lang.Object getObjectVolatile(java.lang.Object obj, long offset); in getObjectVolatile() 82 public native int getInt(java.lang.Object obj, long offset); in getInt() [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 135 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt() 151 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong() 167 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject() 179 public native int getIntVolatile(Object obj, long offset); in getIntVolatile() 190 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile() 201 public native long getLongVolatile(Object obj, long offset); in getLongVolatile() 212 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile() 223 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile() 234 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile() 245 public native int getInt(Object obj, long offset); in getInt() [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 67 java.lang.Object obj, long offset, int expectedValue, int newValue); in compareAndSwapInt() 71 java.lang.Object obj, long offset, long expectedValue, long newValue); in compareAndSwapLong() 76 long offset, in compareAndSwapObject() 81 public native int getIntVolatile(java.lang.Object obj, long offset); in getIntVolatile() 84 public native void putIntVolatile(java.lang.Object obj, long offset, int newValue); in putIntVolatile() 87 public native long getLongVolatile(java.lang.Object obj, long offset); in getLongVolatile() 90 public native void putLongVolatile(java.lang.Object obj, long offset, long newValue); in putLongVolatile() 93 public native java.lang.Object getObjectVolatile(java.lang.Object obj, long offset); in getObjectVolatile() 97 java.lang.Object obj, long offset, java.lang.Object newValue); in putObjectVolatile() 100 public native int getInt(java.lang.Object obj, long offset); in getInt() [all …]
|
/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | Unsafe.java | 148 public native int getInt(Object o, long offset); in getInt() 173 public native void putInt(Object o, long offset, int x); in putInt() 182 public native Object getReference(Object o, long offset); in getReference() 197 public native void putReference(Object o, long offset, Object x); in putReference() 203 public native boolean getBoolean(Object o, long offset); in getBoolean() 209 public native void putBoolean(Object o, long offset, boolean x); in putBoolean() 215 public native byte getByte(Object o, long offset); in getByte() 221 public native void putByte(Object o, long offset, byte x); in putByte() 227 public native short getShort(Object o, long offset); in getShort() 233 public native void putShort(Object o, long offset, short x); in putShort() [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()
|
/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/libart/src/main/java/java/lang/ |
D | StringFactory.java | 61 public static native String newStringFromUtf16Bytes(byte[] data, int offset, int charCount); in newStringFromUtf16Bytes() 67 public static String newStringFromBytes(byte[] data, int offset, int byteCount) { in newStringFromBytes() 72 … public static native String newStringFromBytes(byte[] data, int high, int offset, int byteCount); in newStringFromBytes() 74 …public static String newStringFromBytes(byte[] data, int offset, int byteCount, String charsetName… in newStringFromBytes() 83 … public static String newStringFromBytes(byte[] data, int offset, int byteCount, Charset charset) { in newStringFromBytes() 120 public static String newStringFromChars(char[] data, int offset, int charCount) { in newStringFromChars() 129 static native String newStringFromChars(int offset, int charCount, char[] data); in newStringFromChars() 135 public static native String newStringFromUtf8Bytes(byte[] data, int offset, int byteCount); in newStringFromUtf8Bytes() 150 public static String newStringFromCodePoints(int[] codePoints, int offset, int count) { in newStringFromCodePoints()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringBuilder.java | 241 public StringBuilder append(char[] str, int offset, int len) { in append() 330 public StringBuilder insert(int index, char[] str, int offset, in insert() 341 public StringBuilder insert(int offset, Object obj) { in insert() 350 public StringBuilder insert(int offset, String str) { in insert() 359 public StringBuilder insert(int offset, char[] str) { in insert() 388 public StringBuilder insert(int offset, boolean b) { in insert() 397 public StringBuilder insert(int offset, char c) { in insert() 406 public StringBuilder insert(int offset, int i) { in insert() 415 public StringBuilder insert(int offset, long l) { in insert() 424 public StringBuilder insert(int offset, float f) { in insert() [all …]
|
/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 | 216 private void writeTrailer(byte[] buf, int offset) throws IOException { in writeTrailer() 217 writeInt((int)crc.getValue(), buf, offset); // CRC-32 of uncompr. data in writeTrailer() local 218 writeInt(def.getTotalIn(), buf, offset + 4); // Number of uncompr. bytes in writeTrailer() local 225 private void writeInt(int i, byte[] buf, int offset) throws IOException { in writeInt() 234 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/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/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 120 private final transient ZoneOffset offset; field in ChronoZonedDateTimeImpl 145 ZoneOffset offset; in ofBest() local 173 ZoneOffset offset = rules.getOffset(instant); in ofInstant() local 219 …private ChronoZonedDateTimeImpl(ChronoLocalDateTimeImpl<D> dateTime, ZoneOffset offset, ZoneId zon… in ChronoZonedDateTimeImpl() 247 ZoneOffset offset = trans.getOffsetAfter(); in withLaterOffsetAtOverlap() local 290 … ZoneOffset offset = ZoneOffset.ofTotalSeconds(chronoField.checkValidIntValue(newValue)); in with() local 360 ZoneOffset offset = (ZoneOffset) in.readObject(); in readExternal() local
|
/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/ojluni/src/test/java/text/BreakIterator/ |
D | MirroredBreakIterator.java | 102 public int following(int offset) { in following() 114 public int preceding(int offset) { in preceding() 126 public boolean isBoundary(int offset) { in isBoundary() 163 private void validateOffset(int offset) { in validateOffset()
|
D | ExceptionTest.java | 127 private static void checkFollowingException(BreakIterator bi, int offset) { in checkFollowingException() 137 private static void checkPrecedingException(BreakIterator bi, int offset) { in checkPrecedingException() 147 private static void checkIsBoundaryException(BreakIterator bi, int offset) { in checkIsBoundaryException()
|
/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 …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramPacket.java | 68 int offset; field in DatagramPacket 87 public DatagramPacket(byte buf[], int offset, int length) { in DatagramPacket() 123 public DatagramPacket(byte buf[], int offset, int length, in DatagramPacket() 152 public DatagramPacket(byte buf[], int offset, int length, SocketAddress address) { in DatagramPacket() 278 public synchronized void setData(byte[] buf, int offset, int length) { in setData()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | AbstractStringBuilder.java | 133 public java.lang.AbstractStringBuilder append(char[] str, int offset, int len) { in append() 189 public java.lang.AbstractStringBuilder insert(int index, char[] str, int offset, int len) { in insert() 193 public java.lang.AbstractStringBuilder insert(int offset, java.lang.Object obj) { in insert() 197 public java.lang.AbstractStringBuilder insert(int offset, java.lang.String str) { in insert() 201 public java.lang.AbstractStringBuilder insert(int offset, char[] str) { in insert() 214 public java.lang.AbstractStringBuilder insert(int offset, boolean b) { in insert() 218 public java.lang.AbstractStringBuilder insert(int offset, char c) { in insert() 222 public java.lang.AbstractStringBuilder insert(int offset, int i) { in insert() 226 public java.lang.AbstractStringBuilder insert(int offset, long l) { in insert() 230 public java.lang.AbstractStringBuilder insert(int offset, float f) { in insert() [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | ManifestDigester.java | 38 private boolean findSection(int offset, sun.security.util.ManifestDigester.Position pos) { in findSection() 65 public Entry(int offset, int length, int lengthWithBlankLine, byte[] rawBytes) { in Entry() 75 java.security.MessageDigest md, byte[] bytes, int offset, int length) { in doOldStyle() 88 int offset; field in ManifestDigester.Entry
|