/libcore/ojluni/src/test/java/math/BigDecimal/ |
D | DivideTests.java | 224 for(BigDecimal[] tc : testCases) { in properScaleTests() 225 BigDecimal quotient = tc[0].divide(tc[1]); in properScaleTests() 226 Assert.assertEquals(quotient, tc[2], in properScaleTests() 227 "Unexpected quotient from " + tc[0] + " / " + tc[1] + in properScaleTests() 228 "; expected " + tc[2] + " got " + quotient); in properScaleTests() 240 for(BigDecimal[] tc : testCases) { in trailingZeroTests() 241 BigDecimal quotient = tc[0].divide(tc[1], mc); in trailingZeroTests() 242 Assert.assertEquals(quotient, tc[2], in trailingZeroTests() 243 "Unexpected quotient from " + tc[0] + " / " + tc[1] + in trailingZeroTests() 244 "; expected " + tc[2] + " got " + quotient); in trailingZeroTests() [all …]
|
/libcore/ojluni/src/test/java/net/DatagramSocket/ |
D | ReuseAddressTest.java | 267 int tc = ds.getTrafficClass(); in DatagramSocket2028() local 268 if (tc < 0 || tc > 255) { in DatagramSocket2028() 269 fail("getTrafficClass() returns: " + tc); in DatagramSocket2028()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectInputStream.java | 1407 byte tc; in readObject0() 1408 while ((tc = bin.peekByte()) == TC_RESET) { in readObject0() 1417 switch (tc) { in readObject0() 1470 String.format("invalid type code: %02X", tc)); in readObject0() 1516 byte tc = bin.peekByte(); in readTypeString() 1517 switch (tc) { in readTypeString() 1530 String.format("invalid type code: %02X", tc)); in readTypeString() 1611 byte tc = bin.peekByte(); in readClassDesc() 1613 switch (tc) { in readClassDesc() 1628 String.format("invalid type code: %02X", tc)); in readClassDesc() [all …]
|
/libcore/ojluni/src/test/java/util/BitSet/stream/ |
D | BitSetStreamTest.java | 161 for (Object[] tc : bitStreamTestcases) { in spliteratorOfIntDataProvider() 162 String description = (String)tc[0]; in spliteratorOfIntDataProvider() 163 int[] exp = (int[])tc[1]; in spliteratorOfIntDataProvider()
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocket.java | 1216 public synchronized void setTrafficClass(int tc) throws SocketException { in setTrafficClass() argument 1217 if (tc < 0 || tc > 255) in setTrafficClass() 1223 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass()
|
D | Socket.java | 1437 public void setTrafficClass(int tc) throws SocketException { in setTrafficClass() argument 1438 if (tc < 0 || tc > 255) in setTrafficClass() 1444 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DatagramSocketAdaptor.java | 340 public void setTrafficClass(int tc) throws SocketException { in setTrafficClass() argument 341 setIntOption(StandardSocketOptions.IP_TOS, tc); in setTrafficClass()
|
D | SocketAdaptor.java | 394 public void setTrafficClass(int tc) throws SocketException { in setTrafficClass() argument 395 setIntOption(StandardSocketOptions.IP_TOS, tc); in setTrafficClass()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | DatagramSocket.annotated.java | 94 public synchronized void setTrafficClass(int tc) throws java.net.SocketException { throw new Runtim… in setTrafficClass() argument
|
D | Socket.annotated.java | 112 public void setTrafficClass(int tc) throws java.net.SocketException { throw new RuntimeException("S… in setTrafficClass() argument
|
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestAccessDouble.java | 92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 220 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestAccessFloat.java | 92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 220 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestAccessBoolean.java | 92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 220 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestAccessByte.java | 92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 220 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestAccessInt.java | 92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 220 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestAccessShort.java | 92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 220 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestAccessLong.java | 92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 220 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestAccessString.java | 94 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 227 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestAccessChar.java | 92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider() 220 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestMethodHandleAccessString.java | 111 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestMethodHandleAccessDouble.java | 111 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
D | VarHandleTestMethodHandleAccessFloat.java | 111 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | DatagramSocket.java | 175 public synchronized void setTrafficClass(int tc) throws java.net.SocketException { in setTrafficClass() argument
|
D | Socket.java | 233 public void setTrafficClass(int tc) throws java.net.SocketException { in setTrafficClass() argument
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 59 static TestClass2 tc = new TestClass2(0); field in OldClassTest.TestClass1C 601 TempTestClass2<String> tc = new TempTestClass2<String>(); in test_getTypeParameters() local 602 tv = tc.getClass().getTypeParameters(); in test_getTypeParameters()
|