/php-src/ext/intl/tests/ |
H A D | collation_customization.phpt | 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 ); 58 $coll = ut_coll_create( 'en_US' ); [all …]
|
H A D | collator_get_set_attribute.phpt | 16 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 D | collator_get_set_strength.phpt | 16 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 D | collator_get_error_message.phpt | 16 $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 D | ut_common.inc | 52 …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 D | collator_get_error_code.phpt | 24 $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 D | bug62070_icu76_1.phpt | 11 $coll = collator_create('en_US'); 12 $res = collator_get_sort_key($coll, $s1);
|
H A D | bug62070.phpt | 11 $coll = collator_create('en_US'); 12 $res = collator_get_sort_key($coll, $s1);
|
H A D | bug62070_2.phpt | 12 $coll = collator_create('en_US'); 13 $res = collator_get_sort_key($coll, $s1);
|
H A D | bug62070_3.phpt | 12 $coll = collator_create('en_US'); 13 $res = collator_get_sort_key($coll, $s1);
|
H A D | collator_create2.phpt | 32 $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 D | collator_create3.phpt | 33 $coll = ut_coll_create( $locale ); 34 if( !is_object($coll) ) 42 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE ); 43 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
|
H A D | collator_create4.phpt | 32 $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 D | regression_sort_and_cow.phpt | 20 $coll = ut_coll_create( $locale ); 27 ut_coll_sort( $coll, $test_array ); 28 ut_coll_sort( $coll, $copy1 );
|
H A D | regression_sortwsk_and_cow.phpt | 21 $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 D | regression_sort_eq.phpt | 13 $coll = ut_coll_create( $locale ); 16 ut_coll_sort( $coll, $test_array );
|
H A D | regression_sortwsk_eq.phpt | 13 $coll = ut_coll_create( $locale ); 16 ut_coll_sort_with_sort_keys( $coll, $test_array );
|
H A D | collator_get_locale2.phpt | 25 $coll = ut_coll_create( 'en_US' ); 30 $rc = ut_coll_get_locale( $coll, $locale );
|
H A D | collator_get_sort_key.phpt | 18 $coll = ut_coll_create( $locale ); 21 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant2.phpt | 18 $coll = ut_coll_create( $locale ); 21 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant3.phpt | 18 $coll = ut_coll_create( $locale ); 21 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant6.phpt | 18 $coll = ut_coll_create( $locale ); 21 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant7.phpt | 18 $coll = ut_coll_create( $locale ); 21 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant_icu76_1.phpt | 17 $coll = ut_coll_create( $locale ); 20 $res_val = ut_coll_get_sort_key( $coll, $value );
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 353 watch->coll = NULL; 416 efree(coll); 437 coll = emalloc(sizeof(*coll)); 440 coll->ref.coll = coll; 447 coll->reference.coll = coll; 455 coll->reference.coll = coll; 480 coll = emalloc(sizeof(*coll)); 482 coll->ref.coll = coll; 939 if (parent->coll) { 956 if (watch->coll) { [all …]
|