/libcore/ojluni/src/main/java/sun/security/util/ |
D | ObjectIdentifier.java | 373 BigInteger big = new BigInteger(pack(encoding, fromPos, i-fromPos+1, 7, 8)); in toIntArray() 438 BigInteger big = new BigInteger(pack(encoding, fromPos, i-fromPos+1, 7, 8)); in toString() 501 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() method in ObjectIdentifier 545 byte[] pack = pack(in, ioffset, ilength, 8, 7); in pack7Oid() 546 int firstNonZero = pack.length-1; // paste at least one byte in pack7Oid() 547 for (int i=pack.length-2; i>=0; i--) { in pack7Oid() 548 if (pack[i] != 0) { in pack7Oid() 551 pack[i] |= 0x80; in pack7Oid() 553 System.arraycopy(pack, firstNonZero, out, ooffset, pack.length-firstNonZero); in pack7Oid() 554 return pack.length-firstNonZero; in pack7Oid() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketImplTest.java | 123 protected int peekData(DatagramPacket pack) throws IOException { in peekData() argument 128 protected void receive(DatagramPacket pack) throws IOException { in receive() argument 133 protected void send(DatagramPacket pack) throws IOException { in send() argument
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | BaseDexClassLoader.java | 313 Package pack = super.getPackage(name); in getPackage() local 315 if (pack == null) { in getPackage() 316 pack = definePackage(name, "Unknown", "0.0", "Unknown", in getPackage() 320 return pack; in getPackage()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLClassLoaderTest.java | 177 Package pack = tucl.definePackage(packageName + i, manifest, urls[i]); in test_definePackage() local 178 assertEquals(packageName + i, pack.getName()); in test_definePackage() 180 pack.getImplementationTitle()); in test_definePackage() 182 pack.getImplementationVendor()); in test_definePackage() 184 pack.getImplementationVersion()); in test_definePackage()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Pack200.java | 557 void pack(JarFile in, OutputStream out) throws IOException ; in pack() method 573 void pack(JarInputStream in, OutputStream out) throws IOException ; in pack() method
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ClassLoader.java | 1393 Package pack = super.getPackage(name); in getPackage() local 1395 if (pack == null) { in getPackage() 1396 pack = definePackage(name, "Unknown", "0.0", "Unknown", "Unknown", "0.0", in getPackage() 1400 return pack; in getPackage()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodTypeForm.java | 254 this.primCounts = pack(lrc, prc, lac, pac); in MethodTypeForm() 255 this.argCounts = pack(rslotCount, rtypeCount, pslotCount, ptypeCount); in MethodTypeForm() 268 private static long pack(int a, int b, int c, int d) { in pack() method in MethodTypeForm
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | ObjectIdentifier.java | 95 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() method in ObjectIdentifier
|