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

/PHP_5_6/ext/pdo/
H A Dphp_pdo_driver.h251 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_5_6/ext/pdo_dblib/
H A Ddblib_driver.c144 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
167 *quotedlen = l+1;
/PHP_5_6/ext/pdo_oci/
H A Doci_driver.c371 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
378 *quotedlen = 2;
379 *quoted = emalloc(*quotedlen+1);
388 *quotedlen = unquotedlen + qcount + 2;
389 *quoted = c = emalloc(*quotedlen+1);
400 strncpy(c, l, *quotedlen-(c-*quoted)-1);
401 (*quoted)[*quotedlen-1] = '\'';
402 (*quoted)[*quotedlen] = '\0';
/PHP_5_6/ext/pdo_odbc/
H A Dodbc_driver.c264 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_5_6/ext/pdo_sqlite/
H A Dsqlite_driver.c233 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
237 *quotedlen = strlen(*quoted);
/PHP_5_6/ext/pdo_firebird/
H A Dfirebird_driver.c276 char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC)
283 *quotedlen = 2;
284 *quoted = emalloc(*quotedlen+1);
293 *quotedlen = unquotedlen + qcount + 2;
294 *quoted = c = emalloc(*quotedlen+1);
306 strncpy(c, l, *quotedlen-(c-*quoted)-1);
307 (*quoted)[*quotedlen-1] = '\'';
308 (*quoted)[*quotedlen] = '\0';
275 firebird_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) argument
/PHP_5_6/ext/pdo_pgsql/
H A Dpgsql_driver.c316 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
326 *quotedlen = (int)tmp_len + 1;
327 *quoted = emalloc(*quotedlen + 1);
328 memcpy((*quoted)+1, escaped, *quotedlen-2);
330 (*quoted)[*quotedlen-1] = '\'';
331 (*quoted)[*quotedlen] = '\0';
337 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, (size_t)unquotedlen, NULL);
338 (*quoted)[*quotedlen + 1] = '\'';
339 (*quoted)[*quotedlen + 2] = '\0';
340 *quotedlen
[all...]
/PHP_5_6/ext/pdo_mysql/
H A Dmysql_driver.c302 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
309 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen);
310 (*quoted)[0] =(*quoted)[++*quotedlen] = '\'';
311 (*quoted)[++*quotedlen] = '\0';
312 PDO_DBG_INF_FMT("quoted=%.*s", *quotedlen, *quoted);

Completed in 12 milliseconds