Searched refs:newstr (Results 1 – 9 of 9) sorted by relevance
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_charset.h | 22 PHPAPI zend_ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char * newstr, 25 PHPAPI zend_ulong mysqlnd_cset_escape_slashes(const MYSQLND_CHARSET * const cset, char * newstr, 35 …zend_ulong (*const escape_quotes)(const MYSQLND_CHARSET * const cset, char * newstr, const char… 36 …zend_ulong (*const escape_slashes)(const MYSQLND_CHARSET * const cset, char * newstr, const char…
|
H A D | mysqlnd_charset.c | 797 *newstr++ = *escapestr++; in mysqlnd_cset_escape_quotes() 803 if (newstr + 2 > newstr_e) { in mysqlnd_cset_escape_quotes() 807 *newstr++ = '\''; in mysqlnd_cset_escape_quotes() 808 *newstr++ = '\''; in mysqlnd_cset_escape_quotes() 814 *newstr++ = *escapestr; in mysqlnd_cset_escape_quotes() 817 *newstr = '\0'; in mysqlnd_cset_escape_quotes() 852 *newstr++ = *escapestr++; in mysqlnd_cset_escape_slashes() 886 *newstr++ = '\\'; in mysqlnd_cset_escape_slashes() 887 *newstr++ = esc; in mysqlnd_cset_escape_slashes() 894 *newstr++ = *escapestr; in mysqlnd_cset_escape_slashes() [all …]
|
H A D | mysqlnd.h | 210 #define mysqlnd_real_escape_string(conn, newstr, escapestr, escapestr_len) \ argument 211 ((conn)->data)->m->escape_string((conn)->data, (newstr), (escapestr), (escapestr_len)) 212 #define mysqlnd_escape_string(newstr, escapestr, escapestr_len) \ argument 213 mysqlnd_old_escape_string((newstr), (escapestr), (escapestr_len)) 215 PHPAPI zend_ulong mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr…
|
H A D | mysqlnd_connection.c | 989 mysqlnd_old_escape_string(char * newstr, const char * escapestr, size_t escapestr_len) argument 992 …DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, esc… 1023 MYSQLND_METHOD(mysqlnd_conn_data, escape_string)(MYSQLND_CONN_DATA * const conn, char * newstr, con… 1033 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len); 1035 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len);
|
H A D | mysqlnd_structs.h | 442 …_mysqlnd_conn_data__escape_string)(MYSQLND_CONN_DATA * const conn, char *newstr, const char *escap…
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | funcs.c | 133 char *buf = NULL, *newstr; in file_printf() local 140 spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : "")); in file_printf() 145 ms->o.buf = newstr; in file_printf()
|
/PHP-8.0/ext/mbstring/ |
H A D | mbstring.c | 2616 char *newstr = mbstring_convert_case(case_mode, str, str_len, &ret_len, enc); in PHP_FUNCTION() local 2618 ZEND_ASSERT(newstr != NULL); in PHP_FUNCTION() 2621 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION() 2622 efree(newstr); in PHP_FUNCTION() 2646 ZEND_ASSERT(newstr != NULL); in PHP_FUNCTION() 2649 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION() 2650 efree(newstr); in PHP_FUNCTION() 2660 char *newstr; in PHP_FUNCTION() local 2677 ZEND_ASSERT(newstr != NULL); in PHP_FUNCTION() 2680 RETVAL_STRINGL(newstr, ret_len); in PHP_FUNCTION() [all …]
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli_api.c | 1890 zend_string *newstr; local 1897 newstr = zend_string_safe_alloc(2, escapestr_len, 0, 0); 1898 …ZSTR_LEN(newstr) = mysql_real_escape_string_quote(mysql->mysql, ZSTR_VAL(newstr), escapestr, escap… 1899 newstr = zend_string_truncate(newstr, ZSTR_LEN(newstr), 0); 1901 RETURN_NEW_STR(newstr);
|
/PHP-8.0/ext/fileinfo/ |
H A D | libmagic.patch | 2328 - char *buf, *newstr; 2351 - len = asprintf(&newstr, "%s%s", ms->o.buf, buf); 2356 - buf = newstr; 2372 + char *buf = NULL, *newstr; 2381 + spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : "")); 2386 + ms->o.buf = newstr;
|
Completed in 69 milliseconds