Searched refs:quotedlen (Results 1 - 9 of 9) sorted by relevance
| /PHP_5_3/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_5_3/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 164 *quotedlen = l+1;
|
| /PHP_5_3/ext/pdo_firebird/ |
| H A D | firebird_driver.c | 278 char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) 285 *quotedlen = 2; 286 *quoted = emalloc(*quotedlen+1); 295 *quotedlen = unquotedlen + qcount + 2; 296 *quoted = c = emalloc(*quotedlen+1); 308 strncpy(c, l, *quotedlen-(c-*quoted)-1); 309 (*quoted)[*quotedlen-1] = '\''; 310 (*quoted)[*quotedlen] = '\0'; 277 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_3/ext/pdo_mysql/ |
| H A D | mysql_driver.c | 330 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 337 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); 338 (*quoted)[0] =(*quoted)[++*quotedlen] = '\''; 339 (*quoted)[++*quotedlen] = '\0'; 340 PDO_DBG_INF_FMT("quoted=%.*s", *quotedlen, *quoted);
|
| /PHP_5_3/ext/pdo_oci/ |
| H A D | oci_driver.c | 369 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 376 *quotedlen = 2; 377 *quoted = emalloc(*quotedlen+1); 386 *quotedlen = unquotedlen + qcount + 2; 387 *quoted = c = emalloc(*quotedlen+1); 398 strncpy(c, l, *quotedlen-(c-*quoted)-1); 399 (*quoted)[*quotedlen-1] = '\''; 400 (*quoted)[*quotedlen] = '\0';
|
| /PHP_5_3/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_5_3/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 322 *quotedlen = (int)tmp_len + 1; 323 *quoted = emalloc(*quotedlen + 1); 324 memcpy((*quoted)+1, escaped, *quotedlen-2); 326 (*quoted)[*quotedlen-1] = '\''; 327 (*quoted)[*quotedlen] = '\0'; 334 *quotedlen = PQescapeString(*quoted + 1, unquoted, unquotedlen); 336 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL); 338 (*quoted)[*quotedlen + 1] = '\''; 339 (*quoted)[*quotedlen [all...] |
| /PHP_5_3/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 237 *quotedlen = strlen(*quoted);
|
| /PHP_5_3/ext/sqlite/ |
| H A D | pdo_sqlite2.c | 382 static int sqlite2_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) argument 396 *quotedlen = len + 3; 397 /* fprintf(stderr, "Quoting:%d:%.*s:\n", *quotedlen, *quotedlen, *quoted); */ 403 *quotedlen = strlen(ret); 410 *quotedlen = 2;
|
Completed in 25 milliseconds