Searched defs:newstr (Results 1 - 6 of 6) sorted by relevance

/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/mbstring/
H A Dmbstring.c3161 char *newstr; local
3170 newstr = php_unicode_convert_case(case_mode, str, (size_t) str_len, &ret_len, from_encoding);
3172 if (newstr) {
3174 RETVAL_STRINGL(newstr, ret_len);
3175 efree(newstr);
3188 char *newstr; local
3195 newstr = php_unicode_convert_case(PHP_UNICODE_CASE_UPPER, str, (size_t) str_len, &ret_len, from_encoding);
3197 if (newstr) {
3199 RETVAL_STRINGL(newstr, ret_len);
3200 efree(newstr);
3215 char *newstr; local
[all...]
H A Dphp_unicode.c273 char *unicode, *newstr; local
331 newstr = php_mb_convert_encoding(unicode, unicode_len, src_encoding, "UCS-4BE", ret_len);
334 return newstr;
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c1958 zend_string *newstr; local
1965 newstr = zend_string_alloc(2 * escapestr_len, 0);
1966 newstr->len = mysql_real_escape_string(mysql->mysql, newstr->val, escapestr, escapestr_len);
1967 newstr = zend_string_realloc(newstr, newstr->len, 0);
1969 RETURN_STR(newstr);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1590 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len) argument
1593 DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, escapestr_len));
1624 MYSQLND_METHOD(mysqlnd_conn_data, escape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, const char * escapestr, size_t escapestr_len)
1634 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len);
1636 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len);
H A Dmysqlnd_charset.c729 PHPAPI zend_ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const cset, char *newstr, argument
732 const char *newstr_s = newstr;
733 const char *newstr_e = newstr + 2 * escapestr_len;
746 if ((newstr + len) > newstr_e) {
752 *newstr++ = *escapestr++;
758 if (newstr + 2 > newstr_e) {
762 *newstr++ = '\'';
763 *newstr++ = '\'';
765 if (newstr + 1 > newstr_e) {
769 *newstr
783 mysqlnd_cset_escape_slashes(const MYSQLND_CHARSET * const cset, char *newstr, const char * escapestr, size_t escapestr_len) argument
[all...]

Completed in 19 milliseconds