Home
last modified time | relevance | path

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

123456

/PHP-7.2/ext/dba/
H A Ddba_db3.c86 if (info->argc > 0) {
H A Ddba_db4.c119 if (info->argc > 0) {
H A Ddba_lmdb.c49 if(info->argc > 0) { in DBA_OPEN_FUNC()
/PHP-7.2/ext/gd/libgd/
H A Dwbmp.c356 main (int argc, char *argv[]) in main() argument
/PHP-7.2/ext/pdo/
H A Dpdo_stmt.c1841 int flags = 0, argc = ZEND_NUM_ARGS() - skip; in pdo_stmt_setup_fetch_mode() local
1861 if (argc == 0) { in pdo_stmt_setup_fetch_mode()
1898 if (argc != 1) { in pdo_stmt_setup_fetch_mode()
1906 if (argc != 2) { in pdo_stmt_setup_fetch_mode()
1919 if (argc != 1) { in pdo_stmt_setup_fetch_mode()
1926 if (argc < 2) { in pdo_stmt_setup_fetch_mode()
1928 } else if (argc > 3) { in pdo_stmt_setup_fetch_mode()
1948 if (argc == 3) { in pdo_stmt_setup_fetch_mode()
1965 if (argc != 2) { in pdo_stmt_setup_fetch_mode()
/PHP-7.2/ext/standard/
H A Dstreamsfuncs.c1364 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
1378 if (argc == 3) { in PHP_FUNCTION()
1387 if (argc == 3) { in PHP_FUNCTION()
1676 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
1706 if (argc == 1) { in PHP_FUNCTION()
H A Dfilestat.c626 int ret, argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
643 switch (argc) { in PHP_FUNCTION()
673 if(argc > 1) { in PHP_FUNCTION()
H A Dfile.c1018 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
1031 if (argc == 1) { in PHP_FUNCTION()
1040 } else if (argc > 1) { in PHP_FUNCTION()
1144 int result, argc = 0; in PHP_FUNCTION() local
1155 Z_PARAM_VARIADIC('*', args, argc) in PHP_FUNCTION()
1172 result = php_sscanf_internal(buf, format, argc, args, 0, return_value); in PHP_FUNCTION()
H A Dstring.c2375 int argc = ZEND_NUM_ARGS(); local
2384 if (argc > 2) {
2454 int argc = ZEND_NUM_ARGS(); local
2477 if (argc > 3) {
2490 (argc == 3 && Z_TYPE_P(from) == IS_ARRAY) ||
2491 (argc == 4 && Z_TYPE_P(from) != Z_TYPE_P(len))
2496 if (argc == 4 && Z_TYPE_P(from) == IS_ARRAY) {
2620 if (argc > 3 && Z_TYPE_P(len) == IS_ARRAY) {
2634 } else if (argc > 3) {
4101 int argc = ZEND_NUM_ARGS(); local
[all …]
H A Dbasic_functions.c4253 static void free_argv(char **argv, int argc) argument
4258 for (i = 0; i < argc; i++) {
4331 int argc = 0, len, o; local
4366 argc = zend_hash_num_elements(Z_ARRVAL_P(args));
4370 argv = (char **) safe_emalloc(sizeof(char *), (argc + 1), 0);
4383 argv[argc] = NULL;
4442 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
4501 free_argv(argv, argc);
4746 int opt_err = 0, argc = ZEND_NUM_ARGS(); local
4757 if (argc > 1) {
/PHP-7.2/main/
H A DSAPI.h113 int argc; member
/PHP-7.2/Zend/
H A Dzend_operators.c685 ZEND_API void multi_convert_to_long_ex(int argc, ...) /* {{{ */ in multi_convert_to_long_ex() argument
690 va_start(ap, argc); in multi_convert_to_long_ex()
692 while (argc--) { in multi_convert_to_long_ex()
701 ZEND_API void multi_convert_to_double_ex(int argc, ...) /* {{{ */ in multi_convert_to_double_ex() argument
706 va_start(ap, argc); in multi_convert_to_double_ex()
708 while (argc--) { in multi_convert_to_double_ex()
717 ZEND_API void multi_convert_to_string_ex(int argc, ...) /* {{{ */ in multi_convert_to_string_ex() argument
722 va_start(ap, argc); in multi_convert_to_string_ex()
724 while (argc--) { in multi_convert_to_string_ex()
H A Dzend_API.c3614 if (argc < 0) { in zend_fcall_info_argp()
3618 zend_fcall_info_args_clear(fci, !argc); in zend_fcall_info_argp()
3620 if (argc) { in zend_fcall_info_argp()
3621 fci->param_count = argc; in zend_fcall_info_argp()
3624 for (i = 0; i < argc; ++i) { in zend_fcall_info_argp()
3638 if (argc < 0) { in zend_fcall_info_argv()
3642 zend_fcall_info_args_clear(fci, !argc); in zend_fcall_info_argv()
3644 if (argc) { in zend_fcall_info_argv()
3645 fci->param_count = argc; in zend_fcall_info_argv()
3648 for (i = 0; i < argc; ++i) { in zend_fcall_info_argv()
[all …]
H A Dzend_operators.h258 ZEND_API void multi_convert_to_long_ex(int argc, ...);
259 ZEND_API void multi_convert_to_double_ex(int argc, ...);
260 ZEND_API void multi_convert_to_string_ex(int argc, ...);
/PHP-7.2/ext/sockets/
H A Dsockets.c1485 int argc = ZEND_NUM_ARGS(); local
1487 if (zend_parse_parameters(argc, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1500 if (argc != 3) {
1521 if (argc != 3) {
1890 int argc = ZEND_NUM_ARGS(); local
1892 …if (zend_parse_parameters(argc, "rslls|l", &arg1, &buf, &buf_len, &len, &flags, &addr, &addr_len, …
1915 if (argc != 6) {
1931 if (argc != 6) {
/PHP-7.2/ext/pcntl/
H A Dpcntl.c915 int argc = 0, argi = 0; in PHP_FUNCTION() local
932 argc = zend_hash_num_elements(args_hash); in PHP_FUNCTION()
934 argv = safe_emalloc((argc + 2), sizeof(char *), 0); in PHP_FUNCTION()
938 if (argi >= argc) break; in PHP_FUNCTION()
/PHP-7.2/
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.php517 if (!isset($argc, $argv) || !$argc) {
522 $argc = count($argv); variable
525 if (isset($argc) && $argc > 1) {
527 for ($i=1; $i<$argc; $i++) {
H A Dserver-tests.php621 global $argc;
627 $argc = $_SERVER['argc'];
631 for ($i=1; $i<$argc;) {
H A Dconfig.guess458 int main (int argc, char *argv[]) {
460 int main (argc, argv) int argc; char *argv[]; {
/PHP-7.2/sapi/fpm/fpm/
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.2/ext/fileinfo/libmagic/
H A Dder.c388 main(int argc, char *argv[]) in main() argument
/PHP-7.2/ext/exif/
H A Dtest.txt114 global $argc, $argv;
117 if ( $argc > 1) {

Completed in 128 milliseconds

123456