Lines Matching refs:quotedlen
320 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in pgsql_handle_quoter() argument
334 *quotedlen = (int)tmp_len + 1; in pgsql_handle_quoter()
335 *quoted = emalloc(*quotedlen + 1); in pgsql_handle_quoter()
336 memcpy((*quoted)+1, escaped, *quotedlen-2); in pgsql_handle_quoter()
338 (*quoted)[*quotedlen-1] = '\''; in pgsql_handle_quoter()
339 (*quoted)[*quotedlen] = '\0'; in pgsql_handle_quoter()
346 *quotedlen = PQescapeString(*quoted + 1, unquoted, (size_t)unquotedlen); in pgsql_handle_quoter()
348 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, (size_t)unquotedlen, NULL); in pgsql_handle_quoter()
350 (*quoted)[*quotedlen + 1] = '\''; in pgsql_handle_quoter()
351 (*quoted)[*quotedlen + 2] = '\0'; in pgsql_handle_quoter()
352 *quotedlen += 2; in pgsql_handle_quoter()