Searched refs:unquotedlen (Results 1 – 8 of 8) sorted by relevance
/PHP-7.4/ext/pdo_mysql/ |
H A D | mysql_driver.c | 306 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 D | dblib_driver.c | 150 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 D | firebird_driver.c | 243 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 D | sqlite_driver.c | 234 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 D | oci_driver.c | 361 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 D | pgsql_driver.c | 321 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 D | php_pdo_driver.h | 258 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 D | odbc_driver.c | 263 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