Searched refs:putInt (Results 1 - 25 of 28) 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/ojluni/src/main/java/sun/nio/ch/
H A DAbstractPollArrayWrapper.java83 pollArray.putInt(offset, fd);
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);
/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/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.java1695 Bits.putInt(primVals, getFieldOffset(name, Integer.TYPE), val);
1991 Bits.putInt(hbuf, 1, len);
2040 Bits.putInt(buf, pos, v);
2174 Bits.putInt(buf, pos, v[off++]);
/libcore/dalvik/src/main/java/dalvik/system/
H A DEmulatedStackFrame.java413 frameBuf.putInt(value);
419 frameBuf.putInt(value);
431 frameBuf.putInt((int) value);
437 frameBuf.putInt(value ? 1 : 0);
443 frameBuf.putInt((int) value);
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
H A DLockSupport.java404 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.java1672 buf.putInt((int) 1);
1689 buf.putInt(value);
1697 buf.putInt(value);
1709 buf.putInt(0, (int) 1);
1726 buf.putInt(i, value);
1733 buf.putInt(-1, value);
1739 buf.putInt(buf.limit() - nbytes + 1, value);
/libcore/ojluni/src/main/java/java/nio/
H A DHeapByteBuffer.java338 public ByteBuffer putInt(int x) { method in class:HeapByteBuffer
342 Bits.putInt(this, ix(nextPutIndex(4)), x, bigEndian);
347 public ByteBuffer putInt(int i, int x) { method in class:HeapByteBuffer
351 Bits.putInt(this, ix(checkIndex(i, 4)), x, bigEndian);
357 Bits.putInt(this, ix(i), x, bigEndian);
H A DByteBuffer.java189 * bb.putInt(0xCAFEBABE);
196 * bb.putInt(0xCAFEBABE).putShort(3).putShort(45);</pre></blockquote>
1299 public abstract ByteBuffer putInt(int value); method in class:ByteBuffer
1350 public abstract ByteBuffer putInt(int index, int value); method in class:ByteBuffer
H A DDirectByteBuffer.java583 private ByteBuffer putInt(long a, int x) { method in class:DirectByteBuffer
589 public final ByteBuffer putInt(int x) { method in class:DirectByteBuffer
596 putInt(ix(nextPutIndex(SizeOf.INT)), x);
601 public final ByteBuffer putInt(int i, int x) { method in class:DirectByteBuffer
608 putInt(ix(checkIndex(i, SizeOf.INT)), x);
617 putInt(ix(i), x);
/libcore/ojluni/src/main/java/sun/misc/
H A DUnsafe.java252 public native void putInt(Object obj, long offset, int newValue); method in class:Unsafe
421 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)
H A DAbstractPreferences.java344 * Implements the <tt>putInt</tt> method as per the specification in
345 * {@link Preferences#putInt(String,int)}.
359 public void putInt(String key, int value) { method in class:AbstractPreferences
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DThreadLocalRandom.java163 U.putInt(t, PROBE, probe);
939 U.putInt(Thread.currentThread(), PROBE, probe);
956 U.putInt(t, SECONDARY, r);
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
H A DStriped64.java205 U.putInt(Thread.currentThread(), PROBE, probe);
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java595 b.putInt(0);
1079 b.putInt(0);
1080 b.putInt(0, 0);
1146 b.putInt(0);
1151 b.putInt(0, 0);
/libcore/benchmarks/src/benchmarks/regression/
H A DByteBufferBenchmark.java344 src.putInt(0);

Completed in 1602 milliseconds

12