Searched defs:putInt (Results 1 - 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
H A DBits.java98 static void putInt(byte[] b, int off, int val) { method in class:Bits
106 putInt(b, off, Float.floatToIntBits(val));
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DNativeObject.java156 putInt(offset, (int)(ob.address & 0x00000000FFFFFFFF));
270 final void putInt(int offset, int value) { method in class:NativeObject
271 unsafe.putInt(offset + address, value);
/libcore/ojluni/src/main/java/java/nio/
H A DHeapByteBuffer.java308 public ByteBuffer putInt(int x) { method in class:HeapByteBuffer
312 Bits.putInt(this, ix(nextPutIndex(4)), x, bigEndian);
316 public ByteBuffer putInt(int i, int x) { method in class:HeapByteBuffer
320 Bits.putInt(this, ix(checkIndex(i, 4)), x, bigEndian);
325 Bits.putInt(this, ix(i), x, bigEndian);
H A DByteBuffer.java180 * bb.putInt(0xCAFEBABE);
187 * bb.putInt(0xCAFEBABE).putShort(3).putShort(45);</pre></blockquote>
1152 public abstract ByteBuffer putInt(int value); method in class:ByteBuffer
1191 public abstract ByteBuffer putInt(int index, int value); method in class:ByteBuffer
H A DDirectByteBuffer.java507 private ByteBuffer putInt(long a, int x) { method in class:DirectByteBuffer
512 public ByteBuffer putInt(int x) { method in class:DirectByteBuffer
519 putInt(ix(nextPutIndex(SizeOf.INT)), x);
523 public ByteBuffer putInt(int i, int x) { method in class:DirectByteBuffer
530 putInt(ix(checkIndex(i, SizeOf.INT)), x);
535 putInt(ix(i), x);
H A DBits.java306 static void putInt(ByteBuffer bb, int bi, int x, boolean bigEndian) { method in class:Bits
313 static void putInt(long a, int x, boolean bigEndian) { method in class:Bits
/libcore/ojluni/src/main/java/java/util/prefs/
H A DPreferences.java532 public abstract void putInt(String key, int value); method in class:Preferences
542 * method is intended for use in conjunction with {@link #putInt}.
561 * @see #putInt(String,int)
H A DAbstractPreferences.java342 * Implements the <tt>putInt</tt> method as per the specification in
343 * {@link Preferences#putInt(String,int)}.
357 public void putInt(String key, int value) { method in class:AbstractPreferences
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DPreferencesTest.java371 public void putInt(String key, int value) { method in class:PreferencesTest.MockPreferences
/libcore/ojluni/src/main/java/sun/misc/
H A DUnsafe.java238 public native void putInt(Object obj, long offset, int newValue); method in class:Unsafe
375 public native void putInt(long address, int x); method in class:Unsafe
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldPreferencesTest.java101 p.putInt(null, 1);
248 pref.putInt("testGetDoubleKey4", 1);
521 pref.putInt(null, 3);
525 pref.putInt(longKey, 3);
527 pref.putInt(longKey + "a", 3);
531 pref.putInt("testPutIntKey", 3);
754 pref.putInt("mock1", 123);
1078 public void putInt(String key, int value) { method in class:OldPreferencesTest.MockPreferences

Completed in 377 milliseconds