Home | History | Annotate | Download | only in common

Lines Matching defs:source

802                 const char** source,
814 while (*source < sourceLimit) {
815 c = *(*source)++;
839 /* TODO need to indicate that ESC ( B was seen; if failure, then need to replay from source or from MBCS-style replay */
1012 *source-=backOutDistance;
1019 *source-=bytesFromThisBuffer;
1037 getEndOfBuffer_2022(const char** source,
1041 const char* mySource = *source;
1044 if (*source >= sourceLimit)
1243 while (args->source < realSourceLimit) {
1246 mySourceLimit = getEndOfBuffer_2022(&(args->source), realSourceLimit, args->flush);
1248 if(args->source < mySourceLimit) {
1261 sourceStart = args->source;
1267 &args->source,
1296 (args->source == realSourceLimit) ||
1297 (args->offsets != NULL && (args->target != myTargetStart || args->source != sourceStart) ||
1310 if(args->source < mySourceLimit) {
1320 sourceStart = args->source;
1322 &(args->source),
1326 if (U_FAILURE(*err) || (args->source != sourceStart && args->offsets != NULL)) {
1366 * to obtain the equivalent codepoints from the codepages supported. Since the source buffer is
1393 * source : RFC-1554
1642 const UChar* source = args->source;
1667 while(source < sourceLimit) {
1670 sourceChar = *(source++);
1676 if(source < sourceLimit) {
1678 UChar trail=(UChar) *source;
1680 source++;
1958 *offsets++ = (int32_t)(source - args->source - 1); /* -1: known to be ASCII */
1964 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar));
1973 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)),
1999 args->flush && source>=sourceLimit && cnv->fromUChar32==0
2017 /* get the source index of the last input character */
2025 sourceIndex=(int32_t)(source-args->source);
2028 if( U16_IS_TRAIL(args->source[sourceIndex]) &&
2029 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1]))
2046 args->source = source;
2056 const char *mySource = (char *) args->source;
2133 args->source = mySource;
2255 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
2264 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
2270 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
2292 args->source = mySource;
2331 const UChar *source = args->source;
2365 while(source < sourceLimit){
2370 sourceChar = *source++;
2406 *(offsets++) = (int32_t)(source - args->source-1);
2413 *(offsets++) = (int32_t)(source - args->source-1);
2424 *(offsets++) = (int32_t)(source - args->source-1);
2429 *(offsets++) = (int32_t)(source - args->source-1);
2453 if(source < sourceLimit) {
2455 UChar trail=(UChar) *source;
2457 source++;
2504 args->flush && source>=sourceLimit && args->converter->fromUChar32==0
2511 /* get the source index of the last input character */
2519 sourceIndex=(int32_t)(source-args->source);
2522 if( U16_IS_TRAIL(args->source[sourceIndex]) &&
2523 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1]))
2540 args->source = source;
2568 sourceStart = args->source;
2575 while(U_SUCCESS(*err) && args->source < args->sourceLimit) {
2577 subArgs.source = args->source;
2578 subArgs.sourceLimit = getEndOfBuffer_2022(&(args->source), args->sourceLimit, args->flush);
2579 if(subArgs.source != subArgs.sourceLimit) {
2599 if(args->offsets != NULL && sourceStart != args->source) {
2603 int32_t delta = (int32_t)(args->source - sourceStart);
2612 args->source = subArgs.source;
2632 if (U_FAILURE(*err) || (args->source == args->sourceLimit)) {
2638 &(args->source),
2649 const char *mySource = ( char *) args->source;
2693 args->source = mySource;
2696 /*consume the source */
2701 /*consume the source */
2711 args->source = mySource;
2762 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
2778 args->source = mySource;
2894 const UChar* source = args->source;
2916 while( source < sourceLimit){
2919 sourceChar = *(source++);
2925 if(source < sourceLimit) {
2927 UChar trail=(UChar) *source;
2929 source++;
3156 *offsets++ = (int32_t)(source - args->source - 1); /* -1: known to be ASCII */
3162 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar));
3171 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)),
3197 args->flush && source>=sourceLimit && cnv->fromUChar32==0
3204 /* get the source index of the last input character */
3212 sourceIndex=(int32_t)(source-args->source);
3215 if( U16_IS_TRAIL(args->source[sourceIndex]) &&
3216 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1]))
3233 args->source = source;
3242 const char *mySource = (char *) args->source;
3282 args->source = mySource;
3319 args->source = mySource;
3400 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
3409 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
3415 args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff ? 1 : 2));
3437 args->source = mySource;