Home
last modified time | relevance | path

Searched refs:putInt (Results 1 – 25 of 47) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferenceChangeEventTest.java64 pref.putInt("key_int", Integer.MAX_VALUE); in testGetKey()
89 pref.putInt("key_int", Integer.MAX_VALUE); in testGetNewValue()
94 pref.putInt("key_int", Integer.MAX_VALUE); in testGetNewValue()
119 pref.putInt("key_int", Integer.MAX_VALUE); in testGetNode()
DOldAbstractPreferencesTest.java160 pref.putInt(keyArray[3], 299792458); in testRemove()
187 pref.putInt("IntValue", 33); in testClear()
216 pref.putInt("IntValue", 299792458); in testPutInt()
222 pref.putInt(null, new Integer(1)); in testPutInt()
236 pref.putInt(new String(sb), new Integer(1)); in testPutInt()
245 pref.putInt("IntValue", new Integer(1)); in testPutInt()
256 pref.putInt("IntValue", 299792458); in testGetInt()
322 pref.putInt("IntValue", 299792458); in testGetLong()
452 pref.putInt("IntValue", 299792458); in testGetFloat()
518 pref.putInt("IntValue", 299792458); in testGetDouble()
[all …]
DOldPreferencesTest.java102 p.putInt(null, 1); in testAbstractMethods()
249 pref.putInt("testGetDoubleKey4", 1); in testGetDouble()
522 pref.putInt(null, 3); in testPutInt()
526 pref.putInt(longKey, 3); in testPutInt()
528 pref.putInt(longKey + "a", 3); in testPutInt()
532 pref.putInt("testPutIntKey", 3); in testPutInt()
755 pref.putInt("mock1", 123); in testAddPreferenceChangeListener()
1079 public void putInt(String key, int value) { in putInt() method in OldPreferencesTest.MockPreferences
/libcore/ojluni/src/main/java/sun/nio/ch/
DNativeObject.java156 putInt(offset, (int)(ob.address & 0x00000000FFFFFFFF)); in putObject()
270 final void putInt(int offset, int value) { in putInt() method in NativeObject
271 unsafe.putInt(offset + address, value); in putInt()
DIOVecWrapper.java144 vecArray.putInt(offset, (int)base); in putBase()
152 vecArray.putInt(offset, (int)len); in putLen()
DAbstractPollArrayWrapper.java83 pollArray.putInt(offset, fd); in putDescriptor()
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunkHandler.java108 out.putInt(errorCode); in createFailChunk()
109 out.putInt(msg.length()); in createFailChunk()
/libcore/ojluni/src/main/java/java/io/
DBits.java98 static void putInt(byte[] b, int off, int val) { in putInt() method in Bits
106 putInt(b, off, Float.floatToIntBits(val)); in putFloat()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java455 frameBuf.putInt(value); in putNextByte()
461 frameBuf.putInt(value); in putNextInt()
473 frameBuf.putInt((int) value); in putNextChar()
479 frameBuf.putInt(value ? 1 : 0); in putNextBoolean()
485 frameBuf.putInt((int) value); in putNextShort()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DMappedByteBufferTest.java201 byteBuffer.putInt(i + 1); in setUp()
220 mbb.putInt(1, 1); in test_position()
222 mbb.putInt(50); in test_position()
/libcore/ojluni/annotations/mmodule/java/nio/
DByteBuffer.annotated.java114 public abstract java.nio.ByteBuffer putInt(int value); in putInt() method in ByteBuffer
118 public abstract java.nio.ByteBuffer putInt(int index, int value); in putInt() method in ByteBuffer
DDirectByteBuffer.annotated.java129 public final java.nio.ByteBuffer putInt(int x) { throw new RuntimeException("Stub!"); } in putInt() method in DirectByteBuffer
132 public final java.nio.ByteBuffer putInt(int i, int x) { throw new RuntimeException("Stub!"); } in putInt() method in DirectByteBuffer
/libcore/ojluni/src/main/java/java/nio/
DHeapByteBuffer.java679 public ByteBuffer putInt(int x) { in putInt() method in HeapByteBuffer
685 Bits.putInt(this, ix(nextPutIndex(4)), x, bigEndian); in putInt()
693 public ByteBuffer putInt(int i, int x) { in putInt() method in HeapByteBuffer
699 Bits.putInt(this, ix(checkIndex(i, 4)), x, bigEndian); in putInt()
709 Bits.putInt(this, ix(i), x, bigEndian); in putIntUnchecked()
DDirectByteBuffer.java621 private ByteBuffer putInt(long a, int x) { in putInt() method in DirectByteBuffer
627 public final ByteBuffer putInt(int x) { in putInt() method in DirectByteBuffer
634 putInt(ix(nextPutIndex(Integer.BYTES)), x); in putInt()
639 public final ByteBuffer putInt(int i, int x) { in putInt() method in DirectByteBuffer
646 putInt(ix(checkIndex(i, Integer.BYTES)), x); in putInt()
655 putInt(ix(i), x); in putIntUnchecked()
DByteBuffer.java2677 public abstract ByteBuffer putInt(int value); in putInt() method in ByteBuffer
2725 public abstract ByteBuffer putInt(int index, int value); in putInt() method in ByteBuffer
/libcore/ojluni/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java274 private java.nio.ByteBuffer putInt(long a, int x) { in putInt() method in DirectByteBuffer
278 public final java.nio.ByteBuffer putInt(int x) { in putInt() method in DirectByteBuffer
282 public final java.nio.ByteBuffer putInt(int i, int x) { in putInt() method in DirectByteBuffer
DByteBuffer.java187 public abstract java.nio.ByteBuffer putInt(int value); in putInt() method in ByteBuffer
195 public abstract java.nio.ByteBuffer putInt(int index, int value); in putInt() method in ByteBuffer
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java175 U.putInt(t, PROBE, probe); in localInit()
274 U.putInt(Thread.currentThread(), PROBE, probe); in advanceProbe()
291 U.putInt(t, SECONDARY, r); in nextSecondarySeed()
/libcore/ojluni/annotations/flagged_api/java/nio/
DByteBuffer.annotated.java151 public abstract java.nio.ByteBuffer putInt(int value); in putInt() method in ByteBuffer
155 public abstract java.nio.ByteBuffer putInt(int index, int value); in putInt() method in ByteBuffer
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DAbstractPreferencesTest.java337 pref.putInt("testGetDoubleKey4", 1); in testGetDouble()
681 pref.putInt(null, 3); in testPutInt()
686 pref.putInt(LONG_KEY, 3); in testPutInt()
688 pref.putInt(LONG_KEY + "a", 3); in testPutInt()
693 pref.putInt("testPutIntKey", 3); in testPutInt()
1057 p.putInt("key", 3); in testBackingStoreException()
1163 p.putInt("key", 3); in testRuntimeException()
1281 p.putInt("key", 3); in testSPIReturnNull()
1384 pref.putInt("key", 3); in testIllegalStateException()
1540 p.putInt(null, 3); in testNullAndIllegalStateException()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java255 public native void putInt(Object obj, long offset, int newValue); in putInt() method in Unsafe
595 public native void putInt(long address, int x); in putInt() method in Unsafe
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java103 public native void putInt(java.lang.Object obj, long offset, int newValue); in putInt() method in Unsafe
213 public native void putInt(long address, int x); in putInt() method in Unsafe
/libcore/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java141 @libcore.util.NonNull public abstract java.nio.ByteBuffer putInt(int value); in putInt() method in ByteBuffer
145 @libcore.util.NonNull public abstract java.nio.ByteBuffer putInt(int index, int value); in putInt() method in ByteBuffer
/libcore/luni/src/test/java/libcore/sun/misc/
DUnsafeTest.java210 unsafe.putInt(tf, intFieldOffset, intValue); in test_putInt_Relative()
268 unsafe.putInt(buffer, intValue1); in test_putInt_getInt_Absolute()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java622 public abstract void putInt(String key, int value); in putInt() method in Preferences

12