Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dascii.c40 unsigned int args[4]; in init() local
49 args[0] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
50 args[1] = ONIG_TYPE_CHAR; in init()
52 BC_B_O(name, max, 2, args, 1, opts); in init()
56 BC_P_O(name, error, 1, args, 1, opts); in init()
59 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
60 BC_B_O(name, count, 1, args, 1, opts); in init()
67 args[0] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
68 args[1] = ONIG_TYPE_STRING; in init()
69 args[2] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
[all …]
H A Dutf16_be.c41 unsigned int args[4]; in init() local
50 args[0] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
51 args[1] = ONIG_TYPE_CHAR; in init()
53 BC_B_O(name, max, 2, args, 1, opts); in init()
57 BC_P_O(name, error, 1, args, 1, opts); in init()
60 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
61 BC_B_O(name, count, 1, args, 1, opts); in init()
68 args[0] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
69 args[1] = ONIG_TYPE_STRING; in init()
70 args[2] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
[all …]
H A Dutf16_le.c39 unsigned int args[4]; in init() local
48 args[0] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
49 args[1] = ONIG_TYPE_CHAR; in init()
51 BC_B_O(name, max, 2, args, 1, opts); in init()
55 BC_P_O(name, error, 1, args, 1, opts); in init()
58 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
59 BC_B_O(name, count, 1, args, 1, opts); in init()
66 args[0] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
67 args[1] = ONIG_TYPE_STRING; in init()
68 args[2] = ONIG_TYPE_TAG | ONIG_TYPE_LONG; in init()
[all …]
/PHP-7.3/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.3/ext/session/
H A Dmod_user.c81 zval args[2]; in PS_OPEN_FUNC() local
139 zval args[1]; in PS_READ_FUNC() local
142 ZVAL_STR_COPY(&args[0], key); in PS_READ_FUNC()
159 zval args[2]; in PS_WRITE_FUNC() local
162 ZVAL_STR_COPY(&args[0], key); in PS_WRITE_FUNC()
163 ZVAL_STR_COPY(&args[1], val); in PS_WRITE_FUNC()
172 zval args[1]; in PS_DESTROY_FUNC() local
175 ZVAL_STR_COPY(&args[0], key); in PS_DESTROY_FUNC()
184 zval args[1]; in PS_GC_FUNC() local
239 zval args[1]; in PS_VALIDATE_SID_FUNC() local
[all …]
/PHP-7.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-7.3/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()
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()
398 call_php(name, r, 7, args); in udf_call_php7()
[all …]
/PHP-7.3/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.3/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.3/Zend/tests/function_arguments/
H A Dcall_with_trailing_comma_basic.phpt5 function foo(...$args) {
7 var_dump($args);
16 public function __construct(...$args) {
18 var_dump($args);
21 public function bar(...$args) {
23 var_dump($args);
26 public function __invoke(...$args) {
28 var_dump($args);
47 $bar = function(...$args) {
49 var_dump($args);
/PHP-7.3/ext/standard/tests/
H A Dforward_static_call_array.phpt9 $args = func_get_args();
10 echo "C " . join(',', $args) . " \n";
18 $args = func_get_args();
19 echo static::NAME, " " . join(',', $args) . " \n";
30 forward_static_call_array(array('A', 'test'), array('more', 'args'));
31 forward_static_call_array('test', array('other', 'args'));
40 B more,args
41 C other,args
/PHP-7.3/main/streams/
H A Duserspace.c382 4, args, in user_wrapper_opener()
461 2, args, in user_wrapper_opendir()
611 1, args, in php_userstreamop_write()
662 1, args, in php_userstreamop_read()
790 2, args, in php_userstreamop_seek()
1118 1, args, in user_wrapper_unlink()
1163 2, args, in user_wrapper_rename()
1210 3, args, in user_wrapper_mkdir()
1257 2, args, in user_wrapper_rmdir()
1328 3, args, in user_wrapper_metadata()
[all …]
/PHP-7.3/ext/mbstring/oniguruma/doc/
H A DCALLOUTS.API.ja20 typedef int (*OnigCalloutFunc)(OnigCalloutArgs* args, void* user_data);
36 extern int always_success(OnigCalloutArgs* args, void* user_data)
143 # int onig_get_callout_num_by_callout_args(OnigCalloutArgs* args)
149 # OnigCalloutIn onig_get_callout_in_by_callout_args(OnigCalloutArgs* args)
155 # int onig_get_name_id_by_callout_args(OnigCalloutArgs* args)
173 # int onig_get_args_num_by_callout_args(OnigCalloutArgs* args)
180 # int onig_get_passed_args_num_by_callout_args(OnigCalloutArgs* args)
194 # const OnigUChar* onig_get_string_by_callout_args(OnigCalloutArgs* args)
206 # const OnigUChar* onig_get_start_by_callout_args(OnigCalloutArgs* args)
216 # const OnigUChar* onig_get_current_by_callout_args(OnigCalloutArgs* args)
[all …]
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_commands.c83 mysqlnd_com_set_option_run_command(va_list args) in mysqlnd_com_set_option_run_command() argument
131 mysqlnd_com_debug_run_command(va_list args) in mysqlnd_com_debug_run_command() argument
207 mysqlnd_com_init_db_run_command(va_list args) in mysqlnd_com_init_db_run_command() argument
260 mysqlnd_com_ping_run_command(va_list args) in mysqlnd_com_ping_run_command() argument
457 mysqlnd_com_refresh_run_command(va_list args) in mysqlnd_com_refresh_run_command() argument
569 mysqlnd_com_quit_run_command(va_list args) in mysqlnd_com_quit_run_command() argument
624 mysqlnd_com_query_run_command(va_list args) in mysqlnd_com_query_run_command() argument
1309 va_list args; in _mysqlnd_run_command() local
1312 va_start(args, command); in _mysqlnd_run_command()
1324 ret = mysqlnd_com_ping_run_command(args); in _mysqlnd_run_command()
[all …]
/PHP-7.3/main/
H A Dphp_syslog.c41 va_list args; in php_syslog() local
52 va_start(args, format); in php_syslog()
53 vsyslog(priority, format, args); in php_syslog()
54 va_end(args); in php_syslog()
64 va_list args; in php_syslog() local
75 va_start(args, format); in php_syslog()
76 zend_printf_to_smart_string(&fbuf, format, args); in php_syslog()
78 va_end(args); in php_syslog()
H A Dphp_sprintf.c31 va_list args; in php_sprintf() local
34 va_start (args, format); in php_sprintf()
36 ret = vsprintf (s, format, args); in php_sprintf()
37 va_end (args); in php_sprintf()
/PHP-7.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-7.3/Zend/
H A Dzend_sprintf.c32 va_list args; in zend_sprintf() local
34 va_start(args, format); in zend_sprintf()
35 len = vsprintf(buffer, format, args); in zend_sprintf()
36 va_end(args); in zend_sprintf()
/PHP-7.3/ext/standard/tests/file/
H A Dbug22414.phpt10 $args = ' -n ';
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 ;

Completed in 49 milliseconds

12345678910>>...28