Searched refs:sourceLimit (Results 1 - 25 of 37) sorted by relevance

12

/external/icu4c/common/
H A Ducnv_u32.c49 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 Ducnvlat1.c52 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 Ducnv.c874 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 Ducnv_u8.c93 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 Ducnv_u16.c60 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 Ducnv_u7.c208 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) {
422 if(U_SUCCESS(*pErrorCode) && pArgs->flush && source==sourceLimit && bits==0) {
447 const UChar *source, *sourceLimit; local
465 sourceLimit=pArgs->sourceLimit;
865 const uint8_t *source, *sourceLimit; local
1133 const UChar *source, *sourceLimit; local
[all...]
H A Ducnvbocu.c388 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 Ducnvmbcs.c960 const UChar **source, const UChar *sourceLimit,
972 cp, source, sourceLimit,
1027 const uint8_t **source, const uint8_t *sourceLimit,
1037 length, (const char **)source, (const char *)sourceLimit,
1886 const uint8_t *source, *sourceLimit; local
1902 sourceLimit=(const uint8_t *)pArgs->sourceLimit;
1917 while(source<sourceLimit) {
2008 1, &source, sourceLimit,
2038 const uint8_t *source, *sourceLimit, *lastSourc local
958 _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
1025 _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
2318 const uint8_t *source, *sourceLimit; local
2736 const uint8_t *source, *sourceLimit; local
2820 const uint8_t *source, *sourceLimit, *lastSource; local
3259 const UChar *source, *sourceLimit; local
3491 const UChar *source, *sourceLimit; local
3667 const UChar *source, *sourceLimit, *lastSource; local
3924 const UChar *source, *sourceLimit; local
4863 const uint8_t *source, *sourceLimit; local
5166 const uint8_t *source, *sourceLimit; local
[all...]
H A Ducnvscsu.c233 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 Ducnv_cb.c56 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 Ducnv2022.c797 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 Dconvsamp.cpp286 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
450 sourceLimit = inBuf + count;
452 while(source < sourceLimit)
454 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 Dconvtest.cpp788 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 Ducnv_cb.h116 * @param sourceLimit pointer after last UChar to write
124 const UChar* sourceLimit,
H A Ducnv_err.h197 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon4716
213 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon4717
H A Ducnv.h1049 * sourceLimit pointers to point to the next chunk.
1052 * when *source==sourceLimit and no error code is set.
1070 * @param sourceLimit the pointer just after the last of the source buffer
1095 const UChar * sourceLimit,
1118 * sourceLimit pointers to point to the next chunk.
1121 * when *source==sourceLimit and no error code is set
1138 * @param sourceLimit the pointer to the byte after the end of the source buffer
1164 const char *sourceLimit,
1288 * @param sourceLimit points to the end of the input buffer
1307 const char * sourceLimit,
[all...]
/external/webkit/Source/WebCore/icu/unicode/
H A Ducnv_cb.h116 * @param sourceLimit pointer after last UChar to write
124 const UChar* sourceLimit,
H A Ducnv_err.h190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon11844
206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon11845
/external/webkit/Source/WebCore/platform/text/
H A DTextCodecICU.h58 const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err);
H A DTextCodecICU.cpp251 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 Ducnv_err.h190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon11601
206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon11602
H A Ducnv.h929 * 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 Ducnv_err.h190 const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon11678
206 const char *sourceLimit; /**< Pointer to the limit (end + 1) of source buffer. @stable ICU 2.0 */ member in struct:__anon11679
H A Ducnv.h929 * 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/icu4c/test/cintltst/
H A Dncnvtst.c1020 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...]

Completed in 294 milliseconds

12