Home
last modified time | relevance | path

Searched refs:safeLimit (Results 1 – 1 of 1) sorted by relevance

/external/owasp/sanitizer/src/main/org/owasp/html/
DEncoding.java45 int safeLimit = longestPrefixOfGoodCodeunits(s); in decodeHtml() local
46 if ((firstAmp & safeLimit) < 0) { return s; } in decodeHtml()
68 ? safeLimit : safeLimit < 0 in decodeHtml()
69 ? firstAmp : Math.min(firstAmp, safeLimit)); in decodeHtml()
80 int safeLimit = longestPrefixOfGoodCodeunits(s); in stripBannedCodeunits() local
81 if (safeLimit < 0) { return s; } in stripBannedCodeunits()
84 stripBannedCodeunits(sb, safeLimit); in stripBannedCodeunits()