Lines Matching refs:quoted
333 …_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen… in pgsql_handle_quoter() argument
344 *quoted = emalloc(*quotedlen + 1); in pgsql_handle_quoter()
345 memcpy((*quoted)+1, escaped, *quotedlen-2); in pgsql_handle_quoter()
346 (*quoted)[0] = '\''; in pgsql_handle_quoter()
347 (*quoted)[*quotedlen-1] = '\''; in pgsql_handle_quoter()
348 (*quoted)[*quotedlen] = '\0'; in pgsql_handle_quoter()
352 *quoted = safe_emalloc(2, unquotedlen, 3); in pgsql_handle_quoter()
353 (*quoted)[0] = '\''; in pgsql_handle_quoter()
354 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL); in pgsql_handle_quoter()
355 (*quoted)[*quotedlen + 1] = '\''; in pgsql_handle_quoter()
356 (*quoted)[*quotedlen + 2] = '\0'; in pgsql_handle_quoter()