Home
last modified time | relevance | path

Searched refs:unquotedlen (Results 1 – 8 of 8) sorted by relevance

/PHP-5.5/ext/pdo_dblib/
H A Ddblib_driver.c144 static int dblib_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted… in dblib_handle_quoter() argument
150 *quoted = q = safe_emalloc(2, unquotedlen, 3); in dblib_handle_quoter()
153 while (unquotedlen--) { in dblib_handle_quoter()
/PHP-5.5/ext/pdo_mysql/
H A Dmysql_driver.c302 static int mysql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted… in mysql_handle_quoter() argument
307 PDO_DBG_INF_FMT("unquoted=%.*s", unquotedlen, unquoted); in mysql_handle_quoter()
308 *quoted = safe_emalloc(2, unquotedlen, 3); in mysql_handle_quoter()
309 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); in mysql_handle_quoter()
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_driver.c320 static int pgsql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted… in pgsql_handle_quoter() argument
330 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, (size_t)unquotedlen, &tmp_len); in pgsql_handle_quoter()
332 escaped = PQescapeBytea((unsigned char *)unquoted, (size_t)unquotedlen, &tmp_len); in pgsql_handle_quoter()
343 *quoted = safe_emalloc(2, unquotedlen, 3); 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()
/PHP-5.5/ext/pdo_firebird/
H A Dfirebird_driver.c275 static int firebird_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, /* {{{ */ in firebird_handle_quoter() argument
282 if (!unquotedlen) { in firebird_handle_quoter()
293 *quotedlen = unquotedlen + qcount + 2; in firebird_handle_quoter()
/PHP-5.5/ext/pdo_oci/
H A Doci_driver.c371 static int oci_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, … in oci_handle_quoter() argument
377 if (!unquotedlen) { in oci_handle_quoter()
388 *quotedlen = unquotedlen + qcount + 2; in oci_handle_quoter()
/PHP-5.5/ext/pdo_sqlite/
H A Dsqlite_driver.c233 static int sqlite_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quote… in sqlite_handle_quoter() argument
235 *quoted = safe_emalloc(2, unquotedlen, 3); in sqlite_handle_quoter()
236 sqlite3_snprintf(2*unquotedlen + 3, *quoted, "'%q'", unquoted); in sqlite_handle_quoter()
/PHP-5.5/ext/pdo/
H A Dphp_pdo_driver.h251 typedef int (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quo…
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_driver.c264 static int odbc_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted,… in odbc_handle_quoter() argument

Completed in 27 milliseconds