Home
last modified time | relevance | path

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

12345678910>>...26

/PHP-7.1/ext/session/
H A Dmod_user.c83 zval args[2]; in PS_OPEN_FUNC() local
141 zval args[1]; in PS_READ_FUNC() local
144 ZVAL_STR_COPY(&args[0], key); in PS_READ_FUNC()
161 zval args[2]; in PS_WRITE_FUNC() local
164 ZVAL_STR_COPY(&args[0], key); in PS_WRITE_FUNC()
165 ZVAL_STR_COPY(&args[1], val); in PS_WRITE_FUNC()
174 zval args[1]; in PS_DESTROY_FUNC() local
177 ZVAL_STR_COPY(&args[0], key); in PS_DESTROY_FUNC()
186 zval args[1]; in PS_GC_FUNC() local
240 zval args[1]; in PS_VALIDATE_SID_FUNC() local
[all …]
/PHP-7.1/ext/zip/lib/
H A Dzip_source_seek.c41 zip_source_args_seek_t args; in zip_source_seek() local
51 args.offset = offset; in zip_source_seek()
52 args.whence = whence; in zip_source_seek()
54 return (_zip_source_call(src, &args, sizeof(args), ZIP_SOURCE_SEEK) < 0 ? -1 : 0); in zip_source_seek()
62 …zip_source_args_seek_t *args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, data_length, erro… in zip_source_seek_compute_offset() local
64 if (args == NULL) { in zip_source_seek_compute_offset()
68 switch (args->whence) { in zip_source_seek_compute_offset()
70 new_offset = (zip_int64_t)offset + args->offset; in zip_source_seek_compute_offset()
74 new_offset = (zip_int64_t)length + args->offset; in zip_source_seek_compute_offset()
78 new_offset = args->offset; in zip_source_seek_compute_offset()
H A Dzip_source_seek_write.c41 zip_source_args_seek_t args; in zip_source_seek_write() local
48 args.offset = offset; in zip_source_seek_write()
49 args.whence = whence; in zip_source_seek_write()
51 return (_zip_source_call(src, &args, sizeof(args), ZIP_SOURCE_SEEK_WRITE) < 0 ? -1 : 0); in zip_source_seek_write()
/PHP-7.1/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-7.1/ext/interbase/
H A Dphp_ibase_udf.c206 ZVAL_NULL(&args[i]); in call_php()
236 ZVAL_DOUBLE(&args[i], in call_php()
245 ZVAL_DOUBLE(&args[i], in call_php()
301 zval_dtor(&args[i]); in call_php()
358 call_php(name, r, 1, args); in udf_call_php1()
364 call_php(name, r, 2, args); in udf_call_php2()
370 call_php(name, r, 3, args); in udf_call_php3()
377 call_php(name, r, 4, args); in udf_call_php4()
384 call_php(name, r, 5, args); in udf_call_php5()
391 call_php(name, r, 6, args); in udf_call_php6()
[all …]
H A Dibase_events.c129 zval *args; in PHP_FUNCTION() local
147 if (Z_TYPE(args[0]) == IS_RESOURCE) { in PHP_FUNCTION()
162 convert_to_string_ex(&args[i]); in PHP_FUNCTION()
214 zval return_value, args[2]; in _php_ibase_callback() local
222 ZVAL_RES(&args[1], event->link_res); in _php_ibase_callback()
268 zval *args, *cb_arg; in PHP_FUNCTION() local
287 if (Z_TYPE(args[0]) != IS_STRING) { in PHP_FUNCTION()
295 cb_arg = &args[1]; in PHP_FUNCTION()
302 link_res = Z_RES(args[0]); in PHP_FUNCTION()
312 cb_arg = &args[0]; in PHP_FUNCTION()
[all …]
/PHP-7.1/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-7.1/ext/standard/tests/class_object/
H A Dbug71442.phpt10 $args = func_get_args();
11 echo static::NAME, " ".join(',', $args)." \n";
21 forward_static_call(array('A', 'test'), 'more', 'args');
22 forward_static_call( 'test', 'other', 'args');
29 $args = func_get_args();
30 echo "C ".join(',', $args)." \n";
36 B more,args
37 C other,args
/PHP-7.1/Zend/tests/
H A Dcall_user_func_array_prefer_ref.phpt9 $args = [[3, 2, 1]];
10 call_user_func_array('array_multisort', $args);
11 var_dump($args);
12 unset($args);
23 $args = [[3, 2, 1]];
24 call_user_func_array('array_multisort', $args);
25 var_dump($args);
26 unset($args);
H A Ddebug_backtrace_limit.phpt30 [args] => Array
44 [args] => Array
55 [args] => Array
69 [args] => Array
80 [args] => Array
91 [args] => Array
105 [args] => Array
116 [args] => Array
127 [args] => Array
H A Dindirect_call_string_001.phpt16 printf("Static method called with args: %s, %s, %s\n", $arg1, $arg2, $arg3);
31 $args = ['arg1', 'arg2', 'arg3'];
34 // Test call with args.
35 $callback($args[0], $args[1], $args[2]);
38 $callback(...$args);
44 Static method called with args: arg1, arg2, arg3
45 Static method called with args: arg1, arg2, arg3
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 Dbug68475.phpt14 printf("Static method called with args: %s, %s, %s\n", $arg1, $arg2, $arg3);
26 $args = ['arg1', 'arg2', 'arg3'];
29 // Test call with args.
30 $callback($args[0], $args[1], $args[2]);
33 $callback(...$args);
54 Static method called with args: arg1, arg2, arg3
55 Static method called with args: arg1, arg2, arg3
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);
/PHP-7.1/main/streams/
H A Duserspace.c383 4, args, in user_wrapper_opener()
462 2, args, in user_wrapper_opendir()
612 1, args, in php_userstreamop_write()
663 1, args, in php_userstreamop_read()
791 2, args, in php_userstreamop_seek()
1125 1, args, in user_wrapper_unlink()
1170 2, args, in user_wrapper_rename()
1217 3, args, in user_wrapper_mkdir()
1264 2, args, in user_wrapper_rmdir()
1335 3, args, in user_wrapper_metadata()
[all …]
/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/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 ZVAL_COPY(&args[0], value); in php_filter_callback()
38 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval, 1, args, 0, NULL); in php_filter_callback()
48 zval_ptr_dtor(&args[0]); in php_filter_callback()
49 efree(args); in php_filter_callback()
/PHP-7.1/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-7.1/ext/mysqlnd/
H A Dmysqlnd_commands.c95 mysqlnd_com_set_option_create_command(va_list args) in mysqlnd_com_set_option_create_command() argument
145 mysqlnd_com_debug_create_command(va_list args) in mysqlnd_com_debug_create_command() argument
224 mysqlnd_com_init_db_create_command(va_list args) in mysqlnd_com_init_db_create_command() argument
279 mysqlnd_com_ping_create_command(va_list args) in mysqlnd_com_ping_create_command() argument
487 mysqlnd_com_refresh_create_command(va_list args) in mysqlnd_com_refresh_create_command() argument
605 mysqlnd_com_quit_create_command(va_list args) in mysqlnd_com_quit_create_command() argument
663 mysqlnd_com_query_create_command(va_list args) in mysqlnd_com_query_create_command() argument
1388 va_list args; in mysqlnd_get_command() local
1391 va_start(args, command); in mysqlnd_get_command()
1403 ret = mysqlnd_com_ping_create_command(args); in mysqlnd_get_command()
[all …]
/PHP-7.1/Zend/
H A Dzend_sprintf.c34 va_list args; in zend_sprintf() local
36 va_start(args, format); in zend_sprintf()
37 len = vsprintf(buffer, format, args); in zend_sprintf()
38 va_end(args); in zend_sprintf()
/PHP-7.1/ext/intl/msgformat/
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()
/PHP-7.1/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-7.1/ext/standard/tests/file/
H A Dbug22414.phpt10 $args = ' -n -dsafe_mode=off ';
13 passthru($php . $args . ' -r " echo \"HELLO\"; "');
20 $cmd = $php . $args . ' -r \"readfile(@getenv(\'TEST_PHP_EXECUTABLE\')); \"';
21 $cmd = $php . $args . ' -r \' passthru("'.$cmd.'"); \' > '.$tmpfile ;
23 $cmd = $php . $args . ' -r \"readfile(@getenv(\\\\\\"TEST_PHP_EXECUTABLE\\\\\\")); \"';
24 $cmd = $php . $args . ' -r " passthru(\''.$cmd.'\');" > '.$tmpfile ;
/PHP-7.1/ext/filter/tests/
H A Dbug76366.phpt13 #filter args
14 $args = [
21 $args['foo']['options'] = [];
24 $options = &$args['foo']['options'];
31 var_dump(filter_var_array($data, $args));
/PHP-7.1/Zend/tests/arg_unpack/
H A Dmethod.phpt7 public function test(...$args) {
8 var_dump($args);
11 public static function test2(...$args) {
12 var_dump($args);

Completed in 45 milliseconds

12345678910>>...26