HomeSort by relevance Sort by last modified time
    Searched full:escaper (Results 1 - 22 of 22) sorted by null

  /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);
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Escaper.java 24 * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
29 * <p>An {@code Escaper} instance is required to be stateless, and safe when used concurrently by
34 * implementing new escapers. It is strongly recommended that when implementing a new escaper you
44 public abstract class Escaper {
49 * escaper implementation.
53 * correctly, including surrogate character pairs. If the input is badly formed the escaper
73 * depending on the specific escaper implementation.
77 * correctly, including surrogate character pairs. If the input is badly formed the escaper
100 * Returns a {@link Function} that invokes {@link #escape(String)} on this escaper.
CharEscapers.java 35 // that escaper should exactly be doing.
116 * safe to use this escaper to escape attribute values. Use the
117 * {@link #xmlEscaper()} escaper to escape attribute values or if you are
437 * Returns an {@link Escaper} instance that escapes Java chars so they can be
459 * <p>This escaper has identical behavior to (but is potentially much faster
471 public static Escaper uriEscaper() {
476 * Returns an {@link Escaper} instance that escapes Java chars so they can be
501 public static Escaper uriPathEscaper() {
506 * Returns an {@link Escaper} instance that escapes Java chars so they can be
510 * string in one pass with this escaper, then the "=" and "&amp;" character
    [all...]
UnicodeEscaper.java 25 * An {@link Escaper} that converts literal text into a format safe for
30 * <p>For example, an XML escaper would convert the literal string {@code
43 * handle Unicode correctly if you are considering implementing a new escaper
55 public abstract class UnicodeEscaper extends Escaper {
88 * <p><b>Note:</b> When implementing an escaper, it is a good idea to override
91 * them. If the semantics of your escaper are such that code points in the
95 * <p>Note however that if your escaper does not escape characters in the
98 * that your escaper does not validate its input.
131 * <p><b>Note:</b> When implementing an escaper it is a good idea to override
246 * {@code escaper.escape(string)}: <pre>{@cod
    [all...]
CharEscaper.java 28 * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
42 public abstract class CharEscaper extends Escaper {
71 * is always equivalent to {@code escaper.escape(string)}: <pre> {@code
74 * escaper.escape(sb).append(string);
188 * <p>An escaper is expected to be able to deal with any {@code char} value, so this method should
PercentEscaper.java 57 * <p><b>Note</b>: This escaper produces uppercase hexadecimal sequences. From
108 * Constructs a URI escaper with the specified safe characters and optional
112 * for this escaper (the ranges 0..9, a..z and A..Z are always safe and
121 // Avoid any misunderstandings about the behavior of this escaper
170 * performance of the uri escaper from ~760ns to ~400ns as measured by
186 * performance of the uri escaper from ~400ns to ~170ns as measured by
CharEscaperBuilder.java 114 * Convert this builder into a char escaper which is just a decorator around the underlying array
117 * @return an escaper that escapes based on the underlying array.
StringUtil.java     [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/
VarOptimizer.java 105 * both the html escaper and the url escaping function. However ClearSilver treats top-level escaper
117 * which fixes the problem because the new url escaper replaces the existing html escaper (rather
121 * escaper by ClearSilver but which does not (currently) have an escaper associated with it. This
135 * A list of escaper names that are also exposed as escaping functions (eg, if the "foo" escaper
226 * Returns the name of the escaper which could replace this function (or null if this function
245 * This is used because when an escaper is called as a function we need to replace
    [all...]
  /external/chromium_org/tools/gn/
escape.h 53 // When the escaping mode is ESCAPE_SHELL, the escaper will normally put
  /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);
  /external/chromium_org/third_party/icu/source/test/intltest/
wbnf.cpp 239 // Document of class Escaper
309 class Escaper{
329 Escaper(CHOICE escapeLiteral = RAND,
548 Quote(Pick & base):item(base),e(Escaper::NO, Escaper::NO, Escaper::BSLASH_ONLY){
556 Escaper e;
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
TextHtmlFunction.java 63 // We don't have access to the global html escaper here, so create a new one.
  /external/chromium_org/chrome/browser/ui/tests/
elide_url_unittest.cc 130 // bother to do too many edge cases, since these are handled by the escaper
  /frameworks/base/core/java/android/database/
DatabaseUtils.java 360 StringBuilder escaper = new StringBuilder(); local
362 DatabaseUtils.appendEscapedSQLString(escaper, value);
364 return escaper.toString();
    [all...]
  /packages/apps/Browser/src/com/android/browser/
SuggestionsAdapter.java 556 // expensive than a standard html escaper.
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/15.0/
guava-15.0-sources.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/17.0/
guava-17.0-sources.jar 
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
difflib.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
difflib.py     [all...]
  /prebuilts/tools/common/m2/repository/xom/xom/1.0/
xom-1.0.jar 
  /external/chromium_org/third_party/closure_compiler/compiler/
compiler.jar 

Completed in 682 milliseconds