/external/icu4c/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/webkit/Source/JavaScriptCore/icu/unicode/ |
ucnv_err.h | 190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ 206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */
|
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
ucnv_err.h | 190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ 206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */
|
/external/webkit/Source/WebCore/icu/unicode/ |
ucnv_err.h | 190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ 206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */
|
/external/icu4c/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 | 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...] |
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...] |
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...] |
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 | 876 realSourceLimit=pArgs->sourceLimit; 882 pArgs->sourceLimit=replay-cnv->preFromULength; 911 * s<sourceLimit before converterSawEndOfInput is checked 915 pArgs->flush && pArgs->source==pArgs->sourceLimit && 965 realSourceLimit=pArgs->sourceLimit; 971 pArgs->sourceLimit=replay-cnv->preFromULength; 990 if(s<pArgs->sourceLimit) { 999 pArgs->sourceLimit=realSourceLimit; [all...] |
ucnvisci.c | [all...] |
ucnv2022.cpp | [all...] |
ucnvmbcs.c | [all...] |
/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/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);
|
/external/icu4c/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/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) );
|
ncnvtst.c | [all...] |
ccapitst.c | 414 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; 418 sourceLimit=sizeof(source)/sizeof(source[0]); 422 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err); 427 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 441 log_err("FAILURE! ucnv_convert() with sourceLimit=-1 failed: %s, returned %d instead of 7\n", 449 log_err("FAILURE! ucnv_convert() with sourceLimit=0 is expected to return 0\n"); 453 sourceLimit=sizeof(source)/sizeof(source[0]); 454 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 460 sourceLimit=sizeof(source)/sizeof(source[0]); 462 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err) [all...] |
/external/icu4c/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/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/icu4c/i18n/ |
rbt_pars.cpp | [all...] |