Lines Matching refs:mySource
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) {
152 ch = (ch << 8) | (uint8_t)(*mySource);
153 toUBytes[i++] = (char) *(mySource++);
199 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err))
206 args->source = (const char *) mySource;
214 const UChar *mySource = args->source;
222 if(mySource >= sourceLimit) {
247 while (mySource < sourceLimit && myTarget < targetLimit) {
248 ch = *(mySource++);
253 if (mySource < sourceLimit) {
254 ch2 = *mySource;
257 mySource++;
303 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) {
308 args->source = mySource;
315 const UChar *mySource = args->source;
325 if(mySource >= sourceLimit) {
351 while (mySource < sourceLimit && myTarget < targetLimit) {
352 ch = *(mySource++);
357 if (mySource < sourceLimit) {
358 ch2 = *mySource;
361 mySource++;
409 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) {
414 args->source = mySource;
422 const uint8_t *mySource;
426 mySource = (const uint8_t *)args->source;
427 if (mySource >= (const uint8_t *)args->sourceLimit)
434 length = (int32_t)((const uint8_t *)args->sourceLimit - mySource);
438 uprv_memcpy(args->converter->toUBytes, mySource, length);
440 args->source = (const char *)(mySource + length);
446 myUChar = ((UChar32)mySource[0] << 24)
447 | ((UChar32)mySource[1] << 16)
448 | ((UChar32)mySource[2] << 8)
449 | ((UChar32)mySource[3]);
451 args->source = (const char *)(mySource + 4);
456 uprv_memcpy(args->converter->toUBytes, mySource, 4);
507 const unsigned char *mySource = (unsigned char *) args->source;
526 while (mySource < sourceLimit && myTarget < targetLimit)
533 if (mySource < sourceLimit)
535 ch |= ((uint8_t)(*mySource)) << (i * 8);
536 toUBytes[i++] = (char) *(mySource++);
578 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err))
585 args->source = (const char *) mySource;
592 const unsigned char *mySource = (unsigned char *) args->source;
613 while (mySource < sourceLimit && myTarget < targetLimit)
620 if (mySource < sourceLimit)
622 ch |= ((uint8_t)(*mySource)) << (i * 8);
623 toUBytes[i++] = (char) *(mySource++);
674 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err))
681 args->source = (const char *) mySource;
689 const UChar *mySource = args->source;
697 if(mySource >= sourceLimit) {
723 while (mySource < sourceLimit && myTarget < targetLimit)
725 ch = *(mySource++);
731 if (mySource < sourceLimit)
733 ch2 = *mySource;
736 mySource++;
785 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err))
791 args->source = mySource;
798 const UChar *mySource = args->source;
808 if(mySource >= sourceLimit) {
835 while (mySource < sourceLimit && myTarget < targetLimit)
837 ch = *(mySource++);
843 if (mySource < sourceLimit)
845 ch2 = *mySource;
849 mySource++;
900 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err))
906 args->source = mySource;
914 const uint8_t *mySource;
918 mySource = (const uint8_t *)args->source;
919 if (mySource >= (const uint8_t *)args->sourceLimit)
926 length = (int32_t)((const uint8_t *)args->sourceLimit - mySource);
930 uprv_memcpy(args->converter->toUBytes, mySource, length);
932 args->source = (const char *)(mySource + length);
938 myUChar = ((UChar32)mySource[3] << 24)
939 | ((UChar32)mySource[2] << 16)
940 | ((UChar32)mySource[1] << 8)
941 | ((UChar32)mySource[0]);
943 args->source = (const char *)(mySource + 4);
948 uprv_memcpy(args->converter->toUBytes, mySource, 4);