Home
last modified time | relevance | path

Searched refs:mySource (Results 1 – 9 of 9) sorted by relevance

/external/icu4c/common/
Ducnv_u32.c47 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE() local
64 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
69 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE()
70 ch = (ch << 8) | (uint8_t)(*mySource); in T_UConverter_toUnicode_UTF32_BE()
71 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_BE()
113 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
119 args->source = (const char *) mySource; in T_UConverter_toUnicode_UTF32_BE()
126 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
145 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
150 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
[all …]
Ducnv_u8.c91 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8() local
113 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
115 ch = *(mySource++); in ucnv_toUnicode_UTF8()
130 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8()
132 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8()
138 ++mySource; in ucnv_toUnicode_UTF8()
205 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
212 args->source = (const char *) mySource; in ucnv_toUnicode_UTF8()
219 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
242 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
[all …]
Ducnv2022.c1035 const char* mySource = *source; in getEndOfBuffer_2022() local
1043 if (*mySource == ESC_2022){ in getEndOfBuffer_2022()
1056 (mySource+i < sourceLimit)&&(value == VALID_NON_TERMINAL_2022); in getEndOfBuffer_2022()
1058 value = getKey_2022(*(mySource+i), &key, &offset); in getEndOfBuffer_2022()
1060 if (value > 0 || *mySource==ESC_2022) in getEndOfBuffer_2022()
1061 return mySource; in getEndOfBuffer_2022()
1066 }while (++mySource < sourceLimit); in getEndOfBuffer_2022()
1070 while(mySource < sourceLimit && *mySource != ESC_2022) { in getEndOfBuffer_2022()
1071 ++mySource; in getEndOfBuffer_2022()
1073 return mySource; in getEndOfBuffer_2022()
[all …]
Ducnvhz.c157 const char *mySource = ( char *) args->source; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
172 while(mySource< mySourceLimit){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
176 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
187 … args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
203 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
227 --mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
234 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
274 --mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
298 …args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS)… in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
329 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
[all …]
Dunistr_cnv.cpp375 const char *mySource = codepageData; in doCodepageCreate() local
376 const char *mySourceEnd = mySource + dataLength; in doCodepageCreate()
401 &mySource, mySourceEnd, 0, TRUE, &status); in doCodepageCreate()
416 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource)); in doCodepageCreate()
/external/icu4c/samples/cal/
Duprint.c32 const UChar *mySource; in uprint() local
41 mySource = s; in uprint()
42 mySourceEnd = mySource + sourceLen; in uprint()
59 &mySource, mySourceEnd, NULL, in uprint()
/external/icu4c/samples/date/
Duprint.c33 const UChar *mySource; in uprint() local
42 mySource = s; in uprint()
43 mySourceEnd = mySource + sourceLen; in uprint()
60 &mySource, mySourceEnd, NULL, in uprint()
/external/icu4c/io/
Dustdio.c313 const UChar *mySource = chars; in u_file_write_flush() local
329 mySource = u_file_translit(f, chars, &count, flushTranslit); in u_file_write_flush()
340 u_strncpy(f->str.fPos, mySource, written); in u_file_write_flush()
345 mySourceEnd = mySource + count; in u_file_write_flush()
349 mySourceBegin = mySource; /* beginning location for this loop */ in u_file_write_flush()
355 &mySource, in u_file_write_flush()
361 int32_t convertChars = (int32_t) (mySourceEnd - mySource); in u_file_write_flush()
366 u_UCharsToChars(mySource, myTarget, convertChars); in u_file_write_flush()
367 mySource += convertChars; in u_file_write_flush()
379 written += (int32_t) (mySource - mySourceBegin); in u_file_write_flush()
[all …]
/external/icu4c/extra/uconv/
Duwmsg.c43 const UChar *mySource; in uprint() local
51 mySource = s; in uprint()
52 mySourceEnd = mySource + sourceLen; in uprint()
69 &mySource, mySourceEnd, NULL, in uprint()