Home
last modified time | relevance | path

Searched refs:escape (Results 1 – 25 of 1135) sorted by relevance

12345678910>>...46

/third_party/node/test/parallel/
Dtest-querystring-escape.js7 assert.deepStrictEqual(qs.escape(5), '5');
8 assert.deepStrictEqual(qs.escape('test'), 'test');
9 assert.deepStrictEqual(qs.escape({}), '%5Bobject%20Object%5D');
10 assert.deepStrictEqual(qs.escape([5, 10]), '5%2C10');
11 assert.deepStrictEqual(qs.escape('Ŋōđĕ'), '%C5%8A%C5%8D%C4%91%C4%95');
12 assert.deepStrictEqual(qs.escape('testŊōđĕ'), 'test%C5%8A%C5%8D%C4%91%C4%95');
13 assert.deepStrictEqual(qs.escape(`${String.fromCharCode(0xD800 + 1)}test`),
17 () => qs.escape(String.fromCharCode(0xD800 + 1)),
27 qs.escape({ test: 5, toString: () => 'test', valueOf: () => 10 }),
34 assert.throws(() => qs.escape({ toString: 5 }), TypeError);
[all …]
/third_party/markupsafe/
D__init__.py24 args = _escape_argspec(list(args), enumerate(args), self.escape) # type: ignore
25 _escape_argspec(kwargs, kwargs.items(), self.escape)
85 return self.__class__(super().__add__(self.escape(other)))
91 return self.escape(other).__add__(self)
105 arg = tuple(_MarkupEscapeHelper(x, self.escape) for x in arg)
107 arg = _MarkupEscapeHelper(arg, self.escape)
115 return self.__class__(super().join(map(self.escape, seq)))
160 def escape(cls, s: t.Any) -> "Markup": member in Markup
164 rv = escape(s)
194 l, s, r = super().partition(self.escape(sep))
[all …]
/third_party/jerryscript/tests/jerry/
Dglobal-escaping.js17 assert (escape ("\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f") ===
19 assert (escape ("\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f") ===
21 assert (escape (" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN") ===
23 assert (escape ("OPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}\x7F") ===
26 assert (escape("\x80\x95\xaf\xfe\xff") === "%80%95%AF%FE%FF");
27 assert (escape("\u0100\ud800\udc00") === "%u0100%uD800%uDC00");
29 assert (escape({}) === "%5Bobject%20Object%5D");
30 assert (escape(true) === "true");
59 assert (unescape(escape(str)) === str);
/third_party/gettext/gettext-tools/tests/
Dxgettext-c-escape-116 cat <<\EOF > xg-c-escape-1.in.c
31 iconv -f UTF-8 -t EUC-JP < xg-c-escape-1.in.c > xg-c-escape-1.c \
35 -o xg-c-escape-1.tmp xg-c-escape-1.c || Exit 1
36 func_filter_POT_Creation_Date xg-c-escape-1.tmp xg-c-escape-1.po
38 cat <<\EOF > xg-c-escape-1.ok
76 ${DIFF} xg-c-escape-1.ok xg-c-escape-1.po
Dxgettext-c-escape-28 cat <<\EOF > xg-c-escape-2.c
13 -o xg-c-escape-2.tmp xg-c-escape-2.c || Exit 1
14 func_filter_POT_Creation_Date xg-c-escape-2.tmp xg-c-escape-2.po
16 cat <<\EOF > xg-c-escape-2.ok
40 ${DIFF} xg-c-escape-2.ok xg-c-escape-2.po
Dxgettext-c-escape-39 -o xg-c-escape-3.tmp "$wabs_srcdir"/xg-c-escape-3.c || Exit 1
10 func_filter_POT_Creation_Date xg-c-escape-3.tmp xg-c-escape-3.po
12 cat <<\EOF > xg-c-escape-3.ok
75 ${DIFF} xg-c-escape-3.ok xg-c-escape-3.po
/third_party/boost/boost/io/detail/
Dquoted_manip.hpp33 Char escape='\\', Char delim='\"');
39 Char escape='\\', Char delim='\"');
44 quoted(const Char* s, Char escape='\\', Char delim='\"');
55 Char escape; member
59 : string(s_), escape(escape_), delim(delim_) {} in quoted_proxy()
69 std::basic_string<Char, Traits, Alloc> const & string, Char escape, Char delim) in basic_string_inserter_imp() argument
79 if (*it == delim || *it == escape) in basic_string_inserter_imp()
80 os << escape; in basic_string_inserter_imp()
93 return basic_string_inserter_imp(os, proxy.string, proxy.escape, proxy.delim); in operator <<()
102 return basic_string_inserter_imp(os, proxy.string, proxy.escape, proxy.delim); in operator <<()
[all …]
/third_party/node/tools/inspector_protocol/markupsafe/
D__init__.py80 return self.__class__(super(Markup, self).__add__(self.escape(other)))
85 return self.escape(other).__add__(self)
96 arg = tuple(_MarkupEscapeHelper(x, self.escape) for x in arg)
98 arg = _MarkupEscapeHelper(arg, self.escape)
108 return self.__class__(text_type.join(self, map(self.escape, seq)))
157 def escape(cls, s): member in Markup
162 rv = escape(s)
170 args = _escape_argspec(list(args), enumerate(args), self.escape)
187 text_type.partition(self, self.escape(sep))))
190 text_type.rpartition(self, self.escape(sep))))
[all …]
/third_party/skia/third_party/externals/markupsafe/
D__init__.py80 return self.__class__(super(Markup, self).__add__(self.escape(other)))
85 return self.escape(other).__add__(self)
96 arg = tuple(_MarkupEscapeHelper(x, self.escape) for x in arg)
98 arg = _MarkupEscapeHelper(arg, self.escape)
108 return self.__class__(text_type.join(self, map(self.escape, seq)))
157 def escape(cls, s): member in Markup
162 rv = escape(s)
170 args = _escape_argspec(list(args), enumerate(args), self.escape)
187 text_type.partition(self, self.escape(sep))))
190 text_type.rpartition(self, self.escape(sep))))
[all …]
/third_party/boost/boost/io/
Dquoted.hpp24 Char escape; member
37 quoted_start(const Char* string, Char escape, Char delim) in quoted_start() argument
42 count += 1 + (ch == escape || ch == delim); in quoted_start()
51 quoted_start(const String* string, Char escape, Char delim) in quoted_start() argument
58 count += 1 + (ch == escape || ch == delim); in quoted_start()
67 std::size_t size, std::size_t count, Char escape, Char delim) in quoted_put() argument
79 if ((ch == escape || ch == delim) && in quoted_put()
80 buf.sputc(escape) == Traits::eof()) { in quoted_put()
93 quoted_out(std::basic_ostream<Char, Traits>& os, String* string, Char escape, in quoted_out() argument
101 escape, delim); in quoted_out()
[all …]
/third_party/typescript/tests/baselines/reference/
DscannerUnicodeEscapeInKeyword2.errors.txt1 …ormance/scanner/ecmascript5/file1.ts(3,5): error TS1260: Keywords cannot contain escape characters.
2 …ormance/scanner/ecmascript5/file1.ts(8,5): error TS1260: Keywords cannot contain escape characters.
3 …rmance/scanner/ecmascript5/file1.ts(13,1): error TS1260: Keywords cannot contain escape characters.
4 …ormance/scanner/ecmascript5/file2.ts(1,1): error TS1260: Keywords cannot contain escape characters.
5 …ormance/scanner/ecmascript5/file2.ts(5,5): error TS1260: Keywords cannot contain escape characters.
6 …rmance/scanner/ecmascript5/file2.ts(10,5): error TS1260: Keywords cannot contain escape characters.
7 …rmance/scanner/ecmascript5/file2.ts(15,1): error TS1260: Keywords cannot contain escape characters.
15 !!! error TS1260: Keywords cannot contain escape characters.
22 !!! error TS1260: Keywords cannot contain escape characters.
29 !!! error TS1260: Keywords cannot contain escape characters.
[all …]
Dparser.numericSeparators.unicodeEscape.errors.txt1 …ser/ecmascriptnext/numericSeparators/1.ts(1,7): error TS1199: Unterminated Unicode escape sequence.
10 …ser/ecmascriptnext/numericSeparators/2.ts(1,7): error TS1199: Unterminated Unicode escape sequence.
14 …r/ecmascriptnext/numericSeparators/25.ts(1,11): error TS1199: Unterminated Unicode escape sequence.
15 …r/ecmascriptnext/numericSeparators/26.ts(1,11): error TS1199: Unterminated Unicode escape sequence.
16 …r/ecmascriptnext/numericSeparators/27.ts(1,11): error TS1199: Unterminated Unicode escape sequence.
17 …ser/ecmascriptnext/numericSeparators/3.ts(1,7): error TS1199: Unterminated Unicode escape sequence.
18 …er/ecmascriptnext/numericSeparators/37.ts(1,7): error TS1199: Unterminated Unicode escape sequence.
19 …er/ecmascriptnext/numericSeparators/38.ts(1,7): error TS1199: Unterminated Unicode escape sequence.
20 …er/ecmascriptnext/numericSeparators/39.ts(1,7): error TS1199: Unterminated Unicode escape sequence.
36 !!! error TS1199: Unterminated Unicode escape sequence.
[all …]
/third_party/python/Lib/
Dsre_parse.py295 def _class_escape(source, escape): argument
297 code = ESCAPES.get(escape)
300 code = CATEGORIES.get(escape)
304 c = escape[1:2]
307 escape += source.getwhile(2, HEXDIGITS)
308 if len(escape) != 4:
309 raise source.error("incomplete escape %s" % escape, len(escape))
310 return LITERAL, int(escape[2:], 16)
313 escape += source.getwhile(4, HEXDIGITS)
314 if len(escape) != 6:
[all …]
/third_party/gn/misc/
Dhelp_as_html.py37 output_line.append('<a href="#' + cgi.escape(command) + '">')
38 output_line.append(cgi.escape(command))
41 output_line.extend([sep + cgi.escape(rest) + '</li>'])
44 output.append('<h2>' + cgi.escape(line) + '</h2>')
56 output.append('<h3><a name="' + cgi.escape(command) + '">' +
57 cgi.escape(name + sep + rest) + '</a></h3>')
71 output.append('<h4>' + cgi.escape(line[:-1]) + '</h4>')
73 output.append(cgi.escape(line))
/third_party/node/deps/npm/node_modules/console-control-strings/
DREADME.md30 Returns the escape sequence to move _num_ lines up.
34 Returns the escape sequence to move _num_ lines down.
38 Returns the escape sequence to move _num_ lines righ.
42 Returns the escape sequence to move _num_ lines left.
46 Returns the escape sequence to move _num_ lines down and to the beginning of
51 Returns the escape sequence to move _num_ lines up and to the beginning of
56 Returns the escape sequence to erase everything from the current cursor
62 Returns the escape sequence to erase to the end of the current line.
66 Returns the escape sequence to move the cursor to the designated position.
71 Returns the escape sequence to move the cursor to the beginning of the
[all …]
/third_party/node/deps/npm/node_modules/escape-string-regexp/
Dreadme.md1escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?…
9 $ npm install --save escape-string-regexp
16 const escapeStringRegexp = require('escape-string-regexp');
/third_party/boost/libs/program_options/src/
Dsplit.cpp22 const std::basic_string<charT>& escape) in split_unix() argument
29 boost::escaped_list_separator< charT >(escape, seperator, quote)); in split_unix()
47 const std::string& quote, const std::string& escape) in split_unix() argument
49 return detail::split_unix< char >(cmdline, seperator, quote, escape); in split_unix()
55 const std::wstring& quote, const std::wstring& escape) in split_unix() argument
57 return detail::split_unix< wchar_t >(cmdline, seperator, quote, escape); in split_unix()
/third_party/boost/libs/regex/doc/
Dlocale.qbk127 [[112][The escape character.]["\\" ]]
133 …[[118][The character which when preceded by an escape character represents the word boundary asser…
134 …[[119][The character which when preceded by an escape character represents the non-word boundary a…
135 …[[120][The character which when preceded by an escape character represents the word-start boundary…
136 …[[121][The character which when preceded by an escape character represents the word-end boundary a…
137 …[[122][The character which when preceded by an escape character represents any word character.]["w…
138 …[[123][The character which when preceded by an escape character represents a non-word character.][…
139 …[[124][The character which when preceded by an escape character represents a start of buffer asser…
140 …[[125][The character which when preceded by an escape character represents an end of buffer assert…
143 …[[128][The character which when preceded by an escape character represents the bell character.]["a…
[all …]
Dformat_sed_syntax.qbk18 [[\\][Specifies an escape sequence.]]
21 An escape character followed by any character x, outputs that character unless x
22 is one of the escape sequences shown below.
27 [[\\e][Outputs the ANSI escape character (code point 27).]]
35 [[\\cX][Outputs the ANSI escape sequence "escape-X".]]
/third_party/libxml2/doc/examples/
Dindex.py13 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(str)))
153 output.write(" <include>%s</include>\n" % (escape(include)))
/third_party/boost/tools/build/test/toolset-mock/src/
DJamroot.jam19 rule c-escape ( str )
26 local PYTHON = [ c-escape $(.PYTHON) ] ;
27 local AR = [ c-escape $(.AR) ] ;
28 local RANLIB = [ c-escape $(.RANLIB) ] ;
29 local LIBTOOL = [ c-escape $(.LIBTOOL) ] ;
30 local STRIP = [ c-escape $(.STRIP) ] ;
31 local LD = [ c-escape $(.LD) ] ;
/third_party/flutter/skia/third_party/externals/icu/source/samples/translit/answers/
Dmain_4.cpp87 uprintf(escape(str)); in main()
95 uprintf(escape(str)); in main()
101 uprintf(escape(str)); in main()
108 uprintf(escape(str)); in main()
113 uprintf(escape(str2)); in main()
/third_party/skia/third_party/externals/icu/source/samples/translit/answers/
Dmain_4.cpp87 uprintf(escape(str)); in main()
95 uprintf(escape(str)); in main()
101 uprintf(escape(str)); in main()
108 uprintf(escape(str)); in main()
113 uprintf(escape(str2)); in main()
/third_party/icu/icu4c/source/samples/translit/answers/
Dmain_4.cpp87 uprintf(escape(str)); in main()
95 uprintf(escape(str)); in main()
101 uprintf(escape(str)); in main()
108 uprintf(escape(str)); in main()
113 uprintf(escape(str2)); in main()
/third_party/flutter/skia/third_party/externals/icu/source/samples/translit/
Dmain.cpp89 uprintf(escape(str)); in main()
97 uprintf(escape(str)); in main()
103 uprintf(escape(str)); in main()
110 uprintf(escape(str)); in main()
115 uprintf(escape(str2)); in main()

12345678910>>...46