/macosx-10.10.1/ruby-106/ruby/test/webrick/ |
H A D | test_htmlutils.rb | 8 assert_equal("foo", escape("foo")) 9 assert_equal("foo bar", escape("foo bar")) 10 assert_equal("foo&bar", escape("foo&bar")) 11 assert_equal("foo"bar", escape("foo\"bar")) 12 assert_equal("foo>bar", escape("foo>bar")) 13 assert_equal("foo<bar", escape("foo<bar")) 14 assert_equal("\u{3053 3093 306B 3061 306F}", escape("\u{3053 3093 306B 3061 306F}")) 17 assert_equal("\u{3053 3093 306B}\xff<", escape("\u{3053 3093 306B}\xff<"))
|
H A D | test_httputils.rb | 63 assert_equal("/foo/bar", escape("/foo/bar")) 64 assert_equal("/~foo/bar", escape("/~foo/bar")) 65 assert_equal("/~foo%20bar", escape("/~foo bar")) 66 assert_equal("/~foo%20bar", escape("/~foo bar")) 67 assert_equal("/~foo%09bar", escape("/~foo\tbar")) 68 assert_equal("/~foo+bar", escape("/~foo+bar")) 71 assert_equal("%E3%83%AB%E3%83%93%E3%83%BC%E3%81%95%E3%82%93", escape("\u{30EB 30D3 30FC 3055 3093}"))
|
/macosx-10.10.1/ICU-531.30/icuSources/samples/datefmt/ |
H A D | util.h | 13 UnicodeString escape(const UnicodeString &source);
|
/macosx-10.10.1/ICU-531.30/icuSources/samples/msgfmt/ |
H A D | util.h | 13 UnicodeString escape(const UnicodeString &source);
|
/macosx-10.10.1/ICU-531.30/icuSources/samples/numfmt/ |
H A D | util.h | 14 UnicodeString escape(const UnicodeString &source);
|
/macosx-10.10.1/ICU-531.30/icuSources/samples/translit/ |
H A D | util.h | 13 UnicodeString escape(const UnicodeString &source);
|
H A D | main.cpp | 85 uprintf(escape(str)); 93 uprintf(escape(str)); 99 uprintf(escape(str)); 106 uprintf(escape(str)); 111 uprintf(escape(str2));
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma/GlobalObject/ |
H A D | 15.1.2.4.js | 25 escape( string ) 28 The escape function computes a new version of a string value in which 29 certain characters have been replaced by a hexadecimal escape sequence. 34 escape sequence of the form %xx is used in accordance with RFC1738. 36 digit escape sequence of the form %uxxxx is used. 38 When the escape function is called with one argument string, the 72 var TITLE = "escape(string)"; 84 array[item++] = new TestCase( SECTION, "escape.length", 1, escape.length ); 85 array[item++] = new TestCase( SECTION, "escape [all...] |
/macosx-10.10.1/ruby-106/ruby/lib/webrick/ |
H A D | htmlutils.rb | 17 def escape(string) method in class:WEBrick.HTMLUtils 26 module_function :escape
|
H A D | accesslog.rb | 129 (param = params[spec][param]) ? escape(param) : "-" 135 escape(params["i"].peeraddr[1].to_s) 137 escape(params["p"].to_s) 142 escape(params[spec].to_s) 150 def escape(data) method in class:WEBrick.AccessLog
|
/macosx-10.10.1/ruby-106/ruby/benchmark/ |
H A D | bm_so_mandelbrot.rb | 26 escape = false 36 escape = true 41 byte_acc = (byte_acc << 1) | (escape ? 0b0 : 0b1)
|
/macosx-10.10.1/ruby-106/ruby/test/cgi/ |
H A D | test_cgi_util.rb | 23 assert_equal('%26%3C%3E%22+%E3%82%86%E3%82%93%E3%82%86%E3%82%93', CGI::escape(@str1)) 24 assert_equal('%26%3C%3E%22+%E3%82%86%E3%82%93%E3%82%86%E3%82%93'.ascii_only?, CGI::escape(@str1).ascii_only?) if defined?(::Encoding) 29 assert_equal('%C0%3C%3C', CGI::escape("\xC0<<".force_encoding("UTF-8"))) 34 assert_equal(Encoding::US_ASCII, CGI::escape("\xC0<<".force_encoding("US-ASCII")).encoding) 35 assert_equal(Encoding::ASCII_8BIT, CGI::escape("\xC0<<".force_encoding("ASCII-8BIT")).encoding) 36 assert_equal(Encoding::UTF_8, CGI::escape("\xC0<<".force_encoding("UTF-8")).encoding)
|
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/term/ansi/ |
H A D | code.tcl | 22 proc ::term::ansi::code::define {name escape code} { 23 proc [Qualified $name] {} [list ::term::ansi::code::$escape $code]
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/RegExp/ |
H A D | octal-003.js | 17 * regexp should be parsed as a single token: it is the octal escape sequence 62 escape(pattern), 63 escape(regexp.exec(pattern).input) ); 68 escape(regexp.exec(pattern).toString()) ); 78 escape(regexp.exec(pattern)[matches]) );
|
/macosx-10.10.1/ICU-531.30/icuSources/samples/translit/answers/ |
H A D | main_4.cpp | 83 uprintf(escape(str)); 91 uprintf(escape(str)); 97 uprintf(escape(str)); 104 uprintf(escape(str)); 109 uprintf(escape(str2));
|
H A D | main_3.cpp | 79 uprintf(escape(str)); 87 uprintf(escape(str)); 93 uprintf(escape(str)); 100 uprintf(escape(str));
|
H A D | main_2.cpp | 60 uprintf(escape(str)); 68 uprintf(escape(str)); 74 uprintf(escape(str));
|
H A D | main_1.cpp | 52 uprintf(escape(str)); 60 uprintf(escape(str));
|
/macosx-10.10.1/libclosure-65/escapeTests/ |
H A D | makefile | 4 SRC = escape.m escape2.m escape3.m escape4.m escape5.m escape6.m 18 ./escape.32
|
/macosx-10.10.1/ppp-786.1.1/Documentation/scripts/ |
H A D | ppp-on | 29 # work. The asyncmap and escape will permit the PPP link to work with 35 asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
|
/macosx-10.10.1/postfix-255/postfix/src/util/ |
H A D | stringops.h | 38 extern VSTRING *escape(VSTRING *, const char *, ssize_t);
|
/macosx-10.10.1/apr-32/apr/apr/strings/ |
H A D | apr_fnmatch.c | 78 const int escape = !(flags & APR_FNM_NOESCAPE); local 106 if (escape && (**pattern == '\\')) { 126 *pattern += (escape && ((*pattern)[2] == '\\')) ? 3 : 2; 171 else if (escape && (**pattern == '\\') && (*pattern)[1]) { 197 const int escape = !(flags & APR_FNM_NOESCAPE); local 218 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) 232 else if (escape && (*pattern == '\\') && (pattern[1] == '.')) 261 || (escape && (*pattern == '\\') 294 || (escape && (*matchptr == '\\') 323 * Use a dummy fnmatch_ch() test to count one "[range]" escape [all...] |
/macosx-10.10.1/sudo-73/src/ |
H A D | fnmatch.c | 161 const int escape = !(flags & FNM_NOESCAPE); local 189 if (escape && (**pattern == '\\')) { 216 *pattern += (escape && ((*pattern)[2] == '\\')) ? 3 : 2; 263 else if (escape && (**pattern == '\\') && (*pattern)[1]) { 296 const int escape = !(flags & FNM_NOESCAPE); local 321 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) 335 else if (escape && (*pattern == '\\') && (pattern[1] == '.')) 364 || (escape && (*pattern == '\\') 397 || (escape && (*matchptr == '\\') 426 * Use a dummy fnmatch_ch() test to count one "[range]" escape [all...] |
/macosx-10.10.1/libxml2-26/libxml2/doc/examples/ |
H A D | index.py | 13 from apibuild import CParser, escape 103 output.write(" <synopsis>%s</synopsis>\n" % escape(synopsis)); 108 output.write(" <purpose>%s</purpose>\n" % escape(purpose)); 113 output.write(" <usage>%s</usage>\n" % escape(usage)); 118 output.write(" <test>%s</test>\n" % escape(test)); 126 output.write(" <author>%s</author>\n" % escape(author)); 131 output.write(" <copy>%s</copy>\n" % escape(copy)); 136 output.write(" <section>%s</section>\n" % escape(section)); 149 escape(topic), escape(st [all...] |
/macosx-10.10.1/ruby-106/ruby/test/ruby/ |
H A D | test_rational.rb | 12 seps = [File::SEPARATOR, File::ALT_SEPARATOR].compact.map{|x| Regexp.escape(x)}.join("|")
|