/external/icu/icu4c/source/common/unicode/ |
ucnv_err.h | 197 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ 213 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */
|
/external/icu/icu4c/source/common/ |
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_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_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...] |
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...] |
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...] |
ucnvbocu.cpp | 393 const UChar *source, *sourceLimit; 405 sourceLimit=pArgs->sourceLimit; 429 diff=(int32_t)(sourceLimit-source); 460 while(source<sourceLimit) { 484 if(source<sourceLimit) { 645 const UChar *source, *sourceLimit; 654 sourceLimit=pArgs->sourceLimit; 673 diff=(int32_t)(sourceLimit-source) [all...] |
ucnv_ct.c | 179 static int32_t findNextEsc(const char *source, const char *sourceLimit) { 180 int32_t length = sourceLimit - source; 223 static COMPOUND_TEXT_CONVERTERS findStateFromEscSeq(const char* source, const char* sourceLimit, const uint8_t* toUBytesBuffer, int32_t toUBytesBufferLength, UErrorCode *err) { 236 } else if ((source + (n - offset)) >= sourceLimit) { 333 const UChar* sourceLimit = args->sourceLimit; 353 while( source < sourceLimit){ 362 if(source < sourceLimit) { 464 const char *mySourceLimit = args->sourceLimit; 541 subArgs.sourceLimit = tmpSourceLimit [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...] |
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...] |
ucnvisci.c | [all...] |
ucnv2022.cpp | [all...] |
ucnvmbcs.cpp | [all...] |
/external/icu/icu4c/source/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/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetUTF8.java | 81 int sourceLimit = source.arrayOffset() + source.limit(); 110 if (sourceIndex >= sourceLimit) { 158 if (sourceIndex >= sourceLimit) { 170 if (sourceIndex >= sourceLimit) { 202 int sourceLimit = source.limit(); 230 if (sourceIndex >= sourceLimit) { 295 if (sourceIndex >= sourceLimit) { 307 if (sourceIndex >= sourceLimit) { 366 int sourceLimit = source.arrayOffset() + source.limit(); 380 cr = encodeFourBytes(sourceArray, targetArray, sourceLimit, targetLimit [all...] |
CharsetCompoundText.java | 199 int sourceLimit = source.limit(); 200 for (int i = (source.position() + 1); i < sourceLimit; i++) { 205 return sourceLimit; 246 int sourceLimit = source.limit(); 256 } else if ((sourceIndex + (n - offset)) >= sourceLimit) { 513 int sourceLimit = source.limit();; 588 source.limit(sourceLimit);
|
CharsetISO2022.java | [all...] |
/frameworks/av/media/libmedia/ |
CharacterEncodingDetector.cpp | 347 const char *sourceLimit = input + len; 355 if (source != sourceLimit) { 358 UChar32 c = ucnv_getNextUChar(conv, &source, sourceLimit, &status);
|
/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/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) );
|
ncnvtst.c | [all...] |
ccapitst.c | 411 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; 415 sourceLimit=sizeof(source)/sizeof(source[0]); 419 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err); 424 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 438 log_err("FAILURE! ucnv_convert() with sourceLimit=-1 failed: %s, returned %d instead of 7\n", 446 log_err("FAILURE! ucnv_convert() with sourceLimit=0 is expected to return 0\n"); 450 sourceLimit=sizeof(source)/sizeof(source[0]); 451 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 457 sourceLimit=sizeof(source)/sizeof(source[0]); 459 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err) [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
ucbuf.c | 170 const char* sourceLimit =NULL; 219 sourceLimit = source + inputRead; 221 &source,sourceLimit,NULL, 258 stop = (int32_t)(((pos+CONTEXT_LEN)<= (sourceLimit-cbuf) )? (pos+(CONTEXT_LEN-1)) : (sourceLimit-cbuf)); 290 &source,sourceLimit,NULL,
|
/external/icu/icu4c/source/test/intltest/ |
convtest.cpp | 862 const char *source, *sourceLimit, *bytesLimit; 879 sourceLimit=bytesLimit; 884 sourceLimit=source; 899 &source, sourceLimit, [all...] |
/external/icu/icu4c/source/i18n/ |
rbt_pars.cpp | [all...] |