Home | History | Annotate | Download | only in impl

Lines Matching defs:ESCAPE_BYTE

221      * The ESCAPE_BYTE character is used during run-length encoding.  It signals
224 static final byte ESCAPE_BYTE = (byte)0xA5;
328 * ESCAPE_BYTE. Then the following notations are possible:
329 * ESCAPE_BYTE ESCAPE_BYTE ESCAPE_BYTE literal
330 * ESCAPE_BYTE n b n instances of byte b
332 * more bytes. Thus we have n > 0 and n != ESCAPE_BYTE and n <= 0xFF.
333 * If we encounter a run where n == ESCAPE_BYTE, we represent this as:
334 * b ESCAPE_BYTE n-1 b
335 * The ESCAPE_BYTE value is chosen so as not to collide with commonly
439 if (value == ESCAPE_BYTE) appendEncodedByte(buffer, ESCAPE_BYTE, state);
444 if ((byte)length == ESCAPE_BYTE) {
445 if (value == ESCAPE_BYTE) appendEncodedByte(buffer, ESCAPE_BYTE, state);
449 appendEncodedByte(buffer, ESCAPE_BYTE, state);
613 if (b == ESCAPE_BYTE) {
621 // We have seen one ESCAPE_BYTE; we expect either a second
623 if (b == ESCAPE_BYTE) {
624 array[ai++] = ESCAPE_BYTE;
635 // We have seen an ESCAPE_BYTE and length byte. We interpret