Home
last modified time | relevance | path

Searched refs:num_params (Results 1 – 10 of 10) sorted by relevance

/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt15 function bind_many($offset, $link, $num_params, $rows, $eval = true) {
24 for ($i = 0; $i < $num_params; $i++) {
34 $stmt_types = str_repeat("i", $num_params * $rows);
42 printf("Testing %d columns with %d rows...\n", $num_params, $rows);
54 if ($stmt->param_count != $num_params * $rows) {
55 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
68 for ($j = 0; $j < $num_params; $j++)
76 if ($stmt->param_count != $num_params * $rows) {
77 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
97 for ($i = 0; $i < $num_params; $i++) {
H A Dfake_server.inc268 $pr1->num_params = '0000';
/PHP-8.1/scripts/dev/
H A Dfind_tested.php30 $num_params = $argc; variable
31 if ($num_params < 2 || $num_params > 3) {
37 if ($num_params == 3) {
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_native.phpt142 for ($num_params = 2; $num_params < 100; $num_params++) {
144 for ($i = 1; $i < $num_params; $i++) {
227 for ($num_params = 2; $num_params < 100; $num_params++) {
229 for ($i = 1; $i < $num_params; $i++) {
H A Dpdo_mysql_prepare_emulated.phpt131 for ($num_params = 2; $num_params < 100; $num_params++) {
133 for ($i = 1; $i < $num_params; $i++) {
236 for ($num_params = 2; $num_params < 100; $num_params++) {
238 for ($i = 1; $i < $num_params; $i++) {
/PHP-8.1/ext/pgsql/
H A Dpgsql.c1138 if (num_params > 0) { in _php_pgsql_free_params()
1140 for (i = 0; i < num_params; i++) { in _php_pgsql_free_params()
1157 int num_params = 0; in PHP_FUNCTION() local
1194 if (num_params > 0) { in PHP_FUNCTION()
1230 _php_pgsql_free_params(params, num_params); in PHP_FUNCTION()
1343 int num_params = 0; in PHP_FUNCTION() local
1380 if (num_params > 0) { in PHP_FUNCTION()
3716 int num_params = 0; in PHP_FUNCTION() local
3745 if (num_params > 0) { in PHP_FUNCTION()
3883 int num_params = 0; in PHP_FUNCTION() local
[all …]
/PHP-8.1/ext/pdo_mysql/
H A Dmysql_driver.c232 S->num_params = mysql_stmt_param_count(S->stmt); in mysql_handle_preparer()
234 if (S->num_params) { in mysql_handle_preparer()
238 S->params = ecalloc(S->num_params, sizeof(MYSQL_BIND)); in mysql_handle_preparer()
239 S->in_null = ecalloc(S->num_params, sizeof(my_bool)); in mysql_handle_preparer()
240 S->in_length = ecalloc(S->num_params, sizeof(zend_ulong)); in mysql_handle_preparer()
H A Dphp_pdo_mysql_int.h129 int num_params; member
H A Dmysql_statement.c274 memset(S->params, 0, S->num_params * sizeof(MYSQL_BIND)); in pdo_mysql_stmt_execute_prepared_libmysql()
320 if (num_bound_params < (uint32_t) S->num_params) { in pdo_mysql_stmt_execute()
400 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook()
/PHP-8.1/ext/soap/
H A Dsoap.c40 int num_params; member
1201 int num_params = 0, size, i, call_status = 0; local
1501 call_status = call_user_function(NULL, soap_obj, &function_name, &retval, num_params, params);
1627 i = h->num_params;
1640 if (num_params > 0) {
1641 for (i = 0; i < num_params;i++) {
2900 *num_params = num_of_params;
2953 (*num_params) = num_of_params;
3213 h->num_params = 1;
3223 deserialize_parameters(hdr_func, h->function, &h->num_params, &h->parameters);
[all …]

Completed in 40 milliseconds