Searched refs:quoted (Results 1 - 10 of 10) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_compile.c515 "\\g is not followed by a braced, angle-bracketed, or quoted name/number or by a plain number\0"
529 "\\k is not followed by a braced, angle-bracketed, or quoted name\0"
5044 else if (escape == ESC_Q) /* Handle start of quoted string */
7673 if (escape == ESC_Q) /* Handle start of quoted string */
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.re73 int qlen; /* quoted length of value */
74 char *quoted; /* quoted value */
220 if (!stmt->dbh->methods->quoter(stmt->dbh, buf->val, buf->len, &plc->quoted, &plc->qlen,
244 plc->quoted = "NULL";
257 plc->quoted = estrdup(Z_STRVAL(tmp_param));
264 Z_STRLEN(tmp_param), &plc->quoted, &plc->qlen,
282 plc->quoted = Z_STRVAL_P(parameter);
303 memcpy(newbuffer, plc->quoted, plc->qlen);
347 plc->quoted
[all...]
H A Dphp_pdo_driver.h253 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_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c276 char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC)
284 *quoted = emalloc(*quotedlen+1);
285 strcpy(*quoted, "''");
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_TRUNK/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
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_TRUNK/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_TRUNK/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
235 *quoted = safe_emalloc(2, unquotedlen, 3);
236 sqlite3_snprintf(2*unquotedlen + 3, *quoted, "'%q'", unquoted);
237 *quotedlen = strlen(*quoted);
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c145 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
155 * Detect quoted length and if we should use binary encoding
173 q = *quoted = emalloc(*quotedlen);
184 q = *quoted = emalloc(*quotedlen);
436 /* allow double quoted indentifiers */
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c319 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
330 *quoted = emalloc(*quotedlen + 1);
331 memcpy((*quoted)+1, escaped, *quotedlen-2);
332 (*quoted)[0] = '\'';
333 (*quoted)[*quotedlen-1] = '\'';
334 (*quoted)[*quotedlen] = '\0';
338 *quoted = safe_emalloc(2, unquotedlen, 3);
339 (*quoted)[0] = '\'';
340 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, (size_t)unquotedlen, NULL);
341 (*quoted)[*quotedle
[all...]
/PHP_TRUNK/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
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';

Completed in 57 milliseconds