HomeSort by relevance Sort by last modified time
    Searched defs:escaper (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/guava/guava-tests/test/com/google/common/escape/
CharEscaperBuilderTest.java 26 Escaper escaper = builder.toEscaper(); local
27 assertEquals("ZZZdef", escaper.escape("abcdef"));
EscapersTest.java 33 Escaper escaper = Escapers.nullEscaper(); local
34 EscaperAsserts.assertBasic(escaper);
36 assertEquals("null escaper should have no effect", s, escaper.escape(s));
41 Escaper escaper = Escapers.builder().setSafeRange('a', 'z').build(); local
42 assertEquals("The Quick Brown Fox", escaper.escape("The Quick Brown Fox"));
47 Escaper escaper = Escapers.builder().setUnsafeReplacement("X").build() local
    [all...]
ArrayBasedUnicodeEscaperTest.java 43 // In reality this is not a very sensible escaper to have (if you are only
45 UnicodeEscaper escaper = new ArrayBasedUnicodeEscaper(SIMPLE_REPLACEMENTS, local
51 EscaperAsserts.assertBasic(escaper);
53 escaper.escape("\tFish & Chips\n"));
57 assertEquals(safeChars, escaper.escape(safeChars));
62 escaper.escape(badUnicode);
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/
FunctionRegistry.java 60 TextFilter escaper = escapers.get(name); local
61 if (escaper == null) {
62 throw new JSilverInterpreterException("Unknown escaper: " + name);
64 escaper.filter(input, output);
141 * Registers an escaper, that is called when executing a <?cs escape ?> command.
143 * @param name The name with which <?cs escape ?> will invoke this escaper.
144 * @param escaper A TextFilter that implements the escaping functionality.
146 public void registerEscapeMode(String name, TextFilter escaper) {
148 escapers.put(name, escaper);
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/util/
UriEncoder.java 28 import org.yaml.snakeyaml.external.com.google.gdata.util.common.base.Escaper;
38 private static final Escaper escaper = new PercentEscaper(SAFE_CHARS, false); field in class:UriEncoder
44 return escaper.escape(uri);
  /external/guava/guava-testlib/src/com/google/common/escape/testing/
EscaperAsserts.java 24 import com.google.common.escape.Escaper;
32 * Extra assert methods for testing Escaper implementations.
43 * Asserts that an escaper behaves correctly with respect to null inputs.
45 * @param escaper the non-null escaper to test
48 public static void assertBasic(Escaper escaper) throws IOException {
50 Assert.assertEquals("", escaper.escape(""));
53 escaper.escape((String) null);
61 * Asserts that an escaper escapes the given character into the expecte
    [all...]
  /frameworks/base/core/java/android/database/
DatabaseUtils.java 358 StringBuilder escaper = new StringBuilder(); local
360 DatabaseUtils.appendEscapedSQLString(escaper, value);
362 return escaper.toString();
    [all...]
  /development/samples/SupportLeanbackShowcase/libs/
gson-1.7.2.jar 
  /prebuilts/tools/common/m2/repository/xom/xom/1.0/
xom-1.0.jar 
  /external/guice/lib/build/
guava-testlib-16.0.1.jar 
  /frameworks/opt/setupwizard/tools/docs/
jsilver.jar 
  /prebuilts/devtools/tools/lib/
jsilver-1.0.0.jar 
guava-17.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdk-common/25.2.0-alpha1/
sdk-common-25.2.0-alpha1.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdk-common/25.2.0-alpha3/
sdk-common-25.2.0-alpha3.jar 
  /prebuilts/misc/common/sdk-common/
sdk-common.jar 
  /prebuilts/tools/common/m2/repository/com/google/jsilver/jsilver/1.0.0/
jsilver-1.0.0.jar 
  /prebuilts/tools/common/offline-m2/com/android/tools/sdk-common/25.2.0-alpha4/
sdk-common-25.2.0-alpha4.jar 
  /prebuilts/tools/common/offline-m2/com/android/tools/sdk-common/25.2.0-beta1/
sdk-common-25.2.0-beta1.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-codec-http/4.1.0.CR3/
netty-codec-http-4.1.0.CR3.jar 
  /external/dagger2/lib/
google-java-format-0.1-20151017.042846-2.jar 
  /external/guice/lib/
guava-16.0.1.jar 
  /frameworks/data-binding/prebuilds/1.0-rc0/
databinding-studio-bundle.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.1.0/
compiler-2.1.0.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.1.0-beta1/
compiler-2.1.0-beta1.jar 

Completed in 496 milliseconds

1 2 3