Home
last modified time | relevance | path

Searched refs:INTL_G (Results 1 – 5 of 5) sorted by relevance

/PHP-7.2/ext/intl/
H A Dintl_error.c39 return &INTL_G( g_error );
110 if( INTL_G( error_level ) ) in intl_error_set_custom_msg()
111 php_error_docref( NULL, INTL_G( error_level ), "%s", msg ); in intl_error_set_custom_msg()
112 if( INTL_G( use_exceptions ) ) in intl_error_set_custom_msg()
H A Dphp_intl.h64 #define INTL_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(intl, v) macro
H A Dphp_intl.c122 if( INTL_G(default_locale) == NULL ) { in ZEND_DECLARE_MODULE_GLOBALS()
125 return INTL_G(default_locale); in ZEND_DECLARE_MODULE_GLOBALS()
1031 if(!Z_ISUNDEF(INTL_G(current_collator))) { in PHP_RSHUTDOWN_FUNCTION()
1032 ZVAL_UNDEF(&INTL_G(current_collator)); in PHP_RSHUTDOWN_FUNCTION()
1034 if (INTL_G(grapheme_iterator)) { in PHP_RSHUTDOWN_FUNCTION()
1036 INTL_G(grapheme_iterator) = NULL; in PHP_RSHUTDOWN_FUNCTION()
/PHP-7.2/ext/intl/collator/
H A Dcollator_sort.c76 co = Z_INTL_COLLATOR_P(&INTL_G(current_collator)); in collator_regular_compare_function()
195 co = Z_INTL_COLLATOR_P(&INTL_G(current_collator)); in collator_icu_compare_function()
227 if( INTL_G(compare_func)( &result, first, second) == FAILURE ) in collator_compare_func()
316 INTL_G(compare_func) = collator_get_compare_function( sort_flags ); in collator_sort_internal()
325 ZVAL_COPY_VALUE(&saved_collator, &INTL_G( current_collator )); in collator_sort_internal()
326 ZVAL_COPY_VALUE(&INTL_G( current_collator ), object); in collator_sort_internal()
332 ZVAL_COPY_VALUE(&INTL_G( current_collator ), &saved_collator); in collator_sort_internal()
/PHP-7.2/ext/intl/grapheme/
H A Dgrapheme_util.c43 UBreakIterator *global_break_iterator = INTL_G( grapheme_iterator ); in ZEND_EXTERN_MODULE_GLOBALS()
383 UBreakIterator *global_break_iterator = INTL_G( grapheme_iterator ); in grapheme_get_break_iterator()
393 INTL_G(grapheme_iterator) = global_break_iterator; in grapheme_get_break_iterator()

Completed in 12 milliseconds