Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducnv_u32.c48 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE() local
65 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
70 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE()
71 ch = (ch << 8) | (uint8_t)(*mySource); in T_UConverter_toUnicode_UTF32_BE()
72 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_BE()
114 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
120 args->source = (const char *) mySource; in T_UConverter_toUnicode_UTF32_BE()
127 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
146 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
151 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
[all …]
Ducnv_u8.c103 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8() local
125 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
127 ch = *(mySource++); in ucnv_toUnicode_UTF8()
142 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8()
144 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8()
150 ++mySource; in ucnv_toUnicode_UTF8()
217 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
224 args->source = (const char *) mySource; in ucnv_toUnicode_UTF8()
231 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
254 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
[all …]
Ducnv_ct.c462 const char *mySource = (char *) args->source; in UConverter_toUnicode_CompoundText_OFFSETS() local
487 while(mySource < mySourceLimit){ in UConverter_toUnicode_CompoundText_OFFSETS()
492 mySourceChar = (uint8_t)*mySource; in UConverter_toUnicode_CompoundText_OFFSETS()
496 …tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter… in UConverter_toUnicode_CompoundText_OFFSETS()
499 for (; mySource < mySourceLimit;) { in UConverter_toUnicode_CompoundText_OFFSETS()
500 args->converter->toUBytes[args->converter->toULength++] = *mySource++; in UConverter_toUnicode_CompoundText_OFFSETS()
506 mySource++; /* skip over the 0x1b byte */ in UConverter_toUnicode_CompoundText_OFFSETS()
518 mySource += sourceOffset; in UConverter_toUnicode_CompoundText_OFFSETS()
524 while (mySource < mySourceLimit) { in UConverter_toUnicode_CompoundText_OFFSETS()
525 if (*mySource == ESC_START) { in UConverter_toUnicode_CompoundText_OFFSETS()
[all …]
Ducnv2022.cpp1086 const char* mySource = *source; in getEndOfBuffer_2022() local
1094 if (*mySource == ESC_2022){ in getEndOfBuffer_2022()
1107 (mySource+i < sourceLimit)&&(value == VALID_NON_TERMINAL_2022); in getEndOfBuffer_2022()
1109 value = getKey_2022(*(mySource+i), &key, &offset); in getEndOfBuffer_2022()
1111 if (value > 0 || *mySource==ESC_2022) in getEndOfBuffer_2022()
1112 return mySource; in getEndOfBuffer_2022()
1117 }while (++mySource < sourceLimit); in getEndOfBuffer_2022()
1121 while(mySource < sourceLimit && *mySource != ESC_2022) { in getEndOfBuffer_2022()
1122 ++mySource; in getEndOfBuffer_2022()
1124 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.cpp365 const char *mySource = codepageData; in doCodepageCreate() local
366 const char *mySourceEnd = mySource + dataLength; in doCodepageCreate()
391 &mySource, mySourceEnd, 0, TRUE, &status); in doCodepageCreate()
406 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource)); in doCodepageCreate()
/external/lldb/test/lang/objc/objc-stepping/
Dstepping-tests.m113 Source *mySource;
119 mySource = [[Source alloc] init];
121 [mySource randomMethod]; // Set first breakpoint here.
122 ret_val = [mySource returnsStruct]; // Set second breakpoint here.
124 myObserver = [Observer observerWithSource: mySource];
126 [mySource randomMethod]; // Set third breakpoint here.
127 ret_val = [mySource returnsStruct]; // Set fourth breakpoint here.
128 [mySource setProperty: 5]; // Set fifth breakpoint here.
133 mySource = nil;
134 [mySource randomMethod]; // Set nil step breakpoint here.
DTestObjCStepping.py93 mySource = thread.GetFrameAtIndex(0).FindVariable("mySource")
94 self.assertTrue(mySource, "Found mySource local variable.")
95 mySource_isa = mySource.GetChildMemberWithName ("isa")
104 del (mySource)
/external/icu/icu4c/source/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/icu/icu4c/source/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/icu/icu4c/source/io/
Dustdio.c316 const UChar *mySource = chars; in u_file_write_flush() local
332 mySource = u_file_translit(f, chars, &count, flushTranslit); in u_file_write_flush()
343 u_strncpy(f->str.fPos, mySource, written); in u_file_write_flush()
348 mySourceEnd = mySource + count; in u_file_write_flush()
352 mySourceBegin = mySource; /* beginning location for this loop */ in u_file_write_flush()
358 &mySource, in u_file_write_flush()
364 int32_t convertChars = (int32_t) (mySourceEnd - mySource); in u_file_write_flush()
369 u_UCharsToChars(mySource, myTarget, convertChars); in u_file_write_flush()
370 mySource += convertChars; in u_file_write_flush()
382 written += (int32_t) (mySource - mySourceBegin); in u_file_write_flush()
[all …]
/external/lldb/test/lang/objc/objc-dynamic-value/
Ddynamic-value.m128 Source *mySource;
133 mySource = [[SourceDerived alloc] init];
134 myObserver = [Observer observerWithSource: mySource];
136 [mySource setProperty: 5]; // Break here to see if we can step into real method.
138 uint32_t return_value = handle_SourceBase (mySource);
/external/icu/icu4c/source/extra/uconv/
Duwmsg.c41 const UChar *mySource; in uprint() local
49 mySource = s; in uprint()
50 mySourceEnd = mySource + sourceLen; in uprint()
67 &mySource, mySourceEnd, NULL, in uprint()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1580 char[] mySource = { in TestCanConvert() local
1599 if (!encoder.canEncode(new String(mySource))) { in TestCanConvert()
1862 ByteBuffer mySource; in smBufDecode() local
1865 mySource = ByteBuffer.allocate(source.capacity()); in smBufDecode()
1870 mySource = ByteBuffer.allocateDirect(source.capacity()); in smBufDecode()
1873 mySource.position(source.position()); in smBufDecode()
1875 mySource.put(i, source.get(i)); in smBufDecode()
1880 mySource.limit(source.limit()); in smBufDecode()
1881 mySource.position(source.position()); in smBufDecode()
1883 result = decoder.decode(mySource, myTarget, true); in smBufDecode()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetISO2022.java232 byte mySource = 0; in getEndOfBuffer_2022()
233 mySource = source.get(sourceIndex); in getEndOfBuffer_2022()
235 while (source.hasRemaining() && mySource != ESC_2022) { in getEndOfBuffer_2022()
236 mySource = source.get(); in getEndOfBuffer_2022()
237 if (mySource == ESC_2022) { in getEndOfBuffer_2022()