Lines Matching refs:bufLimit
67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], … in encodeRunByte() argument
75 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
77 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); in encodeRunByte()
83 buffer = appendEncodedByte(buffer, bufLimit,ESCAPE_BYTE, state,status); in encodeRunByte()
85 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); in encodeRunByte()
88 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
89 buffer = appendEncodedByte(buffer,bufLimit, (char)length, state, status); in encodeRunByte()
90 …buffer = appendEncodedByte(buffer,bufLimit, value, state, status); /* Don't need to escape this va… in encodeRunByte()
95 #define APPEND( buffer, bufLimit, value, num, status) UPRV_BLOCK_MACRO_BEGIN { \ argument
96 if(buffer<bufLimit){ \
109 encodeRunShort(uint16_t* buffer,uint16_t* bufLimit, uint16_t value, int32_t length,UErrorCode* stat… in encodeRunShort() argument
115 APPEND(buffer,bufLimit,ESCAPE, num, status); in encodeRunShort()
118 APPEND(buffer,bufLimit,value,num, status); in encodeRunShort()
124 APPEND(buffer,bufLimit,ESCAPE,num,status); in encodeRunShort()
127 APPEND(buffer,bufLimit,value,num,status); in encodeRunShort()
130 APPEND(buffer,bufLimit,ESCAPE,num,status); in encodeRunShort()
131 APPEND(buffer,bufLimit,(uint16_t) length, num,status); in encodeRunShort()
132 APPEND(buffer,bufLimit,(uint16_t)value, num, status); /* Don't need to escape this value */ in encodeRunShort()
152 uint16_t* bufLimit = buffer+bufLen; in usArrayToRLEString() local
154 if(buffer < bufLimit){ in usArrayToRLEString()
156 if(buffer<bufLimit){ in usArrayToRLEString()
167 buffer = encodeRunShort(buffer,bufLimit, (uint16_t)runValue, runLength,status); in usArrayToRLEString()
172 buffer= encodeRunShort(buffer,bufLimit,(uint16_t)runValue, runLength,status); in usArrayToRLEString()
199 uint16_t* bufLimit = buffer+bufLen; in byteArrayToRLEString() local
200 if(buffer < bufLimit){ in byteArrayToRLEString()
203 if(buffer<bufLimit){ in byteArrayToRLEString()
215 buffer = encodeRunByte(buffer, bufLimit,runValue, runLength, state,status); in byteArrayToRLEString()
220 buffer = encodeRunByte(buffer,bufLimit, runValue, runLength, state, status); in byteArrayToRLEString()
226 buffer = appendEncodedByte(buffer,bufLimit, 0, state ,status); in byteArrayToRLEString()