| /PHP_5_4/ext/pdo/ |
| H A D | pdo_sql_parser.re | 73 int qlen; /* quoted length of value */ 74 char *quoted; /* quoted value */ 211 if (!stmt->dbh->methods->quoter(stmt->dbh, buf, len, &plc->quoted, &plc->qlen, 233 plc->quoted = "NULL"; 245 plc->quoted = Z_STRVAL_P(param->parameter); 252 Z_STRLEN_P(param->parameter), &plc->quoted, &plc->qlen, 263 plc->quoted = Z_STRVAL_P(param->parameter); 284 memcpy(newbuffer, plc->quoted, plc->qlen); 328 plc->quoted [all...] |
| 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_4/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 147 *quoted = q = safe_emalloc(2, unquotedlen, 3); 317 /* allow double quoted indentifiers */
|
| /PHP_5_4/ext/pdo_firebird/ |
| H A D | firebird_driver.c | 278 char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) 286 *quoted = emalloc(*quotedlen+1); 287 strcpy(*quoted, "''"); 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_4/ext/pdo_mysql/ |
| H A D | mysql_driver.c | 302 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 308 *quoted = safe_emalloc(2, unquotedlen, 3); 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);
|
| /PHP_5_4/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_4/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 323 *quoted = emalloc(*quotedlen + 1); 324 memcpy((*quoted)+1, escaped, *quotedlen-2); 325 (*quoted)[0] = '\''; 326 (*quoted)[*quotedlen-1] = '\''; 327 (*quoted)[*quotedlen] = '\0'; 331 *quoted = safe_emalloc(2, unquotedlen, 3); 332 (*quoted)[0] = '\''; 334 *quotedlen = PQescapeString(*quoted + 1, unquoted, unquotedlen); 336 *quotedlen = PQescapeStringConn(H->server, *quoted [all...] |
| /PHP_5_4/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 235 *quoted = safe_emalloc(2, unquotedlen, 3); 236 sqlite3_snprintf(2*unquotedlen + 3, *quoted, "'%q'", unquoted); 237 *quotedlen = strlen(*quoted);
|
| /PHP_5_4/ext/pdo_oci/ |
| H A D | oci_driver.c | 371 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 379 *quoted = emalloc(*quotedlen+1); 380 strcpy(*quoted, "''"); 389 *quoted = c = emalloc(*quotedlen+1); 400 strncpy(c, l, *quotedlen-(c-*quoted)-1); 401 (*quoted)[*quotedlen-1] = '\''; 402 (*quoted)[*quotedlen] = '\0';
|
| /PHP_5_4/ext/pcre/pcrelib/ |
| H A D | pcre_compile.c | 486 "\\g is not followed by a braced, angle-bracketed, or quoted name/number or by a plain number\0" 500 "\\k is not followed by a braced, angle-bracketed, or quoted name\0" 4292 else if (escape == ESC_Q) /* Handle start of quoted string */ 6748 if (escape == ESC_Q) /* Handle start of quoted string */
|