/external/chromium_org/third_party/icu/source/common/ |
ucnv_u32.c | 50 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 65 while (mySource < sourceLimit && myTarget < targetLimit) { 70 if (mySource < sourceLimit) { 114 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { 130 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 146 while (mySource < sourceLimit && myTarget < targetLimit) { 151 if (mySource < sourceLimit) { 199 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err) [all...] |
ucnvlat1.c | 53 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); 121 if(source<(const uint8_t *)pArgs->sourceLimit) { 136 const UChar *source, *sourceLimit; 149 sourceLimit=pArgs->sourceLimit; 170 length=(int32_t)(sourceLimit-source); 271 if(source<sourceLimit) { 307 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) { 324 const uint8_t *source, *sourceLimit; 334 sourceLimit=(uint8_t *)pToUArgs->sourceLimit [all...] |
ucnv_u8.c | 105 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 125 while (mySource < sourceLimit && myTarget < targetLimit) 142 if (mySource < sourceLimit) 217 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) 235 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 254 while (mySource < sourceLimit && myTarget < targetLimit) 271 if (mySource < sourceLimit) 347 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err) [all...] |
ucnv.c | 884 realSourceLimit=pArgs->sourceLimit; 890 pArgs->sourceLimit=replay-cnv->preFromULength; 919 * s<sourceLimit before converterSawEndOfInput is checked 923 pArgs->flush && pArgs->source==pArgs->sourceLimit && 973 realSourceLimit=pArgs->sourceLimit; 979 pArgs->sourceLimit=replay-cnv->preFromULength; 998 if(s<pArgs->sourceLimit) { 1007 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 | 209 const uint8_t *source, *sourceLimit; 233 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 262 length=(int32_t)(sourceLimit-source); 292 if(source<sourceLimit && target>=targetLimit) { 308 while(source<sourceLimit) { 435 if(U_SUCCESS(*pErrorCode) && pArgs->flush && source==sourceLimit && bits==0) { 460 const UChar *source, *sourceLimit; 478 sourceLimit=pArgs->sourceLimit; [all...] |
ucnvscsu.c | 234 const uint8_t *source, *sourceLimit; 251 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 290 while(source<sourceLimit && target<targetLimit && (b=*source)>=0x20) { 334 while(source<sourceLimit) { 478 while(source+1<sourceLimit && target<targetLimit && (uint8_t)((b=*source)-UC0)>(Urs-UC0)) { 491 while(source<sourceLimit) { 588 const uint8_t *source, *sourceLimit; 602 sourceLimit=(const uint8_t *)pArgs->sourceLimit; [all...] |
ucnvbocu.cpp | 393 const UChar *source, *sourceLimit; 407 sourceLimit=pArgs->sourceLimit; 431 diff=(int32_t)(sourceLimit-source); 462 while(source<sourceLimit) { 486 if(source<sourceLimit) { 647 const UChar *source, *sourceLimit; 656 sourceLimit=pArgs->sourceLimit; 675 diff=(int32_t)(sourceLimit-source) [all...] |
ucnvmbcs.c | [all...] |
ucnv_ct.c | 181 static int32_t findNextEsc(const char *source, const char *sourceLimit) { 182 int32_t length = sourceLimit - source; 225 static COMPOUND_TEXT_CONVERTERS findStateFromEscSeq(const char* source, const char* sourceLimit, const uint8_t* toUBytesBuffer, int32_t toUBytesBufferLength, UErrorCode *err) { 238 } else if ((source + (n - offset)) >= sourceLimit) { 335 const UChar* sourceLimit = args->sourceLimit; 355 while( source < sourceLimit){ 364 if(source < sourceLimit) { 466 const char *mySourceLimit = args->sourceLimit; 543 subArgs.sourceLimit = tmpSourceLimit [all...] |
/external/icu/icu4c/source/common/ |
ucnv_u32.c | 50 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 65 while (mySource < sourceLimit && myTarget < targetLimit) { 70 if (mySource < sourceLimit) { 114 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { 130 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 146 while (mySource < sourceLimit && myTarget < targetLimit) { 151 if (mySource < sourceLimit) { 199 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err) [all...] |
ucnvlat1.c | 53 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); 121 if(source<(const uint8_t *)pArgs->sourceLimit) { 136 const UChar *source, *sourceLimit; 149 sourceLimit=pArgs->sourceLimit; 170 length=(int32_t)(sourceLimit-source); 271 if(source<sourceLimit) { 307 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) { 324 const uint8_t *source, *sourceLimit; 334 sourceLimit=(uint8_t *)pToUArgs->sourceLimit [all...] |
ucnv_u8.c | 96 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 116 while (mySource < sourceLimit && myTarget < targetLimit) 133 if (mySource < sourceLimit) 208 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) 226 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 245 while (mySource < sourceLimit && myTarget < targetLimit) 262 if (mySource < sourceLimit) 338 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err) [all...] |
ucnv.c | 884 realSourceLimit=pArgs->sourceLimit; 890 pArgs->sourceLimit=replay-cnv->preFromULength; 919 * s<sourceLimit before converterSawEndOfInput is checked 923 pArgs->flush && pArgs->source==pArgs->sourceLimit && 973 realSourceLimit=pArgs->sourceLimit; 979 pArgs->sourceLimit=replay-cnv->preFromULength; 998 if(s<pArgs->sourceLimit) { 1007 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 | 209 const uint8_t *source, *sourceLimit; 233 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 262 length=(int32_t)(sourceLimit-source); 292 if(source<sourceLimit && target>=targetLimit) { 308 while(source<sourceLimit) { 435 if(U_SUCCESS(*pErrorCode) && pArgs->flush && source==sourceLimit && bits==0) { 460 const UChar *source, *sourceLimit; 478 sourceLimit=pArgs->sourceLimit; [all...] |
ucnvscsu.c | 234 const uint8_t *source, *sourceLimit; 251 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 290 while(source<sourceLimit && target<targetLimit && (b=*source)>=0x20) { 334 while(source<sourceLimit) { 478 while(source+1<sourceLimit && target<targetLimit && (uint8_t)((b=*source)-UC0)>(Urs-UC0)) { 491 while(source<sourceLimit) { 588 const uint8_t *source, *sourceLimit; 602 sourceLimit=(const uint8_t *)pArgs->sourceLimit; [all...] |
ucnvbocu.cpp | 393 const UChar *source, *sourceLimit; 407 sourceLimit=pArgs->sourceLimit; 431 diff=(int32_t)(sourceLimit-source); 462 while(source<sourceLimit) { 486 if(source<sourceLimit) { 647 const UChar *source, *sourceLimit; 656 sourceLimit=pArgs->sourceLimit; 675 diff=(int32_t)(sourceLimit-source) [all...] |
ucnvmbcs.c | [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
convtest.cpp | 763 const char *source, *sourceLimit, *bytesLimit; 780 sourceLimit=bytesLimit; 785 sourceLimit=source; 800 &source, sourceLimit, 805 if(source>sourceLimit || target>targetLimit) { 825 if(source!=sourceLimit) { 831 if(sourceLimit==bytesLimit) { 837 sourceLimit=(bytesLimit-source)>=step ? source+step : bytesLimit; 838 flush=(UBool)(cc.finalFlush && sourceLimit==bytesLimit); 857 sourceLimit=source; // use sourceLimit not as a real limi [all...] |
/external/chromium_org/third_party/icu/source/samples/ucnv/ |
convsamp.cpp | 281 the source pointer will be equal to sourceLimit. If the output 294 const char *sourceLimit; 327 sourceLimit = inBuf + count; 335 &source, sourceLimit, NULL, 362 } while (source < sourceLimit); // while simply out of space 394 const char *sourceLimit; 442 sourceLimit = inBuf + count; 444 while(source < sourceLimit) 446 p = ucnv_getNextUChar(conv, &source, sourceLimit, &status); 566 const char *source, *sourceLimit; [all...] |
/external/icu/icu4c/source/samples/ucnv/ |
convsamp.cpp | 281 the source pointer will be equal to sourceLimit. If the output 294 const char *sourceLimit; 327 sourceLimit = inBuf + count; 335 &source, sourceLimit, NULL, 362 } while (source < sourceLimit); // while simply out of space 394 const char *sourceLimit; 442 sourceLimit = inBuf + count; 444 while(source < sourceLimit) 446 p = ucnv_getNextUChar(conv, &source, sourceLimit, &status); 566 const char *source, *sourceLimit; [all...] |
/external/icu/icu4c/source/test/intltest/ |
convtest.cpp | 790 const char *source, *sourceLimit, *bytesLimit; 807 sourceLimit=bytesLimit; 812 sourceLimit=source; 827 &source, sourceLimit, 832 if(source>sourceLimit || target>targetLimit) { 852 if(source!=sourceLimit) { 858 if(sourceLimit==bytesLimit) { 864 sourceLimit=(bytesLimit-source)>=step ? source+step : bytesLimit; 865 flush=(UBool)(cc.finalFlush && sourceLimit==bytesLimit); 884 sourceLimit=source; // use sourceLimit not as a real limi [all...] |