Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/util/
DObjectIdentifier.java372 BigInteger big = new BigInteger(pack(encoding, fromPos, i-fromPos+1, 7, 8)); in toIntArray()
437 BigInteger big = new BigInteger(pack(encoding, fromPos, i-fromPos+1, 7, 8)); in toString()
500 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() method in ObjectIdentifier
544 byte[] pack = pack(in, ioffset, ilength, 8, 7); in pack7Oid()
545 int firstNonZero = pack.length-1; // paste at least one byte in pack7Oid()
546 for (int i=pack.length-2; i>=0; i--) { in pack7Oid()
547 if (pack[i] != 0) { in pack7Oid()
550 pack[i] |= 0x80; in pack7Oid()
552 System.arraycopy(pack, firstNonZero, out, ooffset, pack.length-firstNonZero); in pack7Oid()
553 return pack.length-firstNonZero; in pack7Oid()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketImplTest.java123 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/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java177 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/dalvik/src/main/java/dalvik/system/
DBaseDexClassLoader.java333 Package pack = super.getPackage(name); in getPackage() local
335 if (pack == null) { in getPackage()
336 pack = definePackage(name, "Unknown", "0.0", "Unknown", in getPackage()
340 return pack; in getPackage()
/libcore/ojluni/src/main/java/java/util/jar/
DPack200.java557 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/
DClassLoader.java1393 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/
DMethodTypeForm.java254 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/
DObjectIdentifier.java95 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() method in ObjectIdentifier
/libcore/api/
Dcurrent.txt16113 method public void pack(java.util.jar.JarFile, java.io.OutputStream) throws java.io.IOException;
16114 …method public void pack(java.util.jar.JarInputStream, java.io.OutputStream) throws java.io.IOExcep…
16117 field public static final String CLASS_ATTRIBUTE_PFX = "pack.class.attribute.";
16118 field public static final String CODE_ATTRIBUTE_PFX = "pack.code.attribute.";
16119 field public static final String DEFLATE_HINT = "pack.deflate.hint";
16120 field public static final String EFFORT = "pack.effort";
16123 field public static final String FIELD_ATTRIBUTE_PFX = "pack.field.attribute.";
16125 field public static final String KEEP_FILE_ORDER = "pack.keep.file.order";
16127 field public static final String METHOD_ATTRIBUTE_PFX = "pack.method.attribute.";
16128 field public static final String MODIFICATION_TIME = "pack.modification.time";
[all …]