Lines Matching defs:source
833 const char** source,
845 while (*source < sourceLimit) {
846 c = *(*source)++;
870 /* TODO need to indicate that ESC ( B was seen; if failure, then need to replay from source or from MBCS-style replay */
1045 *source-=backOutDistance;
1052 *source-=bytesFromThisBuffer;
1071 getEndOfBuffer_2022(const char** source,
1075 const char* mySource = *source;
1078 if (*source >= sourceLimit)
1277 while (args->source < realSourceLimit) {
1280 mySourceLimit = getEndOfBuffer_2022(&(args->source), realSourceLimit, args->flush);
1282 if(args->source < mySourceLimit) {
1295 sourceStart = args->source;
1301 &args->source,
1330 (args->source == realSourceLimit) ||
1331 (args->offsets != NULL && (args->target != myTargetStart || args->source != sourceStart) ||
1344 if(args->source < mySourceLimit) {
1354 sourceStart = args->source;
1356 &(args->source),
1360 if (U_FAILURE(*err) || (args->source != sourceStart && args->offsets != NULL)) {
1400 * to obtain the equivalent codepoints from the codepages supported. Since the source buffer is
1427 * source : RFC-1554
1676 const UChar* source = args->source;
1701 while(source < sourceLimit) {
1704 sourceChar = *(source++);
1710 if(source < sourceLimit) {
1712 UChar trail=(UChar) *source;
1714 source++;
1992 *offsets++ = (int32_t)(source - args->source - 1); /* -1: known to be ASCII */
1998 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar));
2007 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)),
2033 args->flush && source>=sourceLimit && cnv->fromUChar32==0
2051 /* get the source
2059 sourceIndex=(int32_t)(source-args->source);
2062 if( U16_IS_TRAIL(args->source[sourceIndex]) &&
2063 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1]))
2080 args->source = source;
2090 const char *mySource = (char *) args->source;
2167 args->source = mySource;
2288 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
2297 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
2303 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
2325 args->source = mySource;
2365 const UChar *source = args->source;
2399 while(source < sourceLimit){
2404 sourceChar = *source++;
2440 *(offsets++) = (int32_t)(source - args->source-1);
2447 *(offsets++) = (int32_t)(source - args->source-1);
2458 *(offsets++) = (int32_t)(source - args->source-1);
2463 *(offsets++) = (int32_t)(source - args->source-1);
2487 if(source < sourceLimit) {
2489 UChar trail=(UChar) *source;
2491 source++;
2538 args->flush && source>=sourceLimit && args->converter->fromUChar32==0
2545 /* get the source index of the last input character */
2553 sourceIndex=(int32_t)(source-args->source);
2556 if( U16_IS_TRAIL(args->source[sourceIndex]) &&
2557 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1]))
2574 args->source = source;
2602 sourceStart = args->source;
2609 while(U_SUCCESS(*err) && args->source < args->sourceLimit) {
2611 subArgs.source = args->source;
2612 subArgs.sourceLimit = getEndOfBuffer_2022(&(args->source), args->sourceLimit, args->flush);
2613 if(subArgs.source != subArgs.sourceLimit) {
2633 if(args->offsets != NULL && sourceStart != args->source) {
2637 int32_t delta = (int32_t)(args->source - sourceStart);
2646 args->source = subArgs.source;
2666 if (U_FAILURE(*err) || (args->source == args->sourceLimit)) {
2672 &(args->source),
2683 const char *mySource = ( char *) args->source;
2727 args->source = mySource;
2730 /*consume the source */
2735 /*consume the source */
2745 args->source = mySource;
2796 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
2812 args->source = mySource;
2928 const UChar* source = args->source;
2950 while( source < sourceLimit){
2953 sourceChar = *(source++);
2959 if(source < sourceLimit) {
2961 UChar trail=(UChar) *source;
2963 source++;
3190 *offsets++ = (int32_t)(source - args->source - 1); /* -1: known to be ASCII */
3196 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar));
3205 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)),
3231 args->flush && source>=sourceLimit && cnv->fromUChar32==0
3238 /* get the source index of the last input character */
3246 sourceIndex=(int32_t)(source-args->source);
3249 if( U16_IS_TRAIL(args->source[sourceIndex]) &&
3250 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1]))
3267 args->source = source;
3276 const char *mySource = (char *) args->source;
3316 args->source = mySource;
3353 args->source = mySource;
3433 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
3442 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
3448 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
3470 args->source = mySource;