Home
last modified time | relevance | path

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

/PHP-7.1/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.c1000 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len) argument
1003 …DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, esc…
1034 MYSQLND_METHOD(mysqlnd_conn_data, escape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, con…
1044 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len);
1046 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.1/ext/mbstring/
H A Dphp_unicode.c273 char *unicode, *newstr; in php_unicode_convert_case() local
331 newstr = php_mb_convert_encoding(unicode, unicode_len, src_encoding, "UCS-4BE", ret_len); in php_unicode_convert_case()
334 return newstr; in php_unicode_convert_case()
H A Dmbstring.c3303 char *newstr; in PHP_FUNCTION() local
3314 if (newstr) { in PHP_FUNCTION()
3316 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
3317 efree(newstr); in PHP_FUNCTION()
3330 char *newstr; in PHP_FUNCTION() local
3339 if (newstr) { in PHP_FUNCTION()
3341 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION()
3342 efree(newstr); in PHP_FUNCTION()
3357 char *newstr; in PHP_FUNCTION() local
3366 if (newstr) { in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/fileinfo/libmagic/
H A Dfuncs.c66 char *buf = NULL, *newstr; in file_printf() local
73 len = spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : "")); in file_printf()
78 ms->o.buf = newstr; in file_printf()
/PHP-7.1/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.1/ext/fileinfo/
H A Dlibmagic.patch2030 - char *buf, *newstr;
2044 - len = asprintf(&newstr, "%s%s", ms->o.buf, buf);
2049 - buf = newstr;
2065 + char *buf = NULL, *newstr;
2074 + len = spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : ""));
2079 + ms->o.buf = newstr;

Completed in 64 milliseconds