/PHP-7.1/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 404 *args = args_a; in PHP_FUNCTION() local 411 zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args) == FAILURE) { in PHP_FUNCTION() 417 args++; in PHP_FUNCTION() 420 while (variant > 2 && Z_TYPE(args[variant - 1]) == IS_NULL) { in PHP_FUNCTION() 434 if (Z_LVAL(args[i]) < INT32_MIN || Z_LVAL(args[i]) > INT32_MAX) { in PHP_FUNCTION() 468 *args = args_a; in PHP_FUNCTION() local 473 zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args) == FAILURE) { in PHP_FUNCTION() 479 args++; in PHP_FUNCTION() 481 if (!Z_ISUNDEF(args[1]) && (Z_TYPE(args[1]) == IS_TRUE || Z_TYPE(args[1]) == IS_FALSE)) { in PHP_FUNCTION() 489 bool_variant_val = Z_TYPE(args[1]) == IS_TRUE? 1 : 0; in PHP_FUNCTION()
|
H A D | gregoriancalendar_methods.cpp | 46 *args = &args_a[0]; in _php_intlgregcal_constructor_body() local 57 zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args) == FAILURE) { in _php_intlgregcal_constructor_body() 67 variant > 0 && Z_TYPE(args[variant - 1]) == IS_NULL; in _php_intlgregcal_constructor_body()
|
/PHP-7.1/ext/intl/converter/ |
H A D | converter.c | 179 if (TARGET_CHECK(args, 2)) { in php_converter_append_toUnicode_target() 187 if (TARGET_CHECK(args, 1)) { in php_converter_append_toUnicode_target() 188 *(args->target++) = (UChar)lval; in php_converter_append_toUnicode_target() 197 while((i != strlen) && TARGET_CHECK(args, 1)) { in php_converter_append_toUnicode_target() 200 *(args->target++) = c; in php_converter_append_toUnicode_target() 232 ZVAL_STRINGL(&zargs[1], args->source, args->sourceLimit - args->source); in php_converter_to_u_callback() 268 if (TARGET_CHECK(args, 1)) { in php_converter_append_fromUnicode_target() 269 *(args->target++) = Z_LVAL_P(val); in php_converter_append_fromUnicode_target() 275 if (TARGET_CHECK(args, vallen)) { in php_converter_append_fromUnicode_target() 276 memcpy(args->target, Z_STRVAL_P(val), vallen); in php_converter_append_fromUnicode_target() [all …]
|
/PHP-7.1/ext/intl/dateformat/ |
H A D | dateformat_class.c | 119 ZEND_ARG_INFO(0, args)
|
/PHP-7.1/ext/intl/doc/ |
H A D | msgfmt_api.php | 33 * @param array $args arguments to insert into the pattern string 36 public function format($args) {} argument 56 * @param array $args the array of values to insert into $pattern 59 public static function formatMessage($locale, $pattern, $args) {} argument 126 * @param array $args arguments to insert into the pattern string 129 function msgfmt_format($fmt, $args) {} argument 150 * @param array $args the array of values to insert into $pattern 153 function msgfmt_format_message($locale, $pattern, $args) {} argument
|
/PHP-7.1/ext/intl/msgformat/ |
H A D | msgformat_class.c | 108 ZEND_ARG_INFO(0, args) 112 ZEND_ARG_INFO(0, args)
|
H A D | msgformat_format.c | 35 static void msgfmt_do_format(MessageFormatter_object *mfo, zval *args, zval *return_value) in msgfmt_do_format() argument 42 count = zend_hash_num_elements(Z_ARRVAL_P(args)); in msgfmt_do_format() 46 zend_hash_copy(args_copy, Z_ARRVAL_P(args), (copy_ctor_func_t)zval_add_ref); in msgfmt_do_format() 71 zval *args; in PHP_FUNCTION() local 77 &object, MessageFormatter_ce_ptr, &args ) == FAILURE ) in PHP_FUNCTION() 88 msgfmt_do_format(mfo, args, return_value); in PHP_FUNCTION() 99 zval *args; in PHP_FUNCTION() local 111 &slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE ) in PHP_FUNCTION() 156 msgfmt_do_format(mfo, args, return_value); in PHP_FUNCTION()
|
H A D | msgformat_helpers.cpp | 390 HashTable *args, in umsg_format_helper() argument 394 int arg_count = zend_hash_num_elements(args); in umsg_format_helper() 419 ZEND_HASH_FOREACH_KEY_VAL(args, num_index, str_index, elem) { in umsg_format_helper() 655 #define cleanup_zvals() for(int j=i;j>=0;j--) { zval_ptr_dtor((*args)+i); } 666 *args = (zval *)safe_emalloc(*count, sizeof(zval), 0); in umsg_parse_helper() 678 ZVAL_DOUBLE(&(*args)[i], aDate); in umsg_parse_helper() 682 ZVAL_DOUBLE(&(*args)[i], (double)fargs[i].getDouble()); in umsg_parse_helper() 686 ZVAL_LONG(&(*args)[i], fargs[i].getLong()); in umsg_parse_helper() 692 ZVAL_DOUBLE(&(*args)[i], (double)aInt64); in umsg_parse_helper() 694 ZVAL_LONG(&(*args)[i], (zend_long)aInt64); in umsg_parse_helper() [all …]
|
H A D | msgformat_helpers.h | 21 void umsg_format_helper(MessageFormatter_object *mfo, HashTable *args, 23 void umsg_parse_helper(UMessageFormat *fmt, int *count, zval **args,
|
/PHP-7.1/ext/intl/ |
H A D | php_intl.c | 309 ZEND_ARG_INFO(0, args) 315 ZEND_ARG_INFO(0, args) 354 ZEND_ARG_INFO(0, args)
|
/PHP-7.1/ext/intl/tests/ |
H A D | breakiter_getPartsIterator_error.phpt | 2 IntlBreakIterator::getPartsIterator(): bad args
|
H A D | bug75317.phpt | 23 // test constructor args
|
H A D | cpbi_getLastCodePoint_error.phpt | 2 IntlBreakIterator::getLastCodePoint(): bad args
|
H A D | dateformat_getCalendarObject_error.phpt | 2 IntlDateFormatter::getCalendarObject(): bad args
|
H A D | dateformat_getTimeZone_error.phpt | 2 IntlDateFormatter::getTimeZone(): bad args
|
H A D | dateformat_setTimeZone_error.phpt | 2 IntlDateFormatter::setTimeZone() bad args
|
H A D | formatter_fail.phpt | 38 $args = array( 58 foreach($args as $arg) {
|
H A D | formatter_get_set_attribute.phpt | 44 foreach( $attributes as $attr_name => $args ) 46 list( $attr, $new_val, $number ) = $args;
|
H A D | idn_uts46_errors.phpt | 14 echo "bad args:", "\n"; 44 bad args:
|
H A D | msgfmt_fail.phpt | 39 $args = array( 71 foreach($args as $arg) {
|
H A D | msgfmt_fail2.phpt | 39 $args = array( 71 foreach($args as $arg) {
|
H A D | msgfmt_format_intlcalendar.phpt | 2 MessageFormat accepts IntlCalendar args icu >= 4.8 && icu < 50.1.2
|
H A D | msgfmt_format_intlcalendar_variant2.phpt | 2 MessageFormat accepts IntlCalendar args
|
H A D | msgfmt_format_intlcalendar_variant3.phpt | 2 MessageFormat accepts IntlCalendar args
|
H A D | msgfmt_format_intlcalendar_variant4.phpt | 2 MessageFormat accepts IntlCalendar args
|