Home
last modified time | relevance | path

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

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt13 function bind_many($offset, $link, $num_params, $rows, $eval = true) {
22 for ($i = 0; $i < $num_params; $i++) {
32 $stmt_types = str_repeat("i", $num_params * $rows);
40 printf("Testing %d columns with %d rows...\n", $num_params, $rows);
52 if ($stmt->param_count != $num_params * $rows) {
53 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
66 for ($j = 0; $j < $num_params; $j++)
74 if ($stmt->param_count != $num_params * $rows) {
75 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
95 for ($i = 0; $i < $num_params; $i++) {
/PHP-7.4/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-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_native.phpt139 for ($num_params = 2; $num_params < 100; $num_params++) {
141 for ($i = 1; $i < $num_params; $i++) {
224 for ($num_params = 2; $num_params < 100; $num_params++) {
226 for ($i = 1; $i < $num_params; $i++) {
H A Dpdo_mysql_prepare_emulated.phpt127 for ($num_params = 2; $num_params < 100; $num_params++) {
129 for ($i = 1; $i < $num_params; $i++) {
232 for ($num_params = 2; $num_params < 100; $num_params++) {
234 for ($i = 1; $i < $num_params; $i++) {
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_driver.c227 S->num_params = mysql_stmt_param_count(S->stmt); in mysql_handle_preparer()
229 if (S->num_params) { in mysql_handle_preparer()
234 S->params = ecalloc(S->num_params, sizeof(MYSQL_BIND)); in mysql_handle_preparer()
235 S->in_null = ecalloc(S->num_params, sizeof(my_bool)); in mysql_handle_preparer()
236 S->in_length = ecalloc(S->num_params, sizeof(zend_ulong)); in mysql_handle_preparer()
H A Dphp_pdo_mysql_int.h140 int num_params; member
H A Dmysql_statement.c169 memset(S->params, 0, S->num_params * sizeof(MYSQL_BIND)); in pdo_mysql_stmt_execute_prepared_libmysql()
471 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook()
487 if (S->params_given < (unsigned int) S->num_params) { in pdo_mysql_stmt_param_hook()
/PHP-7.4/ext/pgsql/
H A Dpgsql.c1919 if (num_params > 0) {
1921 for (i = 0; i < num_params; i++) {
1943 int num_params = 0; local
1981 if (num_params > 0) {
2022 _php_pgsql_free_params(params, num_params);
2146 int num_params = 0; local
2184 if (num_params > 0) {
4968 int num_params = 0; local
4997 if (num_params > 0) {
5139 int num_params = 0; local
[all …]
/PHP-7.4/ext/soap/
H A Dsoap.c40 int num_params; member
1491 int num_params = 0, size, i, call_status = 0; local
1831 call_status = call_user_function(NULL, soap_obj, &function_name, &retval, num_params, params);
1955 i = h->num_params;
1968 if (num_params > 0) {
1969 for (i = 0; i < num_params;i++) {
3332 *num_params = num_of_params;
3385 (*num_params) = num_of_params;
3645 h->num_params = 1;
3655 deserialize_parameters(hdr_func, h->function, &h->num_params, &h->parameters);
[all …]

Completed in 55 milliseconds