Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducnv_u32.cpp50 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE() local
67 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
72 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE()
73 ch = (ch << 8) | (uint8_t)(*mySource); in T_UConverter_toUnicode_UTF32_BE()
74 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_BE()
116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
122 args->source = (const char *) mySource; in T_UConverter_toUnicode_UTF32_BE()
129 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
148 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
153 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
[all …]
Ducnv_u8.cpp69 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8() local
91 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
93 ch = *(mySource++); in ucnv_toUnicode_UTF8()
108 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8()
110 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8()
117 ++mySource; in ucnv_toUnicode_UTF8()
171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
178 args->source = (const char *) mySource; in ucnv_toUnicode_UTF8()
185 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
208 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
[all …]
Ducnv_ct.cpp469 const char *mySource = (char *) args->source; in UConverter_toUnicode_CompoundText_OFFSETS() local
494 while(mySource < mySourceLimit){ in UConverter_toUnicode_CompoundText_OFFSETS()
499 mySourceChar = (uint8_t)*mySource; in UConverter_toUnicode_CompoundText_OFFSETS()
503 …tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter… in UConverter_toUnicode_CompoundText_OFFSETS()
506 for (; mySource < mySourceLimit;) { in UConverter_toUnicode_CompoundText_OFFSETS()
507 args->converter->toUBytes[args->converter->toULength++] = *mySource++; in UConverter_toUnicode_CompoundText_OFFSETS()
513 mySource++; /* skip over the 0x1b byte */ in UConverter_toUnicode_CompoundText_OFFSETS()
525 mySource += sourceOffset; in UConverter_toUnicode_CompoundText_OFFSETS()
531 while (mySource < mySourceLimit) { in UConverter_toUnicode_CompoundText_OFFSETS()
532 if (*mySource == ESC_START) { in UConverter_toUnicode_CompoundText_OFFSETS()
[all …]
Ducnv2022.cpp1075 const char* mySource = *source; in getEndOfBuffer_2022() local
1083 if (*mySource == ESC_2022){ in getEndOfBuffer_2022()
1096 (mySource+i < sourceLimit)&&(value == VALID_NON_TERMINAL_2022); in getEndOfBuffer_2022()
1098 value = getKey_2022(*(mySource+i), &key, &offset); in getEndOfBuffer_2022()
1100 if (value > 0 || *mySource==ESC_2022) in getEndOfBuffer_2022()
1101 return mySource; in getEndOfBuffer_2022()
1106 }while (++mySource < sourceLimit); in getEndOfBuffer_2022()
1110 while(mySource < sourceLimit && *mySource != ESC_2022) { in getEndOfBuffer_2022()
1111 ++mySource; in getEndOfBuffer_2022()
1113 return mySource; in getEndOfBuffer_2022()
[all …]
Ducnvhz.cpp159 const char *mySource = ( char *) args->source; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
174 while(mySource< mySourceLimit){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
178 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
189 … args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
205 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
229 --mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
236 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
276 --mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
300 …args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS)… in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
331 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
[all …]
Dunistr_cnv.cpp367 const char *mySource = codepageData; in doCodepageCreate() local
368 const char *mySourceEnd = mySource + dataLength; in doCodepageCreate()
393 &mySource, mySourceEnd, 0, TRUE, &status); in doCodepageCreate()
408 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource)); in doCodepageCreate()
/external/icu/icu4c/source/samples/cal/
Duprint.c36 const UChar *mySource; in uprint() local
45 mySource = s; in uprint()
46 mySourceEnd = mySource + sourceLen; in uprint()
63 &mySource, mySourceEnd, NULL, in uprint()
/external/icu/icu4c/source/samples/date/
Duprint.c37 const UChar *mySource; in uprint() local
46 mySource = s; in uprint()
47 mySourceEnd = mySource + sourceLen; in uprint()
64 &mySource, mySourceEnd, NULL, in uprint()
/external/icu/icu4c/source/io/
Dustdio.cpp318 const UChar *mySource = chars; in u_file_write_flush() local
334 mySource = u_file_translit(f, chars, &count, flushTranslit); in u_file_write_flush()
345 u_strncpy(f->str.fPos, mySource, written); in u_file_write_flush()
350 mySourceEnd = mySource + count; in u_file_write_flush()
354 mySourceBegin = mySource; /* beginning location for this loop */ in u_file_write_flush()
360 &mySource, in u_file_write_flush()
366 int32_t convertChars = (int32_t) (mySourceEnd - mySource); in u_file_write_flush()
371 u_UCharsToChars(mySource, myTarget, convertChars); in u_file_write_flush()
372 mySource += convertChars; in u_file_write_flush()
384 written += (int32_t) (mySource - mySourceBegin); in u_file_write_flush()
[all …]
/external/icu/icu4c/source/extra/uconv/
Duwmsg.c44 const UChar *mySource; in uprint() local
52 mySource = s; in uprint()
53 mySourceEnd = mySource + sourceLen; in uprint()
70 &mySource, mySourceEnd, NULL, in uprint()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestFactory.java19 XMLSource mySource = new SimpleXMLSource("root");
20 CLDRFile testFile = new CLDRFile(mySource);
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1601 char[] mySource = { in TestCanConvert() local
1620 if (!encoder.canEncode(new String(mySource))) { in TestCanConvert()
1901 ByteBuffer mySource; in smBufDecode() local
1904 mySource = ByteBuffer.allocate(source.capacity()); in smBufDecode()
1909 mySource = ByteBuffer.allocateDirect(source.capacity()); in smBufDecode()
1912 mySource.position(source.position()); in smBufDecode()
1914 mySource.put(i, source.get(i)); in smBufDecode()
1919 mySource.limit(source.limit()); in smBufDecode()
1920 mySource.position(source.position()); in smBufDecode()
1922 result = decoder.decode(mySource, myTarget, true); in smBufDecode()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetISO2022.java234 byte mySource = 0; in getEndOfBuffer_2022()
235 mySource = source.get(sourceIndex); in getEndOfBuffer_2022()
237 while (source.hasRemaining() && mySource != ESC_2022) { in getEndOfBuffer_2022()
238 mySource = source.get(); in getEndOfBuffer_2022()
239 if (mySource == ESC_2022) { in getEndOfBuffer_2022()