Lines Matching refs:num_params
1917 static void _php_pgsql_free_params(char **params, int num_params) argument
1919 if (num_params > 0) {
1921 for (i = 0; i < num_params; i++) {
1943 int num_params = 0; local
1980 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
1981 if (num_params > 0) {
1983 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
1997 _php_pgsql_free_params(params, num_params);
2007 pgsql_result = PQexecParams(pgsql, query, num_params,
2012 pgsql_result = PQexecParams(pgsql, query, num_params,
2022 _php_pgsql_free_params(params, num_params);
2146 int num_params = 0; local
2183 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
2184 if (num_params > 0) {
2186 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
2204 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2209 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2219 _php_pgsql_free_params(params, num_params);
4967 int num_params = 0; local
4995 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
4996 if (num_params > 0) {
4998 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5016 …if (PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0)…
5017 _php_pgsql_free_params(params, num_params);
5019 _php_pgsql_free_params(params, num_params);
5025 …if (!PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0…
5026 _php_pgsql_free_params(params, num_params);
5138 int num_params = 0; local
5166 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
5167 if (num_params > 0) {
5169 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5182 _php_pgsql_free_params(params, num_params);
5193 …if (PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0))…
5194 _php_pgsql_free_params(params, num_params);
5196 _php_pgsql_free_params(params, num_params);
5202 …if (!PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0)…
5203 _php_pgsql_free_params(params, num_params);