Home
last modified time | relevance | path

Searched refs:args (Results 126 – 150 of 632) sorted by path

12345678910>>...26

/PHP-7.1/ext/intl/calendar/
H A Dcalendar_methods.cpp404 *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 Dgregoriancalendar_methods.cpp46 *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 Dconverter.c179 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 Ddateformat_class.c119 ZEND_ARG_INFO(0, args)
/PHP-7.1/ext/intl/doc/
H A Dmsgfmt_api.php33 * @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 Dmsgformat_class.c108 ZEND_ARG_INFO(0, args)
112 ZEND_ARG_INFO(0, args)
H A Dmsgformat_format.c35 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 Dmsgformat_helpers.cpp390 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 Dmsgformat_helpers.h21 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 Dphp_intl.c309 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 Dbreakiter_getPartsIterator_error.phpt2 IntlBreakIterator::getPartsIterator(): bad args
H A Dbug75317.phpt23 // test constructor args
H A Dcpbi_getLastCodePoint_error.phpt2 IntlBreakIterator::getLastCodePoint(): bad args
H A Ddateformat_getCalendarObject_error.phpt2 IntlDateFormatter::getCalendarObject(): bad args
H A Ddateformat_getTimeZone_error.phpt2 IntlDateFormatter::getTimeZone(): bad args
H A Ddateformat_setTimeZone_error.phpt2 IntlDateFormatter::setTimeZone() bad args
H A Dformatter_fail.phpt38 $args = array(
58 foreach($args as $arg) {
H A Dformatter_get_set_attribute.phpt44 foreach( $attributes as $attr_name => $args )
46 list( $attr, $new_val, $number ) = $args;
H A Didn_uts46_errors.phpt14 echo "bad args:", "\n";
44 bad args:
H A Dmsgfmt_fail.phpt39 $args = array(
71 foreach($args as $arg) {
H A Dmsgfmt_fail2.phpt39 $args = array(
71 foreach($args as $arg) {
H A Dmsgfmt_format_intlcalendar.phpt2 MessageFormat accepts IntlCalendar args icu >= 4.8 && icu < 50.1.2
H A Dmsgfmt_format_intlcalendar_variant2.phpt2 MessageFormat accepts IntlCalendar args
H A Dmsgfmt_format_intlcalendar_variant3.phpt2 MessageFormat accepts IntlCalendar args
H A Dmsgfmt_format_intlcalendar_variant4.phpt2 MessageFormat accepts IntlCalendar args

Completed in 48 milliseconds

12345678910>>...26