Searched refs:putLong (Results 1 - 22 of 22) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
H A DNativeObject.java153 putLong(offset, ob.address);
297 final void putLong(int offset, long value) { method in class:NativeObject
298 unsafe.putLong(offset + address, value);
377 unsafe.putLong(a, 0x0102030405060708L);
H A DIOVecWrapper.java146 vecArray.putLong(offset, base);
154 vecArray.putLong(offset, len);
/libcore/ojluni/src/main/java/java/io/
H A DBits.java109 static void putLong(byte[] b, int off, long val) { method in class:Bits
121 putLong(b, off, Double.doubleToLongBits(val));
H A DObjectOutputStream.java1683 Bits.putLong(primVals, getFieldOffset(name, Long.TYPE), val);
2029 Bits.putLong(buf, pos, v);
2178 Bits.putLong(buf, pos, v[off++]);
H A DObjectStreamClass.java1965 Bits.putLong(buf, off, unsafe.getLong(obj, key));
2019 unsafe.putLong(obj, key, Bits.getLong(buf, off));
/libcore/ojluni/src/main/java/java/nio/
H A DHeapByteBuffer.java361 public ByteBuffer putLong(long x) { method in class:HeapByteBuffer
365 Bits.putLong(this, ix(nextPutIndex(8)), x, bigEndian);
369 public ByteBuffer putLong(int i, long x) { method in class:HeapByteBuffer
373 Bits.putLong(this, ix(checkIndex(i, 8)), x, bigEndian);
378 Bits.putLong(this, ix(i), x, bigEndian);
H A DDirectByteBuffer.java589 private ByteBuffer putLong(long a, long x) { method in class:DirectByteBuffer
594 public ByteBuffer putLong(long x) { method in class:DirectByteBuffer
601 putLong(ix(nextPutIndex(SizeOf.LONG)), x);
605 public ByteBuffer putLong(int i, long x) { method in class:DirectByteBuffer
612 putLong(ix(checkIndex(i, SizeOf.LONG)), x);
617 putLong(ix(i), x);
H A DByteBuffer.java1247 public abstract ByteBuffer putLong(long value); method in class:ByteBuffer
1286 public abstract ByteBuffer putLong(int index, long value); method in class:ByteBuffer
H A DBits.java463 static void putLong(ByteBuffer bb, int bi, long x, boolean bigEndian) { method in class:Bits
470 static void putLong(long a, long x, boolean bigEndian) { method in class:Bits
626 unsafe.putLong(a, 0x0102030405060708L);
645 unsafe.putLong(a, 0x0102030405060708L);
/libcore/ojluni/src/main/java/sun/misc/
H A DUnsafe.java261 public native void putLong(Object obj, long offset, long newValue); method in class:Unsafe
379 public native void putLong(long address, long x); method in class:Unsafe
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldAbstractPreferencesTest.java158 pref.putLong(keyArray[2], new Long(Long.MIN_VALUE));
254 pref.putLong("LongValue", new Long(Long.MIN_VALUE));
281 pref.putLong("LongValue", new Long(299792458));
287 pref.putLong(null, new Long(1));
301 pref.putLong(new String(sb), new Long(1));
310 pref.putLong("LongValue", new Long(1));
320 pref.putLong("LongValue", new Long(Long.MIN_VALUE));
H A DOldPreferencesTest.java102 p.putLong(null, 1l);
539 pref.putLong(null, 3L);
543 pref.putLong(longKey, 3L);
545 pref.putLong(longKey + "a", 3L);
549 pref.putLong("testPutLongKey", 3L);
757 pref.putLong("long_key", Long.MAX_VALUE);
1082 public void putLong(String key, long value) { method in class:OldPreferencesTest.MockPreferences
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DAbstractPreferencesTest.java700 pref.putLong(null, 3L);
705 pref.putLong(LONG_KEY, 3L);
707 pref.putLong(LONG_KEY + "a", 3L);
712 pref.putLong("testPutLongKey", 3L);
1059 p.putLong("key", 3l);
1169 p.putLong("key", 3l);
1283 p.putLong("key", 3l);
1394 pref.putLong("key", 3l);
1550 p.putLong(null, 3l);
H A DPreferencesTest.java376 public void putLong(String key, long value) { method in class:PreferencesTest.MockPreferences
/libcore/ojluni/src/main/java/java/util/prefs/
H A DPreferences.java582 public abstract void putLong(String key, long value); method in class:Preferences
592 * method is intended for use in conjunction with {@link #putLong}.
611 * @see #putLong(String,long)
H A DAbstractPreferences.java397 * Implements the <tt>putLong</tt> method as per the specification in
398 * {@link Preferences#putLong(String,long)}.
412 public void putLong(String key, long value) { method in class:AbstractPreferences
/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DAtomicLongFieldUpdater.java550 U.putLong(obj, offset, update);
562 U.putLong(obj, offset, newValue);
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java596 b.putLong(0);
1080 b.putLong(0);
1081 b.putLong(0, 0);
1154 b.putLong(0);
1159 b.putLong(0, 0);
/libcore/luni/src/main/java/java/util/concurrent/
H A DThreadLocalRandom.java133 U.putLong(t, SEED, seed);
162 U.putLong(t = Thread.currentThread(), SEED,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DByteBufferTest.java1805 buf.putLong((long) 1);
1822 buf.putLong(value);
1830 buf.putLong(value);
1842 buf.putLong(0, (long) 1);
1859 buf.putLong(i, value);
1866 buf.putLong(-1, value);
1872 buf.putLong(buf.limit() - nbytes + 1, value);
/libcore/benchmarks/src/benchmarks/regression/
H A DByteBufferBenchmark.java365 src.putLong(0L);
/libcore/ojluni/src/main/java/java/util/
H A DBitSet.java300 bb.putLong(words[i]);

Completed in 1639 milliseconds