Lines Matching refs:bufLimit
66 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], … in encodeRunByte() argument
74 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
76 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); in encodeRunByte()
82 buffer = appendEncodedByte(buffer, bufLimit,ESCAPE_BYTE, state,status); in encodeRunByte()
84 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); in encodeRunByte()
87 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
88 buffer = appendEncodedByte(buffer,bufLimit, (char)length, state, status); in encodeRunByte()
89 …buffer = appendEncodedByte(buffer,bufLimit, value, state, status); /* Don't need to escape this va… in encodeRunByte()
94 #define APPEND( buffer, bufLimit, value, num, status){ \ argument
95 if(buffer<bufLimit){ \
108 encodeRunShort(uint16_t* buffer,uint16_t* bufLimit, uint16_t value, int32_t length,UErrorCode* stat… in encodeRunShort() argument
114 APPEND(buffer,bufLimit,ESCAPE, num, status); in encodeRunShort()
117 APPEND(buffer,bufLimit,value,num, status); in encodeRunShort()
123 APPEND(buffer,bufLimit,ESCAPE,num,status); in encodeRunShort()
126 APPEND(buffer,bufLimit,value,num,status); in encodeRunShort()
129 APPEND(buffer,bufLimit,ESCAPE,num,status); in encodeRunShort()
130 APPEND(buffer,bufLimit,(uint16_t) length, num,status); in encodeRunShort()
131 APPEND(buffer,bufLimit,(uint16_t)value, num, status); /* Don't need to escape this value */ in encodeRunShort()
151 uint16_t* bufLimit = buffer+bufLen; in usArrayToRLEString() local
153 if(buffer < bufLimit){ in usArrayToRLEString()
155 if(buffer<bufLimit){ in usArrayToRLEString()
166 buffer = encodeRunShort(buffer,bufLimit, (uint16_t)runValue, runLength,status); in usArrayToRLEString()
171 buffer= encodeRunShort(buffer,bufLimit,(uint16_t)runValue, runLength,status); in usArrayToRLEString()
198 uint16_t* bufLimit = buffer+bufLen; in byteArrayToRLEString() local
199 if(buffer < bufLimit){ in byteArrayToRLEString()
202 if(buffer<bufLimit){ in byteArrayToRLEString()
214 buffer = encodeRunByte(buffer, bufLimit,runValue, runLength, state,status); in byteArrayToRLEString()
219 buffer = encodeRunByte(buffer,bufLimit, runValue, runLength, state, status); in byteArrayToRLEString()
225 buffer = appendEncodedByte(buffer,bufLimit, 0, state ,status); in byteArrayToRLEString()