Lines Matching refs:num_params

1904 static void _php_pgsql_free_params(char **params, int num_params)  argument
1906 if (num_params > 0) {
1908 for (i = 0; i < num_params; i++) {
1930 int num_params = 0; local
1967 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
1968 if (num_params > 0) {
1970 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
1984 _php_pgsql_free_params(params, num_params);
1994 pgsql_result = PQexecParams(pgsql, query, num_params,
1999 pgsql_result = PQexecParams(pgsql, query, num_params,
2009 _php_pgsql_free_params(params, num_params);
2133 int num_params = 0; local
2170 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
2171 if (num_params > 0) {
2173 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
2187 _php_pgsql_free_params(params, num_params);
2198 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2203 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2213 _php_pgsql_free_params(params, num_params);
4928 int num_params = 0; local
4956 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
4957 if (num_params > 0) {
4959 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
4972 _php_pgsql_free_params(params, num_params);
4983 …if (PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0)…
4984 _php_pgsql_free_params(params, num_params);
4986 _php_pgsql_free_params(params, num_params);
4992 …if (!PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0…
4993 _php_pgsql_free_params(params, num_params);
5105 int num_params = 0; local
5133 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
5134 if (num_params > 0) {
5136 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5149 _php_pgsql_free_params(params, num_params);
5160 …if (PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0))…
5161 _php_pgsql_free_params(params, num_params);
5163 _php_pgsql_free_params(params, num_params);
5169 …if (!PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0)…
5170 _php_pgsql_free_params(params, num_params);