Home
last modified time | relevance | path

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

/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_charset.h22 PHPAPI zend_ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char * newstr,
25 PHPAPI zend_ulong mysqlnd_cset_escape_slashes(const MYSQLND_CHARSET * const cset, char * newstr,
35 …zend_ulong (*const escape_quotes)(const MYSQLND_CHARSET * const cset, char * newstr, const char…
36 …zend_ulong (*const escape_slashes)(const MYSQLND_CHARSET * const cset, char * newstr, const char…
H A Dmysqlnd_charset.c797 *newstr++ = *escapestr++; in mysqlnd_cset_escape_quotes()
803 if (newstr + 2 > newstr_e) { in mysqlnd_cset_escape_quotes()
807 *newstr++ = '\''; in mysqlnd_cset_escape_quotes()
808 *newstr++ = '\''; in mysqlnd_cset_escape_quotes()
814 *newstr++ = *escapestr; in mysqlnd_cset_escape_quotes()
817 *newstr = '\0'; in mysqlnd_cset_escape_quotes()
852 *newstr++ = *escapestr++; in mysqlnd_cset_escape_slashes()
886 *newstr++ = '\\'; in mysqlnd_cset_escape_slashes()
887 *newstr++ = esc; in mysqlnd_cset_escape_slashes()
894 *newstr++ = *escapestr; in mysqlnd_cset_escape_slashes()
[all …]
H A Dmysqlnd.h210 #define mysqlnd_real_escape_string(conn, newstr, escapestr, escapestr_len) \ argument
211 ((conn)->data)->m->escape_string((conn)->data, (newstr), (escapestr), (escapestr_len))
212 #define mysqlnd_escape_string(newstr, escapestr, escapestr_len) \ argument
213 mysqlnd_old_escape_string((newstr), (escapestr), (escapestr_len))
215 PHPAPI zend_ulong mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr…
H A Dmysqlnd_connection.c989 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len) argument
992 …DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, esc…
1023 MYSQLND_METHOD(mysqlnd_conn_data, escape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, con…
1033 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len);
1035 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len);
H A Dmysqlnd_structs.h442 …_mysqlnd_conn_data__escape_string)(MYSQLND_CONN_DATA * const conn, char *newstr, const char *escap…
/PHP-8.0/ext/fileinfo/libmagic/
H A Dfuncs.c133 char *buf = NULL, *newstr; in file_printf() local
140 spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : "")); in file_printf()
145 ms->o.buf = newstr; in file_printf()
/PHP-8.0/ext/mbstring/
H A Dmbstring.c2616 char *newstr = mbstring_convert_case(case_mode, str, str_len, &ret_len, enc); in PHP_FUNCTION() local
2618 ZEND_ASSERT(newstr != NULL); in PHP_FUNCTION()
2621 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
2622 efree(newstr); in PHP_FUNCTION()
2646 ZEND_ASSERT(newstr != NULL); in PHP_FUNCTION()
2649 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
2650 efree(newstr); in PHP_FUNCTION()
2660 char *newstr; in PHP_FUNCTION() local
2677 ZEND_ASSERT(newstr != NULL); in PHP_FUNCTION()
2680 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/mysqli/
H A Dmysqli_api.c1890 zend_string *newstr; local
1897 newstr = zend_string_safe_alloc(2, escapestr_len, 0, 0);
1898 …ZSTR_LEN(newstr) = mysql_real_escape_string_quote(mysql->mysql, ZSTR_VAL(newstr), escapestr, escap…
1899 newstr = zend_string_truncate(newstr, ZSTR_LEN(newstr), 0);
1901 RETURN_NEW_STR(newstr);
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch2328 - char *buf, *newstr;
2351 - len = asprintf(&newstr, "%s%s", ms->o.buf, buf);
2356 - buf = newstr;
2372 + char *buf = NULL, *newstr;
2381 + spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : ""));
2386 + ms->o.buf = newstr;

Completed in 63 milliseconds