/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | ObjectIdentifier.java | 373 BigInteger big = new BigInteger(pack(encoding, fromPos, i-fromPos+1, 7, 8)); 438 BigInteger big = new BigInteger(pack(encoding, fromPos, i-fromPos+1, 7, 8)); 501 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { method in class:ObjectIdentifier 545 byte[] pack = pack(in, ioffset, ilength, 8, 7); 546 int firstNonZero = pack.length-1; // paste at least one byte 547 for (int i=pack.length-2; i>=0; i--) { 548 if (pack[i] != 0) { 551 pack[i] |= 0x80; 553 System.arraycopy(pack, firstNonZer [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | DatagramSocketImplTest.java | 123 protected int peekData(DatagramPacket pack) throws IOException { argument 128 protected void receive(DatagramPacket pack) throws IOException { argument 133 protected void send(DatagramPacket pack) throws IOException { argument
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | BaseDexClassLoader.java | 211 Package pack = super.getPackage(name); 213 if (pack == null) { 214 pack = definePackage(name, "Unknown", "0.0", "Unknown", 218 return pack;
|
/libcore/ojluni/src/main/java/java/util/jar/ |
H A D | Pack200.java | 76 * FileOutputStream fos = new FileOutputStream("/tmp/test.pack"); 78 * packer.pack(jarFile, fos); 82 * File f = new File("/tmp/test.pack"); 168 * making the pack stream highly compressible by a compressor such as 177 * The pack engine is initialized to an initial state as described 199 * and to pack a JAR, you must first pack and unpack the JAR to 214 * In order to maintain backward compatibility, the pack file's version is 216 * other words, the pack file version will be the latest, if the class files 217 * are the latest and conversely the pack fil 557 void pack(JarFile in, OutputStream out) throws IOException ; method in interface:Pack200.Packer 573 void pack(JarInputStream in, OutputStream out) throws IOException ; method in interface:Pack200.Packer [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldURLClassLoaderTest.java | 177 Package pack = tucl.definePackage(packageName + i, manifest, urls[i]); 178 assertEquals(packageName + i, pack.getName()); 180 pack.getImplementationTitle()); 182 pack.getImplementationVendor()); 184 pack.getImplementationVersion());
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | ClassLoader.java | 1381 Package pack = super.getPackage(name); 1383 if (pack == null) { 1384 pack = definePackage(name, "Unknown", "0.0", "Unknown", "Unknown", "0.0", 1388 return pack;
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
H A D | MethodTypeForm.java | 195 this.primCounts = pack(lrc, prc, lac, pac); 196 this.argCounts = pack(rslotCount, rtypeCount, pslotCount, ptypeCount); 210 private static long pack(int a, int b, int c, int d) { method in class:MethodTypeForm
|