/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.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_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_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...] |
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...] |
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...] |
ucnv_cb.c | 56 const UChar* sourceLimit, 85 sourceLimit, 104 /* && (*source < sourceLimit && args->target >= args->targetLimit) 140 sourceLimit,
|
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...] |
/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/icu4c/common/unicode/ |
ucnv_cb.h | 116 * @param sourceLimit pointer after last UChar to write 124 const UChar* sourceLimit,
|
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 */
|
ucnv.h | [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
ucnv_cb.h | 116 * @param sourceLimit pointer after last UChar to write 124 const UChar* sourceLimit,
|
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/platform/text/ |
TextCodecICU.h | 58 const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err);
|
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/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 */
|
ucnv.h | [all...] |
/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/icu4c/test/cintltst/ |
ncnvtst.c | [all...] |