/external/icu4c/samples/cal/ |
uprint.c | 32 const UChar *mySource; 41 mySource = s; 42 mySourceEnd = mySource + sourceLen; 59 &mySource, mySourceEnd, NULL,
|
/external/icu4c/samples/date/ |
uprint.c | 33 const UChar *mySource; 42 mySource = s; 43 mySourceEnd = mySource + sourceLen; 60 &mySource, mySourceEnd, NULL,
|
/external/chromium_org/third_party/icu/source/common/ |
ucnv_u32.c | 47 const unsigned char *mySource = (unsigned char *) args->source; 64 while (mySource < sourceLimit && myTarget < targetLimit) { 69 if (mySource < sourceLimit) { 70 ch = (ch << 8) | (uint8_t)(*mySource); 71 toUBytes[i++] = (char) *(mySource++); 113 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { 119 args->source = (const char *) mySource; 126 const unsigned char *mySource = (unsigned char *) args->source; 145 while (mySource < sourceLimit && myTarget < targetLimit) { 150 if (mySource < sourceLimit) [all...] |
ucnv_u8.c | 91 const unsigned char *mySource = (unsigned char *) args->source; 113 while (mySource < sourceLimit && myTarget < targetLimit) 115 ch = *(mySource++); 130 if (mySource < sourceLimit) 132 toUBytes[i] = (char) (ch2 = *mySource); 138 ++mySource; 205 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) 212 args->source = (const char *) mySource; 219 const unsigned char *mySource = (unsigned char *) args->source; 242 while (mySource < sourceLimit && myTarget < targetLimit [all...] |
ucnvhz.c | 157 const char *mySource = ( char *) args->source; 172 while(mySource< mySourceLimit){ 176 mySourceChar= (unsigned char) *mySource++; 187 args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2); 203 args->source = mySource; 227 --mySource; 234 args->source = mySource; 274 --mySource; 298 args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS)); 329 args->source = mySource; [all...] |
ucnv2022.c | [all...] |
unistr_cnv.cpp | 375 const char *mySource = codepageData; 376 const char *mySourceEnd = mySource + dataLength; 401 &mySource, mySourceEnd, 0, TRUE, &status); 416 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource));
|
/external/icu4c/common/ |
ucnv_u32.c | 48 const unsigned char *mySource = (unsigned char *) args->source; 65 while (mySource < sourceLimit && myTarget < targetLimit) { 70 if (mySource < sourceLimit) { 71 ch = (ch << 8) | (uint8_t)(*mySource); 72 toUBytes[i++] = (char) *(mySource++); 114 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { 120 args->source = (const char *) mySource; 127 const unsigned char *mySource = (unsigned char *) args->source; 146 while (mySource < sourceLimit && myTarget < targetLimit) { 151 if (mySource < sourceLimit) [all...] |
ucnv_u8.c | 94 const unsigned char *mySource = (unsigned char *) args->source; 116 while (mySource < sourceLimit && myTarget < targetLimit) 118 ch = *(mySource++); 133 if (mySource < sourceLimit) 135 toUBytes[i] = (char) (ch2 = *mySource); 141 ++mySource; 208 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) 215 args->source = (const char *) mySource; 222 const unsigned char *mySource = (unsigned char *) args->source; 245 while (mySource < sourceLimit && myTarget < targetLimit [all...] |
ucnvhz.c | 157 const char *mySource = ( char *) args->source; 172 while(mySource< mySourceLimit){ 176 mySourceChar= (unsigned char) *mySource++; 187 args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2); 203 args->source = mySource; 227 --mySource; 234 args->source = mySource; 274 --mySource; 298 args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS)); 329 args->source = mySource; [all...] |
ucnv_ct.c | 464 const char *mySource = (char *) args->source; 489 while(mySource < mySourceLimit){ 494 mySourceChar = (uint8_t)*mySource; 498 tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter->toULength, err); 501 for (; mySource < mySourceLimit;) { 502 args->converter->toUBytes[args->converter->toULength++] = *mySource++; 508 mySource++; /* skip over the 0x1b byte */ 520 mySource += sourceOffset; 526 while (mySource < mySourceLimit) { 527 if (*mySource == ESC_START) [all...] |
ucnv2022.cpp | [all...] |
unistr_cnv.cpp | 375 const char *mySource = codepageData; 376 const char *mySourceEnd = mySource + dataLength; 401 &mySource, mySourceEnd, 0, TRUE, &status); 416 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource));
|
/external/icu4c/extra/uconv/ |
uwmsg.c | 43 const UChar *mySource; 51 mySource = s; 52 mySourceEnd = mySource + sourceLen; 69 &mySource, mySourceEnd, NULL,
|
/external/chromium_org/third_party/icu/source/io/ |
ustdio.c | 313 const UChar *mySource = chars; 329 mySource = u_file_translit(f, chars, &count, flushTranslit); 340 u_strncpy(f->str.fPos, mySource, written); 345 mySourceEnd = mySource + count; 349 mySourceBegin = mySource; /* beginning location for this loop */ 355 &mySource, 361 int32_t convertChars = (int32_t) (mySourceEnd - mySource); 366 u_UCharsToChars(mySource, myTarget, convertChars); 367 mySource += convertChars; 379 written += (int32_t) (mySource - mySourceBegin) [all...] |
/external/icu4c/io/ |
ustdio.c | 313 const UChar *mySource = chars; 329 mySource = u_file_translit(f, chars, &count, flushTranslit); 340 u_strncpy(f->str.fPos, mySource, written); 345 mySourceEnd = mySource + count; 349 mySourceBegin = mySource; /* beginning location for this loop */ 355 &mySource, 361 int32_t convertChars = (int32_t) (mySourceEnd - mySource); 366 u_UCharsToChars(mySource, myTarget, convertChars); 367 mySource += convertChars; 379 written += (int32_t) (mySource - mySourceBegin) [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_NativeConverter.cpp | 210 const jchar* mySource = uSource.get() + *sourceOffset; 215 ucnv_fromUnicode(cnv , &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, (UBool) flush, &errorCode); 216 *sourceOffset = (mySource - uSource.get()) - *sourceOffset; 265 const char* mySource = reinterpret_cast<const char*>(uSource.get() + *sourceOffset); 270 ucnv_toUnicode(cnv, &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, flush, &errorCode); 271 *sourceOffset = mySource - reinterpret_cast<const char*>(uSource.get()) - *sourceOffset;
|