Searched defs:escape (Results 26 - 50 of 230) sorted by relevance

12345678910

/external/guava/guava/src/com/google/common/escape/
H A DArrayBasedUnicodeEscaper.java17 package com.google.common.escape;
152 public final String escape(String s) { method in class:ArrayBasedUnicodeEscaper
184 protected final char[] escape(int cp) { method in class:ArrayBasedUnicodeEscaper
206 * @param cp the Unicode code point to escape
H A DUnicodeEscaper.java17 package com.google.common.escape;
52 * your own escapers extend this class and implement the {@link #escape(int)}
61 /** The amount of padding (chars) to use when growing the escape buffer. */
86 * @param cp the Unicode code point to escape if necessary
90 protected abstract char[] escape(int cp); method in class:UnicodeEscaper
98 * successive Unicode code points and invokes {@link #escape(int)} for each of
103 * <p>Note however that if your escaper does not escape characters in the
120 if (cp < 0 || escape(cp) != null) {
152 public String escape(String string) { method in class:UnicodeEscaper
161 * index. This method is called by the {@link #escape(Strin
[all...]
H A DArrayBasedEscaperMap.java17 package com.google.common.escape;
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
H A DCookie.java47 public static String escape(String string) { method in class:Cookie
121 sb.append(escape(o.getString("name")));
123 sb.append(escape(o.getString("value")));
130 sb.append(escape(o.getString("domain")));
134 sb.append(escape(o.getString("path")));
/external/guava/guava-gwt/test/com/google/common/escape/
H A DArrayBasedUnicodeEscaperTest_gwt.java16 package com.google.common.escape;
19 return "com.google.common.escape.testModule";
22 com.google.common.escape.ArrayBasedUnicodeEscaperTest testCase = new com.google.common.escape.ArrayBasedUnicodeEscaperTest();
27 com.google.common.escape.ArrayBasedUnicodeEscaperTest testCase = new com.google.common.escape.ArrayBasedUnicodeEscaperTest();
32 com.google.common.escape.ArrayBasedUnicodeEscaperTest testCase = new com.google.common.escape.ArrayBasedUnicodeEscaperTest();
37 com.google.common.escape.ArrayBasedUnicodeEscaperTest testCase = new com.google.common.escape
[all...]
H A DEscapersTest_gwt.java16 package com.google.common.escape;
19 return "com.google.common.escape.testModule";
22 com.google.common.escape.EscapersTest testCase = new com.google.common.escape.EscapersTest();
27 com.google.common.escape.EscapersTest testCase = new com.google.common.escape.EscapersTest();
32 com.google.common.escape.EscapersTest testCase = new com.google.common.escape.EscapersTest();
37 com.google.common.escape.EscapersTest testCase = new com.google.common.escape
[all...]
H A DUnicodeEscaperTest_gwt.java16 package com.google.common.escape;
19 return "com.google.common.escape.testModule";
22 com.google.common.escape.UnicodeEscaperTest testCase = new com.google.common.escape.UnicodeEscaperTest();
27 com.google.common.escape.UnicodeEscaperTest testCase = new com.google.common.escape.UnicodeEscaperTest();
32 com.google.common.escape.UnicodeEscaperTest testCase = new com.google.common.escape.UnicodeEscaperTest();
37 com.google.common.escape.UnicodeEscaperTest testCase = new com.google.common.escape
[all...]
/external/guava/guava-testlib/src/com/google/common/escape/testing/
H A DEscaperAsserts.java17 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/guava/guava-tests/test/com/google/common/escape/
H A DArrayBasedCharEscaperTest.java17 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"));
H A DArrayBasedUnicodeEscaperTest.java17 package com.google.common.escape;
21 import com.google.common.escape.testing.EscaperAsserts;
53 escaper.escape("\tFish & Chips\n"));
57 assertEquals(safeChars, escaper.escape(safeChars));
62 escaper.escape(badUnicode);
79 assertEquals("{[}FOO{@}BAR{]}", wrappingEscaper.escape("[FOO@BAR]"));
91 deletingEscaper.escape("\tEverything\0 outside the\uD800\uDC00 " +
108 replacingEscaper.escape("\tFish &\0 Chips\r\n"));
123 assertEquals(safeInput, surrogateEscaper.escape(safeInput));
129 assertEquals("X", surrogateEscaper.escape(unsafeInpu
[all...]
H A DEscapersTest.java17 package com.google.common.escape;
21 import com.google.common.escape.testing.EscaperAsserts;
36 assertEquals("null escaper should have no effect", s, escaper.escape(s));
42 assertEquals("The Quick Brown Fox", escaper.escape("The Quick Brown Fox"));
48 assertEquals("\0\uFFFF", escaper.escape("\0\uFFFF"));
57 builder.build().escape("The Quick Brown Fox!"));
62 builder.build().escape("The Quick Brown Fox!"));
66 builder.build().escape("The Quick Brown Fox!"));
84 assertEquals("Xhe_Xuick_Xrown_XoxX", first.escape("The Quick Brown Fox!"));
85 assertEquals("Xhe-Xuick-Xrown-Xox$", second.escape("Th
[all...]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
H A DCharLiteralExpr.java48 public static CharLiteralExpr escape(String string) { method in class:CharLiteralExpr
H A DStringLiteralExpr.java51 public static StringLiteralExpr escape(String string) { method in class:StringLiteralExpr
/external/jsilver/src/com/google/clearsilver/jsilver/functions/
H A DFunctionExecutor.java40 void escape(String name, String input, Appendable output) throws IOException; method in interface:FunctionExecutor
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/
H A DHtmlEscapeFunction.java17 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 + "]");
H A DJsEscapeFunction.java17 package com.google.clearsilver.jsilver.functions.escape;
H A DSimpleEscapingFunction.java17 package com.google.clearsilver.jsilver.functions.escape;
43 * Creates an instance to escape the given set of characters.
61 throw new AssertionError("Cannot escape characters with values above " + CHAR_INDEX_LIMIT);
70 * Given one of the escape characters supplied to this instance's constructor, return the escape
H A DStyleEscapeFunction.java17 package com.google.clearsilver.jsilver.functions.escape;
29 * characters to escape. The StyleAttrEscapeFunction instead applies a whitelist, and strips out any
H A DUrlEscapeFunction.java17 package com.google.clearsilver.jsilver.functions.escape;
/external/libxml2/
H A DtestURI.c20 static int escape = 0; variable
49 if (escape != 0) {
85 ((!strcmp(argv[arg], "-escape")) || (!strcmp(argv[arg], "--escape")))) {
87 escape++;
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
H A DStringResources.java17 return escape(inputValue.trim());
24 * @param text Text to escape.
28 static String escape(String text) { method in class:StringResources
68 Logger.strict("Unsupported string resource escape code '%s'", escapeCode);
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
H A DEscaper.java70 public String escape(String string); method in interface:Escaper
96 public Appendable escape(Appendable out); method in interface:Escaper
/external/strace/tests/
H A Dinit_delete_module.h47 print_str(unsigned int base, unsigned int len, bool escape) argument
51 if (!escape) {
/external/strace/tests-m32/
H A Dinit_delete_module.h47 print_str(unsigned int base, unsigned int len, bool escape) argument
51 if (!escape) {
/external/strace/tests-mx32/
H A Dinit_delete_module.h47 print_str(unsigned int base, unsigned int len, bool escape) argument
51 if (!escape) {

Completed in 434 milliseconds

12345678910