/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...] |
/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/guava/guava/src/com/google/common/escape/ |
Escapers.java | 30 * Static utility methods pertaining to {@link Escaper} instances. 42 * Returns an {@link Escaper} that does no escaping, passing all character 45 public static Escaper nullEscaper() { 49 // An Escaper that efficiently performs no escaping. 50 // Extending CharEscaper (instead of Escaper) makes Escapers.compose() easier. 51 private static final Escaper NULL_ESCAPER = new CharEscaper() { 64 * can be reused and each escaper that is created will be a snapshot of the 84 * <p>Typically an escaper needs to deal with the escaping of high valued 105 * Sets the safe range of characters for the escaper. Characters in this 153 * Returns a new escaper based on the current state of the builder [all...] |
/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/desugar/java/com/google/devtools/common/options/ |
OptionsUsage.java | 21 import com.google.common.escape.Escaper; 196 Escaper escaper, 208 usage.append("=").append(escaper.escape(valueDescription)); 211 usage.append("=<").append(escaper.escape(typeDescription)).append(">"); 228 usage.append(" default: \"").append(escaper.escape(defaultValueString)).append("\""); 236 escaper.escape(optionDefinition.getHelpText()), /*indent=*/ 0, /*width=*/ 80)); 258 .append(escaper.escape(exp))
|
OptionsParser.java | 24 import com.google.common.escape.Escaper; 415 Map<String, String> categoryDescriptions, Escaper escaper) { 438 desc.append(escaper.escape(description)).append(":\n"); 445 OptionsUsage.getUsageHtml(optionDefinition, desc, escaper, impl.getOptionsData(), false); 458 public String describeOptionsHtml(Escaper escaper, String productName) { 473 desc.append(escaper.escape(categoryDescription)).append(":\n"); 477 OptionsUsage.getUsageHtml(optionDef, desc, escaper, impl.getOptionsData(), true); [all...] |
/external/cldr/tools/java/org/unicode/cldr/util/ |
CldrUtility.java | 646 * @param escaper 668 * @param escaper 709 public static String toRegex(UnicodeSet source, Transliterator escaper, boolean onlyBmp) { 710 if (escaper == null) { 711 escaper = DEFAULT_REGEX_ESCAPER; 720 return escaper.transliterate(it.getString()); 730 alternates.append('|').append(escaper.transliterate(it.string)); 732 addBmpRange(it.codepoint, it.codepointEnd, escaper, base); 735 addBmpRange(it.codepoint, 0xFFFF, escaper, base); 748 addSupplementalRange(leadX, leadX, trailX, trailY, escaper, lastToFirst) 762 alternates.append('|').append(toRegex(lastToFirst.get(last), escaper, onlyBmp)) local [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/ |
JSilver.java | 406 * Registers a global escaper. This also makes it available as a Function named with "_escape" 409 public void registerGlobalEscaper(String name, TextFilter escaper) { 410 globalFunctions.registerFunction(name + "_escape", escaper, true); 411 globalFunctions.registerEscapeMode(name, escaper);
|
/build/blueprint/ |
ninja_strings.go | 278 escaper *strings.Replacer) string { 280 str := escaper.Replace(n.strings[0]) 283 str += escaper.Replace(n.strings[i+1])
|
ninja_defs.go | 423 escaper *strings.Replacer) []string { 427 result[i] = ninjaStr.ValueWithEscaper(pkgNames, escaper)
|
/external/guice/lib/build/ |
guava-testlib-19.0.jar | |
/external/cldr/tools/java/libs/ |
guava.jar | |
/external/dagger2/lib/ |
google-java-format-0.1-20151017.042846-2.jar | |
/external/guice/lib/ |
guava-19.0.jar | |
/external/testng/ant/3rdparty/ |
doclava-1.0.3.jar | |
/external/grpc-grpc-java/netty/shaded/ |
grpc-netty-shaded-1.14.0.jar | |