Home
last modified time | relevance | path

Searched refs:escapestr_len (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 …t MYSQLND_CHARSET * const cset, char * newstr, const char * escapestr, const size_t escapestr_len);
39 …t MYSQLND_CHARSET * const cset, char * newstr, const char * escapestr, const size_t escapestr_len);
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 … zend_ulong mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len);
H A Dmysqlnd_charset.c867 const char * escapestr, const size_t escapestr_len) in mysqlnd_cset_escape_quotes() argument
870 const char *newstr_e = newstr + 2 * escapestr_len; in mysqlnd_cset_escape_quotes()
871 const char *end = escapestr + escapestr_len; in mysqlnd_cset_escape_quotes()
906 const char * escapestr, const size_t escapestr_len) in mysqlnd_cset_escape_slashes() argument
909 const char *newstr_e = newstr + 2 * escapestr_len; in mysqlnd_cset_escape_slashes()
910 const char *end = escapestr + escapestr_len; in mysqlnd_cset_escape_slashes()
H A Dmysqlnd_connection.c896 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len) argument
899 …ysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, escapestr_len));
925 …tring)(MYSQLND_CONN_DATA * const conn, char * newstr, const char * escapestr, size_t escapestr_len)
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 …string)(MYSQLND_CONN_DATA * const conn, char *newstr, const char *escapestr, size_t escapestr_len);
/php-src/ext/mysqli/
H A Dmysqli_api.c1356 size_t escapestr_len; in PHP_FUNCTION() local
1359 …), getThis(), "Os", &mysql_link, mysqli_link_class_entry, &escapestr, &escapestr_len) == FAILURE) { in PHP_FUNCTION()
1364 newstr = zend_string_safe_alloc(2, escapestr_len, 0, 0); in PHP_FUNCTION()
1365 …) = mysql_real_escape_string_quote(mysql->mysql, ZSTR_VAL(newstr), escapestr, escapestr_len, '\''); in PHP_FUNCTION()

Completed in 31 milliseconds