Home
last modified time | relevance | path

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

/PHP-5.4/ext/pdo_firebird/
H A Dfirebird_driver.c276 char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) in firebird_handle_quoter() argument
283 *quotedlen = 2; in firebird_handle_quoter()
284 *quoted = emalloc(*quotedlen+1); in firebird_handle_quoter()
293 *quotedlen = unquotedlen + qcount + 2; in firebird_handle_quoter()
294 *quoted = c = emalloc(*quotedlen+1); in firebird_handle_quoter()
306 strncpy(c, l, *quotedlen-(c-*quoted)-1); in firebird_handle_quoter()
307 (*quoted)[*quotedlen-1] = '\''; in firebird_handle_quoter()
308 (*quoted)[*quotedlen] = '\0'; in firebird_handle_quoter()
/PHP-5.4/ext/pdo_oci/
H A Doci_driver.c371 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in oci_handle_quoter() argument
378 *quotedlen = 2; in oci_handle_quoter()
379 *quoted = emalloc(*quotedlen+1); in oci_handle_quoter()
388 *quotedlen = unquotedlen + qcount + 2; in oci_handle_quoter()
389 *quoted = c = emalloc(*quotedlen+1); in oci_handle_quoter()
400 strncpy(c, l, *quotedlen-(c-*quoted)-1); in oci_handle_quoter()
401 (*quoted)[*quotedlen-1] = '\''; in oci_handle_quoter()
402 (*quoted)[*quotedlen] = '\0'; in oci_handle_quoter()
/PHP-5.4/ext/pdo_pgsql/
H A Dpgsql_driver.c308 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in pgsql_handle_quoter() argument
322 *quotedlen = (int)tmp_len + 1; in pgsql_handle_quoter()
323 *quoted = emalloc(*quotedlen + 1); in pgsql_handle_quoter()
324 memcpy((*quoted)+1, escaped, *quotedlen-2); in pgsql_handle_quoter()
326 (*quoted)[*quotedlen-1] = '\''; in pgsql_handle_quoter()
327 (*quoted)[*quotedlen] = '\0'; in pgsql_handle_quoter()
334 *quotedlen = PQescapeString(*quoted + 1, unquoted, (size_t)unquotedlen); in pgsql_handle_quoter()
336 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, (size_t)unquotedlen, NULL); in pgsql_handle_quoter()
338 (*quoted)[*quotedlen + 1] = '\''; in pgsql_handle_quoter()
339 (*quoted)[*quotedlen + 2] = '\0'; in pgsql_handle_quoter()
[all …]
/PHP-5.4/ext/pdo_mysql/
H A Dmysql_driver.c302 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in mysql_handle_quoter() argument
309 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); in mysql_handle_quoter()
310 (*quoted)[0] =(*quoted)[++*quotedlen] = '\''; in mysql_handle_quoter()
311 (*quoted)[++*quotedlen] = '\0'; in mysql_handle_quoter()
312 PDO_DBG_INF_FMT("quoted=%.*s", *quotedlen, *quoted); in mysql_handle_quoter()
/PHP-5.4/ext/pdo_dblib/
H A Ddblib_driver.c144 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in dblib_handle_quoter() argument
167 *quotedlen = l+1; in dblib_handle_quoter()
/PHP-5.4/ext/pdo/
H A Dphp_pdo_driver.h251 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_…
/PHP-5.4/ext/pdo_sqlite/
H A Dsqlite_driver.c233 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in sqlite_handle_quoter() argument
237 *quotedlen = strlen(*quoted); in sqlite_handle_quoter()
/PHP-5.4/ext/pdo_odbc/
H A Dodbc_driver.c264 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in odbc_handle_quoter() argument

Completed in 49 milliseconds