Lines Matching defs:in

9  * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
38 * string name used instead of (or in addition to) the numerical id.
44 * meaning to identifiers below the 1.3.6.1.4.1.42.2.17 node in the
77 * Below are all 4 cases in a serialization/deserialization process:
91 * the 4th case, non-huge OID is still supportable in old versions, while
228 * The encoding of the ID in the stream uses "DER", a BER/1 subset.
234 * @param in DER-encoded data holding an object ID
237 public ObjectIdentifier (DerInputStream in) throws IOException
248 * up so that we can use in.available() to check for the end of
249 * this value in the data stream.
251 type_id = (byte) in.getByte ();
258 encoding = new byte[in.getLength()];
259 in.getBytes(encoding);
270 DerInputStream in = new DerInputStream(buf);
271 encoding = new byte[in.available()];
272 in.getBytes(encoding);
298 * in static blocks to initialize pre-defined ObjectIdentifieies. No
354 * @return components in an int array, if all the components are less than
471 * (from the least significant bit) of the 8 bits in a byte is used. This
473 * used bits from the input byte array and repacked into the output in the
475 * the input (the least significant bit in the last byte), when repacked as
478 * necessary. All unused bits in the output are also zeroed.
487 * @param in the input byte array
488 * @param ioffset start point inside <code>in</code>
494 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) {
499 return in.clone();
505 // starting from the 0th bit in the input
508 // the number of padding 0's needed in the output, skip them
512 int count = iw - ipos%iw; // unpacked bits in current input byte
513 if (count > ow - opos%ow) { // free space available in output byte
518 (((in[ioffset+ipos/iw]+256) // locate the byte (+256 so that it's never negative)
537 private static int pack7Oid(byte[] in, int ioffset, int ilength, byte[] out, int ooffset) {
538 byte[] pack = pack(in, ioffset, ilength, 8, 7);
557 private static int pack8(byte[] in, int ioffset, int ilength, byte[] out, int ooffset) {
558 byte[] pack = pack(in, ioffset, ilength, 7, 8);