Home
last modified time | relevance | path

Searched refs:putInt (Results 1 – 25 of 39) 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/dalvik/system/
DEmulatedStackFrame.java422 frameBuf.putInt(value); in putNextByte()
428 frameBuf.putInt(value); in putNextInt()
440 frameBuf.putInt((int) value); in putNextChar()
446 frameBuf.putInt(value ? 1 : 0); in putNextBoolean()
452 frameBuf.putInt((int) value); in putNextShort()
/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/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/src/main/java/java/nio/
DHeapByteBuffer.java338 public ByteBuffer putInt(int x) { in putInt() method in HeapByteBuffer
342 Bits.putInt(this, ix(nextPutIndex(4)), x, bigEndian); in putInt()
347 public ByteBuffer putInt(int i, int x) { in putInt() method in HeapByteBuffer
351 Bits.putInt(this, ix(checkIndex(i, 4)), x, bigEndian); in putInt()
357 Bits.putInt(this, ix(i), x, bigEndian); in putIntUnchecked()
DDirectByteBuffer.java590 private ByteBuffer putInt(long a, int x) { in putInt() method in DirectByteBuffer
596 public final ByteBuffer putInt(int x) { in putInt() method in DirectByteBuffer
603 putInt(ix(nextPutIndex(Integer.BYTES)), x); in putInt()
608 public final ByteBuffer putInt(int i, int x) { in putInt() method in DirectByteBuffer
615 putInt(ix(checkIndex(i, Integer.BYTES)), x); in putInt()
624 putInt(ix(i), x); in putIntUnchecked()
DByteBuffer.java1331 public abstract ByteBuffer putInt(int value); in putInt() method in ByteBuffer
1379 public abstract ByteBuffer putInt(int index, int value); in putInt() method in ByteBuffer
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunkHandler.java115 out.putInt(errorCode); in createFailChunk()
116 out.putInt(msg.length()); in createFailChunk()
/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/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java267 private java.nio.ByteBuffer putInt(long a, int x) { in putInt() method in DirectByteBuffer
271 public final java.nio.ByteBuffer putInt(int x) { in putInt() method in DirectByteBuffer
275 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/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.java254 public native void putInt(Object obj, long offset, int newValue); in putInt() method in Unsafe
594 public native void putInt(long address, int x); in putInt() method in Unsafe
/libcore/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java125 @libcore.util.NonNull public abstract java.nio.ByteBuffer putInt(int value); in putInt() method in ByteBuffer
129 @libcore.util.NonNull public abstract java.nio.ByteBuffer putInt(int index, int value); in putInt() method in ByteBuffer
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLockSupport.java404 U.putInt(t, SECONDARY, r); in nextSecondarySeed()
/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/src/main/java/java/util/concurrent/
DThreadLocalRandom.java163 U.putInt(t, PROBE, probe); in localInit()
940 U.putInt(Thread.currentThread(), PROBE, probe); in advanceProbe()
957 U.putInt(t, SECONDARY, r); in nextSecondarySeed()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java622 public abstract void putInt(String key, int value); in putInt() method in Preferences
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java206 U.putInt(Thread.currentThread(), PROBE, probe); in advanceProbe()

12