Home
last modified time | relevance | path

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

1234567

/PHP-5.4/Zend/
H A Dzend_operators.c707 ZEND_API void multi_convert_to_long_ex(int argc, ...) /* {{{ */ in multi_convert_to_long_ex() argument
712 va_start(ap, argc); in multi_convert_to_long_ex()
714 while (argc--) { in multi_convert_to_long_ex()
723 ZEND_API void multi_convert_to_double_ex(int argc, ...) /* {{{ */ in multi_convert_to_double_ex() argument
728 va_start(ap, argc); in multi_convert_to_double_ex()
730 while (argc--) { in multi_convert_to_double_ex()
739 ZEND_API void multi_convert_to_string_ex(int argc, ...) /* {{{ */ in multi_convert_to_string_ex() argument
744 va_start(ap, argc); in multi_convert_to_string_ex()
746 while (argc--) { in multi_convert_to_string_ex()
H A Dzend_API.c3256 if (argc < 0) { in zend_fcall_info_argp()
3260 zend_fcall_info_args_clear(fci, !argc); in zend_fcall_info_argp()
3262 if (argc) { in zend_fcall_info_argp()
3263 fci->param_count = argc; in zend_fcall_info_argp()
3266 for (i = 0; i < argc; ++i) { in zend_fcall_info_argp()
3280 if (argc < 0) { in zend_fcall_info_argv()
3284 zend_fcall_info_args_clear(fci, !argc); in zend_fcall_info_argv()
3286 if (argc) { in zend_fcall_info_argv()
3287 fci->param_count = argc; in zend_fcall_info_argv()
3290 for (i = 0; i < argc; ++i) { in zend_fcall_info_argv()
[all …]
/PHP-5.4/ext/ereg/
H A Dereg.c303 int argc = ZEND_NUM_ARGS(); in php_ereg() local
305 …if (zend_parse_parameters(argc TSRMLS_CC, "Zs|Z", &regex, &findin, &findin_len, &array) == FAILURE… in php_ereg()
313 if (argc == 2) { in php_ereg()
/PHP-5.4/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c378 int main(int argc, char **argv) in main() argument
386 if (argc <= 1) { in main()
/PHP-5.4/ext/dba/
H A Ddba_db2.c74 if (info->argc > 0) { in DBA_OPEN_FUNC()
H A Ddba_gdbm.c56 if(info->argc > 0) { in DBA_OPEN_FUNC()
H A Ddba_db3.c83 if (info->argc > 0) { in DBA_OPEN_FUNC()
H A Ddba_db4.c120 if (info->argc > 0) {
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_env.c227 for (i = 0; i < fpm_globals.argc; i++) { in fpm_env_init_main()
H A Dfpm_main.c1552 int main(int argc, char *argv[]) argument
1609 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1758 if (argc != php_optind) {
1832 …if (0 > fpm_init(argc, argv, fpm_config ? fpm_config : CGIG(fpm_config), fpm_prefix, fpm_pid, test…
/PHP-5.4/ext/mysqlnd/
H A Dconfig9.m464 int main(int argc, char **argv) {
/PHP-5.4/ext/xml/
H A Dxml.c504 …call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval **argv) in xml_call_handler() argument
515 args = safe_emalloc(sizeof(zval **), argc, 0); in xml_call_handler()
516 for (i = 0; i < argc; i++) { in xml_call_handler()
526 fci.param_count = argc; in xml_call_handler()
547 for (i = 0; i < argc; i++) { in xml_call_handler()
558 for (i = 0; i < argc; i++) { in xml_call_handler()
/PHP-5.4/ext/gd/libgd/
H A Dwbmp.c353 main (int argc, char *argv[]) in main() argument
/PHP-5.4/ext/reflection/
H A Dphp_reflection.c1957 int argc; in ZEND_METHOD() local
1975 params -= argc; in ZEND_METHOD()
1983 fci.param_count = argc; in ZEND_METHOD()
2925 int argc; in ZEND_METHOD() local
2962 params -= argc; in ZEND_METHOD()
2997 fci.param_count = argc; in ZEND_METHOD()
3766 if (argc) { in ZEND_METHOD()
3956 if (argc) { in ZEND_METHOD()
4276 int argc = 0; in ZEND_METHOD() local
4301 if (argc) { in ZEND_METHOD()
[all …]
/PHP-5.4/ext/pcntl/
H A Dpcntl.c746 int argc = 0, argi = 0; in PHP_FUNCTION() local
765 argc = zend_hash_num_elements(args_hash); in PHP_FUNCTION()
767 argv = safe_emalloc((argc + 2), sizeof(char *), 0); in PHP_FUNCTION()
770 (argi < argc && (zend_hash_get_current_data(args_hash, (void **) &element) == SUCCESS)); in PHP_FUNCTION()
/PHP-5.4/ext/standard/
H A Dfilestat.c718 int ret, argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
724 …if (zend_parse_parameters(argc TSRMLS_CC, "p|ll", &filename, &filename_len, &filetime, &fileatime)… in PHP_FUNCTION()
732 switch (argc) { in PHP_FUNCTION()
762 if(argc > 1) { in PHP_FUNCTION()
H A Dfile.c1004 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
1014 if (argc == 1) { in PHP_FUNCTION()
1020 } else if (argc > 1) { in PHP_FUNCTION()
1035 if (argc > 1 && Z_STRLEN_P(return_value) < len / 2) { in PHP_FUNCTION()
1124 int result, format_len, type, argc = 0; in PHP_FUNCTION() local
1131 …s(ZEND_NUM_ARGS() TSRMLS_CC, "rs*", &file_handle, &format, &format_len, &args, &argc) == FAILURE) { in PHP_FUNCTION()
1155 result = php_sscanf_internal(buf, format, argc, args, 0, &return_value TSRMLS_CC); in PHP_FUNCTION()
H A Dstring.c2239 int argc = ZEND_NUM_ARGS(); local
2245 if (argc > 2) {
2309 int argc = ZEND_NUM_ARGS(); local
2337 if (argc > 3) {
2351 (argc == 3 && Z_TYPE_PP(from) == IS_ARRAY) ||
2357 if (argc == 4 && Z_TYPE_PP(from) == IS_ARRAY) {
2435 if (argc > 3 && Z_TYPE_PP(len) == IS_ARRAY) {
2497 if (argc > 3 && Z_TYPE_PP(len) == IS_ARRAY) {
2511 } else if (argc > 3) {
4023 int argc = ZEND_NUM_ARGS(); local
[all …]
H A Dimage.c1396 const int argc = ZEND_NUM_ARGS(); in php_getimagesize_from_any() local
1398 if (zend_parse_parameters(argc TSRMLS_CC, "s|Z", &input, &input_len, &info) == FAILURE) { in php_getimagesize_from_any()
1402 if (argc == 2) { in php_getimagesize_from_any()
/PHP-5.4/ext/mbstring/
H A Dmbstring.c2714 size_t argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
2729 if (argc == 4) { in PHP_FUNCTION()
2740 if (argc < 3 || Z_TYPE_PP(z_len) == IS_NULL) { in PHP_FUNCTION()
2791 size_t argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
2806 if (argc == 4) { in PHP_FUNCTION()
2814 if (argc < 3 || Z_TYPE_PP(z_len) == IS_NULL) { in PHP_FUNCTION()
3548 while (n < argc || stack_level > 0) { in PHP_FUNCTION()
3629 while (n < argc || stack_level > 0) { in PHP_FUNCTION()
3713 size_t argc = ZEND_NUM_ARGS(); in php_mb_numericentity_exec() local
3730 if ((argc == 3 || argc == 4) && encoding_len > 0) { in php_mb_numericentity_exec()
[all …]
/PHP-5.4/ext/sockets/
H A Dsockets.c1568 int argc = ZEND_NUM_ARGS(); local
1570 if (zend_parse_parameters(argc TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1581 if (argc != 3) {
1602 if (argc != 3) {
1947 int argc = ZEND_NUM_ARGS(); local
1949 …if (zend_parse_parameters(argc TSRMLS_CC, "rslls|l", &arg1, &buf, &buf_len, &len, &flags, &addr, &…
1965 if (argc != 6) {
1981 if (argc != 6) {
/PHP-5.4/ext/pdo/
H A Dpdo_stmt.c1879 int flags = 0, argc = ZEND_NUM_ARGS() - skip; in pdo_stmt_setup_fetch_mode() local
1899 if (argc == 0) { in pdo_stmt_setup_fetch_mode()
1936 if (argc != 1) { in pdo_stmt_setup_fetch_mode()
1944 if (argc != 2) { in pdo_stmt_setup_fetch_mode()
1957 if (argc != 1) { in pdo_stmt_setup_fetch_mode()
1964 if (argc < 2) { in pdo_stmt_setup_fetch_mode()
1966 } else if (argc > 3) { in pdo_stmt_setup_fetch_mode()
1987 if (argc == 3) { in pdo_stmt_setup_fetch_mode()
2006 if (argc != 2) { in pdo_stmt_setup_fetch_mode()
/PHP-5.4/main/
H A DSAPI.h112 int argc; member
/PHP-5.4/
H A Drun-tests.php487 if (!isset($argc) || !$argc || !isset($argv)) {
492 $argc = count($argv); variable
495 if (isset($argc) && $argc > 1) {
497 for ($i=1; $i<$argc; $i++) {
H A DREADME.EXT_SKEL165 int argc = ZEND_NUM_ARGS();
175 …if (zend_parse_parameters(argc TSRMLS_CC, "rsrll|l", &image, &text, &text_len, &font, &x, &y, &col…

Completed in 157 milliseconds

1234567