Searched refs:newstr (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/ext/mbstring/
H A Dphp_unicode.c273 char *unicode, *newstr; local
331 newstr = php_mb_convert_encoding(unicode, unicode_len, src_encoding, "UCS-4BE", ret_len TSRMLS_CC);
334 return newstr;
H A Dmbstring.c3140 char *newstr; local
3148 newstr = php_unicode_convert_case(case_mode, str, (size_t) str_len, &ret_len, from_encoding TSRMLS_CC);
3150 if (newstr) {
3151 RETVAL_STRINGL(newstr, ret_len, 0);
3164 char *newstr; local
3171 newstr = php_unicode_convert_case(PHP_UNICODE_CASE_UPPER, str, (size_t) str_len, &ret_len, from_encoding TSRMLS_CC);
3173 if (newstr) {
3174 RETURN_STRINGL(newstr, ret_len, 0);
3188 char *newstr; local
3195 newstr
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_charset.c687 PHPAPI ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const cset, char *newstr, argument
690 const char *newstr_s = newstr;
691 const char *newstr_e = newstr + 2 * escapestr_len;
704 if ((newstr + len) > newstr_e) {
710 *newstr++ = *escapestr++;
716 if (newstr + 2 > newstr_e) {
720 *newstr++ = '\'';
721 *newstr++ = '\'';
723 if (newstr + 1 > newstr_e) {
727 *newstr
741 mysqlnd_cset_escape_slashes(const MYSQLND_CHARSET * const cset, char *newstr, const char * escapestr, size_t escapestr_len TSRMLS_DC) argument
[all...]
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 char * escapestr, size_t escapestr_len TSRMLS_DC);
38 unsigned long (*const escape_slashes)(const MYSQLND_CHARSET * const cset, char * newstr, const char * escapestr, size_t escapestr_len TSRMLS_DC);
H A Dmysqlnd.c1567 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len TSRMLS_DC) argument
1570 DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, escapestr_len TSRMLS_CC));
1601 MYSQLND_METHOD(mysqlnd_conn_data, escape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, const char * escapestr, size_t escapestr_len TSRMLS_DC)
1611 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1613 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
H A Dmysqlnd.h218 #define mysqlnd_real_escape_string(conn, newstr, escapestr, escapestr_len) \
219 ((conn)->data)->m->escape_string((conn)->data, (newstr), (escapestr), (escapestr_len) TSRMLS_CC)
220 #define mysqlnd_escape_string(newstr, escapestr, escapestr_len) \
221 mysqlnd_old_escape_string((newstr), (escapestr), (escapestr_len) TSRMLS_CC)
223 PHPAPI ulong mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len TSRMLS_DC);
H A Dmysqlnd_structs.h418 typedef ulong (*func_mysqlnd_conn_data__escape_string)(MYSQLND_CONN_DATA * const conn, char *newstr, const char *escapestr, size_t escapestr_len TSRMLS_DC);
/PHP_TRUNK/ext/session/
H A Dphp_session.h197 #define PS_SERIALIZER_ENCODE_ARGS char **newstr, int *newlen TSRMLS_DC
H A Dsession.c871 *newstr = buf.c;
925 *newstr = buf.c;
1013 *newstr = buf.c;
/PHP_TRUNK/ext/xml/
H A Dxml.c757 char *newstr; local
760 newstr = xml_utf8_decode(tag, strlen(tag), &out_len, parser->target_encoding);
763 php_strtoupper(newstr, out_len);
766 return newstr;
/PHP_TRUNK/ext/wddx/
H A Dwddx.c278 *newstr = php_wddx_gather(packet);
282 *newlen = strlen(*newstr);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c66 char *buf = NULL, *newstr; local
73 len = spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : ""));
78 ms->o.buf = newstr;
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c1988 char *escapestr, *newstr; local
1996 newstr = safe_emalloc(2, escapestr_len, 1);
1997 newstr_len = mysql_real_escape_string(mysql->mysql, newstr, escapestr, escapestr_len);
1998 newstr = erealloc(newstr, newstr_len + 1);
2000 RETURN_STRINGL(newstr, newstr_len, 0);

Completed in 48 milliseconds