/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 | 1118 unsigned int expectLen = 8; local 1156 if(uprv_strlen(expectDataName) != expectLen) 1159 expectLen, uprv_strlen(expectDataName)); 1162 if(uprv_strlen(U_ICUDATA_NAME) != expectLen) 1165 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 | 2619 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 2760 printSeq(expect, expectLen); 2771 if(expectLen != targ-junkout) 2773 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 2774 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 2776 printSeqErr(expect, expectLen); 2799 if(!memcmp(junkout, expect, expectLen)) 2810 printSeqErr((const uint8_t *)junkout, expectLen); 2812 printSeqErr(expect, expectLen); 3010 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument [all...] |
H A D | nucnvtst.c | 362 static ETestConvertResult testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 463 printSeq((const uint8_t *)expect, expectLen); 472 if(expectLen != targ-junkout) { 473 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 474 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 478 printSeqErr((const unsigned char*)expect, expectLen); 502 if(!memcmp(junkout, expect, expectLen)) { 509 printSeqErr((const unsigned char *)junkout, expectLen); 511 printSeqErr((const unsigned char *)expect, expectLen);
|
/external/icu/icu4c/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 | 1118 unsigned int expectLen = 8; local 1156 if(uprv_strlen(expectDataName) != expectLen) 1159 expectLen, uprv_strlen(expectDataName)); 1162 if(uprv_strlen(U_ICUDATA_NAME) != expectLen) 1165 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 | 361 static ETestConvertResult testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 462 printSeq((const uint8_t *)expect, expectLen); 471 if(expectLen != targ-junkout) { 472 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 473 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); 477 printSeqErr((const unsigned char*)expect, expectLen); 501 if(!memcmp(junkout, expect, expectLen)) { 508 printSeqErr((const unsigned char *)junkout, expectLen); 510 printSeqErr((const unsigned char *)expect, expectLen);
|