/external/icu4c/common/ |
H A D | ucnv_u32.c | 49 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; local 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; local 145 while (mySource < sourceLimit && myTarget < targetLimit) { 150 if (mySource < sourceLimit) { 198 if (mySource < sourceLimit 215 const UChar *sourceLimit = args->sourceLimit; local 317 const UChar *sourceLimit = args->sourceLimit; local 511 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; local 597 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; local 693 const UChar *sourceLimit = args->sourceLimit; local 803 const UChar *sourceLimit = args->sourceLimit; local 1048 const char *sourceLimit=pArgs->sourceLimit; local [all...] |
H A D | 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; local 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; local 333 sourceLimit 472 const uint8_t *source, *sourceLimit; local 609 const uint8_t *source, *sourceLimit; local [all...] |
H A D | 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; 1062 length=(int32_t)(pArgs->sourceLimit-pArgs->source); 1069 pArgs->sourceLimit 1168 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1614 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1839 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) argument 2044 ucnv_convertEx(UConverter *targetCnv, UConverter *sourceCnv, char **target, const char *targetLimit, const char **source, const char *sourceLimit, UChar *pivotStart, UChar **pivotSource, UChar **pivotTarget, const UChar *pivotLimit, UBool reset, UBool flush, UErrorCode *pErrorCode) argument 2411 const char *sourceLimit; local [all...] |
H A D | ucnv_u8.c | 93 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; local 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; local 242 while (mySource < sourceLimit && myTarget < targetLimit) 259 if (mySource < sourceLimit) 335 if (mySource < sourceLimit 350 const UChar *sourceLimit = args->sourceLimit; local 465 const UChar *sourceLimit = args->sourceLimit; local 753 const uint8_t *source, *sourceLimit; local [all...] |
H A D | 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; local 499 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 501 if(s>=sourceLimit) { 507 if(s+2>sourceLimit) { 523 if(s+2<=sourceLimit) { 1090 const uint8_t *s, *sourceLimit; local 1327 const char *sourceLimit=pArgs->sourceLimit; local [all...] |
H A D | ucnv_u7.c | 208 const uint8_t *source, *sourceLimit; local 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; local 477 sourceLimit=pArgs->sourceLimit; 889 const uint8_t *source, *sourceLimit; local 1157 const UChar *source, *sourceLimit; local [all...] |
H A D | ucnvbocu.c | 388 const UChar *source, *sourceLimit; local 402 sourceLimit=pArgs->sourceLimit; 426 diff=(int32_t)(sourceLimit-source); 457 while(source<sourceLimit) { 481 if(source<sourceLimit) { 642 const UChar *source, *sourceLimit; local 651 sourceLimit=pArgs->sourceLimit; 670 diff=(int32_t)(sourceLimit 937 const uint8_t *source, *sourceLimit; local 1160 const uint8_t *source, *sourceLimit; local [all...] |
H A D | ucnvmbcs.c | 961 const UChar **source, const UChar *sourceLimit, 973 cp, source, sourceLimit, 1028 const uint8_t **source, const uint8_t *sourceLimit, 1038 length, (const char **)source, (const char *)sourceLimit, 1887 const uint8_t *source, *sourceLimit; local 1903 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 1918 while(source<sourceLimit) { 2009 1, &source, sourceLimit, 2039 const uint8_t *source, *sourceLimit, *lastSourc local 959 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, UChar32 cp, const UChar **source, const UChar *sourceLimit, uint8_t **target, const uint8_t *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument 1026 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, int8_t length, const uint8_t **source, const uint8_t *sourceLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument 2319 const uint8_t *source, *sourceLimit; local 2737 const uint8_t *source, *sourceLimit; local 2821 const uint8_t *source, *sourceLimit, *lastSource; local 3260 const UChar *source, *sourceLimit; local 3492 const UChar *source, *sourceLimit; local 3668 const UChar *source, *sourceLimit, *lastSource; local 3925 const UChar *source, *sourceLimit; local 4864 const uint8_t *source, *sourceLimit; local 5167 const uint8_t *source, *sourceLimit; local [all...] |
H A D | ucnvscsu.c | 233 const uint8_t *source, *sourceLimit; local 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; local 601 sourceLimit=(const uint8_t *)pArgs->sourceLimit; 1012 const UChar *source, *sourceLimit; local 1505 const UChar *source, *sourceLimit; local [all...] |
H A D | ucnv_cb.c | 56 const UChar* sourceLimit, 85 sourceLimit, 104 /* && (*source < sourceLimit && args->target >= args->targetLimit) 140 sourceLimit, 54 ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args, const UChar** source, const UChar* sourceLimit, int32_t offsetIndex, UErrorCode * err) argument
|
H A D | ucnv_ct.c | 180 static int32_t findNextEsc(const char *source, const char *sourceLimit) { argument 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) { argument 237 } else if ((source + (n - offset)) >= sourceLimit) { 334 const UChar* sourceLimit = args->sourceLimit; local 354 while( source < sourceLimit){ 363 if(source < sourceLimit) { 465 const char *mySourceLimit = args->sourceLimit; 539 subArgs.sourceLimit [all...] |
H A D | ucnv2022.c | 797 const char* sourceLimit, 808 while (*source < sourceLimit) { 1024 *we return sourceLimit 1032 const char* sourceLimit, 1038 if (*source >= sourceLimit) 1039 return sourceLimit; 1056 (mySource+i < sourceLimit)&&(value == VALID_NON_TERMINAL_2022); 1064 return sourceLimit; 1066 }while (++mySource < sourceLimit); 1068 return sourceLimit; 795 changeState_2022(UConverter* _this, const char** source, const char* sourceLimit, Variant2022 var, UErrorCode* err) argument 1031 getEndOfBuffer_2022(const char** source, const char* sourceLimit, UBool flush) argument 1637 const UChar* sourceLimit = args->sourceLimit; local 2326 const UChar *sourceLimit = args->sourceLimit; local 2889 const UChar* sourceLimit = args->sourceLimit; local [all...] |
/external/icu4c/samples/ucnv/ |
H A D | convsamp.cpp | 286 the source pointer will be equal to sourceLimit. If the output 299 const char *sourceLimit; local 332 sourceLimit = inBuf + count; 340 &source, sourceLimit, NULL, 367 } while (source < sourceLimit); // while simply out of space 399 const char *sourceLimit; local 447 sourceLimit = inBuf + count; 449 while(source < sourceLimit) 451 p = ucnv_getNextUChar(conv, &source, sourceLimit, &status); 571 const char *source, *sourceLimit; local 880 const char *sourceLimit; local 985 const UChar *sourceLimit; local [all...] |
/external/icu4c/test/intltest/ |
H A D | convtest.cpp | 788 const char *source, *sourceLimit, *bytesLimit; local 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 1189 const char *source, *sourceLimit, *utf8Limit; local 1295 const UChar *source, *sourceLimit, *unicodeLimit; local [all...] |
/external/icu4c/common/unicode/ |
H A D | ucnv_cb.h | 116 * @param sourceLimit pointer after last UChar to write 124 const UChar* sourceLimit,
|
H A D | ucnv_err.h | 197 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon5810 213 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon5811
|
H A D | ucnv.h | 1085 * sourceLimit pointers to point to the next chunk. 1088 * when *source==sourceLimit and no error code is set. 1106 * @param sourceLimit the pointer just after the last of the source buffer 1131 const UChar * sourceLimit, 1154 * sourceLimit pointers to point to the next chunk. 1157 * when *source==sourceLimit and no error code is set 1174 * @param sourceLimit the pointer to the byte after the end of the source buffer 1200 const char *sourceLimit, 1324 * @param sourceLimit points to the end of the input buffer 1343 const char * sourceLimit, [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
H A D | ucnv_cb.h | 116 * @param sourceLimit pointer after last UChar to write 124 const UChar* sourceLimit,
|
H A D | ucnv_err.h | 190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon14597 206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon14598
|
/external/webkit/Source/WebCore/platform/text/ |
H A D | TextCodecICU.h | 58 const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err);
|
H A D | TextCodecICU.cpp | 251 int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err) argument 255 ucnv_toUnicode(m_converterICU, &target, targetLimit, &source, sourceLimit, offsets, flush, &err); 314 const char* sourceLimit = source + length; local 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(); local 462 ucnv_fromUnicode(m_converterICU, &target, targetLimit, &source, sourceLimit, 0, true, &err);
|
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
H A D | ucnv_err.h | 190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon14354 206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon14355
|
H A D | ucnv.h | 929 * sourceLimit pointers to point to the next chunk. 932 * when *source==sourceLimit and no error code is set. 950 * @param sourceLimit the pointer just after the last of the source buffer 975 const UChar * sourceLimit, 998 * sourceLimit pointers to point to the next chunk. 1001 * when *source==sourceLimit and no error code is set 1018 * @param sourceLimit the pointer to the byte after the end of the source buffer 1044 const char *sourceLimit, 1168 * @param sourceLimit points to the end of the input buffer 1187 const char * sourceLimit, [all...] |
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
H A D | ucnv_err.h | 190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon14431 206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon14432
|
/external/icu4c/test/cintltst/ |
H A D | ncnvtst.c | 1020 UChar *sourceLimit=0; local 1037 sourceLimit=(UChar*)src+(sourceLen); 1045 sourceLimit, local 1110 uint8_t *sourceLimit=0; local 1130 sourceLimit=(uint8_t*)(src+(sourceLen)); 1141 (const char *)sourceLimit, 1210 const UChar *sourceLimit; local 1258 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); 1260 doFlush = (UBool)(sourceLimit == realSourceEnd); 1267 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, tar 1277 sourceLimit, local 1800 const char *source, *sourceLimit; local [all...] |