Searched refs:putInt (Results 1 - 25 of 31) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldPreferenceChangeEventTest.java64 pref.putInt("key_int", Integer.MAX_VALUE);
89 pref.putInt("key_int", Integer.MAX_VALUE);
94 pref.putInt("key_int", Integer.MAX_VALUE);
119 pref.putInt("key_int", Integer.MAX_VALUE);
H A DOldAbstractPreferencesTest.java159 pref.putInt(keyArray[3], 299792458);
186 pref.putInt("IntValue", 33);
215 pref.putInt("IntValue", 299792458);
221 pref.putInt(null, new Integer(1));
235 pref.putInt(new String(sb), new Integer(1));
244 pref.putInt("IntValue", new Integer(1));
255 pref.putInt("IntValue", 299792458);
321 pref.putInt("IntValue", 299792458);
451 pref.putInt("IntValue", 299792458);
517 pref.putInt("IntValu
[all...]
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
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
H A DChunkHandler.java67 out.putInt(errorCode);
68 out.putInt(msg.length());
/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);
H A DIOVecWrapper.java144 vecArray.putInt(offset, (int)base);
152 vecArray.putInt(offset, (int)len);
H A DAbstractPollArrayWrapper.java91 pollArray.putInt(offset, fd);
H A DEPollArrayWrapper.java148 pollArray.putInt(offset, event);
153 pollArray.putInt(offset, fd);
H A DDevPollArrayWrapper.java289 array.putInt(structIndex + FD_OFFSET, fd);
/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));
H A DObjectOutputStream.java1675 Bits.putInt(primVals, getFieldOffset(name, Integer.TYPE), val);
1963 Bits.putInt(hbuf, 1, len);
2011 Bits.putInt(buf, pos, v);
2145 Bits.putInt(buf, pos, v[off++]);
/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DLockSupport.java375 U.putInt(t, SECONDARY, r);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DMappedByteBufferTest.java201 byteBuffer.putInt(i + 1);
220 mbb.putInt(1, 1);
222 mbb.putInt(50);
H A DByteBufferTest.java1668 buf.putInt((int) 1);
1685 buf.putInt(value);
1693 buf.putInt(value);
1705 buf.putInt(0, (int) 1);
1722 buf.putInt(i, value);
1729 buf.putInt(-1, value);
1735 buf.putInt(buf.limit() - nbytes + 1, 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 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 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
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DAbstractPreferencesTest.java337 pref.putInt("testGetDoubleKey4", 1);
681 pref.putInt(null, 3);
686 pref.putInt(LONG_KEY, 3);
688 pref.putInt(LONG_KEY + "a", 3);
693 pref.putInt("testPutIntKey", 3);
1057 p.putInt("key", 3);
1163 p.putInt("key", 3);
1281 p.putInt("key", 3);
1384 pref.putInt("key", 3);
1540 p.putInt(nul
[all...]
H A DPreferencesTest.java371 public void putInt(String key, int value) { method in class:PreferencesTest.MockPreferences
/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)
/libcore/luni/src/main/java/java/util/concurrent/
H A DThreadLocalRandom.java134 U.putInt(t, PROBE, probe);
910 U.putInt(Thread.currentThread(), PROBE, probe);
927 U.putInt(t, SECONDARY, r);
/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DStriped64.java176 U.putInt(Thread.currentThread(), PROBE, probe);
/libcore/luni/src/test/java/libcore/util/
H A DZoneInfoTest.java472 byte[] bytes = ByteBuffer.allocate(4).putInt(value).array();
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java592 b.putInt(0);
1077 b.putInt(0);
1078 b.putInt(0, 0);
1144 b.putInt(0);
1149 b.putInt(0, 0);

Completed in 308 milliseconds

12