/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | ncnvfbts.c | 129 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 241 printSeq((const unsigned char*)expect, expectLen); 252 if(expectLen != targ-junkout) 254 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 255 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 257 printSeqErr((const unsigned char*)expect, expectLen); 277 if(!memcmp(junkout, expect, expectLen)) 286 printSeqErr((const unsigned char*)junkout, expectLen); 287 printSeqErr((const unsigned char*)expect, expectLen);
|
H A D | udatatst.c | 1083 unsigned int expectLen = 8; local 1121 if(uprv_strlen(expectDataName) != expectLen) 1124 expectLen, uprv_strlen(expectDataName)); 1127 if(uprv_strlen(U_ICUDATA_NAME) != expectLen) 1130 expectLen, uprv_strlen(U_ICUDATA_NAME));
|
H A D | ncnvtst.c | 42 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 44 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, 47 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 989 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 1039 if(expectLen != targ-buffer) 1041 log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage); 1042 log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage); 1044 printSeqErr((const unsigned char*)expect, expectLen); 1048 if(memcmp(buffer, expect, expectLen)){ 1051 printSeqErr((const unsigned char *)buffer, expectLen); 1078 convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument 1175 testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, UBool testReset) argument [all...] |
H A D | nccbtst.c | 2614 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 2758 printSeq(expect, expectLen); 2769 if(expectLen != targ-junkout) 2771 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 2772 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 2774 printSeqErr(expect, expectLen); 2797 if(!memcmp(junkout, expect, expectLen)) 2808 printSeqErr((const uint8_t *)junkout, expectLen); 2810 printSeqErr(expect, expectLen); 3011 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument [all...] |
H A D | nucnvtst.c | 354 static ETestConvertResult testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 455 printSeq((const uint8_t *)expect, expectLen); 464 if(expectLen != targ-junkout) { 465 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 466 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 470 printSeqErr((const unsigned char*)expect, expectLen); 494 if(!memcmp(junkout, expect, expectLen)) { 501 printSeqErr((const unsigned char *)junkout, expectLen); 503 printSeqErr((const unsigned char *)expect, expectLen);
|
/external/icu4c/test/cintltst/ |
H A D | ncnvfbts.c | 129 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 241 printSeq((const unsigned char*)expect, expectLen); 252 if(expectLen != targ-junkout) 254 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 255 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 257 printSeqErr((const unsigned char*)expect, expectLen); 277 if(!memcmp(junkout, expect, expectLen)) 286 printSeqErr((const unsigned char*)junkout, expectLen); 287 printSeqErr((const unsigned char*)expect, expectLen);
|
H A D | udatatst.c | 1086 unsigned int expectLen = 8; local 1124 if(uprv_strlen(expectDataName) != expectLen) 1127 expectLen, uprv_strlen(expectDataName)); 1130 if(uprv_strlen(U_ICUDATA_NAME) != expectLen) 1133 expectLen, uprv_strlen(U_ICUDATA_NAME));
|
H A D | ncnvtst.c | 42 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 44 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, 47 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 1007 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 1057 if(expectLen != targ-buffer) 1059 log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage); 1060 log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage); 1062 printSeqErr((const unsigned char*)expect, expectLen); 1066 if(memcmp(buffer, expect, expectLen)){ 1069 printSeqErr((const unsigned char *)buffer, expectLen); 1096 convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument 1193 testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, UBool testReset) argument [all...] |
H A D | nccbtst.c | 2623 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 2764 printSeq(expect, expectLen); 2775 if(expectLen != targ-junkout) 2777 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 2778 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 2780 printSeqErr(expect, expectLen); 2803 if(!memcmp(junkout, expect, expectLen)) 2814 printSeqErr((const uint8_t *)junkout, expectLen); 2816 printSeqErr(expect, expectLen); 3014 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument [all...] |
H A D | nucnvtst.c | 373 static ETestConvertResult testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 474 printSeq((const uint8_t *)expect, expectLen); 483 if(expectLen != targ-junkout) { 484 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 485 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 489 printSeqErr((const unsigned char*)expect, expectLen); 513 if(!memcmp(junkout, expect, expectLen)) { 520 printSeqErr((const unsigned char *)junkout, expectLen); 522 printSeqErr((const unsigned char *)expect, expectLen);
|