Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/logging/
DXMLFormatter.java77 private void escape(StringBuilder sb, String text) { in escape() method in XMLFormatter
124 escape(sb, name); in format()
129 escape(sb, record.getLevel().toString()); in format()
134 escape(sb, record.getSourceClassName()); in format()
140 escape(sb, record.getSourceMethodName()); in format()
152 escape(sb, message); in format()
167 escape(sb, record.getMessage()); in format()
170 escape(sb, record.getResourceBundleName()); in format()
185 escape(sb, parameters[i].toString()); in format()
198 escape(sb, th.toString()); in format()
[all …]
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java122 retLen = escape(retCC, c, retLen); in encodePath()
126 retLen = escape(retCC, (char)(0xE0 | ((c >> 12) & 0x0F)), retLen); in encodePath()
127 retLen = escape(retCC, (char)(0x80 | ((c >> 6) & 0x3F)), retLen); in encodePath()
128 retLen = escape(retCC, (char)(0x80 | ((c >> 0) & 0x3F)), retLen); in encodePath()
130 retLen = escape(retCC, (char)(0xC0 | ((c >> 6) & 0x1F)), retLen); in encodePath()
131 retLen = escape(retCC, (char)(0x80 | ((c >> 0) & 0x3F)), retLen); in encodePath()
153 private static int escape(char[] cc, char c, int index) { in escape() method in ParseUtil
/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java905 boolean escape = false; in appendEvaluated()
912 if (c == '\\' && !escape) { in appendEvaluated()
913 escape = true; in appendEvaluated()
914 } else if (c == '$' && !escape) { in appendEvaluated()
937 escape = false; in appendEvaluated()
942 if (escape) { in appendEvaluated()
/libcore/ojluni/src/main/java/sun/security/x509/
DX500Name.java1026 int escape = 0; in countQuotes() local
1028 if (string.charAt(i) == '"' && escape % 2 == 0) { in countQuotes()
1031 escape = (string.charAt(i) == '\\') ? escape + 1 : 0; in countQuotes()
DAVA.java404 boolean escape = false; in parseString()
408 escape = false; in parseString()
410 escape = true; in parseString()
490 if (c == ' ' && escape == false) { in parseString()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java45 private static int escape(char[] cc, char c, int index) { in escape() method in ParseUtil
/libcore/ojluni/src/test/java/util/regex/
DTestCases.txt721 // Test the word char escape sequence
750 // Test the whitespace escape sequence
763 // Test the digit escape sequence
DBMPTestCases.txt579 // Test the whitespace escape sequence
592 // Test the digit escape sequence
DSupplementaryTestCases.txt695 // Test the word char escape sequence
716 // Test the whitespace escape sequence
729 // Test the digit escape sequence
/libcore/
DJavaLibrary.bp89 // We have to escape \ as \\ and $ as $$ here because they get resolved by