/external/chromium_org/third_party/icu/source/tools/genrb/ |
rle.c | 64 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { 72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); 74 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); 80 buffer = appendEncodedByte(buffer, bufLimit,ESCAPE_BYTE, state,status); 82 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); 85 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); 86 buffer = appendEncodedByte(buffer,bufLimit, (char)length, state, status); 87 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); /* Don't need to escape this value*/ 92 #define APPEND( buffer, bufLimit, value, num, status){ \ 93 if(buffer<bufLimit){ \ [all...] |
/external/icu4c/tools/genrb/ |
rle.c | 64 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { 72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); 74 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); 80 buffer = appendEncodedByte(buffer, bufLimit,ESCAPE_BYTE, state,status); 82 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); 85 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); 86 buffer = appendEncodedByte(buffer,bufLimit, (char)length, state, status); 87 buffer = appendEncodedByte(buffer,bufLimit, value, state, status); /* Don't need to escape this value*/ 92 #define APPEND( buffer, bufLimit, value, num, status){ \ 93 if(buffer<bufLimit){ \ [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
ucbuf.c | 41 UChar* bufLimit; 173 if(buf->currentPos<buf->bufLimit){ 174 offset = (int32_t)(buf->bufLimit-buf->currentPos); 311 buf->bufLimit=pTarget+outputWritten; 312 *buf->bufLimit=0; /*NUL terminate*/ 327 if(buf->currentPos>=buf->bufLimit){ 347 if(buf->currentPos+1>=buf->bufLimit){ 381 if (buf->currentPos >=buf->bufLimit-2) { 386 if (buf->currentPos < buf->bufLimit) { 400 length = (int32_t)(buf->bufLimit - buf->currentPos) [all...] |
/external/icu4c/tools/toolutil/ |
ucbuf.c | 42 UChar* bufLimit; 174 if(buf->currentPos<buf->bufLimit){ 175 offset = (int32_t)(buf->bufLimit-buf->currentPos); 312 buf->bufLimit=pTarget+outputWritten; 313 *buf->bufLimit=0; /*NUL terminate*/ 328 if(buf->currentPos>=buf->bufLimit){ 348 if(buf->currentPos+1>=buf->bufLimit){ 382 if (buf->currentPos >=buf->bufLimit-2) { 387 if (buf->currentPos < buf->bufLimit) { 401 length = (int32_t)(buf->bufLimit - buf->currentPos) [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
LzmaDec.c | 47 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); } 119 And it decodes new LZMA-symbols while (buf < bufLimit), but "buf" is without last normalization 131 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) 411 while (dicPos < limit && buf < bufLimit); 454 static int MY_FAST_CALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit) 465 RINOK(LzmaDec_DecodeReal(p, limit2, bufLimit)); 470 while (p->dicPos < limit && p->buf < bufLimit && p->remainLen < kMatchSpecLenStart); 491 const Byte *bufLimit = buf + inSize; 507 /* if (bufLimit - buf >= 7) return DUMMY_LIT; */ 641 /* if (bufLimit - buf >= 8) return DUMMY_MATCH; * [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaDec.c | 48 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); } 120 And it decodes new LZMA-symbols while (buf < bufLimit), but "buf" is without last normalization 132 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) 412 while (dicPos < limit && buf < bufLimit); 455 static int MY_FAST_CALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit) 466 RINOK(LzmaDec_DecodeReal(p, limit2, bufLimit)); 471 while (p->dicPos < limit && p->buf < bufLimit && p->remainLen < kMatchSpecLenStart); 492 const Byte *bufLimit = buf + inSize; 508 /* if (bufLimit - buf >= 7) return DUMMY_LIT; */ 642 /* if (bufLimit - buf >= 8) return DUMMY_MATCH; * [all...] |
/external/lzma/C/ |
LzmaDec.c | 47 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); }
119 And it decodes new LZMA-symbols while (buf < bufLimit), but "buf" is without last normalization
131 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit)
411 while (dicPos < limit && buf < bufLimit);
454 static int MY_FAST_CALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit)
465 RINOK(LzmaDec_DecodeReal(p, limit2, bufLimit));
470 while (p->dicPos < limit && p->buf < bufLimit && p->remainLen < kMatchSpecLenStart);
491 const Byte *bufLimit = buf + inSize;
507 /* if (bufLimit - buf >= 7) return DUMMY_LIT; */
641 /* if (bufLimit - buf >= 8) return DUMMY_MATCH; */ [all...] |