Searched refs:unquotedlen (Results 1 – 7 of 7) sorted by relevance
/PHP-8.0/ext/pdo_mysql/ |
H A D | mysql_driver.c | 311 static int mysql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quo… in mysql_handle_quoter() argument 328 PDO_DBG_INF_FMT("unquoted=%.*s", (int)unquotedlen, unquoted); in mysql_handle_quoter() 329 *quoted = safe_emalloc(2, unquotedlen, 3 + (use_national_character_set ? 1 : 0)); in mysql_handle_quoter() 332 *quotedlen = mysql_real_escape_string_quote(H->server, *quoted + 2, unquoted, unquotedlen, '\''); in mysql_handle_quoter() 338 *quotedlen = mysql_real_escape_string_quote(H->server, *quoted + 1, unquoted, unquotedlen, '\''); in mysql_handle_quoter()
|
/PHP-8.0/ext/pdo_dblib/ |
H A D | dblib_driver.c | 148 static int dblib_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quo… in dblib_handle_quoter() argument 168 for (i = 0; i < unquotedlen; i++) { in dblib_handle_quoter() 183 for (i = 0; i < unquotedlen; i++) { in dblib_handle_quoter()
|
/PHP-8.0/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 233 static int sqlite_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **qu… in sqlite_handle_quoter() argument 235 if (unquotedlen > (INT_MAX - 3) / 2) { in sqlite_handle_quoter() 238 *quoted = safe_emalloc(2, unquotedlen, 3); in sqlite_handle_quoter() 239 sqlite3_snprintf(2*unquotedlen + 3, *quoted, "'%q'", unquoted); in sqlite_handle_quoter()
|
/PHP-8.0/ext/pdo_oci/ |
H A D | oci_driver.c | 359 static int oci_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quote… in oci_handle_quoter() argument 365 if (!unquotedlen) { in oci_handle_quoter() 376 *quotedlen = unquotedlen + qcount + 2; in oci_handle_quoter()
|
/PHP-8.0/ext/pdo_firebird/ |
H A D | firebird_driver.c | 663 static int firebird_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, /* {{{ … in firebird_handle_quoter() argument 670 if (!unquotedlen) { in firebird_handle_quoter() 681 *quotedlen = unquotedlen + qcount + 2; in firebird_handle_quoter()
|
/PHP-8.0/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 352 static int pgsql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quo… in pgsql_handle_quoter() argument 361 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, unquotedlen, &tmp_len); in pgsql_handle_quoter() 371 *quoted = safe_emalloc(2, unquotedlen, 3); in pgsql_handle_quoter() 373 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL); in pgsql_handle_quoter()
|
/PHP-8.0/ext/pdo/ |
H A D | php_pdo_driver.h | 256 typedef int (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **…
|
Completed in 34 milliseconds