Lines Matching refs:expectLen

46 …tic UBool convertFromU( const UChar *source, int sourceLen,  const uint8_t *expect, int expectLen, 
48 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen,
51 …UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
1007 …tic UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, in convertFromU() argument
1057 if(expectLen != targ-buffer) in convertFromU()
1059 … log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage); in convertFromU()
1060 …log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage… in convertFromU()
1062 printSeqErr((const unsigned char*)expect, expectLen); in convertFromU()
1066 if(memcmp(buffer, expect, expectLen)){ in convertFromU()
1069 printSeqErr((const unsigned char *)buffer, expectLen); in convertFromU()
1071 printSeqErr((const unsigned char *)expect, expectLen); in convertFromU()
1096 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, in convertToU() argument
1156 log_verbose("comparing %d uchars (%d bytes)..\n",expectLen,expectLen*2); in convertToU()
1177 if(memcmp(buffer, expect, expectLen*2)){ in convertToU()
1180 printUSeqErr(buffer, expectLen); in convertToU()
1182 printUSeqErr(expect, expectLen); in convertToU()
1193 …UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, in testConvertFromU() argument
1309 printSeq((const unsigned char *)expect, expectLen); in testConvertFromU()
1320 if(expectLen != targ-junkout) in testConvertFromU()
1322 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
1323 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
1327 printSeqErr((const unsigned char*)expect, expectLen); in testConvertFromU()
1347 if(!memcmp(junkout, expect, expectLen)) in testConvertFromU()
1357 printSeqErr((const unsigned char *)junkout, expectLen); in testConvertFromU()
1359 printSeqErr((const unsigned char *)expect, expectLen); in testConvertFromU()