Home | History | Annotate | Download | only in genrb

Lines Matching refs:ESCAPE

19  * The ESCAPE character is used during run-length encoding.  It signals
22 static const uint16_t ESCAPE = 0xA5A5;
87 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); /* Don't need to escape this value*/
111 if (value == (int32_t) ESCAPE){
112 APPEND(buffer,bufLimit,ESCAPE, num, status);
119 if (length == (int32_t) ESCAPE) {
120 if (value == (int32_t) ESCAPE){
121 APPEND(buffer,bufLimit,ESCAPE,num,status);
127 APPEND(buffer,bufLimit,ESCAPE,num,status);
129 APPEND(buffer,bufLimit,(uint16_t)value, num, status); /* Don't need to escape this value */
136 * A character represents itself, unless it is the ESCAPE character. Then
138 * ESCAPE ESCAPE ESCAPE literal
139 * ESCAPE n c n instances of character c
141 * more characters. Thus we have n > 0 and n != ESCAPE and n <= 0xFFFF.
142 * If we encounter a run where n == ESCAPE, we represent this as:
143 * c ESCAPE n-1 c
144 * The ESCAPE value is chosen so as not to collide with commonly
266 if (c == ESCAPE) {
268 if (c == ESCAPE) {