Lines Matching defs:output

35      * of the output (if any).
40 * Encoder flag bit to omit all line terminators (i.e., the output
62 * should not close the output stream it is wrapping when it
72 public byte[] output;
76 * Encode/decode another block of input data. this.output is
83 * include any final bytes in the output.
111 * @param flags controls certain features of the decoded output.
129 * @param flags controls certain features of the decoded output.
149 * @param flags controls certain features of the decoded output.
164 // Maybe we got lucky and allocated exactly enough output space.
165 if (decoder.op == decoder.output.length) {
166 return decoder.output;
172 System.arraycopy(decoder.output, 0, temp, 0, decoder.op);
241 public Decoder(int flags, byte[] output) {
242 this.output = output;
277 final byte[] output = this.output;
293 // You can remove this whole block and the output should
301 output[op+2] = (byte) value;
302 output[op+1] = (byte) (value >> 8);
303 output[op] = (byte) (value >> 16);
343 // Emit the last (partial) output tuple;
345 output[op++] = (byte) (value >> 4);
355 // Emit the output triple and return to state 0.
357 output[op+2] = (byte) value;
358 output[op+1] = (byte) (value >> 8);
359 output[op] = (byte) (value >> 16);
363 // Emit the last (partial) output tuple;
365 output[op+1] = (byte) (value >> 2);
366 output[op] = (byte) (value >> 10);
411 // make another output byte. Illegal.
416 // output byte. Fine.
417 output[op++] = (byte) (value >> 4);
421 // output bytes. Fine.
422 output[op++] = (byte) (value >> 10);
423 output[op++] = (byte) (value >> 2);
450 * @param flags controls certain features of the encoded output.
451 * Passing {@code DEFAULT} results in output that
471 * @param flags controls certain features of the encoded output.
472 * Passing {@code DEFAULT} results in output that
489 * @param flags controls certain features of the encoded output.
490 * Passing {@code DEFAULT} results in output that
505 * @param flags controls certain features of the encoded output.
506 * Passing {@code DEFAULT} results in output that
534 encoder.output = new byte[output_len];
539 return encoder.output;
544 * Emit a new line every this many output tuples. Corresponds to
552 * into output bytes.
563 * into output bytes.
581 public Encoder(int flags, byte[] output) {
582 this.output = output;
606 final byte[] output = this.output;
646 output[op++] = alphabet[(v >> 18) & 0x3f];
647 output[op++] = alphabet[(v >> 12) & 0x3f];
648 output[op++] = alphabet[(v >> 6) & 0x3f];
649 output[op++] = alphabet[v & 0x3f];
651 if (do_cr) output[op++] = '\r';
652 output[op++] = '\n';
660 // The main loop, turning 3 input bytes into 4 output bytes on
666 output[op] = alphabet[(v >> 18) & 0x3f];
667 output[op+1] = alphabet[(v >> 12) & 0x3f];
668 output[op+2] = alphabet[(v >> 6) & 0x3f];
669 output[op+3] = alphabet[v & 0x3f];
673 if (do_cr) output[op++] = '\r';
674 output[op++] = '\n';
689 output[op++] = alphabet[(v >> 6) & 0x3f];
690 output[op++] = alphabet[v & 0x3f];
692 output[op++] = '=';
693 output[op++] = '=';
696 if (do_cr) output[op++] = '\r';
697 output[op++] = '\n';
704 output[op++] = alphabet[(v >> 12) & 0x3f];
705 output[op++] = alphabet[(v >> 6) & 0x3f];
706 output[op++] = alphabet[v & 0x3f];
708 output[op++] = '=';
711 if (do_cr) output[op++] = '\r';
712 output[op++] = '\n';
715 if (do_cr) output[op++] = '\r';
716 output[op++] = '\n';