Home
last modified time | relevance | path

Searched refs:newstr (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/mysqlnd/
H A Dmysqlnd_charset.h25 PHPAPI zend_ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char * newstr,
28 PHPAPI zend_ulong mysqlnd_cset_escape_slashes(const MYSQLND_CHARSET * const cset, char * newstr,
38 …zend_ulong (*const escape_quotes)(const MYSQLND_CHARSET * const cset, char * newstr, const char…
39 …zend_ulong (*const escape_slashes)(const MYSQLND_CHARSET * const cset, char * newstr, const char…
H A Dmysqlnd_charset.c869 const char *newstr_s = newstr; in mysqlnd_cset_escape_quotes()
883 *newstr++ = *escapestr++; in mysqlnd_cset_escape_quotes()
890 *newstr++ = '\''; in mysqlnd_cset_escape_quotes()
891 *newstr++ = '\''; in mysqlnd_cset_escape_quotes()
894 *newstr++ = *escapestr; in mysqlnd_cset_escape_quotes()
897 *newstr = '\0'; in mysqlnd_cset_escape_quotes()
925 *newstr++ = *escapestr++; in mysqlnd_cset_escape_slashes()
957 *newstr++ = '\\'; in mysqlnd_cset_escape_slashes()
958 *newstr++ = esc; in mysqlnd_cset_escape_slashes()
962 *newstr++ = *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 MYSQLND_METHOD(mysqlnd_conn_data, escape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, con…
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 …_mysqlnd_conn_data__escape_string)(MYSQLND_CONN_DATA * const conn, char *newstr, const char *escap…
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_encoding.h170 zend_string *newstr = erealloc((buf)->str, _ZSTR_STRUCT_SIZE(newsize)); \
171 out = (unsigned char*)ZSTR_VAL(newstr) + (out - (unsigned char*)ZSTR_VAL((buf)->str)); \
172 limit = (unsigned char*)ZSTR_VAL(newstr) + newsize; \
173 (buf)->str = newstr; \
/php-src/ext/mysqli/
H A Dmysqli_api.c1357 zend_string *newstr; in PHP_FUNCTION() local
1364 newstr = zend_string_safe_alloc(2, escapestr_len, 0, 0); in PHP_FUNCTION()
1365 …ZSTR_LEN(newstr) = mysql_real_escape_string_quote(mysql->mysql, ZSTR_VAL(newstr), escapestr, escap… in PHP_FUNCTION()
1366 newstr = zend_string_truncate(newstr, ZSTR_LEN(newstr), 0); in PHP_FUNCTION()
1368 RETURN_NEW_STR(newstr); in PHP_FUNCTION()
/php-src/ext/fileinfo/libmagic/
H A Dfuncs.c136 char *buf, *newstr; in file_vprintf() local
159 len = spprintf(&newstr, 0, "%s%s", ms->o.buf, buf); in file_vprintf()
162 buf = newstr; in file_vprintf()
/php-src/ext/fileinfo/
H A Dlibmagic.patch1895 char *buf, *newstr;
1917 - len = asprintf(&newstr, "%s%s", ms->o.buf, buf);
1922 + len = spprintf(&newstr, 0, "%s%s", ms->o.buf, buf);
1925 buf = newstr;

Completed in 51 milliseconds