Home
last modified time | relevance | path

Searched refs:escapestr (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/mysqlnd/
H A Dmysqlnd_charset.h26 const char * escapestr, const size_t escapestr_len);
29 const char * escapestr, const size_t escapestr_len);
38 …quotes)(const MYSQLND_CHARSET * const cset, char * newstr, const char * escapestr, const size_t es…
39 …lashes)(const MYSQLND_CHARSET * const cset, char * newstr, const char * escapestr, const size_t es…
H A Dmysqlnd_charset.c875 for (;escapestr < end; escapestr++) { in mysqlnd_cset_escape_quotes()
883 *newstr++ = *escapestr++; in mysqlnd_cset_escape_quotes()
885 escapestr--; in mysqlnd_cset_escape_quotes()
888 if (*escapestr == '\'') { in mysqlnd_cset_escape_quotes()
894 *newstr++ = *escapestr; in mysqlnd_cset_escape_quotes()
915 for (;escapestr < end; escapestr++) { in mysqlnd_cset_escape_slashes()
927 escapestr--; in mysqlnd_cset_escape_slashes()
930 esc = *escapestr; in mysqlnd_cset_escape_slashes()
934 switch (*escapestr) { in mysqlnd_cset_escape_slashes()
947 esc = *escapestr; in mysqlnd_cset_escape_slashes()
[all …]
H A Dmysqlnd.h206 #define mysqlnd_real_escape_string(conn, newstr, escapestr, escapestr_len) \ argument
207 ((conn)->data)->m->escape_string((conn)->data, (newstr), (escapestr), (escapestr_len))
208 #define mysqlnd_escape_string(newstr, escapestr, escapestr_len) \ argument
209 mysqlnd_old_escape_string((newstr), (escapestr), (escapestr_len))
211 PHPAPI zend_ulong mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr…
H A Dmysqlnd_connection.c896 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len) argument
899 …DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, esc…
925 …ape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, const char * escapestr, size_t escapest…
933 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len);
935 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len);
H A Dmysqlnd_structs.h431 …scape_string)(MYSQLND_CONN_DATA * const conn, char *newstr, const char *escapestr, size_t escapest…
/php-src/ext/mysqli/
H A Dmysqli_api.c1355 char *escapestr; in PHP_FUNCTION() local
1359 …END_NUM_ARGS(), getThis(), "Os", &mysql_link, mysqli_link_class_entry, &escapestr, &escapestr_len)… in PHP_FUNCTION()
1365 …ZSTR_LEN(newstr) = mysql_real_escape_string_quote(mysql->mysql, ZSTR_VAL(newstr), escapestr, escap… in PHP_FUNCTION()

Completed in 58 milliseconds