Home | History | Annotate | Download | only in cintltst

Lines Matching refs:usource

2789     const UChar* uSource;
2807 uSource = (UChar*) source;
2818 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,NULL,FALSE, &errorCode);
2829 }while (uSource<uSourceLimit);
2845 uSource = source;
2848 if(uBuf[len]!=uSource[len]){
2849 log_err("Expected : \\u%04X \t Got: \\u%04X\n",uSource[len],(int)uBuf[len]) ;
2858 const UChar* uSource;
2872 uSource = source;
2879 numCharsInTarget=ucnv_fromUChars(cnv, cTarget, (int32_t)(cTargetLimit-cTarget), uSource, (int32_t)(uSourceLimit-uSource), &errorCode);
2891 uSource = source;
2892 while(uSource<uSourceLimit){
2893 if(*test!=*uSource){
2895 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,(int)*test) ;
2897 uSource++;
2905 const UChar* uSource;
2925 uSource = (UChar*) source;
2932 uSourceLimit=uSource;
2938 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,NULL,FALSE, &errorCode);
2949 }while (uSource<temp);
2967 uSource = source;
2970 if(uBuf[len]!=uSource[len]){
2971 log_err("Expected : \\u%04X \t Got: \\u%04X\n",uSource[len],(int)uBuf[len]) ;
3098 const UChar* uSource;
3121 uSource = (const UChar*)in;
3127 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,myOff,TRUE, &errorCode);
3141 uSource = (const UChar*)in;
3142 while(uSource<uSourceLimit){
3143 if(*test!=*uSource){
3145 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,(int)*test) ;
3147 uSource++;
3317 const UChar* uSource;
3340 uSource = (const UChar*)in;
3346 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,myOff,TRUE, &errorCode);
3361 uSource = (const UChar*)in;
3362 while(uSource<uSourceLimit){
3363 if(*test!=*uSource){
3365 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,(int)*test) ;
3367 uSource++;
3383 const UChar* uSource;
3406 uSource = (const UChar*)in;
3407 uSourceLimit=uSource+len;
3412 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,myOff,TRUE, &errorCode);
3428 uSource = (const UChar*)in;
3429 while(uSource<uSourceLimit){
3430 if(*test!=*uSource){
3431 log_err("for codepage %s : Expected : \\u%04X \t Got: \\u%04X\n",conv,*uSource,(int)*test) ;
3433 uSource++;
3453 uSource = (const UChar*)in;
3454 while(uSource<uSourceLimit){
3455 if(*test!=*uSource){
3456 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,(int)*test) ;
3458 uSource++;
3520 UChar usource[10] ={0};
3526 TestConv(usource,1,cp,"",NULL,0);
3527 TestConv(usource,2,cp,"",NULL,0);
3537 usource[0] =(UChar) i;
3540 usource[0]=U16_LEAD(i);
3541 usource[1]=U16_TRAIL(i);
3546 usource[2]=0;
3549 TestConv(usource,ulen,cp,"",NULL,0);
3551 usource[ulen]=usource[0];
3552 usource[ulen+1]=usource[1];
3554 TestConv(usource,ulen,cp,"",NULL,0);
3556 usource[ulen]=usource[0];
3557 usource[ulen+1]=usource[1];
3559 TestConv(usource,ulen,cp,"",NULL,0);
3561 nsrc[1]=usource[0];
3562 nsrc[2]=usource[1];
3565 uprv_memset(usource,0,sizeof(UChar)*10);
3860 const UChar* uSource;
3882 uSource = (const UChar*)in;
3888 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,NULL,TRUE, &errorCode);
3901 uSource = (const UChar*)in;
3902 while(uSource<uSourceLimit){
3903 if(*test!=*uSource){
3905 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,(int)*test) ;
3907 uSource++;
3949 const UChar* uSource;
3972 uSource = (const UChar*)in;
3978 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,myOff,TRUE, &errorCode);
3992 uSource = (const UChar*)in;
3993 while(uSource<uSourceLimit){
3994 if(*test!=*uSource){
3996 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,(int)*test) ;
3998 uSource++;
4026 const UChar* uSource;
4049 uSource = (const UChar*)in;
4055 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,myOff,TRUE, &errorCode);
4069 uSource = (const UChar*)in;
4070 while(uSource<uSourceLimit){
4071 if(*test!=*uSource){
4072 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,*test) ;
4074 uSource++;
4105 const UChar* uSource;
4128 uSource = (const UChar*)in;
4134 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,myOff,TRUE, &errorCode);
4148 uSource = (const UChar*)in;
4149 while(uSource<uSourceLimit){
4150 if(*test!=*uSource){
4151 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,*test) ;
4153 uSource++;
4411 const UChar* uSource;
4434 uSource = (const UChar*)in;
4440 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,myOff,TRUE, &errorCode);
4454 uSource = (const UChar*)in;
4455 while(uSource<uSourceLimit){
4456 if(*test!=*uSource){
4457 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,(int)*test) ;
4462 uSource++;
4510 const UChar* uSource;
4533 uSource = (const UChar*)in;
4539 ucnv_fromUnicode( cnv , &cTarget, cTargetLimit,&uSource,uSourceLimit,myOff,TRUE, &errorCode);
4553 uSource = (const UChar*)in;
4554 while(uSource<uSourceLimit){
4555 if(*test!=*uSource){
4556 log_err("Expected : \\u%04X \t Got: \\u%04X\n",*uSource,(int)*test) ;
4561 uSource++;