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);
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);
4968 int num_params = 0; local
4996 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
4997 if (num_params > 0) {
4999 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5017 …if (PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0)…
5018 _php_pgsql_free_params(params, num_params);
5020 _php_pgsql_free_params(params, num_params);
5026 …if (!PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0…
5027 _php_pgsql_free_params(params, num_params);
5139 int num_params = 0; local
5167 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
5168 if (num_params > 0) {
5170 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5190 …if (PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0))…
5191 _php_pgsql_free_params(params, num_params);
5193 _php_pgsql_free_params(params, num_params);
5199 …if (!PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0)…
5200 _php_pgsql_free_params(params, num_params);