Home
last modified time | relevance | path

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

12

/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt54 if ($stmt->param_count != $num_params * $rows) {
55 … 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stmt->param_count);
58 printf("... statement with %d parameters prepared\n", $stmt->param_count);
76 if ($stmt->param_count != $num_params * $rows) {
77 … 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stmt->param_count);
H A Dmysqli_class_mysqli_stmt_interface.phpt124 assert(mysqli_stmt_param_count($stmt) === $stmt->param_count);
125 printf("stmt->param_count = '%s'\n", $stmt->param_count);
153 param_count
171 stmt->param_count = '0'
H A D057.phpt86 ["param_count"]=>
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c549 *copies = mnd_ecalloc(param_count, sizeof(zval)); in mysqlnd_stmt_copy_it()
566 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_free_copies()
609 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_prepare_param_types()
617 PASS != mysqlnd_stmt_copy_it(copies_param, parameter, stmt->param_count, i)) in mysqlnd_stmt_execute_prepare_param_types()
661 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_types()
706 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_calculate_param_values_size()
718 for (j = i + 1; j < stmt->param_count; j++) { in mysqlnd_stmt_execute_calculate_param_values_size()
722 if (PASS != mysqlnd_stmt_copy_it(copies_param, the_var, stmt->param_count, i)) { in mysqlnd_stmt_execute_calculate_param_values_size()
799 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_param_values()
881 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()
666 if (stmt->param_count) { in MYSQLND_METHOD()
673 for (i = 0; i < stmt->param_count; i++) { in MYSQLND_METHOD()
1019 if (param_no >= stmt->param_count) { in MYSQLND_METHOD()
1119 if (stmt->param_count) { in MYSQLND_METHOD()
1186 if (param_no >= stmt->param_count) { in MYSQLND_METHOD()
1194 if (stmt->param_count) { in MYSQLND_METHOD()
1245 if (stmt->param_count) { in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_wireprotocol.h243 unsigned int param_count; member
/PHP-8.1/ext/zend_test/
H A Dfiber.c134 fiber->target->fci.param_count = 1; in zend_test_fiber_execute()
242 uint32_t param_count; in ZEND_METHOD() local
246 Z_PARAM_VARIADIC_WITH_NAMED(params, param_count, named_params); in ZEND_METHOD()
257 fiber->fci.param_count = param_count; in ZEND_METHOD()
/PHP-8.1/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-8.1/ext/dom/
H A Dxpath.c78 fci.param_count = nargs - 1; in dom_xpath_ext_function_php()
79 if (fci.param_count > 0) { in dom_xpath_ext_function_php()
80 fci.params = safe_emalloc(fci.param_count, sizeof(zval), 0); in dom_xpath_ext_function_php()
83 for (i = fci.param_count - 1; i >= 0; i--) { in dom_xpath_ext_function_php()
187 if (fci.param_count > 0) { in dom_xpath_ext_function_php()
/PHP-8.1/ext/xsl/
H A Dxsltprocessor.c149 fci.param_count = nargs - 1; in xsl_ext_function_php()
150 if (fci.param_count > 0) { in xsl_ext_function_php()
151 args = safe_emalloc(fci.param_count, sizeof(zval), 0); in xsl_ext_function_php()
154 for (i = fci.param_count - 1; i >= 0; i--) { in xsl_ext_function_php()
223 if (fci.param_count > 0) { in xsl_ext_function_php()
235 if (fci.param_count > 0) { in xsl_ext_function_php()
293 if (fci.param_count > 0) { in xsl_ext_function_php()
/PHP-8.1/Zend/
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_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_API.h49 uint32_t param_count; member
323 ZEND_API zend_result _zend_get_parameters_array_ex(uint32_t param_count, zval *argument_array);
326 ZEND_API zend_result zend_copy_parameters_array(uint32_t param_count, zval *argument_array);
328 #define zend_get_parameters_array(ht, param_count, argument_array) \ argument
329 _zend_get_parameters_array_ex(param_count, argument_array)
330 #define zend_get_parameters_array_ex(param_count, argument_array) \ argument
331 _zend_get_parameters_array_ex(param_count, argument_array)
594 _call_user_function_impl(object, function_name, retval_ptr, param_count, params, NULL)
663 uint32_t param_count, zval *params, HashTable *named_params);
668 uint32_t param_count, zval *params) in zend_call_known_instance_method() argument
[all …]
H A Dzend_execute_API.c717 …ion_impl(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[],… in _call_user_function_impl() argument
725 fci.param_count = param_count; in _call_user_function_impl()
786 func, fci->param_count, object_or_called_scope); in zend_call_function()
797 for (i=0; i<fci->param_count; i++) { in zend_call_function()
1000 uint32_t param_count, zval *params, HashTable *named_params) in zend_call_known_function() argument
1011 fci.param_count = param_count; in zend_call_known_function()
H A Dzend_API.c53 if (param_count>arg_count) { in _zend_get_parameters_array_ex()
57 while (param_count-->0) { in _zend_get_parameters_array_ex()
75 if (param_count>arg_count) { in zend_copy_parameters_array()
79 while (param_count-->0) { in zend_copy_parameters_array()
3926 fci->param_count = 0; in zend_fcall_info_init()
3949 fci->param_count = 0; in zend_fcall_info_args_clear()
3955 *param_count = fci->param_count; in zend_fcall_info_args_save()
3957 fci->param_count = 0; in zend_fcall_info_args_save()
3965 fci->param_count = param_count; in zend_fcall_info_args_restore()
4014 fci->param_count = argc; in zend_fcall_info_argp()
[all …]
H A Dzend_closures.c128 fci.param_count = 0; in ZEND_METHOD()
133 Z_PARAM_VARIADIC_WITH_NAMED(fci.params, fci.param_count, fci.named_params) in ZEND_METHOD()
278 fci.param_count = 2; in ZEND_NAMED_FUNCTION()
/PHP-8.1/ext/pdo/
H A Dpdo_stmt.c635 fci->param_count = 0; in do_fetch_class_prepare()
670 fci->param_count = num_args; /* probably less */ in make_callable_ex()
708 stmt->fetch.cls.fci.param_count = 0; in do_fetch_opt_finish()
818 old_arg_count = stmt->fetch.cls.fci.param_count; in do_fetch()
1050 stmt->fetch.cls.fci.param_count = old_arg_count; in do_fetch()
1055 stmt->fetch.func.fci.param_count = idx; in do_fetch()
1199 old_arg_count = stmt->fetch.cls.fci.param_count; in PHP_METHOD()
1222 stmt->fetch.cls.fci.param_count = old_arg_count; in PHP_METHOD()
1273 old_arg_count = stmt->fetch.cls.fci.param_count; in PHP_METHOD()
1397 stmt->fetch.cls.fci.param_count = old_arg_count; in PHP_METHOD()
/PHP-8.1/ext/standard/
H A Dbasic_functions.c1555 Z_PARAM_VARIADIC_WITH_NAMED(fci.params, fci.param_count, fci.named_params)
1605 Z_PARAM_VARIADIC('*', fci.params, fci.param_count)
1791 uint32_t param_count = 0; local
1794 …arameters(ZEND_NUM_ARGS(), "f*", &entry.fci, &entry.fci_cache, &params, &param_count) == FAILURE) {
1799 zend_fcall_info_argp(&entry.fci, param_count, params);
2360 uint32_t param_count = 0; local
2362 …eters(ZEND_NUM_ARGS(), "f*", &tick_fe.fci, &tick_fe.fci_cache, &params, &param_count) == FAILURE) {
2368 zend_fcall_info_argp(&tick_fe.fci, param_count, params);
H A Darray.c877 BG(user_compare_fci).param_count = 2; in php_array_user_compare_unstable()
1003 BG(user_compare_fci).param_count = 2; in php_array_user_key_compare_unstable()
1369 fci.param_count = userdata ? 3 : 2; in php_array_walk()
4541 BG(user_compare_fci).param_count = 2;
5849 fci.param_count = 2;
5904 fci.param_count = 2;
5907 fci.param_count = 1;
5999 fci.param_count = 1;
6085 fci.param_count = n_arrays;
/PHP-8.1/ext/intl/uchar/
H A Duchar.c178 context->fci.param_count = 3; in enumCharType_callback()
279 context->fci.param_count = 3; in enumCharNames_callback()
/PHP-8.1/ext/pdo_sqlite/
H A Dsqlite_driver.c346 fc->fci.param_count = fake_argc; in do_callback()
500 collation->fc.fci.param_count = 2; in php_sqlite3_collation_callback()
/PHP-8.1/ext/intl/converter/
H A Dconverter.c229 objval->to_cb.param_count = 4; in php_converter_to_u_callback()
311 objval->from_cb.param_count = 4; in php_converter_from_u_callback()
/PHP-8.1/ext/mysqli/
H A Dmysqli_api.c830 unsigned int param_count; local
839 param_count = mysql_stmt_param_count(stmt->stmt);
840 if (hash_num_elements != param_count) {
841 …r(ERROR_ARG_POS(2), "must consist of exactly %d elements, %d present", param_count, hash_num_eleme…
H A Dmysqli.stub.php571 public int $param_count; variable in mysqli_stmt
/PHP-8.1/ext/curl/
H A Dinterface.c1390 fci.param_count = 2; in curl_write()
1435 fci.param_count = 3; in curl_fnmatch()
1483 fci.param_count = 5; in curl_progress()
1536 fci.param_count = 3; in curl_read()
1600 fci.param_count = 2; in curl_write_header()

Completed in 499 milliseconds

12