Home
last modified time | relevance | path

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

/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_charset.h24 PHPAPI ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char *newstr,
27 PHPAPI ulong mysqlnd_cset_escape_slashes(const MYSQLND_CHARSET * const cset, char *newstr,
37 …unsigned long (*const escape_quotes)(const MYSQLND_CHARSET * const cset, char * newstr, const c…
38 …unsigned long (*const escape_slashes)(const MYSQLND_CHARSET * const cset, char * newstr, const c…
H A Dmysqlnd_charset.c712 *newstr++ = *escapestr++; in mysqlnd_cset_escape_quotes()
718 if (newstr + 2 > newstr_e) { in mysqlnd_cset_escape_quotes()
722 *newstr++ = '\''; in mysqlnd_cset_escape_quotes()
723 *newstr++ = '\''; in mysqlnd_cset_escape_quotes()
729 *newstr++ = *escapestr; in mysqlnd_cset_escape_quotes()
732 *newstr = '\0'; in mysqlnd_cset_escape_quotes()
767 *newstr++ = *escapestr++; in mysqlnd_cset_escape_slashes()
801 *newstr++ = '\\'; in mysqlnd_cset_escape_slashes()
802 *newstr++ = esc; in mysqlnd_cset_escape_slashes()
809 *newstr++ = *escapestr; in mysqlnd_cset_escape_slashes()
[all …]
H A Dmysqlnd.h213 #define mysqlnd_real_escape_string(conn, newstr, escapestr, escapestr_len) \ argument
214 ((conn)->data)->m->escape_string((conn)->data, (newstr), (escapestr), (escapestr_len) TSRMLS_CC)
215 #define mysqlnd_escape_string(newstr, escapestr, escapestr_len) \ argument
216 mysqlnd_old_escape_string((newstr), (escapestr), (escapestr_len) TSRMLS_CC)
218 PHPAPI ulong mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len …
H A Dmysqlnd.c1457 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len TSRMLS_DC) argument
1460 …DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, esc…
1490 MYSQLND_METHOD(mysqlnd_conn_data, escape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, con…
1500 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1502 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
H A Dmysqlnd_structs.h396 …_mysqlnd_conn_data__escape_string)(MYSQLND_CONN_DATA * const conn, char *newstr, const char *escap…
/PHP-5.4/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 TSRMLS_CC); in php_unicode_convert_case()
334 return newstr; in php_unicode_convert_case()
H A Dmbstring.c3116 char *newstr; in PHP_FUNCTION() local
3124newstr = php_unicode_convert_case(case_mode, str, (size_t) str_len, &ret_len, from_encoding TSRMLS… in PHP_FUNCTION()
3126 if (newstr) { in PHP_FUNCTION()
3127 RETVAL_STRINGL(newstr, ret_len, 0); in PHP_FUNCTION()
3140 char *newstr; in PHP_FUNCTION() local
3147newstr = php_unicode_convert_case(PHP_UNICODE_CASE_UPPER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION()
3149 if (newstr) { in PHP_FUNCTION()
3150 RETURN_STRINGL(newstr, ret_len, 0); in PHP_FUNCTION()
3164 char *newstr; in PHP_FUNCTION() local
3173 if (newstr) { in PHP_FUNCTION()
[all …]
/PHP-5.4/ext/fileinfo/libmagic/
H A Dfuncs.c63 char *buf = NULL, *newstr; in file_printf() local
70 len = spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : "")); in file_printf()
75 ms->o.buf = newstr; in file_printf()
/PHP-5.4/ext/session/
H A Dphp_session.h190 #define PS_SERIALIZER_ENCODE_ARGS char **newstr, int *newlen TSRMLS_DC
H A Dsession.c816 *newstr = buf.c;
907 *newstr = buf.c;
/PHP-5.4/ext/mysqli/
H A Dmysqli_api.c1903 char *escapestr, *newstr; local
1911 newstr = safe_emalloc(2, escapestr_len, 1);
1912 newstr_len = mysql_real_escape_string(mysql->mysql, newstr, escapestr, escapestr_len);
1913 newstr = erealloc(newstr, newstr_len + 1);
1915 RETURN_STRINGL(newstr, newstr_len, 0);
/PHP-5.4/ext/xml/
H A Dxml.c757 char *newstr; in _xml_decode_tag() local
760 newstr = xml_utf8_decode(tag, strlen(tag), &out_len, parser->target_encoding); in _xml_decode_tag()
763 php_strtoupper(newstr, out_len); in _xml_decode_tag()
766 return newstr; in _xml_decode_tag()
/PHP-5.4/ext/wddx/
H A Dwddx.c280 *newstr = php_wddx_gather(packet); in PS_SERIALIZER_ENCODE_FUNC()
284 *newlen = strlen(*newstr); in PS_SERIALIZER_ENCODE_FUNC()
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch1945 - char *buf, *newstr;
1946 + char *buf = NULL, *newstr;
1956 - len = asprintf(&newstr, "%s%s", ms->o.buf, buf);
1961 - buf = newstr;
1962 + len = spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : ""));
1967 + ms->o.buf = newstr;

Completed in 108 milliseconds