Home
last modified time | relevance | path

Searched +full:escape +full:- +full:string +full:- +full:regexp (Results 1 – 25 of 160) sorted by relevance

1234567

/third_party/vk-gl-cts/external/vulkan-docs/src/
Dpackage-lock.json2 "name": "Vulkan-Docs",
8 "escape-string-regexp": "^2.0.0", string
13 "node_modules/escape-string-regexp": {
15 … "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
16 …"integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMc…
24 "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
25 …"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod…
33 "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.8.tgz",
34 …"integrity": "sha512-oxMeX/Y35PNFuZoHp+jUj5OSEmLCaIH4KTFJh7a93cHBoFmpw2IoPs22VIz7vyO2YUnx2Tn9dzIwO…
Dpackage.json4 "escape-string-regexp": "^2.0.0", string
/third_party/re2/re2/testing/
Dexhaustive_tester.cc2 // Use of this source code is governed by a BSD-style
7 // Each test picks an alphabet (e.g., "abc"), a maximum string length,
10 // it tries every possible regular expression and string, verifying that
18 #include <string>
46 static char* escape(absl::string_view sp) { in escape() function
52 ABSL_LOG(FATAL) << "ExhaustiveTester escape: too long"; in escape()
71 absl::PrintF("-"); in PrintResult()
78 absl::PrintF("-"); in PrintResult()
80 absl::PrintF("%d-%d", in PrintResult()
81 BeginPtr(m[i]) - BeginPtr(input), in PrintResult()
[all …]
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.h7 * http://www.apache.org/licenses/LICENSE-2.0
21 #include "ecma-globals.h"
22 #include "re-compiler.h"
27 * \addtogroup ecmaregexpobject ECMA RegExp object related routines
32 * RegExp flags
38 RE_FLAG_EMPTY = 0u, /* Empty RegExp flags */
39 RE_FLAG_GLOBAL = (1u << 1), /**< ECMA-262 v5, 15.10.7.2 */
40 RE_FLAG_IGNORE_CASE = (1u << 2), /**< ECMA-262 v5, 15.10.7.3 */
41 RE_FLAG_MULTILINE = (1u << 3), /**< ECMA-262 v5, 15.10.7.4 */
42 RE_FLAG_STICKY = (1u << 4), /**< ECMA-262 v6, 21.2.5.12 */
[all …]
Decma-regexp-object.c7 * http://www.apache.org/licenses/LICENSE-2.0
16 #include "ecma-alloc.h"
17 #include "ecma-array-object.h"
18 #include "ecma-builtins.h"
19 #include "ecma-builtin-helpers.h"
20 #include "ecma-exceptions.h"
21 #include "ecma-gc.h"
22 #include "ecma-globals.h"
23 #include "ecma-objects.h"
24 #include "ecma-function-object.h"
[all …]
/third_party/skia/third_party/externals/tint/tools/src/match/
Dmatch.go7 // https://www.apache.org/licenses/LICENSE-2.0
21 "regexp"
26 type Test func(path string) bool
31 // pattern uses forward-slashes for directory separators '/', and may use the
33 // ? - matches any single non-separator character
34 // * - matches any sequence of non-separator characters
35 // ** - matches any sequence of characters including separators
36 func New(pattern string) (Test, error) { argument
39 // As the pattern may contain other regex sequences, the string has to be
42 // b) Escape the expression so that other sequences don't confuse the regex
[all …]
/third_party/skia/third_party/externals/tint/tools/src/cmd/fix-tests/
Dmain.go7 // http://www.apache.org/licenses/LICENSE-2.0
15 // fix-tests is a tool to update tests with new expected output.
26 "regexp"
41 fix-tests is a tool to update tests with new expected output.
43 fix-tests performs string matching and heuristics to fix up expected results of
50 fix-tests <executable>
52 executable - the path to the test executable to run.`)
66 // Create a temporary directory to hold the 'test-results.json' file
67 tmpDir, err := ioutil.TempDir("", "fix-tests")
76 // Full path to the 'test-results.json' in the temporary directory
[all …]
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.h7 * http://www.apache.org/licenses/LICENSE-2.0
19 #include "ecma-globals.h"
51 PARSER_ERR_INVALID_ESCAPE_SEQUENCE, /**< invalid escape sequence */
52 PARSER_ERR_INVALID_UNICODE_ESCAPE_SEQUENCE, /**< invalid unicode escape sequence */
55 …PARSER_ERR_INVALID_KEYWORD, /**< escape sequences are not allowed in keywo…
62 PARSER_ERR_UNKNOWN_REGEXP_FLAG, /**< unknown regexp flag */
63 PARSER_ERR_DUPLICATED_REGEXP_FLAG, /**< duplicated regexp flag */
67 PARSER_ERR_STRING_TOO_LONG, /**< too long string literal */
69 PARSER_ERR_REGEXP_TOO_LONG, /**< too long regexp literal */
72 PARSER_ERR_UNTERMINATED_STRING, /**< unterminated string literal */
[all …]
/third_party/jerryscript/jerry-core/parser/regexp/
Dre-parser.c7 * http://www.apache.org/licenses/LICENSE-2.0
16 #include "ecma-exceptions.h"
17 #include "ecma-globals.h"
18 #include "ecma-try-catch-macro.h"
20 #include "jrt-libc-includes.h"
21 #include "lit-char-helpers.h"
22 #include "re-compiler.h"
23 #include "re-parser.h"
40 * @return RegExp opcode
51 * @return RegExp opcode
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dregexp_adapter_re2.cc7 // http://www.apache.org/licenses/LICENSE-2.0
21 #include <string>
37 explicit RE2RegExpInput(const string& utf8_input) in RE2RegExpInput()
41 virtual string ToString() const { in ToString()
50 // string_ holds the string referenced by utf8_input_ as StringPiece doesn't
51 // copy the string passed in.
52 const string string_;
61 const RE2& regexp, in DispatchRE2Call() argument
62 string* out1, in DispatchRE2Call()
63 string* out2, in DispatchRE2Call()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dtranslate_math.js1 // Copyright 2020-2024 The Khronos Group Inc.
3 // SPDX-License-Identifier: Apache-2.0
10 const escapeRegex = require("escape-string-regexp");
25 …const regex = new RegExp( escapeRegex(delim.left) + "([\\S\\s]*?)" + escapeRegex(delim.right), "g"…
/third_party/skia/tools/run-wasm-gm-tests/
Dpackage-lock.json2 "name": "run-wasm-gm-tests",
9 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.8.tgz",
10 …"integrity": "sha512-KPcKqKm5UKDkaYPTuXSx8wEP7vE9GnuaXIZKijwRYcePpZFDVuy2a57LarFKiORbHOuTOOwYzxVxc…
15 "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz",
16 …"integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0…
24 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
25 …"integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgI…
27 "mime-types": "~2.1.24",
31 "agent-base": {
33 "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz",
[all …]
/third_party/skia/tools/perf-canvaskit-puppeteer/
Dpackage-lock.json2 "name": "perf-canvaskit-puppeteer",
9 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.5.tgz",
10 …"integrity": "sha512-90hiq6/VqtQgX8Sp0EzeIsv3r+ellbGj4URKj5j30tLlZvRUpnAe9YbYnjl3pJM93GyXU0tghHhvX…
15 "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz",
16 …"integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0…
24 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
25 …"integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgI…
27 "mime-types": "~2.1.24",
31 "agent-base": {
33 "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz",
[all …]
/third_party/sqlite/patch/
D0002-Enable-and-optimize-ICU.patch6 ---
7 src/sqlite3.c | 1013 ++++------------------------------------------
9 2 files changed, 962 insertions(+), 939 deletions(-)
12 diff --git a/src/sqlite3.c b/src/sqlite3.c
14 --- a/src/sqlite3.c
16 @@ -2502,6 +2502,7 @@ struct sqlite3_mem_methods {
24 @@ -3289,6 +3290,7 @@ SQLITE_API void sqlite3_free_table(char **result);
30 ** CAPI3REF: Formatted String Printing Functions
32 @@ -178413,6 +178415,7 @@ SQLITE_PRIVATE int sqlite3Fts3Init(sqlite3 *db);
40 @@ -178475,13 +178478,54 @@ SQLITE_PRIVATE int sqlite3RtreeInit(sqlite3 *db);
[all …]
/third_party/re2/re2/
Dparse.cc2 // Use of this source code is governed by a BSD-style
7 // The parser is a simple precedence-based parser with a
9 // of the ParseState class. The Regexp::Parse function is
15 // classes. It also allows the empty string as a regular expression
16 // and recognizes the Perl escape sequences \d, \s, \w, \D, \S, and \W.
17 // See regexp.h for rationale.
21 #include <string.h>
24 #include <string>
33 #include "re2/regexp.h"
36 #include "re2/walker-inl.h"
[all …]
Dregexp.h2 // Use of this source code is governed by a BSD-style
8 // --- SPONSORED LINK --------------------------------------------------
12 // This header describes the low-level interface used to implement RE2
13 // and may change in backwards-incompatible ways from time to time.
15 // ---------------------------------------------------------------------
20 // Any operation that traverses the Regexp structures should be written
21 // using Regexp::Walker (see walker-inl.h), not recursively, because deeply nested
30 // Regexp::Parse parses regular expressions encoded in UTF-8.
35 // (Supporting them precludes the use of DFA-based
42 // Regexp::Parse. In particular, many of the basic Perl additions
[all …]
/third_party/skia/m133/tools/perf-canvaskit-puppeteer/
Dpackage-lock.json2 "name": "perf-canvaskit-puppeteer",
9 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.5.tgz",
10 …"integrity": "sha512-90hiq6/VqtQgX8Sp0EzeIsv3r+ellbGj4URKj5j30tLlZvRUpnAe9YbYnjl3pJM93GyXU0tghHhvX…
15 "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz",
16 …"integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0…
24 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
25 …"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwa…
27 "mime-types": "~2.1.34",
31 "agent-base": {
33 "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz",
[all …]
/third_party/icu/icu4c/source/i18n/
Duregex.cpp5 * Copyright (C) 2004-2015, International Business Machines
32 #define REMAINING_CAPACITY(idx,len) ((((len)-(idx))>0)?((len)-(idx)):0)
46 // may be -1.
82 //----------------------------------------------------------------------------------------
86 //----------------------------------------------------------------------------------------
91 if (re == NULL || re->fMagic != REXP_MAGIC) { in validateRE()
95 …// !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher any… in validateRE()
96 if (requiresText && re->fText == NULL && !re->fOwnsText) { in validateRE()
103 //----------------------------------------------------------------------------------------
107 //----------------------------------------------------------------------------------------
[all …]
/third_party/skia/m133/third_party/externals/icu/source/i18n/
Duregex.cpp5 * Copyright (C) 2004-2015, International Business Machines
32 #define REMAINING_CAPACITY(idx,len) ((((len)-(idx))>0)?((len)-(idx)):0)
46 // may be -1.
82 //----------------------------------------------------------------------------------------
86 //----------------------------------------------------------------------------------------
91 if (re == nullptr || re->fMagic != REXP_MAGIC) { in validateRE()
95 …// !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher any… in validateRE()
96 if (requiresText && re->fText == nullptr && !re->fOwnsText) { in validateRE()
103 //----------------------------------------------------------------------------------------
107 //----------------------------------------------------------------------------------------
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Duregex.cpp5 * Copyright (C) 2004-2015, International Business Machines
32 #define REMAINING_CAPACITY(idx,len) ((((len)-(idx))>0)?((len)-(idx)):0)
46 // may be -1.
82 //----------------------------------------------------------------------------------------
86 //----------------------------------------------------------------------------------------
91 if (re == NULL || re->fMagic != REXP_MAGIC) { in validateRE()
95 …// !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher any… in validateRE()
96 if (requiresText && re->fText == NULL && !re->fOwnsText) { in validateRE()
103 //----------------------------------------------------------------------------------------
107 //----------------------------------------------------------------------------------------
[all …]
/third_party/skia/m133/tools/run-wasm-gm-tests/
Dpackage-lock.json2 "name": "run-wasm-gm-tests",
9 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.8.tgz",
10 …"integrity": "sha512-KPcKqKm5UKDkaYPTuXSx8wEP7vE9GnuaXIZKijwRYcePpZFDVuy2a57LarFKiORbHOuTOOwYzxVxc…
15 "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz",
16 …"integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0…
24 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
25 …"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwa…
27 "mime-types": "~2.1.34",
31 "mime-db": {
33 "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/
Dmain.go7 // http://www.apache.org/licenses/LICENSE-2.0
15 // run-cts is a tool used to run the WebGPU CTS using the Dawn module for NodeJS
33 "regexp"
41 "github.com/mattn/go-colorable"
42 "github.com/mattn/go-isatty"
58 run-cts is a tool used to run the WebGPU CTS using the Dawn module for NodeJS
61 run-cts --dawn-node=<path to dawn.node> --cts=<path to WebGPU CTS> [test-query]`)
71 type dawnNodeFlags []string
73 func (f *dawnNodeFlags) String() string { func
77 func (f *dawnNodeFlags) Set(value string) error { argument
[all …]
/third_party/python/Tools/scripts/
Dmailerdaemon.py2 """Classes to parse mailer-daemon messages."""
54 ('----- The following addresses had permanent fatal errors -----\n',
59 '------- Failure Reasons --------\n\n(?P<reason>.*)\n(?P<email>.*)',
63 '^Original-Recipient: rfc822;(?P<email>.*)',
70 # compile the re's in the list and store them in-place.
86 # if a string, "<>" is replaced by a copy of the email address.
94 re.compile('^Diagnostic-Code: (?P<reason>.*)', re.MULTILINE),
107 for regexp in emparse_list_list:
108 if type(regexp) is type(()):
109 res = regexp[0].search(data, 0, from_index)
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/sva/
Dyarn.lock5 "@babel/code-frame@^7.0.0":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49…
8 …integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7…
14 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa6195…
15 …integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChK…
19 js-tokens "^4.0.0"
23 …resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caa…
24 …integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHX…
28 …resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.5.tgz#e19436e7f8e9b4601005d73673b6d…
29 …integrity sha512-9fq4jZVhPNW8r+UYKnxF1e2HkDWOWKM5bC2/7c9wPV835I0aOrVbS/Hw/pWPk2uKrNXQqg9Z959Kz+IYD…
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/
Dyarn.lock5 "@babel/code-frame@^7.0.0":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49…
8 …integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7…
14 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa6195…
15 …integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChK…
19 js-tokens "^4.0.0"
23 …resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caa…
24 …integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHX…
28 …resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.5.tgz#e19436e7f8e9b4601005d73673b6d…
29 …integrity sha512-9fq4jZVhPNW8r+UYKnxF1e2HkDWOWKM5bC2/7c9wPV835I0aOrVbS/Hw/pWPk2uKrNXQqg9Z959Kz+IYD…
[all …]

1234567