Home
last modified time | relevance | path

Searched refs:argc (Results 101 – 125 of 153) sorted by relevance

1234567

/PHP-7.1/ext/gd/
H A Dgd.c2535 int argc = ZEND_NUM_ARGS(); in _php_image_output() local
2550 if (argc > 1) { in _php_image_output()
2552 if (argc >= 3) { in _php_image_output()
2554 if (argc == 4) { in _php_image_output()
3315 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
3325 if (argc > 1) { in PHP_FUNCTION()
3338 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
3350 if (argc > 1) { in PHP_FUNCTION()
3868 int argc = ZEND_NUM_ARGS(); in php_imagettftext_common() local
3872 if (argc < 4 || argc > ((extended) ? 5 : 4)) { in php_imagettftext_common()
[all …]
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_env.c226 for (i = 0; i < fpm_globals.argc; i++) { in fpm_env_init_main()
H A Dfpm_main.c1570 int main(int argc, char *argv[]) argument
1634 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1787 if (argc != php_optind) {
1861 …if (0 > fpm_init(argc, argv, fpm_config ? fpm_config : CGIG(fpm_config), fpm_prefix, fpm_pid, test…
H A Dfpm_process_ctl.c267 saved_argc = fpm_globals.argc; in fpm_pctl_init_main()
/PHP-7.1/ext/standard/
H A Dfilestat.c631 int ret, argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
637 …if (zend_parse_parameters(argc, "p|ll", &filename, &filename_len, &filetime, &fileatime) == FAILUR… in PHP_FUNCTION()
645 switch (argc) { in PHP_FUNCTION()
675 if(argc > 1) { in PHP_FUNCTION()
H A Dstreamsfuncs.c1320 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
1322 if (zend_parse_parameters(argc, "rl|l", &socket, &seconds, &microseconds) == FAILURE) { in PHP_FUNCTION()
1331 if (argc == 3) { in PHP_FUNCTION()
1340 if (argc == 3) { in PHP_FUNCTION()
H A Dfile.c998 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
1011 if (argc == 1) { in PHP_FUNCTION()
1020 } else if (argc > 1) { in PHP_FUNCTION()
1121 int result, argc = 0; in PHP_FUNCTION() local
1129 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs*", &file_handle, &format, &format_len, &args, &argc in PHP_FUNCTION()
1147 result = php_sscanf_internal(buf, format, argc, args, 0, return_value); in PHP_FUNCTION()
H A Dimage.c1471 const int argc = ZEND_NUM_ARGS(); in php_getimagesize_from_any() local
1473 if (zend_parse_parameters(argc, "s|z/", &input, &input_len, &info) == FAILURE) { in php_getimagesize_from_any()
1477 if (argc == 2) { in php_getimagesize_from_any()
H A Dstring.c2335 int argc = ZEND_NUM_ARGS(); local
2344 if (argc > 2) {
2406 int argc = ZEND_NUM_ARGS(); local
2425 if (argc > 3) {
2438 (argc == 3 && Z_TYPE_P(from) == IS_ARRAY) ||
2439 (argc == 4 && Z_TYPE_P(from) != Z_TYPE_P(len))
2444 if (argc == 4 && Z_TYPE_P(from) == IS_ARRAY) {
2568 if (argc > 3 && Z_TYPE_P(len) == IS_ARRAY) {
2582 } else if (argc > 3) {
4043 int argc = ZEND_NUM_ARGS(); local
[all …]
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg.c1366 int main(int argc, char **argv) /* {{{ */ in main() argument
1459 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in main()
1610 if (!read_from_stdin && argc > php_optind) { in main()
1802 SG(request_info).argc = argc - php_optind + 1; in main()
1803 SG(request_info).argv = emalloc(SG(request_info).argc * sizeof(char *)); in main()
1804 for (i = SG(request_info).argc; --i;) { in main()
2076 for (i = SG(request_info).argc; i--;) { in main()
/PHP-7.1/ext/dba/
H A Ddba_db3.c86 if (info->argc > 0) {
H A Ddba_db4.c119 if (info->argc > 0) {
/PHP-7.1/ext/gd/libgd/
H A Dwbmp.c356 main (int argc, char *argv[]) in main() argument
/PHP-7.1/ext/sockets/
H A Dsockets.c1421 int argc = ZEND_NUM_ARGS(); local
1423 if (zend_parse_parameters(argc, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1436 if (argc != 3) {
1457 if (argc != 3) {
1824 int argc = ZEND_NUM_ARGS(); local
1826 …if (zend_parse_parameters(argc, "rslls|l", &arg1, &buf, &buf_len, &len, &flags, &addr, &addr_len, …
1849 if (argc != 6) {
1865 if (argc != 6) {
/PHP-7.1/ext/pdo/
H A Dpdo_stmt.c1835 int flags = 0, argc = ZEND_NUM_ARGS() - skip; in pdo_stmt_setup_fetch_mode() local
1855 if (argc == 0) { in pdo_stmt_setup_fetch_mode()
1892 if (argc != 1) { in pdo_stmt_setup_fetch_mode()
1900 if (argc != 2) { in pdo_stmt_setup_fetch_mode()
1913 if (argc != 1) { in pdo_stmt_setup_fetch_mode()
1920 if (argc < 2) { in pdo_stmt_setup_fetch_mode()
1922 } else if (argc > 3) { in pdo_stmt_setup_fetch_mode()
1942 if (argc == 3) { in pdo_stmt_setup_fetch_mode()
1959 if (argc != 2) { in pdo_stmt_setup_fetch_mode()
/PHP-7.1/main/
H A DSAPI.h114 int argc; member
/PHP-7.1/Zend/
H A Dzend_API.c3520 if (argc < 0) { in zend_fcall_info_argp()
3524 zend_fcall_info_args_clear(fci, !argc); in zend_fcall_info_argp()
3526 if (argc) { in zend_fcall_info_argp()
3527 fci->param_count = argc; in zend_fcall_info_argp()
3530 for (i = 0; i < argc; ++i) { in zend_fcall_info_argp()
3544 if (argc < 0) { in zend_fcall_info_argv()
3548 zend_fcall_info_args_clear(fci, !argc); in zend_fcall_info_argv()
3550 if (argc) { in zend_fcall_info_argv()
3551 fci->param_count = argc; in zend_fcall_info_argv()
3554 for (i = 0; i < argc; ++i) { in zend_fcall_info_argv()
[all …]
H A Dzend_operators.c699 ZEND_API void multi_convert_to_long_ex(int argc, ...) /* {{{ */ in multi_convert_to_long_ex() argument
704 va_start(ap, argc); in multi_convert_to_long_ex()
706 while (argc--) { in multi_convert_to_long_ex()
715 ZEND_API void multi_convert_to_double_ex(int argc, ...) /* {{{ */ in multi_convert_to_double_ex() argument
720 va_start(ap, argc); in multi_convert_to_double_ex()
722 while (argc--) { in multi_convert_to_double_ex()
731 ZEND_API void multi_convert_to_string_ex(int argc, ...) /* {{{ */ in multi_convert_to_string_ex() argument
736 va_start(ap, argc); in multi_convert_to_string_ex()
738 while (argc--) { in multi_convert_to_string_ex()
H A Dzend_operators.h261 ZEND_API void multi_convert_to_long_ex(int argc, ...);
262 ZEND_API void multi_convert_to_double_ex(int argc, ...);
263 ZEND_API void multi_convert_to_string_ex(int argc, ...);
/PHP-7.1/ext/pcntl/
H A Dpcntl.c901 int argc = 0, argi = 0; in PHP_FUNCTION() local
918 argc = zend_hash_num_elements(args_hash); in PHP_FUNCTION()
920 argv = safe_emalloc((argc + 2), sizeof(char *), 0); in PHP_FUNCTION()
924 if (argi >= argc) break; in PHP_FUNCTION()
/PHP-7.1/
H A D.gdbinit34 if $argc == 0
518 if $argc > 2
597 if $argc == 2
H A DREADME.EXT_SKEL165 int argc = ZEND_NUM_ARGS();
175 …if (zend_parse_parameters(argc, "rsrll|l", &image, &text, &text_len, &font, &x, &y, &color) == FAI…
H A Drun-tests.php497 if (!isset($argc) || !$argc || !isset($argv)) {
502 $argc = count($argv); variable
505 if (isset($argc) && $argc > 1) {
507 for ($i=1; $i<$argc; $i++) {
H A Dserver-tests.php621 global $argc;
627 $argc = $_SERVER['argc'];
631 for ($i=1; $i<$argc;) {
/PHP-7.1/ext/exif/
H A Dtest.txt114 global $argc, $argv;
117 if ( $argc > 1) {

Completed in 234 milliseconds

1234567