escaped 223 opal/mca/event/libevent2022/libevent/http.c html_replace(const char ch, const char **escaped) escaped 227 opal/mca/event/libevent2022/libevent/http.c *escaped = "<"; escaped 230 opal/mca/event/libevent2022/libevent/http.c *escaped = ">"; escaped 233 opal/mca/event/libevent2022/libevent/http.c *escaped = """; escaped 236 opal/mca/event/libevent2022/libevent/http.c *escaped = "'"; escaped 239 opal/mca/event/libevent2022/libevent/http.c *escaped = "&"; escaped 3225 opal/mca/event/libevent2022/libevent/test/regress_http.c char *escaped = NULL; escaped 3228 opal/mca/event/libevent2022/libevent/test/regress_http.c escaped = evhttp_htmlescape("<script>"); escaped 3229 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(escaped); escaped 3230 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_str_op(escaped, ==, "<script>"); escaped 3231 opal/mca/event/libevent2022/libevent/test/regress_http.c free(escaped); escaped 3233 opal/mca/event/libevent2022/libevent/test/regress_http.c escaped = evhttp_htmlescape("\"\'&"); escaped 3234 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(escaped); escaped 3235 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_str_op(escaped, ==, ""'&"); escaped 3246 opal/mca/event/libevent2022/libevent/test/regress_http.c if (escaped) escaped 3247 opal/mca/event/libevent2022/libevent/test/regress_http.c free(escaped); escaped 53 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c size_t len, escaped; escaped 69 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c len = 0; escaped = 0; escaped 70 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c while (value[len+escaped] != '\"') { escaped 71 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c if (value[len+escaped] == '&') { escaped 72 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c if (!strncmp(&value[1+len+escaped], "#10;", 4)) { escaped 73 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c escaped += 4; escaped 75 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c } else if (!strncmp(&value[1+len+escaped], "#13;", 4)) { escaped 76 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c escaped += 4; escaped 78 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c } else if (!strncmp(&value[1+len+escaped], "#9;", 3)) { escaped 79 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c escaped += 3; escaped 81 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c } else if (!strncmp(&value[1+len+escaped], "quot;", 5)) { escaped 82 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c escaped += 5; escaped 84 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c } else if (!strncmp(&value[1+len+escaped], "lt;", 3)) { escaped 85 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c escaped += 3; escaped 87 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c } else if (!strncmp(&value[1+len+escaped], "gt;", 3)) { escaped 88 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c escaped += 3; escaped 90 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c } else if (!strncmp(&value[1+len+escaped], "amp;", 4)) { escaped 91 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c escaped += 4; escaped 97 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c value[len] = value[len+escaped]; escaped 100 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c if (value[len+escaped] == '\0') escaped 106 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c end = &value[len+escaped+1]; /* skip the ending " */ escaped 559 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c char *escaped, *dst; escaped 567 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c escaped = malloc(fulllen*6+1); /* escaped chars are replaced by at most 6 char */ escaped 568 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c dst = escaped; escaped 595 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c return escaped; escaped 637 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c char *escaped = hwloc__nolibxml_export_escape_string(value); escaped 638 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c int res = hwloc_snprintf(ndata->buffer, ndata->remaining, " %s=\"%s\"", name, escaped ? (const char *) escaped : value); escaped 640 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c free(escaped);