Home
last modified time | relevance | path

Searched refs:putInt (Results 1 – 25 of 31) 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 …]
/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()
DByteBufferTest.java1698 buf.putInt((int) 1); in testPutInt()
1715 buf.putInt(value); in testPutInt()
1723 buf.putInt(value); in testPutInt()
1735 buf.putInt(0, (int) 1); in testPutIntint()
1752 buf.putInt(i, value); in testPutIntint()
1759 buf.putInt(-1, value); in testPutIntint()
1765 buf.putInt(buf.limit() - nbytes + 1, value); in testPutIntint()
/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/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/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/ojluni/src/main/java/java/util/concurrent/locks/
DLockSupport.java404 U.putInt(t, SECONDARY, r); in nextSecondarySeed()
/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/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()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java538 b.putInt(0); in testRelativePositions()
1022 b.putInt(0); in testPutMethods()
1023 b.putInt(0, 0); in testPutMethods()
1089 b.putInt(0); in testFailForPutMethods()
1094 b.putInt(0, 0); in testFailForPutMethods()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DPreferencesTest.java371 public void putInt(String key, int value) { in putInt() method in PreferencesTest.MockPreferences

12