Home | History | Annotate | Download | only in intltest

Lines Matching refs:expectedLen

458     int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0;
478 if(U_SUCCESS(status) && expectedStatus != U_IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
480 + prettify(UnicodeString(expected,expectedLen))
508 if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
512 " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+
543 if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
570 if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
597 if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
599 errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen)));
626 if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
943 int32_t expectedLen = 0;
957 u_strFromUTF8(expected,MAX_DEST_SIZE,&expectedLen,utf8Chars2,utf8Chars2Len, &status);
998 int32_t i=0,evenLen=0,oddLen=0,expectedLen=0;
1005 expectedLen = func(src,-1,expected,MAX_DEST_SIZE, options, &parseError, &status);
1009 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR);
1010 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR);
1027 if( u_strCaseCompare(even,evenLen, expected,expectedLen, 0, &status) !=0 ||
1028 u_strCaseCompare(odd,oddLen, expected,expectedLen, 0, &status) !=0 ){
1033 if( u_strncmp(even,expected,expectedLen) != 0 ||
1034 u_strncmp(odd,expected,expectedLen) !=0 ){
1042 expectedLen = func(src,-1,expected,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
1046 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR);
1047 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR);
1064 if( u_strCaseCompare(even,evenLen, expected,expectedLen, 0, &status) !=0 ||
1065 u_strCaseCompare(odd,oddLen, expected,expectedLen, 0, &status) !=0 ){
1070 if( u_strncmp(even,expected,expectedLen) != 0 ||
1071 u_strncmp(odd,expected,expectedLen) !=0 ){
1080 expectedLen = func(src,srcLen,expected,MAX_DEST_SIZE,options, &parseError, &status);
1084 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR);
1085 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR);
1102 if( u_strCaseCompare(even,evenLen, expected,expectedLen, 0, &status) !=0 ||
1103 u_strCaseCompare(odd,oddLen, expected,expectedLen, 0, &status) !=0 ){
1108 if( u_strncmp(even,expected,expectedLen) != 0 ||
1109 u_strncmp(odd,expected,expectedLen) !=0 ){
1115 expectedLen = func(src,srcLen,expected,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
1119 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR);
1120 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR);
1137 if( u_strCaseCompare(even,evenLen, expected,expectedLen, 0, &status) !=0 ||
1138 u_strCaseCompare(odd,oddLen, expected,expectedLen, 0, &status) !=0 ){
1143 if( u_strncmp(even,expected,expectedLen) != 0 ||
1144 u_strncmp(odd,expected,expectedLen) !=0 ){