Home
last modified time | relevance | path

Searched refs:Collator (Results 1 – 25 of 30) sorted by relevance

12

/php-src/ext/intl/collator/
H A Dcollator_functions_arginfo.h8 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
14 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
19 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
25 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
29 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
34 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
40 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
47 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
52 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
56 ZEND_ARG_OBJ_INFO(0, object, Collator, 0)
[all …]
H A Dcollator.stub.php17 class Collator class
84 public static function create(string $locale): ?Collator {}
96 public function sort(array &$array, int $flags = Collator::SORT_REGULAR): bool {}
108 public function asort(array &$array, int $flags = Collator::SORT_REGULAR): bool {}
H A Dcollator_create.c69 PHP_METHOD( Collator, __construct ) in PHP_METHOD() argument
/php-src/ext/intl/tests/
H A Dcollator_get_set_attribute.phpt18 $val = ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE );
19 return sprintf( "%s\n", ( $val == Collator::OFF ? "off" : "on" ) );
27 ut_coll_set_attribute( $coll, Collator::NORMALIZATION_MODE, Collator::OFF );
30 ut_coll_set_attribute( $coll, Collator::NORMALIZATION_MODE, Collator::ON );
H A Dcollation_customization.phpt39 ut_coll_set_strength( $coll, Collator::TERTIARY );
40 ut_coll_set_attribute( $coll, Collator::ALTERNATE_HANDLING, Collator::NON_IGNORABLE );
44 ut_coll_set_attribute( $coll, Collator::ALTERNATE_HANDLING, Collator::SHIFTED );
48 ut_coll_set_strength( $coll, Collator::QUATERNARY );
H A Dbug60192-getlocale.phpt2 Bug #60192 (SegFault when Collator not constructed properly)
8 class Collator2 extends Collator{
20 #0 %s(%d): Collator->getLocale(0)
H A Dbug60192-getsortkey.phpt2 Bug #60192 (SegFault when Collator not constructed properly)
8 class Collator2 extends Collator{
20 #0 %s(%d): Collator->getSortKey('h')
H A Dbug60192-compare.phpt2 Bug #60192 (SegFault when Collator not constructed properly)
7 class Collator2 extends Collator{
19 #0 %s(%d): Collator->compare('h', 'H')
H A Dbug60192-sort.phpt2 Bug #60192 (SegFault when Collator not constructed properly)
8 class Collator2 extends Collator{
21 #0 %s(%d): Collator->sort(Array)
H A Dbug60192-sortwithsortkeys.phpt2 Bug #60192 (SegFault when Collator not constructed properly)
8 class Collator2 extends Collator{
21 #0 %s(%d): Collator->sortWithSortKeys(Array)
H A Dcollator_get_set_strength.phpt28 $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 Dbug74705.phpt2 Bug #74705 Wrong reflection on Collator::getSortKey
7 $rm = new ReflectionMethod(Collator::class, 'getSortKey');
H A Dbug74468.phpt2 Bug #74468 Wrong reflection on Collator::sortWithSortKeys
7 $rm = new ReflectionMethod(Collator::class, 'sortWithSortKeys');
H A Dbug71020.phpt2 Bug #71020 (Use after free in Collator::sortWithSortKeys)
8 $var_3=new Collator("Whatever");
H A Dbug75193.phpt7 $a = new \Collator('en_US');
H A Dintl_get_error_code.phpt11 if( collator_get_locale(new Collator('en_US'), -1) !== false )
H A Dintl_get_error_message.phpt11 if( collator_get_locale(new Collator('en_US'), -1) !== false )
H A Dbug62070_icu76_1.phpt2 Bug #62070: Collator::getSortKey() returns garbage
H A Dbug62070_2.phpt2 Bug #62070: Collator::getSortKey() returns garbage
H A Dbug62070_3.phpt2 Bug #62070: Collator::getSortKey() returns garbage
H A Dgh8115.phpt20 new \Collator(null);
35 Caught (8192): Collator::__construct(): Passing null to parameter #1 ($locale) of type string is de…
H A Dcollator_get_error_message.phpt19 ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE );
H A Dcollator_get_error_code.phpt27 ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE );
H A Dut_common.inc43 * Wrappers around Collator methods to run them in either OO- or procedural mode.
48 return $GLOBALS['oo-mode'] ? Collator::create( $locale ) : collator_create( $locale );
54 function ut_coll_sort( $coll, &$arr, $sort_flag = Collator::SORT_REGULAR )
66 function ut_coll_asort( $coll, &$arr, $sort_flag = Collator::SORT_REGULAR )
76 …return $GLOBALS['oo-mode'] ? Collator::getDisplayName( $obj_loc, $disp_loc ) : collator_get_displa…
80 return $GLOBALS['oo-mode'] ? Collator::getAvailableLocales() : collator_get_available_locales();
120 return $GLOBALS['oo-mode'] ? Collator::getDefault() : collator_get_default();
124 return $GLOBALS['oo-mode'] ? Collator::setDefault( $coll ) : collator_set_default( $coll );
228 * Wrappers around Collator methods to run them in either OO- or procedural mode.
/php-src/ext/intl/
H A Dphp_intl.stub.php293 function collator_create(string $locale): ?Collator {}
297 function collator_get_attribute(Collator $object, int $attribute): int|false {}
301 function collator_get_strength(Collator $object): int {}
303 function collator_set_strength(Collator $object, int $strength): true {}
305 function collator_sort(Collator $object, array &$array, int $flags = Collator::SORT_REGULAR): bool …
307 function collator_sort_with_sort_keys(Collator $object, array &$array): bool {}
309 function collator_asort(Collator $object, array &$array, int $flags = Collator::SORT_REGULAR): bool…
311 function collator_get_locale(Collator $object, int $type): string|false {}
313 function collator_get_error_code(Collator $object): int|false {}
315 function collator_get_error_message(Collator $object): string|false {}
[all …]

Completed in 29 milliseconds

12