Searched refs:escaped (Results 1 – 2 of 2) sorted by relevance
3882 char *escaped = NULL; in http_primitives() local3885 escaped = evhttp_htmlescape("<script>"); in http_primitives()3886 tt_assert(escaped); in http_primitives()3887 tt_str_op(escaped, ==, "<script>"); in http_primitives()3888 free(escaped); in http_primitives()3890 escaped = evhttp_htmlescape("\"\'&"); in http_primitives()3891 tt_assert(escaped); in http_primitives()3892 tt_str_op(escaped, ==, ""'&"); in http_primitives()3903 if (escaped) in http_primitives()3904 free(escaped); in http_primitives()
232 html_replace(const char ch, const char **escaped) in html_replace() argument236 *escaped = "<"; in html_replace()239 *escaped = ">"; in html_replace()242 *escaped = """; in html_replace()245 *escaped = "'"; in html_replace()248 *escaped = "&"; in html_replace()