Home
last modified time | relevance | path

Searched refs:putLong (Results 1 – 25 of 34) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/nio/ch/
DNativeObject.java153 putLong(offset, ob.address); in putObject()
297 final void putLong(int offset, long value) { in putLong() method in NativeObject
298 unsafe.putLong(offset + address, value); in putLong()
377 unsafe.putLong(a, 0x0102030405060708L); in byteOrder()
DIOVecWrapper.java146 vecArray.putLong(offset, base); in putBase()
154 vecArray.putLong(offset, len); in putLen()
/libcore/ojluni/src/main/java/java/io/
DBits.java109 static void putLong(byte[] b, int off, long val) { in putLong() method in Bits
121 putLong(b, off, Double.doubleToLongBits(val)); in putDouble()
/libcore/ojluni/src/main/java/java/nio/
DHeapByteBuffer.java400 public ByteBuffer putLong(long x) { in putLong() method in HeapByteBuffer
404 Bits.putLong(this, ix(nextPutIndex(8)), x, bigEndian); in putLong()
409 public ByteBuffer putLong(int i, long x) { in putLong() method in HeapByteBuffer
413 Bits.putLong(this, ix(checkIndex(i, 8)), x, bigEndian); in putLong()
419 Bits.putLong(this, ix(i), x, bigEndian); in putLongUnchecked()
DDirectByteBuffer.java692 private ByteBuffer putLong(long a, long x) { in putLong() method in DirectByteBuffer
698 public final ByteBuffer putLong(long x) { in putLong() method in DirectByteBuffer
705 putLong(ix(nextPutIndex(Long.BYTES)), x); in putLong()
710 public final ByteBuffer putLong(int i, long x) { in putLong() method in DirectByteBuffer
717 putLong(ix(checkIndex(i, Long.BYTES)), x); in putLong()
726 putLong(ix(i), x); in putLongUnchecked()
DByteBuffer.java1440 public abstract ByteBuffer putLong(long value); in putLong() method in ByteBuffer
1488 public abstract ByteBuffer putLong(int index, long value); in putLong() method in ByteBuffer
DBits.java419 static void putLong(ByteBuffer bb, int bi, long x, boolean bigEndian) { in putLong() method in Bits
426 static void putLong(long a, long x, boolean bigEndian) { in putLong() method in Bits
/libcore/ojluni/annotations/mmodule/java/nio/
DByteBuffer.annotated.java124 public abstract java.nio.ByteBuffer putLong(long value); in putLong() method in ByteBuffer
128 public abstract java.nio.ByteBuffer putLong(int index, long value); in putLong() method in ByteBuffer
DDirectByteBuffer.annotated.java144 public final java.nio.ByteBuffer putLong(long x) { throw new RuntimeException("Stub!"); } in putLong() method in DirectByteBuffer
147 public final java.nio.ByteBuffer putLong(int i, long x) { throw new RuntimeException("Stub!"); } in putLong() method in DirectByteBuffer
/libcore/ojluni/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java311 private java.nio.ByteBuffer putLong(long a, long x) { in putLong() method in DirectByteBuffer
315 public final java.nio.ByteBuffer putLong(long x) { in putLong() method in DirectByteBuffer
319 public final java.nio.ByteBuffer putLong(int i, long x) { in putLong() method in DirectByteBuffer
DByteBuffer.java205 public abstract java.nio.ByteBuffer putLong(long value); in putLong() method in ByteBuffer
213 public abstract java.nio.ByteBuffer putLong(int index, long value); in putLong() method in ByteBuffer
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferencesTest.java103 p.putLong(null, 1l); in testAbstractMethods()
540 pref.putLong(null, 3L); in testPutLong()
544 pref.putLong(longKey, 3L); in testPutLong()
546 pref.putLong(longKey + "a", 3L); in testPutLong()
550 pref.putLong("testPutLongKey", 3L); in testPutLong()
758 pref.putLong("long_key", Long.MAX_VALUE); in testAddPreferenceChangeListener()
1083 public void putLong(String key, long value) { in putLong() method in OldPreferencesTest.MockPreferences
DOldAbstractPreferencesTest.java159 pref.putLong(keyArray[2], new Long(Long.MIN_VALUE)); in testRemove()
255 pref.putLong("LongValue", new Long(Long.MIN_VALUE)); in testGetInt()
282 pref.putLong("LongValue", new Long(299792458)); in testPutLong()
288 pref.putLong(null, new Long(1)); in testPutLong()
302 pref.putLong(new String(sb), new Long(1)); in testPutLong()
311 pref.putLong("LongValue", new Long(1)); in testPutLong()
321 pref.putLong("LongValue", new Long(Long.MIN_VALUE)); in testGetLong()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java284 public native void putLong(Object obj, long offset, long newValue); in putLong() method in Unsafe
613 public native void putLong(long address, long x); in putLong() method in Unsafe
/libcore/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java135 @libcore.util.NonNull public abstract java.nio.ByteBuffer putLong(long value); in putLong() method in ByteBuffer
139 @libcore.util.NonNull public abstract java.nio.ByteBuffer putLong(int index, long value); in putLong() method in ByteBuffer
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DAbstractPreferencesTest.java700 pref.putLong(null, 3L); in testPutLong()
705 pref.putLong(LONG_KEY, 3L); in testPutLong()
707 pref.putLong(LONG_KEY + "a", 3L); in testPutLong()
712 pref.putLong("testPutLongKey", 3L); in testPutLong()
1059 p.putLong("key", 3l); in testBackingStoreException()
1169 p.putLong("key", 3l); in testRuntimeException()
1283 p.putLong("key", 3l); in testSPIReturnNull()
1394 pref.putLong("key", 3l); in testIllegalStateException()
1550 p.putLong(null, 3l); in testNullAndIllegalStateException()
DPreferencesTest.java376 public void putLong(String key, long value) { in putLong() method in PreferencesTest.MockPreferences
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java112 public native void putLong(java.lang.Object obj, long offset, long newValue); in putLong() method in Unsafe
219 public native void putLong(long address, long x); in putLong() method in Unsafe
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicLongFieldUpdater.java600 U.putLong(obj, offset, update); in compareAndSet()
612 U.putLong(obj, offset, newValue); in set()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java672 public abstract void putLong(String key, long value); in putLong() method in Preferences
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java162 U.putLong(t, SEED, seed); in localInit()
191 U.putLong(t = Thread.currentThread(), SEED, in nextSeed()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java542 b.putLong(0); in testRelativePositions()
1025 b.putLong(0); in testPutMethods()
1026 b.putLong(0, 0); in testPutMethods()
1099 b.putLong(0); in testFailForPutMethods()
1104 b.putLong(0, 0); in testFailForPutMethods()
/libcore/ojluni/annotations/mmodule/sun/misc/
DUnsafe.annotated.java106 public native void putLong(java.lang.Object obj, long offset, long newValue); in putLong() method in Unsafe
240 public native void putLong(long address, long x); in putLong() method in Unsafe
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java1835 buf.putLong((long) 1); in testPutLong()
1852 buf.putLong(value); in testPutLong()
1860 buf.putLong(value); in testPutLong()
1872 buf.putLong(0, (long) 1); in testPutLongint()
1889 buf.putLong(i, value); in testPutLongint()
1896 buf.putLong(-1, value); in testPutLongint()
1902 buf.putLong(buf.limit() - nbytes + 1, value); in testPutLongint()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java434 frameBuf.putLong(value); in putNextLong()

12