HomeSort by relevance Sort by last modified time
    Searched defs:escape (Results 176 - 200 of 989) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
JamoTest.java 123 errln("FAIL: " + Utility.escape(buf.toString()));
125 logln(Utility.escape(buf.toString()));
209 errln(Utility.escape(buf.toString()));
221 errln(Utility.escape(buf.toString()));
236 errln(Utility.escape(buf.toString()));
ReplaceableTest.java 143 if (DEBUG) System.out.print(Utility.escape(toString() + " -> replace(" + start +
147 if (DEBUG) System.out.println(Utility.escape(toString()));
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/
AutoEscaper.java 103 // entire tree in a <?cs escape ?> node.
135 AEscapeCommand escape = local
139 node.replaceBy(escape);
291 AEscapeCommand escape = new AEscapeCommand(position, escapeExpr, (PCommand) node.clone()); local
293 node.replaceBy(escape);
  /external/llvm/tools/llvm-cov/
SourceCoverageViewHTML.cpp 186 std::string escape(StringRef Str) { function in namespace:__anon28205
246 std::string LinkText = escape(sys::path::relative_path(SF));
248 escape(getOutputPath(SF, "html", /*InToplevel=*/false));
266 OS << BeginSourceNameDiv << tag("pre", escape(getSourceName()))
318 // 2. Escape all of the snippets.
321 Snippets[I] = escape(Snippets[I]);
  /external/nanopb-c/generator/google/protobuf/
text_format.py 595 def escape(c): function in function:_CEscape
597 if o == 10: return r"\n" # optional escape
598 if o == 13: return r"\r" # optional escape
599 if o == 9: return r"\t" # optional escape
600 if o == 39: return r"\'" # optional escape
602 if o == 34: return r'\"' # necessary escape
603 if o == 92: return r"\\" # necessary escape
608 return "".join([escape(c) for c in text])
  /external/okhttp/website/static/
bootstrap.min.js 6 !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||s.toggleClass("open"),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown-menu",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",f (…) method in class:t
  /external/python/cpython2/Tools/i18n/
pygettext.py 77 --escape
78 Replace non-ASCII characters with octal escape sequences.
218 # escape any character outside the 32..126 range.
232 def escape(s):
250 s = '"' + escape(s) + '"'
256 lines[i] = escape(lines[i])
516 ['extract-all', 'default-domain=', 'escape', 'help',
532 escape = 0
557 elif opt in ('-E', '--escape'):
558 options.escape =
229 def escape(s): function
526 escape = 0 variable in class:main.Options
    [all...]
  /external/python/cpython3/Lib/
cgi.py 50 "print_environ_usage", "escape"]
1052 def escape(s, quote=None): function
    [all...]
re.py 98 escape Backslash all non-alphanumerics in a string.
134 "findall", "finditer", "compile", "purge", "template", "escape",
249 def escape(pattern): function
251 Escape all the characters in pattern except ASCII letters, numbers and '_'.
  /external/python/cpython3/Lib/xml/sax/
saxutils.py 18 def escape(data, entities={}): function
19 """Escape &, <, and > in a string of data.
21 You can escape other strings of data by passing a dictionary as
49 """Escape and quote an attribute value.
51 Escape &, <, and > in a string of data, then quote it for use as
55 You can escape other strings of data by passing a dictionary as
61 data = escape(data, entities)
214 self._write(escape(content))
  /external/python/cpython3/Tools/i18n/
pygettext.py 77 --escape
78 Replace non-ASCII characters with octal escape sequences.
211 global escapes, escape
215 # escape any character outside the 32..126 range.
217 escape = escape_ascii
220 escape = escape_nonascii
248 s = '"' + escape(s, encoding) + '"'
254 lines[i] = escape(lines[i], encoding)
474 ['extract-all', 'default-domain=', 'escape', 'help',
490 escape =
484 escape = 0 variable in class:main.Options
    [all...]
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
UnicodeEscaper.java 52 * implement the {@link #escape(int)} method.
57 /** The amount of padding (chars) to use when growing the escape buffer. */
83 * the Unicode code point to escape if necessary
87 protected abstract char[] escape(int cp); method in class:UnicodeEscaper
96 * successive Unicode code points and invokes {@link #escape(int)} for each
103 * Note however that if your escaper does not escape characters in the
125 if (cp < 0 || escape(cp) != null) {
143 * {@link #escape(Appendable)}) which can cope with arbitrarily split input.
160 public String escape(String string) { method in class:UnicodeEscaper
168 * index. This method is called by the {@link #escape(String)} method whe
285 public Appendable escape(final Appendable out) { method in class:UnicodeEscaper
    [all...]
  /external/turbine/java/com/google/turbine/parse/
StreamLexer.java 344 value = escape();
367 sb.append(escape()); method
395 private char escape() { method in class:StreamLexer
  /external/valgrind/exp-bbv/tests/arm-linux/
ll.S 323 add r1,r11,#(escape-data_begin)
445 escape: .ascii "\033[\0" label
  /external/webrtc/webrtc/base/
stringencode.cc 26 size_t escape(char * buffer, size_t buflen, function in namespace:rtc
28 const char * illegal, char escape) {
36 if ((ch == escape) || ::strchr(illegal, ch)) {
39 buffer[bufpos++] = escape;
50 char escape) {
58 if ((ch == escape) && (srcpos < srclen)) {
69 const char * illegal, char escape) {
77 if ((ch != escape) && !::strchr(illegal, ch)) {
82 buffer[bufpos+0] = escape;
94 char escape) {
    [all...]
  /frameworks/base/lowpan/java/android/net/lowpan/
LowpanIdentity.java 52 private static String escape(@NonNull byte[] bytes) { method in class:LowpanIdentity.Builder
102 mIdentity.mName = "«" + escape(name) + "»";
  /frameworks/base/tools/aapt/
pseudolocalize.cpp 234 * Note: This leaves escape sequences untouched so they can later be
246 // Escape syntax, no need to pseudolocalize
363 bool escape = false; local
367 if (!escape && c == ESCAPE_CHAR) {
368 escape = true;
371 space = (!escape && is_space(c)) || (escape && (c == 'n' || c == 't'));
380 if (escape) {
382 escape=false;
  /frameworks/base/tools/aapt2/compile/
Pseudolocalizer.cpp 448 bool escape = false; local
452 if (!escape && c == ESCAPE_CHAR) {
453 escape = true;
456 space = (!escape && isspace(c)) || (escape && (c == 'n' || c == 't'));
465 if (escape) {
467 escape=false;
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
writer.h 246 static const char escape[256] = { local
293 else if ((sizeof(Ch) == 1 || (unsigned)c < 256) && escape[(unsigned char)c]) {
296 os_->Put(escape[(unsigned char)c]);
297 if (escape[(unsigned char)c] == 'u') {
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
CharEscapers.java 42 public String escape(String string) {
48 public Appendable escape(final Appendable out) {
76 protected char[] escape(char c) {
116 * safe to use this escaper to escape attribute values. Use the
117 * {@link #xmlEscaper()} escaper to escape attribute values or if you are
509 * and values should be individually encoded. If you escape an entire query
589 * and values should be individually encoded. If you escape an entire query
678 * RFC 2396</a>. Specifically it will not escape "/", ":" and ",". This is
699 * <p><b>Note</b></p>: does not escape single quotes, so use the escaper
709 * Java string literal. Does <em>not</em> escape single-quotes, so us
908 @Override public String escape(String s) { method in class:CharEscapers.FastCharEscaper
932 @Override protected char[] escape(char c) { method in class:CharEscapers.JavaCharEscaper
986 @Override protected char[] escape(char c) { method in class:CharEscapers.JavascriptCharEscaper
1037 @Override protected char[] escape(char c) { method in class:CharEscapers.HtmlCharEscaper
1092 protected char[] escape(char c) { method in class:CharEscapers.FallThroughCharEscaper
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
debug_test.go 884 s += "cd" + escape(cmd.Dir) + ";"
891 s += escape(e)
895 s += escape(a)
901 // escape inserts escapes appropriate for use in a shell command line
902 func escape(s string) string { func
  /prebuilts/go/darwin-x86/src/html/template/
escape.go 122 // escape escapes a template node.
123 func (e *escaper) escape(c context, n parse.Node) context { func
317 // guarantees, since they all escape '\000', '\'', '"', '&', '<', and '>'.
503 c = e.escape(c, m)
  /prebuilts/go/darwin-x86/src/net/url/
url.go 88 return "invalid URL escape " + strconv.Quote(string(e))
116 // escape them (because hosts can't use %-encoding for
136 // last three as well. That leaves only ? to escape.
146 // userinfo, so we must escape only '@', '/', and '?'.
147 // The parsing of userinfo treats ':' as special so we must escape
152 // The RFC reserves (so we must escape) everything.
157 // everything, so escape nothing.
208 // introduces %25 being allowed to escape a percent sign
270 return escape(s, encodeQueryComponent)
276 return escape(s, encodePathSegment
279 func escape(s string, mode encoding) string { func
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/
gcinfo_test.go 48 verifyGCInfo(t, "heap Ptr", escape(new(Ptr)), trimDead(padDead(infoPtr)))
49 verifyGCInfo(t, "heap PtrSlice", escape(&make([]*byte, 10)[0]), trimDead(infoPtr10))
50 verifyGCInfo(t, "heap ScalarPtr", escape(new(ScalarPtr)), trimDead(infoScalarPtr))
51 verifyGCInfo(t, "heap ScalarPtrSlice", escape(&make([]ScalarPtr, 4)[0]), trimDead(infoScalarPtr4))
52 verifyGCInfo(t, "heap PtrScalar", escape(new(PtrScalar)), trimDead(infoPtrScalar))
53 verifyGCInfo(t, "heap BigStruct", escape(new(BigStruct)), trimDead(infoBigStruct()))
54 verifyGCInfo(t, "heap string", escape(new(string)), trimDead(infoString))
55 verifyGCInfo(t, "heap eface", escape(new(interface{})), trimDead(infoEface))
56 verifyGCInfo(t, "heap iface", escape(new(Iface)), trimDead(infoIface))
92 func escape(p interface{}) interface{} func
    [all...]
  /prebuilts/go/darwin-x86/test/
escape_param.go 7 // Test escape analysis for function parameters.
12 package escape package
23 _ = param0(&i) // ERROR "caller0a &i does not escape$"
39 sink, _ = param1(&i, &j) // ERROR "&i escapes to heap$" "caller1 &j does not escape$"
43 func param2(p1 *int, p2 **int) { // ERROR "leaking param: p1$" "param2 p2 does not escape$"
50 param2(&i, &p) // ERROR "&i escapes to heap$" "caller2a &p does not escape$"
57 param2(&i, &p) // ERROR "&i escapes to heap$" "caller2b &p does not escape$"
75 param3(&p) // ERROR "caller3a &p does not escape"
83 param3(&p) // ERROR "caller3b &p does not escape"
88 func (p *Pair) param4(i *int) { // ERROR "\(\*Pair\).param4 p does not escape$" "leaking param: i$
    [all...]

Completed in 1350 milliseconds

1 2 3 4 5 6 78 91011>>