Home
last modified time | relevance | path

Searched refs:expectOffsets (Results 1 – 9 of 9) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Dnccbtst.h51 … const char *codepage, UConverterFromUCallback callback, const int32_t *expectOffsets,
56 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets,
60 … const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets,
64 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets,
Dncnvfbts.c133 const char *codepage, UBool fallback, const int32_t *expectOffsets) in testConvertFromUnicode() argument
264 if (checkOffsets && (expectOffsets != 0) ) in testConvertFromUnicode()
267 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
275 log_err("%d,", expectOffsets[i]); in testConvertFromUnicode()
296 const char *codepage, UBool fallback, const int32_t *expectOffsets) in testConvertToUnicode() argument
418 if (checkOffsets && (expectOffsets != 0)) in testConvertToUnicode()
420 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
428 log_err("%d,", expectOffsets[i]); in testConvertToUnicode()
Dncnvtst.c48 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
50 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
53 …onst char *codepage, UConverterFromUCallback callback, const int32_t *expectOffsets, UBool testRes…
55 …const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testRese…
997 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) in convertFromU() argument
1034 expectOffsets ? offs : NULL, in convertFromU()
1067 if (expectOffsets != 0){ in convertFromU()
1069 if(memcmp(offsetBuffer,expectOffsets,(targ-buffer) * sizeof(int32_t) )){ in convertFromU()
1077 log_info("%d,", expectOffsets[i]); in convertFromU()
1086 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) in convertToU() argument
[all …]
Dncnvfbts.h26 const char *codepage, UBool fallback, const int32_t *expectOffsets);
28 const char *codepage, UBool fallback, const int32_t *expectOffsets);
Dnccbtst.c2623 … const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, in testConvertFromUnicode() argument
2783 if (checkOffsets && (expectOffsets != 0) ) in testConvertFromUnicode()
2786 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
2796 log_err("%d,", expectOffsets[i]); in testConvertFromUnicode()
2821 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, in testConvertToUnicode() argument
2971 if (checkOffsets && (expectOffsets != 0)) in testConvertToUnicode()
2973 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
2982 log_err(" %2d,", expectOffsets[i]); in testConvertToUnicode()
3014 … const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, in testConvertFromUnicodeWithContext() argument
3157 if (checkOffsets && (expectOffsets != 0) ) in testConvertFromUnicodeWithContext()
[all …]
Dnucnvtst.c364 const char *codepage, const int32_t *expectOffsets , UBool useFallback) in testConvertFromU() argument
483 if (checkOffsets && (expectOffsets != 0) ) { in testConvertFromU()
485 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromU()
496 log_err("%d,", expectOffsets[i]); in testConvertFromU()
521 … const char *codepage, const int32_t *expectOffsets, UBool useFallback) in testConvertToU() argument
639 if (checkOffsets && (expectOffsets != 0)) in testConvertToU()
641 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){ in testConvertToU()
650 log_err("%d,", expectOffsets[i]); in testConvertToU()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBITest.java126 private int[] expectOffsets; in TestTailoredBreaks() field in RBBITest.TBItem
131 expectOffsets = eOffs; in TestTailoredBreaks()
135 if ( foundOffsetsLength != expectOffsets.length ) { in TestTailoredBreaks()
139 if ( foundOffsets[i] != expectOffsets[i] ) { in TestTailoredBreaks()
173 …"; expect " + expectOffsets.length + " offsets:" + formatOffsets(expectOffsets, expectOffsets.leng… in TestTailoredBreaks()
184 …"; expect " + expectOffsets.length + " offsets:" + formatOffsets(expectOffsets, expectOffsets.leng… in TestTailoredBreaks()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java129 private int[] expectOffsets; in TestTailoredBreaks() field in RBBITest.TBItem
134 expectOffsets = eOffs; in TestTailoredBreaks()
138 if ( foundOffsetsLength != expectOffsets.length ) { in TestTailoredBreaks()
142 if ( foundOffsets[i] != expectOffsets[i] ) { in TestTailoredBreaks()
176 …"; expect " + expectOffsets.length + " offsets:" + formatOffsets(expectOffsets, expectOffsets.leng… in TestTailoredBreaks()
187 …"; expect " + expectOffsets.length + " offsets:" + formatOffsets(expectOffsets, expectOffsets.leng… in TestTailoredBreaks()
/third_party/icu/icu4c/source/test/intltest/
Drbbitst.h139 const int32_t *expectOffsets, int32_t expectOffsetsCount);