/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramPacketTest.java | 37 DatagramPacket dp = new DatagramPacket("Hello".getBytes(), 5); in test_Constructor$BI() local 38 assertEquals("Created incorrect packet", "Hello", new String(dp in test_Constructor$BI() 39 .getData(), 0, dp.getData().length)); in test_Constructor$BI() 40 assertEquals("Wrong length", 5, dp.getLength()); in test_Constructor$BI() 43 dp = new DatagramPacket(new byte[942], 4); in test_Constructor$BI() 44 assertEquals(-1, dp.getPort()); in test_Constructor$BI() 46 dp.getSocketAddress(); in test_Constructor$BI() 57 DatagramPacket dp = new DatagramPacket("Hello".getBytes(), 2, 3); in test_Constructor$BII() local 58 assertEquals("Created incorrect packet", "Hello", new String(dp in test_Constructor$BII() 59 .getData(), 0, dp.getData().length)); in test_Constructor$BII() [all …]
|
D | DatagramSocketTest.java | 138 DatagramPacket dp = new DatagramPacket("Test String".getBytes(), 11, in test_close() local 142 ds.send(dp); in test_close()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldDatagramPacketTest.java | 28 … DatagramPacket dp = new DatagramPacket("Hello".getBytes(), 5, InetAddress.getLocalHost(), 1000); in test_getPort() local 29 assertEquals("Incorrect port returned", 1000, dp.getPort()); in test_getPort() 76 DatagramPacket dp = new DatagramPacket("Hello".getBytes(), 5); in test_setData$BII() local 78 dp.setData(null, 2, 3); in test_setData$BII() 85 DatagramPacket dp = new DatagramPacket("Hello".getBytes(), 5); in test_setData$B() local 87 dp.setData(null); in test_setData$B()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 398 int dp = 0; in encode0() local 401 for (int sp0 = sp, dp0 = dp ; sp0 < sl0; ) { in encode0() 411 dp += dlen; in encode0() 415 dst[dp++] = b; in encode0() 421 dst[dp++] = (byte)base64[b0 >> 2]; in encode0() 423 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f]; in encode0() 425 dst[dp++] = '='; in encode0() 426 dst[dp++] = '='; in encode0() 430 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f | (b1 >> 4)]; in encode0() 431 dst[dp++] = (byte)base64[(b1 << 2) & 0x3f]; in encode0() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixDirectoryStream.java | 49 private final long dp; field in UnixDirectoryStream 70 UnixDirectoryStream(UnixPath dir, long dp, DirectoryStream.Filter<? super Path> filter) { in UnixDirectoryStream() argument 72 this.dp = dp; in UnixDirectoryStream() 99 closedir(dp); in closeImpl() 180 nameAsBytes = readdir(dp); in readNextEntry()
|
D | UnixFileSystemProvider.java | 422 long dp = 0L; in newDirectoryStream() local 426 dp = fdopendir(dfd1); in newDirectoryStream() 436 return new UnixSecureDirectoryStream(dir, dp, dfd2, filter); in newDirectoryStream()
|
D | UnixSecureDirectoryStream.java | 59 long dp, in UnixSecureDirectoryStream() argument 63 this.ds = new UnixDirectoryStream(dir, dp, filter); in UnixSecureDirectoryStream()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | SynchronousQueue.java | 801 QNode dp = cleanMe; in clean() local 802 if (dp != null) { // Try unlinking previous cancelled node in clean() 803 QNode d = dp.next; in clean() 806 d == dp || // d is off list or in clean() 811 dp.casNext(d, dn))) // d unspliced in clean() 812 casCleanMe(dp, null); in clean() 813 if (dp == pred) in clean()
|
/libcore/ojluni/src/main/native/ |
D | UNIXProcess_md.c | 429 DIR *dp; in closeDescriptors() local 443 if ((dp = opendir(FD_DIR)) == NULL) in closeDescriptors() 449 while ((dirp = readdir64(dp)) != NULL) { in closeDescriptors() 456 closedir(dp); in closeDescriptors()
|
/libcore/luni/src/test/resources/ |
D | math_tests.csv | 1905 sin,0x1.2cbaaa4cebb52p-4,0x1.2dp-4 1906 sin,-0x1.2cbaaa4cebb52p-4,-0x1.2dp-4 3339 cos,0x1.fe4f141032f38p-1,0x1.4dp-4 3340 cos,0x1.fe4f141032f38p-1,-0x1.4dp-4
|
D | math_java_only.csv | 636 pow,0x1.1acd2b9124f7dp0,0x1.275823342912fp0,0x1.649532579916dp-1 2620 IEEEremainder,0x1.13770164501dp-3,-0x1.83d9670ce8401p1,0x1.440d78e8f1018p-1
|