/external/icu4c/common/ |
ucnv_u32.c | 49 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 64 while (mySource < sourceLimit && myTarget < targetLimit) { 69 if (mySource < sourceLimit) { 113 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { 129 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 145 while (mySource < sourceLimit && myTarget < targetLimit) { 150 if (mySource < sourceLimit) { 198 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err) [all...] |
ucnvlat1.c | 52 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); 120 if(source<(const uint8_t *)pArgs->sourceLimit) { 135 const UChar *source, *sourceLimit; 148 sourceLimit=pArgs->sourceLimit; 169 length=(int32_t)(sourceLimit-source); 270 if(source<sourceLimit) { 306 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) { 323 const uint8_t *source, *sourceLimit; 333 sourceLimit=(uint8_t *)pToUArgs->sourceLimit [all...] |
ucnv_u8.c | 93 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 113 while (mySource < sourceLimit && myTarget < targetLimit) 130 if (mySource < sourceLimit) 205 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) 223 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 242 while (mySource < sourceLimit && myTarget < targetLimit) 259 if (mySource < sourceLimit) 335 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err) [all...] |
ucnv.c | 874 realSourceLimit=pArgs->sourceLimit; 880 pArgs->sourceLimit=replay-cnv->preFromULength; 909 * s<sourceLimit before converterSawEndOfInput is checked 913 pArgs->flush && pArgs->source==pArgs->sourceLimit && 963 realSourceLimit=pArgs->sourceLimit; 969 pArgs->sourceLimit=replay-cnv->preFromULength; 988 if(s<pArgs->sourceLimit) { 997 pArgs->sourceLimit=realSourceLimit; [all...] |
ucnv_cb.c | 56 const UChar* sourceLimit, 85 sourceLimit, 104 /* && (*source < sourceLimit && args->target >= args->targetLimit) 140 sourceLimit,
|
ucnv_u16.c | 60 length=(int32_t)(pArgs->sourceLimit-source); 207 if(source<pArgs->sourceLimit) { 241 if(U_SUCCESS(*pErrorCode) && source<pArgs->sourceLimit && targetCapacity==0) { 269 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); 491 const uint8_t *s, *sourceLimit; 499 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 501 if(s>=sourceLimit) { 507 if(s+2>sourceLimit) { 523 if(s+2<=sourceLimit) { [all...] |
ucnv_u7.c | 208 const uint8_t *source, *sourceLimit; 232 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 261 length=(int32_t)(sourceLimit-source); 291 if(source<sourceLimit && target>=targetLimit) { 307 while(source<sourceLimit) { 434 if(U_SUCCESS(*pErrorCode) && pArgs->flush && source==sourceLimit && bits==0) { 459 const UChar *source, *sourceLimit; 477 sourceLimit=pArgs->sourceLimit; [all...] |
ucnvscsu.c | 233 const uint8_t *source, *sourceLimit; 250 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 289 while(source<sourceLimit && target<targetLimit && (b=*source)>=0x20) { 333 while(source<sourceLimit) { 477 while(source+1<sourceLimit && target<targetLimit && (uint8_t)((b=*source)-UC0)>(Urs-UC0)) { 490 while(source<sourceLimit) { 587 const uint8_t *source, *sourceLimit; 601 sourceLimit=(const uint8_t *)pArgs->sourceLimit; [all...] |
ucnvbocu.c | 388 const UChar *source, *sourceLimit; 402 sourceLimit=pArgs->sourceLimit; 426 diff=(int32_t)(sourceLimit-source); 457 while(source<sourceLimit) { 481 if(source<sourceLimit) { 642 const UChar *source, *sourceLimit; 651 sourceLimit=pArgs->sourceLimit; 670 diff=(int32_t)(sourceLimit-source) [all...] |
ucnvmbcs.c | [all...] |
ucnv_ct.c | 180 static int32_t findNextEsc(const char *source, const char *sourceLimit) { 181 int32_t length = sourceLimit - source; 224 static COMPOUND_TEXT_CONVERTERS findStateFromEscSeq(const char* source, const char* sourceLimit, const uint8_t* toUBytesBuffer, int32_t toUBytesBufferLength, UErrorCode *err) { 237 } else if ((source + (n - offset)) >= sourceLimit) { 334 const UChar* sourceLimit = args->sourceLimit; 354 while( source < sourceLimit){ 363 if(source < sourceLimit) { 465 const char *mySourceLimit = args->sourceLimit; 539 subArgs.sourceLimit = tmpSourceLimit [all...] |
ucnv2022.c | [all...] |
ucnv_lmb.c | 883 while (args->source < args->sourceLimit && !U_FAILURE(*err)) [all...] |
/external/icu4c/samples/ucnv/ |
convsamp.cpp | 286 the source pointer will be equal to sourceLimit. If the output 299 const char *sourceLimit; 332 sourceLimit = inBuf + count; 340 &source, sourceLimit, NULL, 367 } while (source < sourceLimit); // while simply out of space 399 const char *sourceLimit; 447 sourceLimit = inBuf + count; 449 while(source < sourceLimit) 451 p = ucnv_getNextUChar(conv, &source, sourceLimit, &status); 571 const char *source, *sourceLimit; [all...] |
/external/icu4c/test/intltest/ |
convtest.cpp | 788 const char *source, *sourceLimit, *bytesLimit; 805 sourceLimit=bytesLimit; 810 sourceLimit=source; 825 &source, sourceLimit, 830 if(source>sourceLimit || target>targetLimit) { 850 if(source!=sourceLimit) { 856 if(sourceLimit==bytesLimit) { 862 sourceLimit=(bytesLimit-source)>=step ? source+step : bytesLimit; 863 flush=(UBool)(cc.finalFlush && sourceLimit==bytesLimit); 882 sourceLimit=source; // use sourceLimit not as a real limi [all...] |
/external/webkit/Source/WebCore/platform/text/ |
TextCodecICU.cpp | 251 int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err) 255 ucnv_toUnicode(m_converterICU, &target, targetLimit, &source, sourceLimit, offsets, flush, &err); 314 const char* sourceLimit = source + length; 319 int ucharsDecoded = decodeToBuffer(buffer, bufferLimit, source, sourceLimit, offsets, flush, err); 326 decodeToBuffer(buffer, bufferLimit, source, sourceLimit, offsets, true, err); 327 } while (source < sourceLimit); 434 const UChar* sourceLimit = source + copy.length(); 462 ucnv_fromUnicode(m_converterICU, &target, targetLimit, &source, sourceLimit, 0, true, &err);
|
TextCodecICU.h | 58 const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err);
|
/external/icu4c/test/perf/convperf/ |
convperf.h | 57 const char* sourceLimit = src + srcLen; 59 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status); 103 const UChar* sourceLimit = src + srcLen; 105 ucnv_fromUnicode(conv,&myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status);
|
/external/icu4c/common/unicode/ |
ucnv_cb.h | 116 * @param sourceLimit pointer after last UChar to write 124 const UChar* sourceLimit,
|
/external/webkit/Source/WebCore/icu/unicode/ |
ucnv_cb.h | 116 * @param sourceLimit pointer after last UChar to write 124 const UChar* sourceLimit,
|
/external/icu4c/test/cintltst/ |
ncnvfbts.c | 146 const UChar *sourceLimit; 194 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); 196 doFlush = (UBool)(sourceLimit == realSourceEnd); 203 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE"); 212 sourceLimit, 217 } while ( (status == U_BUFFER_OVERFLOW_ERROR) || (sourceLimit < realSourceEnd) );
|
nucnvtst.c | 388 const UChar *sourceLimit; 428 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); 430 doFlush = (UBool)(sourceLimit == realSourceEnd); 436 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE"); 445 sourceLimit, 449 } while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && sourceLimit < realSourceEnd) ); [all...] |
ncnvtst.c | [all...] |
ccapitst.c | 457 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; 461 sourceLimit=sizeof(source)/sizeof(source[0]); 465 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err); 470 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 484 log_err("FAILURE! ucnv_convert() with sourceLimit=-1 failed: %s, returned %d instead of 7\n", 492 log_err("FAILURE! ucnv_convert() with sourceLimit=0 is expected to return 0\n"); 496 sourceLimit=sizeof(source)/sizeof(source[0]); 497 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 503 sourceLimit=sizeof(source)/sizeof(source[0]); 505 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err) [all...] |
/external/icu4c/tools/toolutil/ |
ucbuf.c | 169 const char* sourceLimit =NULL; 218 sourceLimit = source + inputRead; 220 &source,sourceLimit,NULL, 257 stop = (int32_t)(((pos+CONTEXT_LEN)<= (sourceLimit-cbuf) )? (pos+(CONTEXT_LEN-1)) : (sourceLimit-cbuf)); 289 &source,sourceLimit,NULL,
|