Lines Matching refs:coll
13 function cmp_array( &$coll, $a )
23 $eqrc = ut_coll_compare( $coll, $prev, $i );
35 function check_alternate_handling( &$coll )
39 ut_coll_set_strength( $coll, Collator::TERTIARY );
40 ut_coll_set_attribute( $coll, Collator::ALTERNATE_HANDLING, Collator::NON_IGNORABLE );
42 $res .= cmp_array( $coll, array( 'di Silva', 'Di Silva', 'diSilva', 'U.S.A.', 'USA' ) );
44 ut_coll_set_attribute( $coll, Collator::ALTERNATE_HANDLING, Collator::SHIFTED );
46 $res .= cmp_array( $coll, array( 'di Silva', 'diSilva', 'Di Silva', 'U.S.A.', 'USA' ) );
48 ut_coll_set_strength( $coll, Collator::QUATERNARY );
50 $res .= cmp_array( $coll, array( 'di Silva', 'diSilva', 'Di Silva', 'U.S.A.', 'USA' ) );
58 $coll = ut_coll_create( 'en_US' );
61 check_alternate_handling( $coll );