Searched refs:escapeToAscii (Results 1 – 1 of 1) sorted by relevance
1481 boolean escapeToAscii) { in javaScriptEscapeHelper() argument1484 escapeStringBody(s, escapeToAscii, JsEscapingMode.EMBEDDABLE_JS, sb); in javaScriptEscapeHelper()1518 CharSequence plainText, boolean escapeToAscii, in escapeStringBody() argument1527 if (!shouldEscapeChar(codePoint, escapeToAscii, jsEscapingMode)) { in escapeStringBody()1572 boolean escapeToAscii, JsEscapingMode jsEscapingMode) { in shouldEscapeChar() argument1574 if (escapeToAscii && (codePoint < 0x20 || codePoint > 0x7e)) { in shouldEscapeChar()