Lines Matching refs:num_params

1905 static void _php_pgsql_free_params(char **params, int num_params)  argument
1907 if (num_params > 0) {
1909 for (i = 0; i < num_params; i++) {
1931 int num_params = 0; local
1968 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
1969 if (num_params > 0) {
1971 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
1985 _php_pgsql_free_params(params, num_params);
1995 pgsql_result = PQexecParams(pgsql, query, num_params,
2000 pgsql_result = PQexecParams(pgsql, query, num_params,
2010 _php_pgsql_free_params(params, num_params);
2134 int num_params = 0; local
2171 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
2172 if (num_params > 0) {
2174 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
2188 _php_pgsql_free_params(params, num_params);
2199 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2204 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2214 _php_pgsql_free_params(params, num_params);
4964 int num_params = 0; local
4992 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
4993 if (num_params > 0) {
4995 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5008 _php_pgsql_free_params(params, num_params);
5019 …if (PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0)…
5020 _php_pgsql_free_params(params, num_params);
5022 _php_pgsql_free_params(params, num_params);
5028 …if (!PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0…
5029 _php_pgsql_free_params(params, num_params);
5141 int num_params = 0; local
5169 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
5170 if (num_params > 0) {
5172 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
5185 _php_pgsql_free_params(params, num_params);
5196 …if (PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0))…
5197 _php_pgsql_free_params(params, num_params);
5199 _php_pgsql_free_params(params, num_params);
5205 …if (!PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0)…
5206 _php_pgsql_free_params(params, num_params);