Home
last modified time | relevance | path

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

/PHP-5.3/ext/pdo_firebird/
H A Dfirebird_driver.c278 char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) in firebird_handle_quoter() argument
285 *quotedlen = 2; in firebird_handle_quoter()
286 *quoted = emalloc(*quotedlen+1); in firebird_handle_quoter()
295 *quotedlen = unquotedlen + qcount + 2; in firebird_handle_quoter()
296 *quoted = c = emalloc(*quotedlen+1); in firebird_handle_quoter()
308 strncpy(c, l, *quotedlen-(c-*quoted)-1); in firebird_handle_quoter()
309 (*quoted)[*quotedlen-1] = '\''; in firebird_handle_quoter()
310 (*quoted)[*quotedlen] = '\0'; in firebird_handle_quoter()
/PHP-5.3/ext/pdo_oci/
H A Doci_driver.c369 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in oci_handle_quoter() argument
376 *quotedlen = 2; in oci_handle_quoter()
377 *quoted = emalloc(*quotedlen+1); in oci_handle_quoter()
386 *quotedlen = unquotedlen + qcount + 2; in oci_handle_quoter()
387 *quoted = c = emalloc(*quotedlen+1); in oci_handle_quoter()
398 strncpy(c, l, *quotedlen-(c-*quoted)-1); in oci_handle_quoter()
399 (*quoted)[*quotedlen-1] = '\''; in oci_handle_quoter()
400 (*quoted)[*quotedlen] = '\0'; in oci_handle_quoter()
/PHP-5.3/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, unquotedlen); in pgsql_handle_quoter()
336 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, 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.3/ext/pdo_dblib/
H A Ddblib_driver.c141 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in dblib_handle_quoter() argument
164 *quotedlen = l+1; in dblib_handle_quoter()
/PHP-5.3/ext/pdo_mysql/
H A Dmysql_driver.c330 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in mysql_handle_quoter() argument
337 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); in mysql_handle_quoter()
338 (*quoted)[0] =(*quoted)[++*quotedlen] = '\''; in mysql_handle_quoter()
339 (*quoted)[++*quotedlen] = '\0'; in mysql_handle_quoter()
340 PDO_DBG_INF_FMT("quoted=%.*s", *quotedlen, *quoted); in mysql_handle_quoter()
/PHP-5.3/ext/sqlite/
H A Dpdo_sqlite2.c382 …_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_… in sqlite2_handle_quoter() argument
396 *quotedlen = len + 3; in sqlite2_handle_quoter()
403 *quotedlen = strlen(ret); in sqlite2_handle_quoter()
410 *quotedlen = 2; in sqlite2_handle_quoter()
/PHP-5.3/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.3/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.3/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 43 milliseconds