Home
last modified time | relevance | path

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

/PHP-7.4/ext/pdo_mysql/
H A Dmysql_driver.c306 static int mysql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quo… in mysql_handle_quoter() argument
323 PDO_DBG_INF_FMT("unquoted=%.*s", (int)unquotedlen, unquoted); in mysql_handle_quoter()
324 *quoted = safe_emalloc(2, unquotedlen, 3 + (use_national_character_set ? 1 : 0)); in mysql_handle_quoter()
327 *quotedlen = mysql_real_escape_string_quote(H->server, *quoted + 2, unquoted, unquotedlen, '\''); in mysql_handle_quoter()
333 *quotedlen = mysql_real_escape_string_quote(H->server, *quoted + 1, unquoted, unquotedlen, '\''); in mysql_handle_quoter()
/PHP-7.4/ext/pdo_dblib/
H A Ddblib_driver.c150 static int dblib_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quo… in dblib_handle_quoter() argument
170 for (i = 0; i < unquotedlen; i++) { in dblib_handle_quoter()
185 for (i = 0; i < unquotedlen; i++) { in dblib_handle_quoter()
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_driver.c243 static int firebird_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, /* {{{ … in firebird_handle_quoter() argument
250 if (!unquotedlen) { in firebird_handle_quoter()
261 *quotedlen = unquotedlen + qcount + 2; in firebird_handle_quoter()
/PHP-7.4/ext/pdo_sqlite/
H A Dsqlite_driver.c234 static int sqlite_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **qu… in sqlite_handle_quoter() argument
236 *quoted = safe_emalloc(2, unquotedlen, 3); in sqlite_handle_quoter()
237 sqlite3_snprintf(2*unquotedlen + 3, *quoted, "'%q'", unquoted); in sqlite_handle_quoter()
/PHP-7.4/ext/pdo_oci/
H A Doci_driver.c361 static int oci_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quote… in oci_handle_quoter() argument
367 if (!unquotedlen) { in oci_handle_quoter()
378 *quotedlen = unquotedlen + qcount + 2; in oci_handle_quoter()
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_driver.c321 static int pgsql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quo… in pgsql_handle_quoter() argument
330 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, unquotedlen, &tmp_len); in pgsql_handle_quoter()
340 *quoted = safe_emalloc(2, unquotedlen, 3); in pgsql_handle_quoter()
342 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL); in pgsql_handle_quoter()
/PHP-7.4/ext/pdo/
H A Dphp_pdo_driver.h258 typedef int (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **…
/PHP-7.4/ext/pdo_odbc/
H A Dodbc_driver.c263 static int odbc_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quot… in odbc_handle_quoter() argument

Completed in 70 milliseconds