/external/guava/guava-tests/test/com/google/common/net/ |
UrlEscapersTest.java | 19 import static com.google.common.escape.testing.EscaperAsserts.assertEscaping; 20 import static com.google.common.escape.testing.EscaperAsserts.assertUnescaped; 21 import static com.google.common.escape.testing.EscaperAsserts.assertUnicodeEscaping; 27 import com.google.common.escape.UnicodeEscaper; 40 * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'. 45 e.escape((String) null); 74 assertEquals("", e.escape("")); 75 assertEquals("safestring", e.escape("safestring")); 76 assertEquals("embedded%00null", e.escape("embedded\0null")); 77 assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar")) [all...] |
/external/guava/guava/src/com/google/common/html/ |
HtmlEscapers.java | 21 import com.google.common.escape.Escaper; 22 import com.google.common.escape.Escapers; 32 * escaped</a>. As a result, it is impossible to escape an HTML document
|
/external/guava/guava-tests/test/com/google/common/escape/ |
ArrayBasedCharEscaperTest.java | 17 package com.google.common.escape; 21 import com.google.common.escape.testing.EscaperAsserts; 51 assertEquals("{[}FOO{@}BAR{]}", wrappingEscaper.escape("[FOO@BAR]")); 63 // escape everything. 64 assertEquals("{[}{F}{O}{O}{]}", wrappingEscaper.escape("[FOO]")); 77 deletingEscaper.escape("\tEverything\0 outside the\uD800\uDC00 " + 94 replacingEscaper.escape("\tFish &\0 Chips\r\n"));
|
UnicodeEscaperTest.java | 17 package com.google.common.escape; 43 protected char[] escape(int c) { 51 protected char[] escape(int cp) { 80 assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString())); 130 e.escape((String) null); 163 protected char[] escape(int cp) { 177 e.escape("\0HeLLo \uD800\uDC00 WorlD!\n")); 189 return e.escape(s);
|
/external/vogar/test/vogar/ |
ScriptBuilderEscapingTest.java | 25 * Tests the {@link ScriptBuilder#escape(String)} method. 47 setName("Escape '" + uc + "' as '" + qc + "'"); 52 assertEquals(qc, ScriptBuilder.escape(uc)); 53 assertEquals("a" + qc, ScriptBuilder.escape("a" + uc)); 54 assertEquals(qc + "b", ScriptBuilder.escape(uc + "b")); 55 assertEquals("a" + qc + "b", ScriptBuilder.escape("a" + uc + "b")); 57 ScriptBuilder.escape(uc + "a" + uc + uc + uc + "b" + uc)); 65 super("mixed character escape test"); 71 ScriptBuilder.escape(" '\"<>&|$"));
|
/external/guava/guava-testlib/src/com/google/common/escape/testing/ |
EscaperAsserts.java | 17 package com.google.common.escape.testing; 19 import static com.google.common.escape.Escapers.computeReplacement; 23 import com.google.common.escape.CharEscaper; 24 import com.google.common.escape.Escaper; 25 import com.google.common.escape.UnicodeEscaper; 50 Assert.assertEquals("", escaper.escape("")); 53 escaper.escape((String) null); 66 * @param c the character to escape 77 * Asserts that an escaper does not escape the given character. 92 * @param cp the Unicode code point to escape [all...] |
/external/opencv3/3rdparty/jinja2/markupsafe/ |
_native.py | 14 def escape(s): function 31 """Like :func:`escape` but converts `None` into an empty 36 return escape(s)
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharEscaper.java | 38 * #escape(char)} method. 50 @Override public String escape(String string) { method in class:CharEscaper 55 if (escape(string.charAt(index)) != null) { 70 * <p>The escaping behavior is identical to that of {@link #escape(String)}, so the following code 71 * is always equivalent to {@code escaper.escape(string)}: <pre> {@code 74 * escaper.escape(sb).append(string); 81 @Override public Appendable escape(final Appendable out) { method in class:CharEscaper 86 out.append(escape(csq.toString())); 91 out.append(escape(csq.subSequence(start, end).toString())); 96 char[] escaped = escape(c) [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/all/ |
altmac2.d | 3 #name: alternate macro syntax (escape)
|
/external/bison/src/ |
graphviz.h | 65 /** Escape a lookahead token. 69 char const *escape (char const *name);
|
/external/doclava/src/com/google/doclava/ |
TextTagInfo.java | 27 super(n, k, Doclava.escape(t), p);
|
/external/guava/guava/src/com/google/common/escape/ |
Platform.java | 17 package com.google.common.escape;
|
CharEscaper.java | 17 package com.google.common.escape; 40 * #escape(char)} method. 58 @Override public String escape(String string) { method in class:CharEscaper 63 if (escape(string.charAt(index)) != null) { 72 * called by the {@link #escape(String)} method when it discovers that escaping is required. It is 95 char[] r = escape(s.charAt(index)); 153 * @param c the character to escape if necessary 156 protected abstract char[] escape(char c); method in class:CharEscaper 171 * The multiplier for padding to use when growing the escape buffer.
|
Escapers.java | 17 package com.google.common.escape; 52 @Override public String escape(String string) { 56 @Override protected char[] escape(char c) { 202 * @param c the character to escape if necessary 206 return stringOrNull(escaper.escape(c)); 216 * @param cp the Unicode code point to escape if necessary 220 return stringOrNull(escaper.escape(cp)); 230 @Override protected char[] escape(int cp) { 231 // If a code point maps to a single character, just escape that. 233 return escaper.escape((char) cp) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/functions/ |
FunctionExecutor.java | 40 void escape(String name, String input, Appendable output) throws IOException; method in interface:FunctionExecutor
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/ |
NullEscapeFunction.java | 17 package com.google.clearsilver.jsilver.functions.escape;
|
HtmlEscapeFunction.java | 17 package com.google.clearsilver.jsilver.functions.escape; 28 // The escape chars 36 // The corresponding escape strings for all ascii characters. 81 throw new IllegalArgumentException("Unexpected escape character " + c + "[" + (int) c + "]");
|
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
quoting.py | 25 return cgi.escape(v, 1) 28 return cgi.escape(v, 1) 30 return cgi.escape(v.encode(encoding), 1) 33 return cgi.escape(six.text_type(v), 1) 35 return cgi.escape(six.text_type(v).encode(encoding), 1) 71 Quote that makes sure text can't escape a comment
|
/external/icu/icu4c/source/samples/translit/answers/ |
main_4.cpp | 83 uprintf(escape(str)); 91 uprintf(escape(str)); 97 uprintf(escape(str)); 104 uprintf(escape(str)); 109 uprintf(escape(str2));
|
/external/icu/icu4c/source/samples/translit/ |
main.cpp | 85 uprintf(escape(str)); 93 uprintf(escape(str)); 99 uprintf(escape(str)); 106 uprintf(escape(str)); 111 uprintf(escape(str2));
|
/external/libcxx/test/std/experimental/string.view/string.view.nonmem/ |
quoted.pass.cpp | 66 void round_trip_e ( const char *p, char escape ) { 70 ss << std::quoted(sv, '"', escape ); 72 ss >> std::quoted(s, '"', escape ); 78 std::string quote ( const char *p, char delim='"', char escape='\\' ) { 80 ss << std::quoted(p, delim, escape); 86 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { 90 ss >> std::quoted(s, delim, escape); 131 void round_trip_e ( const wchar_t *p, wchar_t escape ) { 135 ss << std::quoted(sv, wchar_t('"'), escape ); 137 ss >> std::quoted(s, wchar_t('"'), escape ); [all...] |
/external/libcxx/test/std/input.output/iostream.format/quoted.manip/ |
quoted.pass.cpp | 69 void round_trip_e ( const char *p, char escape ) { 71 ss << std::quoted(p, '"', escape ); 73 ss >> std::quoted(s, '"', escape ); 79 std::string quote ( const char *p, char delim='"', char escape='\\' ) { 81 ss << std::quoted(p, delim, escape); 87 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { 91 ss >> std::quoted(s, delim, escape); 140 void round_trip_e ( const wchar_t *p, wchar_t escape ) { 142 ss << std::quoted(p, wchar_t('"'), escape ); 144 ss >> std::quoted(s, wchar_t('"'), escape ); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/quoted.manip/ |
quoted.pass.cpp | 69 void round_trip_e ( const char *p, char escape ) { 71 ss << std::quoted(p, '"', escape ); 73 ss >> std::quoted(s, '"', escape ); 79 std::string quote ( const char *p, char delim='"', char escape='\\' ) { 81 ss << std::quoted(p, delim, escape); 87 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { 91 ss >> std::quoted(s, delim, escape); 140 void round_trip_e ( const wchar_t *p, wchar_t escape ) { 142 ss << std::quoted(p, wchar_t('"'), escape ); 144 ss >> std::quoted(s, wchar_t('"'), escape ); [all...] |
/external/guava/guava/src/com/google/common/xml/ |
XmlEscapers.java | 21 import com.google.common.escape.Escaper; 22 import com.google.common.escape.Escapers; 31 * <p><b>Note:</b> Currently the escapers provided by this class do not escape 33 * XML escapers will not escape non-ASCII characters to their numeric entity 66 * safe</b> to use this escaper to escape attribute values. Use 76 * <p>This escaper does not escape non-ASCII characters to their numeric 102 * <p>This escaper does not escape non-ASCII characters to their numeric
|
/external/chromium-trace/catapult/third_party/webapp2/tests/resources/jinja2_templates_compiled/ |
tmpl_3a79873b1b49be244fd5444b1258ce348be26de8.py | 2 from jinja2.runtime import LoopContext, TemplateReference, Macro, Markup, TemplateRuntimeError, missing, concat, escape, markup_join, unicode_join, to_string, TemplateNotFound namespace
|