quotedlen 251 ext/pdo/php_pdo_driver.h typedef int (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type paramtype); quotedlen 145 ext/pdo_dblib/dblib_driver.c static int dblib_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type paramtype) quotedlen 152 ext/pdo_dblib/dblib_driver.c *quotedlen = 0; quotedlen 162 ext/pdo_dblib/dblib_driver.c if(unquoted[i] == '\'') ++*quotedlen; quotedlen 163 ext/pdo_dblib/dblib_driver.c ++*quotedlen; quotedlen 172 ext/pdo_dblib/dblib_driver.c *quotedlen = (unquotedlen * 2) + 2; /* 2 chars per byte +2 for "0x" prefix */ quotedlen 173 ext/pdo_dblib/dblib_driver.c q = *quoted = emalloc(*quotedlen); quotedlen 183 ext/pdo_dblib/dblib_driver.c *quotedlen += 2; /* +2 for opening, closing quotes */ quotedlen 184 ext/pdo_dblib/dblib_driver.c q = *quoted = emalloc(*quotedlen); quotedlen 274 ext/pdo_firebird/firebird_driver.c char **quoted, size_t *quotedlen, enum pdo_param_type paramtype) quotedlen 281 ext/pdo_firebird/firebird_driver.c *quotedlen = 2; quotedlen 282 ext/pdo_firebird/firebird_driver.c *quoted = emalloc(*quotedlen+1); quotedlen 291 ext/pdo_firebird/firebird_driver.c *quotedlen = unquotedlen + qcount + 2; quotedlen 292 ext/pdo_firebird/firebird_driver.c *quoted = c = emalloc(*quotedlen+1); quotedlen 304 ext/pdo_firebird/firebird_driver.c strncpy(c, l, *quotedlen-(c-*quoted)-1); quotedlen 305 ext/pdo_firebird/firebird_driver.c (*quoted)[*quotedlen-1] = '\''; quotedlen 306 ext/pdo_firebird/firebird_driver.c (*quoted)[*quotedlen] = '\0'; quotedlen 300 ext/pdo_mysql/mysql_driver.c static int mysql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type paramtype ) quotedlen 307 ext/pdo_mysql/mysql_driver.c *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); quotedlen 308 ext/pdo_mysql/mysql_driver.c (*quoted)[0] =(*quoted)[++*quotedlen] = '\''; quotedlen 309 ext/pdo_mysql/mysql_driver.c (*quoted)[++*quotedlen] = '\0'; quotedlen 310 ext/pdo_mysql/mysql_driver.c PDO_DBG_INF_FMT("quoted=%.*s", (int)*quotedlen, *quoted); quotedlen 369 ext/pdo_oci/oci_driver.c static int oci_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type paramtype ) /* {{{ */ quotedlen 376 ext/pdo_oci/oci_driver.c *quotedlen = 2; quotedlen 377 ext/pdo_oci/oci_driver.c *quoted = emalloc(*quotedlen+1); quotedlen 386 ext/pdo_oci/oci_driver.c *quotedlen = unquotedlen + qcount + 2; quotedlen 387 ext/pdo_oci/oci_driver.c *quoted = c = emalloc(*quotedlen+1); quotedlen 398 ext/pdo_oci/oci_driver.c strncpy(c, l, *quotedlen-(c-*quoted)-1); quotedlen 399 ext/pdo_oci/oci_driver.c (*quoted)[*quotedlen-1] = '\''; quotedlen 400 ext/pdo_oci/oci_driver.c (*quoted)[*quotedlen] = '\0'; quotedlen 264 ext/pdo_odbc/odbc_driver.c static int odbc_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type param_type ) quotedlen 331 ext/pdo_pgsql/pgsql_driver.c static int pgsql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type paramtype) quotedlen 341 ext/pdo_pgsql/pgsql_driver.c *quotedlen = tmp_len + 1; quotedlen 342 ext/pdo_pgsql/pgsql_driver.c *quoted = emalloc(*quotedlen + 1); quotedlen 343 ext/pdo_pgsql/pgsql_driver.c memcpy((*quoted)+1, escaped, *quotedlen-2); quotedlen 345 ext/pdo_pgsql/pgsql_driver.c (*quoted)[*quotedlen-1] = '\''; quotedlen 346 ext/pdo_pgsql/pgsql_driver.c (*quoted)[*quotedlen] = '\0'; quotedlen 352 ext/pdo_pgsql/pgsql_driver.c *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL); quotedlen 353 ext/pdo_pgsql/pgsql_driver.c (*quoted)[*quotedlen + 1] = '\''; quotedlen 354 ext/pdo_pgsql/pgsql_driver.c (*quoted)[*quotedlen + 2] = '\0'; quotedlen 355 ext/pdo_pgsql/pgsql_driver.c *quotedlen += 2; quotedlen 233 ext/pdo_sqlite/sqlite_driver.c static int sqlite_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type paramtype ) quotedlen 237 ext/pdo_sqlite/sqlite_driver.c *quotedlen = strlen(*quoted);