Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 207) sorted by relevance

123456789

/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAtomicLongTest.java32 AtomicLong val = new AtomicLong(42); in testCompareAndExchange() local
45 AtomicLong val = new AtomicLong(42); in testCompareAndExchangeAcquire() local
58 AtomicLong val = new AtomicLong(42); in testCompareAndExchangeRelease() local
71 AtomicLong val = new AtomicLong(42); in testGetAcquire() local
81 AtomicLong val = new AtomicLong(42); in testGetOpaque() local
91 AtomicLong val = new AtomicLong(42); in testGetPlain() local
101 AtomicLong val = new AtomicLong(42); in testSetOpaque() local
112 AtomicLong val = new AtomicLong(42); in testSetPlain() local
123 AtomicLong val = new AtomicLong(42); in testSetRelease() local
134 AtomicLong val = new AtomicLong(42); in testWeakCompareAndSetAcquire() local
[all …]
DAtomicIntegerTest.java32 AtomicInteger val = new AtomicInteger(42); in testCompareAndExchange() local
45 AtomicInteger val = new AtomicInteger(42); in testCompareAndExchangeAcquire() local
58 AtomicInteger val = new AtomicInteger(42); in testCompareAndExchangeRelease() local
71 AtomicInteger val = new AtomicInteger(42); in testGetAcquire() local
81 AtomicInteger val = new AtomicInteger(42); in testGetOpaque() local
91 AtomicInteger val = new AtomicInteger(42); in testGetPlain() local
101 AtomicInteger val = new AtomicInteger(42); in testSetOpaque() local
112 AtomicInteger val = new AtomicInteger(42); in testSetPlain() local
123 AtomicInteger val = new AtomicInteger(42); in testSetRelease() local
134 AtomicInteger val = new AtomicInteger(42); in testWeakCompareAndSetAcquire() local
[all …]
DAtomicBooleanTest.java32 AtomicBoolean val = new AtomicBoolean(true); in testCompareAndExchange() local
52 AtomicBoolean val = new AtomicBoolean(true); in testCompareAndExchangeAcquire() local
72 AtomicBoolean val = new AtomicBoolean(true); in testCompareAndExchangeRelease() local
92 AtomicBoolean val = new AtomicBoolean(true); in testGetAcquire() local
102 AtomicBoolean val = new AtomicBoolean(true); in testGetOpaque() local
112 AtomicBoolean val = new AtomicBoolean(true); in testGetPlain() local
122 AtomicBoolean val = new AtomicBoolean(true); in testSetOpaque() local
133 AtomicBoolean val = new AtomicBoolean(true); in testSetPlain() local
144 AtomicBoolean val = new AtomicBoolean(true); in testSetRelease() local
155 AtomicBoolean val = new AtomicBoolean(true); in testWeakCompareAndSetAcquire() local
[all …]
DAtomicReferenceTest.java34 AtomicReference<Integer> val = new AtomicReference(currentValue); in testCompareAndExchange() local
79 AtomicReference<Integer> val = new AtomicReference(currentValue); in testCompareAndExchangeAcquire() local
124 AtomicReference<Integer> val = new AtomicReference(currentValue); in testCompareAndExchangeRelease() local
169 AtomicReference<Integer> val = new AtomicReference(currentValue); in testGetAcquire() local
187 AtomicReference<Integer> val = new AtomicReference(currentValue); in testGetOpaque() local
205 AtomicReference<Integer> val = new AtomicReference(currentValue); in testGetPlain() local
223 AtomicReference<Integer> val = new AtomicReference(currentValue); in testSetOpaque() local
241 AtomicReference<Integer> val = new AtomicReference(currentValue); in testSetPlain() local
259 AtomicReference<Integer> val = new AtomicReference(currentValue); in testSetRelease() local
277 AtomicReference<Integer> val = new AtomicReference(currentValue); in testWeakCompareAndSetAcquire() local
[all …]
DAtomicReferenceArrayTest.java48 Integer val = Integer.valueOf(i+1); in testCompareAndExchange() local
84 Integer val = Integer.valueOf(i+1); in testCompareAndExchangeAcquire() local
120 Integer val = Integer.valueOf(i+1); in testCompareAndExchangeRelease() local
204 Integer val = Integer.valueOf(i+1); in testSetOpaque() local
230 Integer val = Integer.valueOf(i+1); in testSetPlain() local
256 Integer val = Integer.valueOf(i+1); in testSetRelease() local
286 Integer val = Integer.valueOf(i+1); in testWeakCompareAndSetAcquire() local
316 Integer val = Integer.valueOf(i+1); in testWeakCompareAndSetPlain() local
346 Integer val = Integer.valueOf(i+1); in testWeakCompareAndSetRelease() local
376 Integer val = Integer.valueOf(i+1); in testWeakCompareAndSetVolatile() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatSymbolsTest.java120 String[] val = { "AM", "PM" }; in test_getAmPmStrings() local
134 String[] val = { "BC", "AD" }; in test_getEras() local
148 String[] val = { "January", "February", "March", "April", "May", in test_getMonths() local
163 String[] val = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", in test_getShortMonths() local
177 String[] val = { "", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; in test_getShortWeekdays() local
191 String[] val = { "", "Sunday", "Monday", "Tuesday", "Wednesday", in test_getWeekdays() local
205 String[][] val = { { "XX", "XX", "XX", "XX", "XX" }, in test_getZoneStrings() local
235 String[] val = { "XX", "YY" }; in test_setAmPmStrings$Ljava_lang_String() local
250 String[] val = { "XX", "YY" }; in test_setEras$Ljava_lang_String() local
278 String[] val = { "XX", "YY" }; in test_setMonths$Ljava_lang_String() local
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/math/
DBigInteger.annotated.java31 public BigInteger(byte[] val, int off, int len) { throw new RuntimeException("Stub!"); } in BigInteger()
33 public BigInteger(byte[] val) { throw new RuntimeException("Stub!"); } in BigInteger()
39 …ger(@libcore.util.NonNull java.lang.String val, int radix) { throw new RuntimeException("Stub!"); } in BigInteger()
41 …lic BigInteger(@libcore.util.NonNull java.lang.String val) { throw new RuntimeException("Stub!"); } in BigInteger()
53 …@libcore.util.NonNull public static BigInteger valueOf(long val) { throw new RuntimeException("Stu… in valueOf()
63 …ublic BigInteger add(@libcore.util.NonNull BigInteger val) { throw new RuntimeException("Stub!"); } in add()
65 … BigInteger subtract(@libcore.util.NonNull BigInteger val) { throw new RuntimeException("Stub!"); } in subtract()
67 … BigInteger multiply(@libcore.util.NonNull BigInteger val) { throw new RuntimeException("Stub!"); } in multiply()
69 …ic BigInteger divide(@libcore.util.NonNull BigInteger val) { throw new RuntimeException("Stub!"); } in divide()
71 …] divideAndRemainder(@libcore.util.NonNull BigInteger val) { throw new RuntimeException("Stub!"); } in divideAndRemainder()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX509CertInfo.java80 public void set(java.lang.String name, java.lang.Object val) in set()
101 private void parse(sun.security.util.DerValue val) in parse()
121 private void setVersion(java.lang.Object val) throws java.security.cert.CertificateException { in setVersion()
125 private void setSerialNumber(java.lang.Object val) in setSerialNumber()
130 private void setAlgorithmId(java.lang.Object val) in setAlgorithmId()
135 private void setIssuer(java.lang.Object val) throws java.security.cert.CertificateException { in setIssuer()
139 private void setValidity(java.lang.Object val) throws java.security.cert.CertificateException { in setValidity()
143 private void setSubject(java.lang.Object val) throws java.security.cert.CertificateException { in setSubject()
147 private void setKey(java.lang.Object val) throws java.security.cert.CertificateException { in setKey()
151 private void setIssuerUniqueId(java.lang.Object val) in setIssuerUniqueId()
[all …]
/libcore/ojluni/src/test/java/lang/Integer/
DParsingTest.java124 private static void check(int expected, String val) { in check()
131 private static void checkFailure(String val) { in checkFailure()
142 private static void checkNumberFormatException(String val, int start, int end, int radix) { in checkNumberFormatException()
156 private static void checkIndexOutOfBoundsException(String val, int start, int end, int radix) { in checkIndexOutOfBoundsException()
184 private static void check(int expected, String val, int start, int end, int radix) { in check()
194 private static int Integer_parseInt(String val, int start, int end, int radix) { in Integer_parseInt()
/libcore/ojluni/src/test/java/lang/Long/
DParsingTest.java116 private static void check(long expected, String val) { in check()
123 private static void checkFailure(String val) { in checkFailure()
134 private static void checkNumberFormatException(String val, int start, int end, int radix) { in checkNumberFormatException()
148 private static void checkIndexOutOfBoundsException(String val, int start, int end, int radix) { in checkIndexOutOfBoundsException()
176 private static void check(long expected, String val, int start, int end, int radix) { in check()
186 private static long Long_parseLong(String val, int start, int end, int radix) { in Long_parseLong()
/libcore/ojluni/src/main/java/java/io/
DBits.java84 static void putBoolean(byte[] b, int off, boolean val) { in putBoolean()
88 static void putChar(byte[] b, int off, char val) { in putChar()
93 static void putShort(byte[] b, int off, short val) { in putShort()
98 static void putInt(byte[] b, int off, int val) { in putInt()
105 static void putFloat(byte[] b, int off, float val) { in putFloat()
109 static void putLong(byte[] b, int off, long val) { in putLong()
120 static void putDouble(byte[] b, int off, double val) { in putDouble()
DExpiringCache.java46 private String val; field in ExpiringCache.Entry
48 Entry(long timestamp, String val) { in Entry()
56 String val() { return val; } in val() method in ExpiringCache.Entry
57 void setVal(String val) { this.val = val; } in setVal()
90 synchronized void put(String key, String val) { in put()
DObjectOutputStream.java700 public void write(int val) throws IOException { in write()
775 public void writeBoolean(boolean val) throws IOException { in writeBoolean()
786 public void writeByte(int val) throws IOException { in writeByte()
797 public void writeShort(int val) throws IOException { in writeShort()
808 public void writeChar(int val) throws IOException { in writeChar()
819 public void writeInt(int val) throws IOException { in writeInt()
830 public void writeLong(long val) throws IOException { in writeLong()
841 public void writeFloat(float val) throws IOException { in writeFloat()
852 public void writeDouble(double val) throws IOException { in writeDouble()
913 public abstract void put(String name, boolean val); in put()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidTreeMapTest.java49 int val = mRandom.nextInt(1000); in doTest() local
57 tm.put(Integer.valueOf(val), "V:" + val); in doTest() local
58 hm.put(Integer.valueOf(val), "V:" + val); in doTest() local
83 int val = mRandom.nextInt(1000); in doTest() local
/libcore/ojluni/src/test/java/util/Map/
DCollisions.java49 public void testIntegerIteration(String desc, Supplier<Map<IntKey, IntKey>> ms, IntKey val) { in testIntegerIteration() argument
80 public void testStringIteration(String desc, Supplier<Map<String, String>> ms, String val) { in testStringIteration() argument
116 public void testRemove(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testRemove() argument
131 public void testKeysIteratorRemove(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testKeysIteratorRemove() argument
146 … public void testValuesIteratorRemove(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testValuesIteratorRemove() argument
161 … public void testEntriesIteratorRemove(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testEntriesIteratorRemove() argument
DInPlaceOpsCollisions.java49 public void testPutIfAbsent(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testPutIfAbsent() argument
80 public void testRemoveMapping(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testRemoveMapping() argument
114 public void testReplaceOldValue(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testReplaceOldValue() argument
146 public void testReplaceIfMapped(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testReplaceIfMapped() argument
231 …public void testComputeIfAbsentNonNull(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testComputeIfAbsentNonNull() argument
238 public void testComputeIfAbsentNull(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testComputeIfAbsentNull() argument
286 …ublic void testComputeIfPresentNonNull(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testComputeIfPresentNonNull() argument
293 … public void testComputeIfPresentNull(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testComputeIfPresentNull() argument
300 public void testComputeNonNull(String desc, Supplier<Map<IntKey, IntKey>> ms, IntKey val) { in testComputeNonNull() argument
339 public void testComputeNull(String desc, Supplier<Map<Object, Object>> ms, Object val) { in testComputeNull() argument
[all …]
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectOutputStream.java99 public void write(int val) throws java.io.IOException { in write()
123 public void writeBoolean(boolean val) throws java.io.IOException { in writeBoolean()
127 public void writeByte(int val) throws java.io.IOException { in writeByte()
131 public void writeShort(int val) throws java.io.IOException { in writeShort()
135 public void writeChar(int val) throws java.io.IOException { in writeChar()
139 public void writeInt(int val) throws java.io.IOException { in writeInt()
143 public void writeLong(long val) throws java.io.IOException { in writeLong()
147 public void writeFloat(float val) throws java.io.IOException { in writeFloat()
151 public void writeDouble(double val) throws java.io.IOException { in writeDouble()
614 public abstract void put(java.lang.String name, boolean val); in put()
[all …]
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertInfo.java364 public void set(String name, Object val) in set()
623 private void parse(DerValue val) in parse()
818 private void setVersion(Object val) throws CertificateException { in setVersion()
831 private void setSerialNumber(Object val) throws CertificateException { in setSerialNumber()
844 private void setAlgorithmId(Object val) throws CertificateException { in setAlgorithmId()
858 private void setIssuer(Object val) throws CertificateException { in setIssuer()
872 private void setValidity(Object val) throws CertificateException { in setValidity()
886 private void setSubject(Object val) throws CertificateException { in setSubject()
900 private void setKey(Object val) throws CertificateException { in setKey()
914 private void setIssuerUniqueId(Object val) throws CertificateException { in setIssuerUniqueId()
[all …]
DNetscapeCertTypeExtension.java146 private void set(int position, boolean val) { in set()
196 DerValue val = new DerValue(this.extensionValue); in NetscapeCertTypeExtension() local
217 set(getPosition(name), val); in set() local
311 Boolean val = Boolean.TRUE; in getKeyUsageMappedBits() local
/libcore/ojluni/src/main/java/java/lang/
DStringUTF16.java55 static void putChar(byte[] val, int index, int c) { in putChar()
64 public static char getChar(byte[] val, int index) { in getChar()
/libcore/ojluni/src/main/java/sun/security/util/
DSecurityProperties.java55 String val = System.getProperty(propName); in getOverridableProperty() local
72 String val = privilegedGetOverridable("jdk.includeInExceptions"); in includedInExceptions() local
/libcore/ojluni/src/test/java/lang/Float/
DParseFloatTest.java41 private static void fail(String val, float n) { in fail()
45 private static void check(String val) { in check()
123 private static void check(String val, float expected) { in check()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DFieldTest.java188 Double val = (Double) f.get(x); in test_getLjava_lang_Object() local
667 char val = 0; in test_getCharLjava_lang_Object() local
743 double val = 0.0; in test_getDoubleLjava_lang_Object() local
798 float val = 0; in test_getFloatLjava_lang_Object() local
852 int val = 0; in test_getIntLjava_lang_Object() local
908 long val = 0; in test_getLongLjava_lang_Object() local
997 short val = 0; in test_getShortLjava_lang_Object() local
1069 double val = 0.0; in test_setLjava_lang_ObjectLjava_lang_Object() local
1217 char val = 0; in test_setCharLjava_lang_ObjectC() local
1267 double val = 0.0; in test_setDoubleLjava_lang_ObjectD() local
[all …]
/libcore/ojluni/src/main/java/java/math/
DSignedMutableBigInteger.java68 SignedMutableBigInteger(int val) { in SignedMutableBigInteger()
76 SignedMutableBigInteger(MutableBigInteger val) { in SignedMutableBigInteger()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java130 public void put(String name, boolean val) { in put()
135 public void put(String name, byte val) { in put()
140 public void put(String name, char val) { in put()
145 public void put(String name, short val) { in put()
150 public void put(String name, int val) { in put()
155 public void put(String name, long val) { in put()
160 public void put(String name, float val) { in put()
165 public void put(String name, double val) { in put()
170 public void put(String name, Object val) { in put()

123456789