Home
last modified time | relevance | path

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

/PHP-7.1/ext/pdo_dblib/
H A Ddblib_driver.c152 … *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_… in dblib_handle_quoter() argument
157 *quotedlen = 0; in dblib_handle_quoter()
161 if(unquoted[i] == '\'') ++*quotedlen; in dblib_handle_quoter()
162 ++*quotedlen; in dblib_handle_quoter()
165 *quotedlen += 2; /* +2 for opening, closing quotes */ in dblib_handle_quoter()
166 q = *quoted = emalloc(*quotedlen+1); /* Add byte for terminal null */ in dblib_handle_quoter()
/PHP-7.1/ext/pdo_firebird/
H A Dfirebird_driver.c282 char **quoted, size_t *quotedlen, enum pdo_param_type paramtype) in firebird_handle_quoter() argument
289 *quotedlen = 2; in firebird_handle_quoter()
290 *quoted = emalloc(*quotedlen+1); in firebird_handle_quoter()
299 *quotedlen = unquotedlen + qcount + 2; in firebird_handle_quoter()
300 *quoted = c = emalloc(*quotedlen+1); in firebird_handle_quoter()
312 strncpy(c, l, *quotedlen-(c-*quoted)-1); in firebird_handle_quoter()
313 (*quoted)[*quotedlen-1] = '\''; in firebird_handle_quoter()
314 (*quoted)[*quotedlen] = '\0'; in firebird_handle_quoter()
/PHP-7.1/ext/pdo_oci/
H A Doci_driver.c369 … *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_… in oci_handle_quoter() argument
376 *quotedlen = 2; in oci_handle_quoter()
377 *quoted = emalloc(*quotedlen+1); in oci_handle_quoter()
386 *quotedlen = unquotedlen + qcount + 2; in oci_handle_quoter()
387 *quoted = c = emalloc(*quotedlen+1); in oci_handle_quoter()
398 strncpy(c, l, *quotedlen-(c-*quoted)-1); in oci_handle_quoter()
399 (*quoted)[*quotedlen-1] = '\''; in oci_handle_quoter()
400 (*quoted)[*quotedlen] = '\0'; in oci_handle_quoter()
/PHP-7.1/ext/pdo_pgsql/
H A Dpgsql_driver.c331 … *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_… in pgsql_handle_quoter() argument
341 *quotedlen = tmp_len + 1; in pgsql_handle_quoter()
342 *quoted = emalloc(*quotedlen + 1); in pgsql_handle_quoter()
343 memcpy((*quoted)+1, escaped, *quotedlen-2); in pgsql_handle_quoter()
345 (*quoted)[*quotedlen-1] = '\''; in pgsql_handle_quoter()
346 (*quoted)[*quotedlen] = '\0'; in pgsql_handle_quoter()
352 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL); in pgsql_handle_quoter()
353 (*quoted)[*quotedlen + 1] = '\''; in pgsql_handle_quoter()
354 (*quoted)[*quotedlen + 2] = '\0'; in pgsql_handle_quoter()
355 *quotedlen += 2; in pgsql_handle_quoter()
/PHP-7.1/ext/pdo_mysql/
H A Dmysql_driver.c300 … *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_… in mysql_handle_quoter() argument
307 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); in mysql_handle_quoter()
308 (*quoted)[0] =(*quoted)[++*quotedlen] = '\''; in mysql_handle_quoter()
309 (*quoted)[++*quotedlen] = '\0'; in mysql_handle_quoter()
310 PDO_DBG_INF_FMT("quoted=%.*s", (int)*quotedlen, *quoted); in mysql_handle_quoter()
/PHP-7.1/ext/pdo_sqlite/
H A Dsqlite_driver.c233 … *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_… in sqlite_handle_quoter() argument
237 *quotedlen = strlen(*quoted); in sqlite_handle_quoter()
/PHP-7.1/ext/pdo/
H A Dphp_pdo_driver.h251 … *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_…
/PHP-7.1/ext/pdo_odbc/
H A Dodbc_driver.c264 … *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_… in odbc_handle_quoter() argument

Completed in 37 milliseconds