Lines Matching refs:expectedLen
462 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI() local
486 …ES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
488 + prettify(UnicodeString(expected,expectedLen)) in testAPI()
516 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
520 … " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+ in testAPI()
551 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
578 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
605 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
607 …rminated source with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))); in testAPI()
634 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
1006 int32_t i=0,evenLen=0,oddLen=0,expectedLen=0; in testChaining() local
1013 expectedLen = func(src,-1,expected,MAX_DEST_SIZE, options, &parseError, &status); in testChaining()
1017 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1018 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1035 if( u_strCaseCompare(even,evenLen, expected,expectedLen, 0, &status) !=0 || in testChaining()
1036 u_strCaseCompare(odd,oddLen, expected,expectedLen, 0, &status) !=0 ){ in testChaining()
1041 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1042 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1050 …expectedLen = func(src,-1,expected,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &sta… in testChaining()
1054 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1055 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1072 if( u_strCaseCompare(even,evenLen, expected,expectedLen, 0, &status) !=0 || in testChaining()
1073 u_strCaseCompare(odd,oddLen, expected,expectedLen, 0, &status) !=0 ){ in testChaining()
1078 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1079 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1088 expectedLen = func(src,srcLen,expected,MAX_DEST_SIZE,options, &parseError, &status); in testChaining()
1092 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1093 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1110 if( u_strCaseCompare(even,evenLen, expected,expectedLen, 0, &status) !=0 || in testChaining()
1111 u_strCaseCompare(odd,oddLen, expected,expectedLen, 0, &status) !=0 ){ in testChaining()
1116 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1117 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1123 …expectedLen = func(src,srcLen,expected,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, … in testChaining()
1127 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1128 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1145 if( u_strCaseCompare(even,evenLen, expected,expectedLen, 0, &status) !=0 || in testChaining()
1146 u_strCaseCompare(odd,oddLen, expected,expectedLen, 0, &status) !=0 ){ in testChaining()
1151 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1152 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()