Home
last modified time | relevance | path

Searched refs:param_count (Results 1 – 25 of 40) sorted by relevance

12

/php-src/ext/dom/
H A Dxpath_callbacks.c316 if (param_count == 0) { in php_dom_xpath_callback_fetch_args()
320 zval *params = safe_emalloc(param_count, sizeof(zval), 0); in php_dom_xpath_callback_fetch_args()
323 for (zval *param = params + param_count - 1; param >= params; param--) { in php_dom_xpath_callback_fetch_args()
381 static void php_dom_xpath_callback_cleanup_args(zval *params, uint32_t param_count) in php_dom_xpath_callback_cleanup_args() argument
384 for (uint32_t i = 0; i < param_count; i++) { in php_dom_xpath_callback_cleanup_args()
405 fci.param_count = param_count; in php_dom_xpath_callback_dispatch()
420 zend_call_known_fcc(Z_PTR_P(fcc_wrapper), &callback_retval, param_count, params, NULL); in php_dom_xpath_callback_dispatch()
465 uint32_t param_count = num_args - 1; in php_dom_xpath_callbacks_call_php_ns() local
482 php_dom_xpath_callback_cleanup_args(params, param_count); in php_dom_xpath_callbacks_call_php_ns()
494 uint32_t param_count = num_args; in php_dom_xpath_callbacks_call_custom_ns() local
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt55 if ($stmt->param_count != $num_params * $rows) {
56 … 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stmt->param_count);
59 printf("... statement with %d parameters prepared\n", $stmt->param_count);
77 if ($stmt->param_count != $num_params * $rows) {
78 … 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stmt->param_count);
H A Dmysqli_class_mysqli_stmt_interface.phpt121 assert(mysqli_stmt_param_count($stmt) === $stmt->param_count);
122 printf("stmt->param_count = '%s'\n", $stmt->param_count);
150 param_count
168 stmt->param_count = '0'
H A D057.phpt86 ["param_count"]=>
/php-src/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c481 *copies = mnd_ecalloc(param_count, sizeof(zval)); in mysqlnd_stmt_copy_it()
498 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_free_copies()
541 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_prepare_param_types()
549 PASS != mysqlnd_stmt_copy_it(copies_param, parameter, stmt->param_count, i)) in mysqlnd_stmt_execute_prepare_param_types()
593 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_types()
638 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_calculate_param_values_size()
650 for (j = i + 1; j < stmt->param_count; j++) { in mysqlnd_stmt_execute_calculate_param_values_size()
654 if (PASS != mysqlnd_stmt_copy_it(copies_param, the_var, stmt->param_count, i)) { in mysqlnd_stmt_execute_calculate_param_values_size()
731 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_param_values()
813 unsigned int null_count = (stmt->param_count + 7) / 8; in mysqlnd_stmt_execute_store_params()
[all …]
H A Dmysqlnd_ps.c278 for (;i < stmt->param_count; i++) { in mysqlnd_stmt_skip_metadata()
323 stmt->param_count = prepare_resp.param_count; in mysqlnd_stmt_read_prepare_response()
430 if (stmt->param_count) { in MYSQLND_METHOD()
669 if (stmt->param_count) { in MYSQLND_METHOD()
676 for (i = 0; i < stmt->param_count; i++) { in MYSQLND_METHOD()
1022 if (param_no >= stmt->param_count) { in MYSQLND_METHOD()
1122 if (stmt->param_count) { in MYSQLND_METHOD()
1189 if (param_no >= stmt->param_count) { in MYSQLND_METHOD()
1197 if (stmt->param_count) { in MYSQLND_METHOD()
1248 if (stmt->param_count) { in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_wireprotocol.h243 unsigned int param_count; member
/php-src/ext/zend_test/
H A Dfiber.c138 fiber->target->fci.param_count = 1; in zend_test_fiber_execute()
245 uint32_t param_count; in ZEND_METHOD() local
249 Z_PARAM_VARIADIC_WITH_NAMED(params, param_count, named_params); in ZEND_METHOD()
260 fiber->fci.param_count = param_count; in ZEND_METHOD()
/php-src/ext/soap/
H A Dphp_packet_soap.c28 int param_count = 0; in parse_packet_soap() local
331 param_count++; in parse_packet_soap()
363 ++param_count; in parse_packet_soap()
372 if (param_count == 0) { in parse_packet_soap()
375 } else if (param_count == 1) { in parse_packet_soap()
/php-src/Zend/
H A Dzend_interfaces.c38 …r *function_name, size_t function_name_len, zval *retval_ptr, uint32_t param_count, zval* arg1, zv… in zend_call_method() argument
44 if (param_count > 0) { in zend_call_method()
47 if (param_count > 1) { in zend_call_method()
82 zend_call_known_function(fn, object, called_scope, retval_ptr, param_count, params, NULL); in zend_call_method()
H A Dzend_execute_API.c750 …ion_impl(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[],… in _call_user_function_impl() argument
763 fci.param_count = param_count; in _call_user_function_impl()
826 func, fci->param_count, object_or_called_scope); in zend_call_function()
837 for (i=0; i<fci->param_count; i++) { in zend_call_function()
1045 uint32_t param_count, zval *params, HashTable *named_params) in zend_call_known_function() argument
1056 fci.param_count = param_count; in zend_call_known_function()
1090 uint32_t param_count, zval *params) in zend_call_method_if_exists() argument
1097 fci.param_count = param_count; in zend_call_method_if_exists()
H A Dzend_interfaces.h41 … char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zv…
H A Dzend_API.h51 uint32_t param_count; member
346 ZEND_API zend_result zend_get_parameters_array_ex(uint32_t param_count, zval *argument_array);
349 ZEND_API zend_result zend_copy_parameters_array(uint32_t param_count, zval *argument_array);
351 #define zend_get_parameters_array(ht, param_count, argument_array) \ argument
352 zend_get_parameters_array_ex(param_count, argument_array)
686 _call_user_function_impl(object, function_name, retval_ptr, param_count, params, NULL)
689 _call_user_function_impl(object, function_name, retval_ptr, param_count, params, named_params)
838 uint32_t param_count, zval *params, HashTable *named_params);
856 uint32_t param_count, zval *params) in zend_call_known_instance_method() argument
858 zend_call_known_function(fn, object, object->ce, retval_ptr, param_count, params, NULL); in zend_call_known_instance_method()
[all …]
H A Dzend_API.c56 if (param_count>arg_count) { in zend_get_parameters_array_ex()
60 while (param_count-->0) { in zend_get_parameters_array_ex()
78 if (param_count>arg_count) { in zend_copy_parameters_array()
82 while (param_count-->0) { in zend_copy_parameters_array()
4206 fci->param_count = 0; in zend_fcall_info_init()
4229 fci->param_count = 0; in zend_fcall_info_args_clear()
4235 *param_count = fci->param_count; in zend_fcall_info_args_save()
4237 fci->param_count = 0; in zend_fcall_info_args_save()
4245 fci->param_count = param_count; in zend_fcall_info_args_restore()
4294 fci->param_count = argc; in zend_fcall_info_argp()
[all …]
H A Dzend_closures.c132 fci.param_count = 0; in ZEND_METHOD()
137 Z_PARAM_VARIADIC_WITH_NAMED(fci.params, fci.param_count, fci.named_params) in ZEND_METHOD()
300 fci.param_count = 2; in ZEND_NAMED_FUNCTION()
/php-src/ext/mysqli/
H A Dmysqli_api.c435 unsigned int param_count; in PHP_FUNCTION() local
444 param_count = mysql_stmt_param_count(stmt->stmt); in PHP_FUNCTION()
445 if (hash_num_elements != param_count) { in PHP_FUNCTION()
446 …r(ERROR_ARG_POS(2), "must consist of exactly %d elements, %d present", param_count, hash_num_eleme… in PHP_FUNCTION()
544 unsigned int param_count; in PHP_FUNCTION() local
556 param_count = mysql_stmt_param_count(stmt->stmt); in PHP_FUNCTION()
557 if (hash_num_elements != param_count) { in PHP_FUNCTION()
561 …r(ERROR_ARG_POS(3), "must consist of exactly %d elements, %d present", param_count, hash_num_eleme… in PHP_FUNCTION()
/php-src/ext/pdo/
H A Dpdo_stmt.c634 fci->param_count = 0; in do_fetch_class_prepare()
669 fci->param_count = num_args; /* probably less */ in make_callable_ex()
707 stmt->fetch.cls.fci.param_count = 0; in do_fetch_opt_finish()
812 old_arg_count = stmt->fetch.cls.fci.param_count; in do_fetch()
1044 stmt->fetch.cls.fci.param_count = old_arg_count; in do_fetch()
1049 stmt->fetch.func.fci.param_count = idx; in do_fetch()
1193 old_arg_count = stmt->fetch.cls.fci.param_count; in PHP_METHOD()
1216 stmt->fetch.cls.fci.param_count = old_arg_count; in PHP_METHOD()
1267 old_arg_count = stmt->fetch.cls.fci.param_count; in PHP_METHOD()
1391 stmt->fetch.cls.fci.param_count = old_arg_count; in PHP_METHOD()
/php-src/ext/standard/
H A Dbasic_functions.c1458 Z_PARAM_VARIADIC_WITH_NAMED(fci.params, fci.param_count, fci.named_params)
1508 Z_PARAM_VARIADIC('*', fci.params, fci.param_count)
1694 uint32_t param_count = 0; local
1697 …arameters(ZEND_NUM_ARGS(), "f*", &entry.fci, &entry.fci_cache, &params, &param_count) == FAILURE) {
1702 zend_fcall_info_argp(&entry.fci, param_count, params);
2282 uint32_t param_count = 0; local
2284 …eters(ZEND_NUM_ARGS(), "f*", &tick_fe.fci, &tick_fe.fci_cache, &params, &param_count) == FAILURE) {
2290 zend_fcall_info_argp(&tick_fe.fci, param_count, params);
H A Darray.c825 BG(user_compare_fci).param_count = 2; in php_array_user_compare_unstable()
951 BG(user_compare_fci).param_count = 2; in php_array_user_key_compare_unstable()
1487 fci.param_count = userdata ? 3 : 2; in php_array_walk()
5048 BG(user_compare_fci).param_count = 2;
6473 fci.param_count = 2;
6528 fci.param_count = 2;
6531 fci.param_count = 1;
6623 fci.param_count = 1;
6736 fci.param_count = n_arrays;
/php-src/ext/intl/uchar/
H A Duchar.c179 context->fci.param_count = 3; in enumCharType_callback()
280 context->fci.param_count = 3; in enumCharNames_callback()
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.c351 collation->fc.fci.param_count = 2; in php_sqlite_collation_callback()
H A Dsqlite_driver.c331 fc->fci.param_count = fake_argc; in do_callback()
473 collation->fc.fci.param_count = 2; in php_sqlite3_collation_callback()
/php-src/ext/curl/
H A Dinterface.c599 fci.param_count = 2; in curl_write()
644 fci.param_count = 3; in curl_fnmatch()
692 fci.param_count = 5; in curl_progress()
740 fci.param_count = 5; in curl_xferinfo()
787 fci.param_count = 4; in curl_ssh_hostkeyfunction()
848 fci.param_count = 3; in curl_read()
912 fci.param_count = 2; in curl_write_header()
H A Dmulti.c410 fci.param_count = 3; in _php_server_push_callback()
/php-src/ext/intl/converter/
H A Dconverter.c229 objval->to_cb.param_count = 4; in php_converter_to_u_callback()
310 objval->from_cb.param_count = 4; in php_converter_from_u_callback()

Completed in 401 milliseconds

12