Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/util/
DObjectIdentifier.java366 BigInteger big = new BigInteger(pack(encoding, fromPos, i-fromPos+1, 7, 8)); in toIntArray()
431 BigInteger big = new BigInteger(pack(encoding, fromPos, i-fromPos+1, 7, 8)); in toString()
494 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() method in ObjectIdentifier
538 byte[] pack = pack(in, ioffset, ilength, 8, 7); in pack7Oid()
539 int firstNonZero = pack.length-1; // paste at least one byte in pack7Oid()
540 for (int i=pack.length-2; i>=0; i--) { in pack7Oid()
541 if (pack[i] != 0) { in pack7Oid()
544 pack[i] |= 0x80; in pack7Oid()
546 System.arraycopy(pack, firstNonZero, out, ooffset, pack.length-firstNonZero); in pack7Oid()
547 return pack.length-firstNonZero; in pack7Oid()
[all …]
/libcore/dalvik/src/main/java/dalvik/system/
DBaseDexClassLoader.java116 Package pack = super.getPackage(name); in getPackage() local
118 if (pack == null) { in getPackage()
119 pack = definePackage(name, "Unknown", "0.0", "Unknown", in getPackage()
123 return pack; in getPackage()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketImplTest.java116 protected int peekData(DatagramPacket pack) throws IOException { in peekData() argument
121 protected void receive(DatagramPacket pack) throws IOException { in receive() argument
126 protected void send(DatagramPacket pack) throws IOException { in send() argument
/libcore/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java151 Package pack = tucl.definePackage(packageName + i, manifest, urls[i]); in test_definePackage() local
152 assertEquals(packageName + i, pack.getName()); in test_definePackage()
154 pack.getImplementationTitle()); in test_definePackage()
156 pack.getImplementationVendor()); in test_definePackage()
158 pack.getImplementationVersion()); in test_definePackage()
DOldAndroidDatagramTest.java174 DatagramPacket pack = new DatagramPacket(new byte[100], 100); in testDatagramSocketSetSOTimeout() local
176 sock.receive(pack); in testDatagramSocketSetSOTimeout()
/libcore/ojluni/src/main/java/java/util/jar/
DPack200.java555 void pack(JarFile in, OutputStream out) throws IOException ; in pack() method
571 void pack(JarInputStream in, OutputStream out) throws IOException ; in pack() method
/libcore/ojluni/src/main/java/java/lang/
DClassLoader.java1381 Package pack = super.getPackage(name); in getPackage() local
1383 if (pack == null) { in getPackage()
1384 pack = definePackage(name, "Unknown", "0.0", "Unknown", "Unknown", "0.0", in getPackage()
1388 return pack; in getPackage()