Searched refs:unquotedlen (Results 1 – 9 of 9) sorted by relevance
/PHP-5.3/ext/pdo_dblib/ |
H A D | dblib_driver.c | 141 static int dblib_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted… in dblib_handle_quoter() argument 147 *quoted = q = safe_emalloc(2, unquotedlen, 3); in dblib_handle_quoter() 150 while (unquotedlen--) { in dblib_handle_quoter()
|
/PHP-5.3/ext/sqlite/ |
H A D | pdo_sqlite2.c | 382 static int sqlite2_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quot… in sqlite2_handle_quoter() argument 386 if (unquotedlen && (unquoted[0] == '\x01' || memchr(unquoted, '\0', unquotedlen) != NULL)) { in sqlite2_handle_quoter() 389 ret = safe_emalloc(1 + unquotedlen / 254, 257, 5); in sqlite2_handle_quoter() 392 len = php_sqlite_encode_binary(unquoted, unquotedlen, ret+2); in sqlite2_handle_quoter() 399 } else if (unquotedlen) { in sqlite2_handle_quoter()
|
/PHP-5.3/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 308 static int pgsql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted… in pgsql_handle_quoter() argument 318 escaped = PQescapeByteaConn(H->server, unquoted, unquotedlen, &tmp_len); in pgsql_handle_quoter() 320 escaped = PQescapeBytea(unquoted, unquotedlen, &tmp_len); in pgsql_handle_quoter() 331 *quoted = safe_emalloc(2, unquotedlen, 3); in pgsql_handle_quoter() 334 *quotedlen = PQescapeString(*quoted + 1, unquoted, unquotedlen); in pgsql_handle_quoter() 336 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL); in pgsql_handle_quoter()
|
/PHP-5.3/ext/pdo_mysql/ |
H A D | mysql_driver.c | 330 static int mysql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted… in mysql_handle_quoter() argument 335 PDO_DBG_INF_FMT("unquoted=%.*s", unquotedlen, unquoted); in mysql_handle_quoter() 336 *quoted = safe_emalloc(2, unquotedlen, 3); in mysql_handle_quoter() 337 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); in mysql_handle_quoter()
|
/PHP-5.3/ext/pdo_firebird/ |
H A D | firebird_driver.c | 277 static int firebird_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, /* {{{ */ in firebird_handle_quoter() argument 284 if (!unquotedlen) { in firebird_handle_quoter() 295 *quotedlen = unquotedlen + qcount + 2; in firebird_handle_quoter()
|
/PHP-5.3/ext/pdo_oci/ |
H A D | oci_driver.c | 369 static int oci_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, … in oci_handle_quoter() argument 375 if (!unquotedlen) { in oci_handle_quoter() 386 *quotedlen = unquotedlen + qcount + 2; in oci_handle_quoter()
|
/PHP-5.3/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 233 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.3/ext/pdo/ |
H A D | php_pdo_driver.h | 251 typedef int (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quo…
|
/PHP-5.3/ext/pdo_odbc/ |
H A D | odbc_driver.c | 264 static int odbc_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted,… in odbc_handle_quoter() argument
|
Completed in 43 milliseconds