Lines Matching refs:num_params
1791 static void _php_pgsql_free_params(char **params, int num_params) argument
1793 if (num_params > 0) {
1795 for (i = 0; i < num_params; i++) {
1816 int num_params = 0; local
1854 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
1855 if (num_params > 0) {
1857 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
1859 for(i = 0; i < num_params; i++) {
1862 _php_pgsql_free_params(params, num_params);
1875 _php_pgsql_free_params(params, num_params);
1886 pgsql_result = PQexecParams(pgsql, query, num_params,
1891 pgsql_result = PQexecParams(pgsql, query, num_params,
1901 _php_pgsql_free_params(params, num_params);
2023 int num_params = 0; local
2061 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
2062 if (num_params > 0) {
2064 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
2066 for(i = 0; i < num_params; i++) {
2069 _php_pgsql_free_params(params, num_params);
2082 _php_pgsql_free_params(params, num_params);
2093 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2098 pgsql_result = PQexecPrepared(pgsql, stmtname, num_params,
2108 _php_pgsql_free_params(params, num_params);
4718 int num_params = 0; local
4750 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
4751 if (num_params > 0) {
4753 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
4755 for(i = 0; i < num_params; i++) {
4758 _php_pgsql_free_params(params, num_params);
4771 _php_pgsql_free_params(params, num_params);
4782 …if (!PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0…
4786 …if (!PQsendQueryParams(pgsql, query, num_params, NULL, (const char * const *)params, NULL, NULL, 0…
4787 _php_pgsql_free_params(params, num_params);
4791 _php_pgsql_free_params(params, num_params);
4873 int num_params = 0; local
4905 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
4906 if (num_params > 0) {
4908 params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
4910 for(i = 0; i < num_params; i++) {
4913 _php_pgsql_free_params(params, num_params);
4926 _php_pgsql_free_params(params, num_params);
4937 …if (!PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0)…
4941 …if (!PQsendQueryPrepared(pgsql, stmtname, num_params, (const char * const *)params, NULL, NULL, 0)…
4942 _php_pgsql_free_params(params, num_params);
4946 _php_pgsql_free_params(params, num_params);