/PHP-7.0/ext/intl/spoofchecker/ |
H A D | spoofchecker_class.h | 44 #define SPOOFCHECKER_ERROR(co) (co)->err argument 45 #define SPOOFCHECKER_ERROR_P(co) &(SPOOFCHECKER_ERROR(co)) argument 47 #define SPOOFCHECKER_ERROR_CODE(co) INTL_ERROR_CODE(SPOOFCHECKER_ERROR(co)) argument 48 #define SPOOFCHECKER_ERROR_CODE_P(co) &(INTL_ERROR_CODE(SPOOFCHECKER_ERROR(co))) argument 52 void spoofchecker_object_init(Spoofchecker_object* co); 53 void spoofchecker_object_destroy(Spoofchecker_object* co); 61 Spoofchecker_object* co = NULL; \ 67 if (co->uspoof == NULL) { \ 68 intl_errors_set(&co->err, U_ILLEGAL_ARGUMENT_ERROR, \ 75 intl_error_set_code(NULL, SPOOFCHECKER_ERROR_CODE(co)); \ [all …]
|
H A D | spoofchecker_main.c | 41 ret = uspoof_checkUTF8(co->uspoof, text, text_len, NULL, SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD() 43 if (U_FAILURE(SPOOFCHECKER_ERROR_CODE(co))) { in PHP_METHOD() 44 …ef(NULL, E_WARNING, "(%d) %s", SPOOFCHECKER_ERROR_CODE(co), u_errorName(SPOOFCHECKER_ERROR_CODE(co… in PHP_METHOD() 76 …ret = uspoof_areConfusableUTF8(co->uspoof, s1, (int32_t)s1_len, s2, (int32_t)s2_len, SPOOFCHECKER_… in PHP_METHOD() 78 if (U_FAILURE(SPOOFCHECKER_ERROR_CODE(co))) { in PHP_METHOD() 79 …ef(NULL, E_WARNING, "(%d) %s", SPOOFCHECKER_ERROR_CODE(co), u_errorName(SPOOFCHECKER_ERROR_CODE(co… in PHP_METHOD() 106 uspoof_setAllowedLocales(co->uspoof, locales, SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD() 108 if (U_FAILURE(SPOOFCHECKER_ERROR_CODE(co))) { in PHP_METHOD() 109 …ef(NULL, E_WARNING, "(%d) %s", SPOOFCHECKER_ERROR_CODE(co), u_errorName(SPOOFCHECKER_ERROR_CODE(co… in PHP_METHOD() 129 uspoof_setChecks(co->uspoof, checks, SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD() [all …]
|
H A D | spoofchecker_create.c | 43 co->uspoof = uspoof_open(SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD() 44 INTL_METHOD_CHECK_STATUS(co, "spoofchecker: unable to open ICU Spoof Checker"); in PHP_METHOD() 54 uspoof_setRestrictionLevel(co->uspoof, SPOOFCHECKER_DEFAULT_RESTRICTION_LEVEL); in PHP_METHOD() 60 checks = uspoof_getChecks(co->uspoof, SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD() 61 uspoof_setChecks(co->uspoof, checks & ~USPOOF_SINGLE_SCRIPT, SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD()
|
H A D | spoofchecker_class.c | 44 zend_object_std_dtor(&co->zo); in Spoofchecker_objects_free() 46 spoofchecker_object_destroy(co); in Spoofchecker_objects_free() 166 void spoofchecker_object_init(Spoofchecker_object* co) in spoofchecker_object_init() argument 168 if (!co) { in spoofchecker_object_init() 172 intl_error_init(SPOOFCHECKER_ERROR_P(co)); in spoofchecker_object_init() 179 void spoofchecker_object_destroy(Spoofchecker_object* co) in spoofchecker_object_destroy() argument 181 if (!co) { in spoofchecker_object_destroy() 185 if (co->uspoof) { in spoofchecker_object_destroy() 186 uspoof_close(co->uspoof); in spoofchecker_object_destroy() 187 co->uspoof = NULL; in spoofchecker_object_destroy() [all …]
|
/PHP-7.0/ext/intl/collator/ |
H A D | collator_class.h | 40 #define COLLATOR_ERROR(co) (co)->err argument 41 #define COLLATOR_ERROR_P(co) &(COLLATOR_ERROR(co)) argument 43 #define COLLATOR_ERROR_CODE(co) INTL_ERROR_CODE(COLLATOR_ERROR(co)) argument 44 #define COLLATOR_ERROR_CODE_P(co) &(INTL_ERROR_CODE(COLLATOR_ERROR(co))) argument 52 void collator_object_init( Collator_object* co ); 53 void collator_object_destroy( Collator_object* co ); 61 Collator_object* co = NULL; \ 64 #define COLLATOR_METHOD_FETCH_OBJECT INTL_METHOD_FETCH_OBJECT(INTL_COLLATOR, co) 67 #define COLLATOR_CHECK_STATUS( co, msg ) \ argument 68 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) ); \ [all …]
|
H A D | collator_compare.c | 61 if (!co || !co->ucoll) { in PHP_FUNCTION() 62 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) ); in PHP_FUNCTION() 63 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ), in PHP_FUNCTION() 76 &ustr1, &ustr1_len, str1, str1_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION() 77 if( U_FAILURE( COLLATOR_ERROR_CODE( co ) ) ) in PHP_FUNCTION() 80 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) ); in PHP_FUNCTION() 83 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ), in PHP_FUNCTION() 93 if( U_FAILURE( COLLATOR_ERROR_CODE( co ) ) ) in PHP_FUNCTION() 96 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) ); in PHP_FUNCTION() 99 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ), in PHP_FUNCTION() [all …]
|
H A D | collator_locale.c | 54 if (!co || !co->ucoll) { in PHP_FUNCTION() 55 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) ); in PHP_FUNCTION() 56 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ), in PHP_FUNCTION() 65 co->ucoll, type, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION() 66 COLLATOR_CHECK_STATUS( co, "Error getting locale by type" ); in PHP_FUNCTION()
|
H A D | collator_attr.c | 53 value = ucol_getAttribute( co->ucoll, attribute, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION() 54 COLLATOR_CHECK_STATUS( co, "Error getting attribute value" ); in PHP_FUNCTION() 85 ucol_setAttribute( co->ucoll, attribute, value, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION() 86 COLLATOR_CHECK_STATUS( co, "Error setting attribute value" ); in PHP_FUNCTION() 115 RETURN_LONG( ucol_getStrength( co->ucoll ) ); in PHP_FUNCTION() 144 ucol_setStrength( co->ucoll, strength ); in PHP_FUNCTION()
|
H A D | collator_sort.c | 55 Collator_object* co = NULL; in collator_regular_compare_function() local 76 co = Z_INTL_COLLATOR_P(&INTL_G(current_collator)); in collator_regular_compare_function() 78 if (!co || !co->ucoll) { in collator_regular_compare_function() 88 co->ucoll, in collator_regular_compare_function() 185 Collator_object* co = NULL; in collator_icu_compare_function() local 197 co->ucoll, in collator_icu_compare_function() 407 if (!co || !co->ucoll) { in PHP_FUNCTION() 440 if( U_FAILURE( COLLATOR_ERROR_CODE( co ) ) ) in PHP_FUNCTION() 467 sortKeyLen = ucol_getSortKey( co->ucoll, in PHP_FUNCTION() 573 if (!co || !co->ucoll) { in PHP_FUNCTION() [all …]
|
H A D | collator_error.c | 46 co = Z_INTL_COLLATOR_P(object); in PHP_FUNCTION() 47 if( co == NULL ) in PHP_FUNCTION() 51 RETURN_LONG( COLLATOR_ERROR_CODE( co ) ); in PHP_FUNCTION() 77 co = Z_INTL_COLLATOR_P( object ); in PHP_FUNCTION() 78 if( co == NULL ) in PHP_FUNCTION() 82 message = intl_error_get_message( COLLATOR_ERROR_P( co ) ); in PHP_FUNCTION()
|
H A D | collator_class.c | 50 zend_object_std_dtor(&co->zo ); in Collator_objects_free() 52 collator_object_destroy(co ); in Collator_objects_free() 163 void collator_object_init( Collator_object* co ) in collator_object_init() argument 165 if( !co ) in collator_object_init() 168 intl_error_init( COLLATOR_ERROR_P( co ) ); in collator_object_init() 175 void collator_object_destroy( Collator_object* co ) in collator_object_destroy() argument 177 if( !co ) in collator_object_destroy() 180 if( co->ucoll ) in collator_object_destroy() 182 ucol_close( co->ucoll ); in collator_object_destroy() 183 co->ucoll = NULL; in collator_object_destroy() [all …]
|
H A D | collator_create.c | 33 Collator_object* co; in collator_ctor() local 55 co->ucoll = ucol_open( locale, COLLATOR_ERROR_CODE_P( co ) ); in collator_ctor() 56 INTL_CTOR_CHECK_STATUS(co, "collator_create: unable to open ICU collator"); in collator_ctor()
|
/PHP-7.0/ext/intl/calendar/ |
H A D | calendar_class.h | 46 #define CALENDAR_ERROR(co) (co)->err argument 47 #define CALENDAR_ERROR_P(co) &(CALENDAR_ERROR(co)) argument 49 #define CALENDAR_ERROR_CODE(co) INTL_ERROR_CODE(CALENDAR_ERROR(co)) argument 50 #define CALENDAR_ERROR_CODE_P(co) &(INTL_ERROR_CODE(CALENDAR_ERROR(co))) argument 52 #define CALENDAR_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(Calendar, co) 53 #define CALENDAR_METHOD_FETCH_OBJECT_NO_CHECK INTL_METHOD_FETCH_OBJECT(INTL_CALENDAR, co) 56 if (co->ucal == NULL) \ 58 intl_errors_set(&co->err, U_ILLEGAL_ARGUMENT_ERROR, "Found unconstructed IntlCalendar", 0); \
|
H A D | calendar_methods.cpp | 269 UDate result = co->ucal->getTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() 290 co->ucal->setTime((UDate)time_arg, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() 384 UBool res = (co->ucal->*func)(*when_co->ucal, CALENDAR_ERROR_CODE(co)); in _php_intlcal_before_after() 539 co->ucal->clear(); in PHP_FUNCTION() 637 int32_t result = co->ucal->getFirstDayOfWeek(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() 830 UBool ret = co->ucal->inDaylightTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() 921 UBool ret = co->ucal->isWeekend((UDate)date, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() 1022 UBool result = co->ucal->equals(*other_co->ucal, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() 1221 double date = co->ucal->getTime(CALENDAR_ERROR_CODE(co)) / 1000.; in PHP_FUNCTION() 1299 if (co == NULL) in PHP_FUNCTION() [all …]
|
H A D | gregoriancalendar_methods.cpp | 37 static inline GregorianCalendar *fetch_greg(Calendar_object *co) { in fetch_greg() argument 38 return (GregorianCalendar*)co->ucal; in fetch_greg() 204 Calendar_object *co = Z_INTL_CALENDAR_P(return_value); in _php_intlgregcal_constructor_body() local 205 co->ucal = gcal; in _php_intlgregcal_constructor_body() 240 fetch_greg(co)->setGregorianChange(date, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() 241 INTL_METHOD_CHECK_STATUS(co, "intlgregcal_set_gregorian_change: error " in PHP_FUNCTION() 260 RETURN_DOUBLE((double)fetch_greg(co)->getGregorianChange()); in PHP_FUNCTION() 283 RETURN_BOOL((int)fetch_greg(co)->isLeapYear((int32_t)year)); in PHP_FUNCTION()
|
H A D | calendar_class.cpp | 64 return co->ucal; in calendar_fetch_native_calendar() 70 Calendar_object *co; in calendar_object_construct() local 73 assert(co->ucal == NULL); in calendar_object_construct() 74 co->ucal = (Calendar*)calendar; in calendar_object_construct() 151 Calendar_object *co; in Calendar_get_debug_info() local 161 cal = co->ucal; in Calendar_get_debug_info() 230 co->ucal = NULL; in calendar_object_init() 246 if (co->ucal) { in Calendar_objects_free() 247 delete co->ucal; in Calendar_objects_free() 248 co->ucal = NULL; in Calendar_objects_free() [all …]
|
/PHP-7.0/ext/intl/normalizer/ |
H A D | normalizer_class.h | 35 #define NORMALIZER_ERROR(co) (co)->err argument 36 #define NORMALIZER_ERROR_P(co) &(NORMALIZER_ERROR(co)) argument 38 #define NORMALIZER_ERROR_CODE(co) INTL_ERROR_CODE(NORMALIZER_ERROR(co)) argument 39 #define NORMALIZER_ERROR_CODE_P(co) &(INTL_ERROR_CODE(NORMALIZER_ERROR(co))) argument
|
/PHP-7.0/ext/intl/transliterator/ |
H A D | transliterator_class.h | 45 #define TRANSLITERATOR_ERROR( co ) (co)->err argument 46 #define TRANSLITERATOR_ERROR_P( co ) &(TRANSLITERATOR_ERROR( co )) argument 48 #define TRANSLITERATOR_ERROR_CODE( co ) INTL_ERROR_CODE(TRANSLITERATOR_ERROR( co )) argument 49 #define TRANSLITERATOR_ERROR_CODE_P( co ) &(INTL_ERROR_CODE(TRANSLITERATOR_ERROR( co ))) argument
|
/PHP-7.0/ext/mbstring/libmbfl/ |
H A D | AUTHORS | 5 Shigeru Kanemoto <sgk@happysize.co.jp> 6 U. Kenkichi <kenkichi@axes.co.jp>
|
H A D | DISCLAIMER | 55 Email: sales@happysize.co.jp 60 金本 茂 <sgk@happysize.co.jp>
|
/PHP-7.0/ext/dom/tests/ |
H A D | DOMDocument_validate_external_dtd.phpt | 12 // reusing existing xml: http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/dom.xml?view=co&conten… 13 // reusing existing dtd: http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/dom.ent?view=co&conten…
|
/PHP-7.0/ext/intl/timezone/ |
H A D | timezone_class.h | 55 #define TIMEZONE_ERROR_CODE(co) INTL_ERROR_CODE(TIMEZONE_ERROR(to)) argument 56 #define TIMEZONE_ERROR_CODE_P(co) &(INTL_ERROR_CODE(TIMEZONE_ERROR(to))) argument
|
/PHP-7.0/ext/spl/tests/ |
H A D | spl_pq_top_error_args.phpt | 4 Nathaniel McHugh nat@fishtrap.co.uk
|
H A D | spl_pq_top_error_empty.phpt | 4 Nathaniel McHugh nat@fishtrap.co.uk
|
/PHP-7.0/ext/intl/common/ |
H A D | common_date.cpp | 211 Calendar_object *co = Z_INTL_CALENDAR_P(z); local 212 if (co->ucal == NULL) { 220 rv = (double)co->ucal->getTime(status);
|