Searched refs:putLong (Results 1 - 23 of 23) 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.java1703 Bits.putLong(primVals, getFieldOffset(name, Long.TYPE), val);
2058 Bits.putLong(buf, pos, v);
2207 Bits.putLong(buf, pos, v[off++]);
H A DObjectStreamClass.java2034 Bits.putLong(buf, off, unsafe.getLong(obj, key));
2088 unsafe.putLong(obj, key, Bits.getLong(buf, off));
/libcore/ojluni/src/main/java/java/nio/
H A DHeapByteBuffer.java400 public ByteBuffer putLong(long x) { method in class:HeapByteBuffer
404 Bits.putLong(this, ix(nextPutIndex(8)), x, bigEndian);
409 public ByteBuffer putLong(int i, long x) { method in class:HeapByteBuffer
413 Bits.putLong(this, ix(checkIndex(i, 8)), x, bigEndian);
419 Bits.putLong(this, ix(i), x, bigEndian);
H A DByteBuffer.java1414 public abstract ByteBuffer putLong(long value); method in class:ByteBuffer
1465 public abstract ByteBuffer putLong(int index, long value); method in class:ByteBuffer
H A DDirectByteBuffer.java685 private ByteBuffer putLong(long a, long x) { method in class:DirectByteBuffer
691 public final ByteBuffer putLong(long x) { method in class:DirectByteBuffer
698 putLong(ix(nextPutIndex(SizeOf.LONG)), x);
703 public final ByteBuffer putLong(int i, long x) { method in class:DirectByteBuffer
710 putLong(ix(checkIndex(i, SizeOf.LONG)), x);
719 putLong(ix(i), x);
H A DBits.java419 static void putLong(ByteBuffer bb, int bi, long x, boolean bigEndian) { method in class:Bits
426 static void putLong(long a, long x, boolean bigEndian) { method in class:Bits
579 unsafe.putLong(a, 0x0102030405060708L);
600 unsafe.putLong(a, 0x0102030405060708L);
/libcore/ojluni/src/main/java/sun/misc/
H A DUnsafe.java278 public native void putLong(Object obj, long offset, long newValue); method in class:Unsafe
427 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.java399 * Implements the <tt>putLong</tt> method as per the specification in
400 * {@link Preferences#putLong(String,long)}.
414 public void putLong(String key, long value) { method in class:AbstractPreferences
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
H A DAtomicLongFieldUpdater.java579 U.putLong(obj, offset, update);
591 U.putLong(obj, offset, newValue);
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DThreadLocalRandom.java162 U.putLong(t, SEED, seed);
191 U.putLong(t = Thread.currentThread(), SEED,
/libcore/dalvik/src/main/java/dalvik/system/
H A DEmulatedStackFrame.java425 frameBuf.putLong(value);
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java599 b.putLong(0);
1082 b.putLong(0);
1083 b.putLong(0, 0);
1156 b.putLong(0);
1161 b.putLong(0, 0);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DByteBufferTest.java1809 buf.putLong((long) 1);
1826 buf.putLong(value);
1834 buf.putLong(value);
1846 buf.putLong(0, (long) 1);
1863 buf.putLong(i, value);
1870 buf.putLong(-1, value);
1876 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.java306 bb.putLong(words[i]);

Completed in 2372 milliseconds