Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/PHP-5.3/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp72 convert_to_long_ex(&args[i]); in umsg_format_helper()
77 convert_to_double_ex(&args[i]); in umsg_format_helper()
82 convert_to_long_ex(&args[i]); in umsg_format_helper()
87 if(Z_TYPE_P(args[i]) == IS_DOUBLE) { in umsg_format_helper()
88 tInt64 = (int64_t)Z_DVAL_P(args[i]); in umsg_format_helper()
90 tInt64 = (int64_t)Z_LVAL_P(args[i]); in umsg_format_helper()
92 SEPARATE_ZVAL_IF_NOT_REF(&args[i]); in umsg_format_helper()
94 tInt64 = (Z_TYPE_P(args[i]) == IS_DOUBLE)?(int64_t)Z_DVAL_P(args[i]):Z_LVAL_P(args[i]); in umsg_format_helper()
101 …intl_convert_utf8_to_utf16(&stringVal, &stringLen, Z_STRVAL_P(args[i]), Z_STRLEN_P(args[i]), statu… in umsg_format_helper()
156 ALLOC_INIT_ZVAL((*args)[i]); in umsg_parse_helper()
[all …]
H A Dmsgformat_format.c35 static void msgfmt_do_format(MessageFormatter_object *mfo, zval *args, zval *return_value TSRMLS_DC… in msgfmt_do_format() argument
44 count = zend_hash_num_elements(Z_ARRVAL_P(args)); in msgfmt_do_format()
56 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(args), &pos); in msgfmt_do_format()
59 zend_hash_get_current_data_ex(Z_ARRVAL_P(args), (void **)&val, &pos); in msgfmt_do_format()
63 zend_hash_move_forward_ex(Z_ARRVAL_P(args), &pos); in msgfmt_do_format()
90 zval *args; in PHP_FUNCTION() local
96 &object, MessageFormatter_ce_ptr, &args ) == FAILURE ) in PHP_FUNCTION()
107 msgfmt_do_format(mfo, args, return_value TSRMLS_CC); in PHP_FUNCTION()
118 zval *args; in PHP_FUNCTION() local
130 &slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE ) in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/bcmath/libbcmath/src/
H A Drt.c44 va_list args; in bc_rt_warn() local
47 va_start (args, mesg); in bc_rt_warn()
48 vsnprintf (error_mesg, sizeof(error_mesg), mesg, args); in bc_rt_warn()
49 va_end (args); in bc_rt_warn()
57 va_list args; in bc_rt_error() local
60 va_start (args, mesg); in bc_rt_error()
61 vsnprintf (error_mesg, sizeof(error_mesg), mesg, args); in bc_rt_error()
62 va_end (args); in bc_rt_error()
/PHP-5.3/ext/session/
H A Dmod_user.c86 zval *args[2]; in PS_OPEN_FUNC() local
97 SESS_ZVAL_STRING((char*)save_path, args[0]); in PS_OPEN_FUNC()
98 SESS_ZVAL_STRING((char*)session_name, args[1]); in PS_OPEN_FUNC()
126 zval *args[1]; in PS_READ_FUNC() local
129 SESS_ZVAL_STRING((char*)key, args[0]); in PS_READ_FUNC()
147 zval *args[2]; in PS_WRITE_FUNC() local
150 SESS_ZVAL_STRING((char*)key, args[0]); in PS_WRITE_FUNC()
160 zval *args[1]; in PS_DESTROY_FUNC() local
163 SESS_ZVAL_STRING((char*)key, args[0]); in PS_DESTROY_FUNC()
172 zval *args[1]; in PS_GC_FUNC() local
[all …]
/PHP-5.3/ext/standard/tests/general_functions/
H A Dbug40398.phpt18 $args = func_get_args();
19 call_user_func_array(array($this, 'Base::__construct'), $args);
27 $args = func_get_args();
36 $args = func_get_args();
37 call_user_func_array('Base::__construct', $args);
45 $args = func_get_args();
46 call_user_func_array('parent::__construct', $args);
54 $args = func_get_args();
55 call_user_func_array(array('Base', '__construct'), $args);
63 $args = func_get_args();
[all …]
/PHP-5.3/ext/interbase/
H A Dibase_events.c129 zval ***args; in PHP_FUNCTION() local
149 efree(args); in PHP_FUNCTION()
155 efree(args); in PHP_FUNCTION()
159 efree(args); in PHP_FUNCTION()
176 efree(args); in PHP_FUNCTION()
186 efree(args); in PHP_FUNCTION()
194 efree(args); in PHP_FUNCTION()
294 efree(args); in PHP_FUNCTION()
331 efree(args); in PHP_FUNCTION()
365 efree(args); in PHP_FUNCTION()
[all …]
H A Dphp_ibase_udf.c207 INIT_ZVAL(args[i]); in call_php()
208 argp[i] = &args[i]; in call_php()
359 PARAMDSC *args[1] = { arg1 }; in udf_call_php1() local
360 call_php(name, r, 1, args); in udf_call_php1()
366 call_php(name, r, 2, args); in udf_call_php2()
372 call_php(name, r, 3, args); in udf_call_php3()
379 call_php(name, r, 4, args); in udf_call_php4()
386 call_php(name, r, 5, args); in udf_call_php5()
393 call_php(name, r, 6, args); in udf_call_php6()
400 call_php(name, r, 7, args); in udf_call_php7()
[all …]
/PHP-5.3/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-5.3/Zend/tests/
H A Dbug28377.phpt2 Bug #28377 (debug_backtrace is intermittently passing args)
14 echo $traceName ." -- args: ";
15 echo isset($btInfo[0]['args']) ? count($btInfo[0]['args']) : 'does not exist';
22 dereferenced -- args: 2
23 direct -- args: 2
H A Dlsb_022.phpt9 static function __callstatic($name, $args) {
17 static function __callstatic($name, $args) {
18 parent::__callstatic($name, $args);
19 call_user_func_array("parent::__callstatic", array($name, $args));
21 call_user_func_array("parent::foo", $args);
22 call_user_func_array(array("parent","foo"), $args);
H A Dbug50383.phpt7 public static function __callStatic($method, $args) {
10 public function __call($method, $args) {
49 [args] => Array
67 [args] => Array
78 [args] => Array
95 [args] => Array
113 [args] => Array
124 [args] => Array
H A Dmagic_by_ref_010.phpt9 function __call($method, $args)
11 print $args[0]."\n";
12 $args[0] = 5;
13 print $args[0]."\n";
H A Dbug50394.phpt8 function __call( $name, $args ) {
10 call_user_func_array( 'inc', $args );
15 $args = array( &$arg );
17 call_user_func_array( array( $proxy, 'bar' ), $args );
H A Ddebug_backtrace_options.phpt79 [args] => Array
90 [args] => Array
110 [args] => Array
125 [args] => Array
142 [args] => Array
154 [args] => Array
174 [args] => Array
189 [args] => Array
206 [args] => Array
218 [args] => Array
[all …]
H A Dbug52939.phpt10 $args = array(&$ar1);
11 var_dump(call_user_func_array("array_multisort", $args));
15 $args = array($ar1);
16 var_dump(call_user_func_array("array_multisort", $args));
/PHP-5.3/ext/spl/tests/
H A DarrayObject_getIteratorClass_basic1.phpt8 $args = func_get_args();
9 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
13 $args = func_get_args();
14 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
19 $args = func_get_args();
20 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
25 $args = func_get_args();
26 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
31 $args = func_get_args();
32 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
[all …]
/PHP-5.3/Zend/
H A Dzend_sprintf.c33 va_list args; in zend_sprintf() local
35 va_start(args, format); in zend_sprintf()
36 vsprintf(buffer, format, args); in zend_sprintf()
37 va_end(args); in zend_sprintf()
/PHP-5.3/main/
H A Dphp_sprintf.c33 va_list args; in php_sprintf() local
36 va_start (args, format); in php_sprintf()
38 ret = vsprintf (s, format, args); in php_sprintf()
39 va_end (args); in php_sprintf()
/PHP-5.3/ext/filter/
H A Dcallback_filter.c26 zval ***args; in php_filter_callback() local
36 args = safe_emalloc(sizeof(zval **), 1, 0); in php_filter_callback()
37 args[0] = &value; in php_filter_callback()
39 …status = call_user_function_ex(EG(function_table), NULL, option_array, &retval_ptr, 1, args, 0, NU… in php_filter_callback()
53 efree(args); in php_filter_callback()
/PHP-5.3/ext/standard/tests/file/
H A Dbug22414.phpt11 $args = ' -n -dsafe_mode=off ';
14 passthru($php . $args . ' -r " echo \"HELLO\"; "');
21 $cmd = $php . $args . ' -r \"readfile(@getenv(\'TEST_PHP_EXECUTABLE\')); \"';
22 $cmd = $php . $args . ' -r \' passthru("'.$cmd.'"); \' > '.$tmpfile ;
24 $cmd = $php . $args . ' -r \"readfile(@getenv(\\\\\\"TEST_PHP_EXECUTABLE\\\\\\")); \"';
25 $cmd = $php . $args . ' -r " passthru(\''.$cmd.'\');" > '.$tmpfile ;
/PHP-5.3/ext/mysqli/
H A Dmysqli_embedded.c36 zval *args; in PHP_FUNCTION() local
45 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "laa", &start, &args, &grps) == FAILURE) { in PHP_FUNCTION()
54 if ((argc = zend_hash_num_elements(HASH_OF(args)))) { in PHP_FUNCTION()
58 zend_hash_internal_pointer_reset_ex(HASH_OF(args), &pos); in PHP_FUNCTION()
60 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(args), &pos)) { in PHP_FUNCTION()
63 if (zend_hash_get_current_data_ex(HASH_OF(args), (void **) &item, &pos) == FAILURE) { in PHP_FUNCTION()
/PHP-5.3/ext/mbstring/tests/
H A Dmb_ereg1.phpt16 foreach ($a as $args) {
17 var_dump(mb_ereg($args[0], $args[1], $args[2]));
18 var_dump($args);
/PHP-5.3/sapi/milter/
H A Dmilter.php59 function milter_envfrom($args) argument
62 foreach ($args as $ix => $arg) {
71 function milter_envrcpt($args) argument
74 foreach ($args as $ix => $arg) {
/PHP-5.3/ext/intl/tests/
H A Dsymfony_format_type_int32_intl2.phpt8 // StubNumberFormatterTest#testFormatTypeInt32Intl is tested many times, each with different args.
9 // there are 7 sets of args that crash PHP (and other args that don't), each of those 7 is now a se…
10 // to ensure that each of the 7 args are always tested.
12 // PHP Unit's code to unserialize data passed as args to #testFormatTypeInt32Intl
/PHP-5.3/ext/xml/
H A Dxml.c509 zval ***args; in xml_call_handler() local
516 args[i] = &argv[i]; in xml_call_handler()
526 fci.params = args; in xml_call_handler()
549 efree(args); in xml_call_handler()
878 zval *retval, *args[3]; in _xml_startElementHandler() local
889 array_init(args[2]); in _xml_startElementHandler()
966 zval *retval, *args[2]; in _xml_endElementHandler() local
1018 zval *retval, *args[2]; in _xml_characterDataHandler() local
1119 zval *retval, *args[3]; in _xml_processingInstructionHandler() local
1137 zval *retval, *args[2]; in _xml_defaultHandler() local
[all …]

Completed in 38 milliseconds

12345678910>>...22