Lines Matching refs:num_params
1911 static void _php_pgsql_free_params(char **params, int num_params) argument
1913 if (num_params > 0) {
1915 for (i = 0; i < num_params; i++) {
1937 int num_params = 0; local
1974 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
1975 if (num_params > 0) {
1977 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
1991 _php_pgsql_free_params(params, num_params);
2001 pgsql_result = PQexecParams(pgsql, query, num_params,
2006 pgsql_result = PQexecParams(pgsql, query, num_params,
2016 _php_pgsql_free_params(params, num_params);
2140 int num_params = 0; local
2177 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
2178 if (num_params > 0) {
2180 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
2194 _php_pgsql_free_params(params, num_params);
2205 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2210 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2220 _php_pgsql_free_params(params, num_params);
4970 int num_params = 0; local
4998 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
4999 if (num_params > 0) {
5001 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5014 _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);
5028 _php_pgsql_free_params(params, num_params);
5034 …if (!PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0…
5035 _php_pgsql_free_params(params, num_params);
5147 int num_params = 0; local
5175 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
5176 if (num_params > 0) {
5178 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5191 _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);
5205 _php_pgsql_free_params(params, num_params);
5211 …if (!PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0)…
5212 _php_pgsql_free_params(params, num_params);