Home
last modified time | relevance | path

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

/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_charset.h24 PHPAPI zend_ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char *newstr,
27 PHPAPI zend_ulong mysqlnd_cset_escape_slashes(const MYSQLND_CHARSET * const cset, char *newstr,
37 …zend_ulong (*const escape_quotes)(const MYSQLND_CHARSET * const cset, char * newstr, const char…
38 …zend_ulong (*const escape_slashes)(const MYSQLND_CHARSET * const cset, char * newstr, const char…
H A Dmysqlnd_charset.c799 *newstr++ = *escapestr++; in mysqlnd_cset_escape_quotes()
805 if (newstr + 2 > newstr_e) { in mysqlnd_cset_escape_quotes()
809 *newstr++ = '\''; in mysqlnd_cset_escape_quotes()
810 *newstr++ = '\''; in mysqlnd_cset_escape_quotes()
816 *newstr++ = *escapestr; in mysqlnd_cset_escape_quotes()
819 *newstr = '\0'; in mysqlnd_cset_escape_quotes()
854 *newstr++ = *escapestr++; in mysqlnd_cset_escape_slashes()
888 *newstr++ = '\\'; in mysqlnd_cset_escape_slashes()
889 *newstr++ = esc; in mysqlnd_cset_escape_slashes()
896 *newstr++ = *escapestr; in mysqlnd_cset_escape_slashes()
[all …]
H A Dmysqlnd.h216 #define mysqlnd_real_escape_string(conn, newstr, escapestr, escapestr_len) \ argument
217 ((conn)->data)->m->escape_string((conn)->data, (newstr), (escapestr), (escapestr_len))
218 #define mysqlnd_escape_string(newstr, escapestr, escapestr_len) \ argument
219 mysqlnd_old_escape_string((newstr), (escapestr), (escapestr_len))
221 PHPAPI zend_ulong mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr…
H A Dmysqlnd_connection.c1008 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len) argument
1011 …DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, esc…
1042 MYSQLND_METHOD(mysqlnd_conn_data, escape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, con…
1052 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len);
1054 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len);
H A Dmysqlnd_structs.h391 …_mysqlnd_conn_data__escape_string)(MYSQLND_CONN_DATA * const conn, char *newstr, const char *escap…
/PHP-7.2/ext/mbstring/
H A Dphp_unicode.c274 char *unicode, *newstr; in php_unicode_convert_case() local
332 newstr = php_mb_convert_encoding(unicode, unicode_len, src_encoding, "UCS-4BE", ret_len); in php_unicode_convert_case()
335 return newstr; in php_unicode_convert_case()
H A Dmbstring.c3428 char *newstr; in PHP_FUNCTION() local
3439 if (newstr) { in PHP_FUNCTION()
3441 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
3442 efree(newstr); in PHP_FUNCTION()
3455 char *newstr; in PHP_FUNCTION() local
3464 if (newstr) { in PHP_FUNCTION()
3466 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
3467 efree(newstr); in PHP_FUNCTION()
3482 char *newstr; in PHP_FUNCTION() local
3491 if (newstr) { in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/fileinfo/libmagic/
H A Dfuncs.c64 char *buf = NULL, *newstr; in file_printf() local
71 len = spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : "")); in file_printf()
76 ms->o.buf = newstr; in file_printf()
/PHP-7.2/ext/mysqli/
H A Dmysqli_api.c1963 zend_string *newstr; local
1970 newstr = zend_string_alloc(2 * escapestr_len, 0);
1971 …ZSTR_LEN(newstr) = mysql_real_escape_string(mysql->mysql, ZSTR_VAL(newstr), escapestr, escapestr_l…
1972 newstr = zend_string_truncate(newstr, ZSTR_LEN(newstr), 0);
1974 RETURN_NEW_STR(newstr);
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch1985 - char *buf, *newstr;
1996 - len = asprintf(&newstr, "%s%s", ms->o.buf, buf);
2001 - buf = newstr;
2019 + char *buf = NULL, *newstr;
2028 + len = spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : ""));
2033 + ms->o.buf = newstr;

Completed in 75 milliseconds