Searched refs:unquotedlen (Results 1 - 8 of 8) sorted by relevance
| /PHP_TRUNK/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 **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC);
|
| /PHP_TRUNK/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, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) argument 147 *quoted = q = safe_emalloc(2, unquotedlen, 3); 150 while (unquotedlen--) {
|
| /PHP_TRUNK/ext/pdo_firebird/ |
| H A D | firebird_driver.c | 277 static int firebird_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, /* {{{ */ argument 284 if (!unquotedlen) { 295 *quotedlen = unquotedlen + qcount + 2;
|
| /PHP_TRUNK/ext/pdo_mysql/ |
| H A D | mysql_driver.c | 302 static int mysql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) argument 307 PDO_DBG_INF_FMT("unquoted=%.*s", unquotedlen, unquoted); 308 *quoted = safe_emalloc(2, unquotedlen, 3); 309 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen);
|
| /PHP_TRUNK/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, int *quotedlen, enum pdo_param_type param_type TSRMLS_DC) argument
|
| /PHP_TRUNK/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, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) argument 318 escaped = PQescapeByteaConn(H->server, unquoted, unquotedlen, &tmp_len); 320 escaped = PQescapeBytea(unquoted, unquotedlen, &tmp_len); 331 *quoted = safe_emalloc(2, unquotedlen, 3); 334 *quotedlen = PQescapeString(*quoted + 1, unquoted, unquotedlen); 336 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL);
|
| /PHP_TRUNK/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 **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) argument 235 *quoted = safe_emalloc(2, unquotedlen, 3); 236 sqlite3_snprintf(2*unquotedlen + 3, *quoted, "'%q'", unquoted);
|
| /PHP_TRUNK/ext/pdo_oci/ |
| H A D | oci_driver.c | 371 static int oci_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) /* {{{ */ argument 377 if (!unquotedlen) { 388 *quotedlen = unquotedlen + qcount + 2;
|
Completed in 13 milliseconds