Lines Matching refs:ulen
595 int32_t ulen; in TestGetRulesAndSourceSet() local
598 ulen = utrans_toRules(utrans, FALSE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
599 if ( U_FAILURE(status) || ulen <= 50 || ulen >= 100) { in TestGetRulesAndSourceSet()
601 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
605 ulen = utrans_toRules(utrans, FALSE, NULL, 0, &status); in TestGetRulesAndSourceSet()
606 if ( status != U_BUFFER_OVERFLOW_ERROR || ulen <= 50 || ulen >= 100) { in TestGetRulesAndSourceSet()
608 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
612 ulen = utrans_toRules(utrans, TRUE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
613 if ( U_FAILURE(status) || ulen <= 100 || ulen >= 200) { in TestGetRulesAndSourceSet()
615 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
620 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
622 if ( U_FAILURE(status) || ulen <= 4 || ulen >= 20) { in TestGetRulesAndSourceSet()
624 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
629 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
631 if ( U_FAILURE(status) || ulen <= 4 || ulen >= 20) { in TestGetRulesAndSourceSet()
633 u_errorName(status), ulen); in TestGetRulesAndSourceSet()