Home
last modified time | relevance | path

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

/PHP-7.1/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.1/scripts/dev/
H A Dfind_tested.php29 $num_params = $argc; variable
30 if ($num_params < 2 || $num_params > 3) {
36 if ($num_params == 3) {
/PHP-7.1/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.1/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.h139 int num_params; member
H A Dmysql_statement.c173 memset(S->params, 0, S->num_params * sizeof(MYSQL_BIND)); in pdo_mysql_stmt_execute_prepared_libmysql()
469 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook()
485 if (S->params_given < (unsigned int) S->num_params) { in pdo_mysql_stmt_param_hook()
/PHP-7.1/ext/pgsql/
H A Dpgsql.c1907 if (num_params > 0) {
1909 for (i = 0; i < num_params; i++) {
1931 int num_params = 0; local
1969 if (num_params > 0) {
2010 _php_pgsql_free_params(params, num_params);
2134 int num_params = 0; local
2172 if (num_params > 0) {
4964 int num_params = 0; local
4993 if (num_params > 0) {
5141 int num_params = 0; local
[all …]
/PHP-7.1/ext/soap/
H A Dsoap.c41 int num_params; member
1525 int num_params = 0, size, i, call_status = 0; local
1859 call_status = call_user_function(NULL, soap_obj, &function_name, &retval, num_params, params);
1981 i = h->num_params;
1994 if (num_params > 0) {
1995 for (i = 0; i < num_params;i++) {
3349 *num_params = num_of_params;
3402 (*num_params) = num_of_params;
3654 h->num_params = 1;
3664 deserialize_parameters(hdr_func, h->function, &h->num_params, &h->parameters);
[all …]

Completed in 45 milliseconds