Home
last modified time | relevance | path

Searched refs:coll (Results 1 – 25 of 34) sorted by relevance

12

/PHP-5.5/ext/intl/doc/
H A Dcollator_api.php270 * @param Collator $coll Collator object.
316 * @param Collator $coll Collator object.
326 * @param Collator $coll Collator object.
342 * @param Collator $coll Collator object.
352 * @param Collator $coll Collator object.
356 function collator_get_strength( $coll ) {} argument
361 * @param Collator $coll Collator object.
371 * @param Collator $coll Collator object.
382 * @param Collator $coll Collator object.
387 function collator_get_error_code( $coll ) {} argument
[all …]
/PHP-5.5/ext/intl/tests/
H A Dcollation_customization.phpt13 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 );
58 $coll = ut_coll_create( 'en_US' );
[all …]
H A Dcollator_get_set_attribute.phpt16 function check_val( $coll )
18 $val = ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE );
25 $coll = ut_coll_create( 'en_US' );
27 ut_coll_set_attribute( $coll, Collator::NORMALIZATION_MODE, Collator::OFF );
28 $res .= check_val( $coll );
30 ut_coll_set_attribute( $coll, Collator::NORMALIZATION_MODE, Collator::ON );
31 $res .= check_val( $coll );
H A Dcollator_get_set_strength.phpt16 function check_set_strength( $coll, $val )
18 ut_coll_set_strength( $coll, $val );
19 $new_val = ut_coll_get_strength( $coll );
26 $coll = ut_coll_create( 'en_US' );
28 $res .= check_set_strength( $coll, Collator::PRIMARY );
29 $res .= check_set_strength( $coll, Collator::SECONDARY );
30 $res .= check_set_strength( $coll, Collator::TERTIARY );
H A Dut_common.inc52 …return $GLOBALS['oo-mode'] ? $coll->compare( $str1, $str2 ) : collator_compare( $coll, $str1, $str…
56 …return $GLOBALS['oo-mode'] ? $coll->sort( $arr, $sort_flag ) : collator_sort( $coll, $arr, $sort_f…
64 return $GLOBALS['oo-mode'] ? $coll->getSortKey( $str ) : collator_get_sort_key( $coll, $str );
72 return $GLOBALS['oo-mode'] ? $coll->getLocale( $type ) : collator_get_locale( $coll, $type );
84 …return $GLOBALS['oo-mode'] ? $coll->getAttribute( $attr ) : collator_get_attribute( $coll, $attr );
88 return $GLOBALS['oo-mode'] ? $coll->getStrength() : collator_get_strength( $coll );
100 return $GLOBALS['oo-mode'] ? $coll->getVariableTop() : collator_get_variable_top( $coll );
112 return $GLOBALS['oo-mode'] ? $coll->getErrorCode() : collator_get_error_code( $coll );
116 return $GLOBALS['oo-mode'] ? $coll->getErrorMessage() : collator_get_error_message( $coll );
122 function ut_coll_set_default( $coll )
[all …]
H A Dcollator_get_error_message.phpt16 $coll = ut_coll_create( 'ru_RU' );
19 ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE );
20 $status = ut_coll_get_error_message( $coll );
24 ut_coll_get_attribute( $coll, 12345 );
25 $status = ut_coll_get_error_message( $coll );
H A Dcollator_get_error_code.phpt24 $coll = ut_coll_create( 'ru_RU' );
27 ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE );
28 $status = ut_coll_get_error_code( $coll );
32 ut_coll_get_attribute( $coll, 12345 );
33 $status = ut_coll_get_error_code( $coll );
H A Dcollator_create.phpt31 $coll = ut_coll_create( $locale );
32 if( !is_object($coll) )
40 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE );
41 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
H A Dcollator_create4.phpt31 $coll = ut_coll_create( $locale );
32 if( !is_object($coll) )
40 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE );
41 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
H A Dbug62070_2.phpt10 $coll = collator_create('en_US');
11 $res = collator_get_sort_key($coll, $s1);
H A Dcollator_create2.phpt32 $coll = ut_coll_create( $locale );
33 if( !is_object($coll) )
41 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE );
42 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
H A Dcollator_create3.phpt32 $coll = ut_coll_create( $locale );
33 if( !is_object($coll) )
41 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE );
42 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
H A Dbug62070.phpt11 $coll = collator_create('en_US');
12 $res = collator_get_sort_key($coll, $s1);
H A Dregression_sort_and_cow.phpt20 $coll = ut_coll_create( $locale );
27 ut_coll_sort( $coll, $test_array );
28 ut_coll_sort( $coll, $copy1 );
H A Dregression_sortwsk_and_cow.phpt21 $coll = ut_coll_create( $locale );
28 ut_coll_sort_with_sort_keys( $coll, $test_array );
29 ut_coll_sort_with_sort_keys( $coll, $copy1 );
H A Dregression_sort_eq.phpt13 $coll = ut_coll_create( $locale );
16 ut_coll_sort( $coll, $test_array );
H A Dregression_sortwsk_eq.phpt13 $coll = ut_coll_create( $locale );
16 ut_coll_sort_with_sort_keys( $coll, $test_array );
H A Dcollator_get_locale.phpt27 $coll = ut_coll_create( 'en_US' );
32 $rc = ut_coll_get_locale( $coll, $locale );
H A Dcollator_get_locale2.phpt25 $coll = ut_coll_create( 'en_US' );
30 $rc = ut_coll_get_locale( $coll, $locale );
H A Dcollator_get_sort_key_variant4.phpt16 $coll = ut_coll_create( $locale );
19 $res_val = ut_coll_get_sort_key( $coll, $value );
H A Dcollator_get_sort_key.phpt18 $coll = ut_coll_create( $locale );
21 $res_val = ut_coll_get_sort_key( $coll, $value );
H A Dcollator_get_sort_key_variant2.phpt17 $coll = ut_coll_create( $locale );
20 $res_val = ut_coll_get_sort_key( $coll, $value );
H A Dcollator_get_sort_key_variant3.phpt17 $coll = ut_coll_create( $locale );
20 $res_val = ut_coll_get_sort_key( $coll, $value );
H A Dcollator_compare.phpt40 $coll = ut_coll_create( $locale );
47 $res_val = cmp_to_char( ut_coll_compare( $coll, $str1, $str2 ) );
H A Dcollator_compare_variant2.phpt40 $coll = ut_coll_create( $locale );
47 $res_val = cmp_to_char( ut_coll_compare( $coll, $str1, $str2 ) );

Completed in 24 milliseconds

12