Home | History | Annotate | Download | only in intltest

Lines Matching defs:options

528 void BasicNormalizerTest::staticTest(UNormalizationMode mode, int options,
540 Normalizer::normalize(input, mode, options, output, status);
850 ref_norm_compare(const UnicodeString &s1, const UnicodeString &s2, uint32_t options, UErrorCode &errorCode) {
852 int32_t normOptions=(int32_t)(options>>UNORM_COMPARE_NORM_OPTIONS_SHIFT);
854 if(options&U_COMPARE_IGNORE_CASE) {
858 r1.foldCase(options);
859 r2.foldCase(options);
868 if(options&U_COMPARE_CODE_POINT_ORDER) {
877 _norm_compare(const UnicodeString &s1, const UnicodeString &s2, uint32_t options, UErrorCode &errorCode) {
878 int32_t normOptions=(int32_t)(options>>UNORM_COMPARE_NORM_OPTIONS_SHIFT);
882 options|=UNORM_INPUT_IS_FCD;
885 return Normalizer::compare(s1, s2, options, errorCode);
890 ref_case_compare(const UnicodeString &s1, const UnicodeString &s2, uint32_t options) {
896 t1.foldCase(options);
897 t2.foldCase(options);
899 if(options&U_COMPARE_CODE_POINT_ORDER) {
934 // each time with all options
1050 // all combinations of options
1054 uint32_t options;
1082 result=_norm_compare(s[i], s[j], opt[k].options, errorCode);
1083 refResult=ref_norm_compare(s[i], s[j], opt[k].options, errorCode);
1091 if(opt[k].options&U_COMPARE_IGNORE_CASE) {
1093 result=s[i].caseCompare(s[j], opt[k].options);
1094 refResult=ref_case_compare(s[i], s[j], opt[k].options);
1139 result=_norm_compare(s1, s2, opt[k].options, errorCode);
1140 refResult=ref_norm_compare(s1, s2, opt[k].options, errorCode);
1148 if(opt[k].options&U_COMPARE_IGNORE_CASE) {
1150 result=s1.caseCompare(s2, opt[k].options);
1151 refResult=ref_case_compare(s1, s2, opt[k].options);
1222 logln("Test if case folding may un-FCD a string (folding options %04lx)", foldingOptions);
1279 dataerrln("U+%04lx: case-folding may un-FCD a string (folding options %04lx)", c, foldingOptions);
1289 errln("U+%04lx: case-folding un-NFDs this character (folding options %04lx)", c, foldingOptions);
1293 logln("There are %ld code points for which case-folding may un-FCD a string (folding options %04lx)", count, foldingOptions);
1310 dataerrln("error: There are %ld code points for which case-folding may un-FCD a string for all folding options.\n"