Home
last modified time | relevance | path

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

12345678910>>...35

/aosp_15_r20/build/soong/cmd/javac_wrapper/
H A Djavac_wrapper.go7 // http://www.apache.org/licenses/LICENSE-2.0
21 // Each javac build statement has an order-only dependency on the
33 "regexp"
42 filelinePrefix = `^([-.\w/\\]+.java:[0-9]+: )`
43 warningRe = regexp.MustCompile(filelinePrefix + `?(warning:) .*$`)
44 errorRe = regexp.MustCompile(filelinePrefix + `(.*?:) .*$`)
45 markerRe = regexp.MustCompile(`()\s*(\^)\s*$`)
47 escape = "\x1b" var
48 reset = escape + "[0m"
49 bold = escape + "[1m"
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/regexp/syntax/
Dregexp.go2 // Use of this source code is governed by a BSD-style
8 // In this package, re is always a *Regexp and r is always a rune.
17 // A Regexp is a node in a regular expression syntax tree.
18 type Regexp struct { struct
21 Sub []*Regexp // subexpressions, if any argument
22 Sub0 [1]*Regexp // storage for short Sub argument
27 Name string // capturing name, for OpCapture
30 //go:generate stringer -type Op -trimprefix Op
41 OpEmptyMatch // matches empty string
46 OpBeginLine // matches empty string at beginning of line
[all …]
Dparse.go2 // Use of this source code is governed by a BSD-style
18 Expr string
21 func (e *Error) Error() string {
22 return "error parsing regexp: " + e.Code.String() + ": `" + e.Expr + "`"
26 type ErrorCode string
30 ErrInternalError ErrorCode = "regexp/syntax: internal error"
35 ErrInvalidEscape ErrorCode = "invalid escape sequence"
40 ErrInvalidUTF8 ErrorCode = "invalid UTF-8"
50 func (e ErrorCode) String() string { func
51 return string(e)
[all …]
/aosp_15_r20/external/regex-re2/re2/testing/
H A 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
35 static char* escape(const StringPiece& sp) { in escape() function
41 LOG(FATAL) << "ExhaustiveTester escape: too long"; in escape()
59 printf("-"); in PrintResult()
66 printf("-"); in PrintResult()
68 printf("%td-%td", in PrintResult()
69 m[i].begin() - input.begin(), m[i].end() - input.begin()); in PrintResult()
73 // Processes a single generated regexp.
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/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
36 static char* escape(const StringPiece& sp) { in escape() function
42 LOG(FATAL) << "ExhaustiveTester escape: too long"; in escape()
60 printf("-"); in PrintResult()
67 printf("-"); in PrintResult()
69 printf("%td-%td", in PrintResult()
70 BeginPtr(m[i]) - BeginPtr(input), in PrintResult()
71 EndPtr(m[i]) - BeginPtr(input)); in PrintResult()
[all …]
/aosp_15_r20/external/cronet/third_party/re2/src/re2/testing/
H A 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
37 static char* escape(absl::string_view sp) { in escape() function
43 LOG(FATAL) << "ExhaustiveTester escape: too long"; in escape()
62 absl::PrintF("-"); in PrintResult()
69 absl::PrintF("-"); in PrintResult()
71 absl::PrintF("%d-%d", in PrintResult()
72 BeginPtr(m[i]) - BeginPtr(input), in PrintResult()
73 EndPtr(m[i]) - BeginPtr(input)); in PrintResult()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
Ddebug_test.go2 // Use of this source code is governed by a BSD-style
15 "regexp"
28 force = flag.Bool("f", false, "force run under not linux-amd64; also do not use tempdir")
34 hexRe = regexp.MustCompile("0x[a-zA-Z0-9]+")
35 numRe = regexp.MustCompile(`-?\d+`)
36 stringRe = regexp.MustCompile(`([^\"]|(\.))*`)
37 leadingDollarNumberRe = regexp.MustCompile(`^[$]\d+`)
38 optOutGdbRe = regexp.MustCompile("[<]optimized out[>]")
39 numberColonRe = regexp.MustCompile(`^ *\d+:`)
48 var optimizedLibs = (!strings.Contains(gogcflags, "-N") && !strings.Contains(gogcflags, "-l"))
[all …]
/aosp_15_r20/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
H A Dprettify.js7 // http://www.apache.org/licenses/LICENSE-2.0
18 * some functions for browser-side pretty printing of code contained in html.
22 * <a href="http://google-code-prettify.googlecode.com/svn/trunk/README.html#langs">README</a>
27 * Smalltalk, Lisp-like, or CAML-like languages without an explicit lang class.
42 * language, as in {@code <pre class="prettyprint lang-java">}. Any class that
43 * starts with "lang-" followed by a file extension, specifies the file type.
44 * See the "lang-*.js" files in this directory for code that implements
45 * per-language file handlers.
70 * @param {Array.<string>} out output buffer that receives chunks of HTML.
81 * @param {string} sourceCodeHtml code as html
[all …]
/aosp_15_r20/external/cronet/third_party/re2/src/re2/
H A 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.
22 #include <string.h>
25 #include <string>
33 #include "re2/regexp.h"
36 #include "re2/walker-inl.h"
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/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.
22 #include <string.h>
25 #include <string>
33 #include "re2/regexp.h"
37 #include "re2/walker-inl.h"
[all …]
/aosp_15_r20/external/regex-re2/re2/
H A 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.
22 #include <string.h>
25 #include <string>
33 #include "re2/regexp.h"
37 #include "re2/walker-inl.h"
[all …]
/aosp_15_r20/external/skia/tools/perf-canvaskit-puppeteer/
H A 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 …]
/aosp_15_r20/external/python/pyserial/documentation/
Dtools.rst11 This module can be executed to get a list of ports (``python -m
32 USB devices (e.g. the :attr:`ListPortInfo.hwid` string contains `VID:PID`,
39 will include ``LINK`` in their ``hwid`` string. This implies that the same
49 .. function:: grep(regexp, include_links=False)
51 :param regexp: regular expression (see stdlib :mod:`re`)
60 generates, but includes only those entries that match the regexp.
100 USB serial number as a string.
104 USB device location string ("<bus>-<port>[-<port>]...")
108 USB manufacturer string, as reported by device.
112 USB product string, as reported by device.
[all …]
/aosp_15_r20/external/skia/tools/run-wasm-gm-tests/
H A 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 …]
/aosp_15_r20/external/flatbuffers/
H A Dyarn.lock5 "@babel/code-[email protected]":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db93…
8 …integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH…
12 "@babel/helper-validator-identifier@^7.16.7":
14 …solved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identif…
15 …integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/…
19 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea7…
20 …integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfT…
22 "@babel/helper-validator-identifier" "^7.16.7"
24 js-tokens "^4.0.0"
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A 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 …]
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A 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 …]
/aosp_15_r20/external/skia/tools/skottie-wasm-perf/
H A Dpackage-lock.json2 "name": "skottie-wasm-perf",
8 "name": "skottie-wasm-perf",
12 "command-line-args": "^5.0.2",
13 "command-line-usage": "^5.0.3",
15 "lottie-web": "5.2.1",
16 "node-fetch": "^2.2.0",
23 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
24 …"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwa…
26 "mime-types": "~2.1.34",
33 "node_modules/agent-base": {
[all …]
/aosp_15_r20/external/skia/tools/lottie-web-perf/
H A Dpackage-lock.json2 "name": "lottie-web-perf",
8 "command-line-args": "^5.0.2",
9 "command-line-usage": "^5.0.3",
11 "lottie-web": "5.5.5",
12 "node-fetch": "^2.2.0",
18 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
19 …"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwa…
21 "mime-types": "~2.1.34",
28 "node_modules/agent-base": {
30 "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz",
[all …]
/aosp_15_r20/external/skia/tools/lottiecap/
H A Dpackage-lock.json8 "command-line-args": "^5.0.2",
9 "command-line-usage": "^5.0.3",
11 "lottie-web": "5.2.1",
12 "node-fetch": "^2.2.0",
18 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
19 …"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwa…
21 "mime-types": "~2.1.34",
28 "node_modules/agent-base": {
30 "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz",
31 …"integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEE…
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/html/template/
Dtransition.go2 // Use of this source code is governed by a BSD-style
47 var commentStart = []byte("<!--")
48 var commentEnd = []byte("-->")
113 attrName := strings.ToLower(string(s[i:j]))
193 if i := bytes.Index(s, commentEnd); i != -1 {
200 // case-insensitively signals the end of the special tag body.
218 // we can properly escape them.
222 if i := indexTagEnd(s, specialTagEndMarkers[c.element]); i != -1 {
229 // indexTagEnd finds the index of a special tag end in a case insensitive way, or returns -1
236 if i == -1 {
[all …]
Derror.go2 // Use of this source code is governed by a BSD-style
20 Name string
23 // Description is a human-readable description of the problem.
24 Description string
86 // {{if}}, {{range}}, or {{with}} to escape any following pipelines.
89 // used to figure out how to escape it, but that context depends on
90 // the run-time value of {{.C}} which is not statically known.
99 // ErrEndContext: "... ends in a non-text context: ..."
141 // ErrPartialCharset: "unfinished JS regexp charset in ..."
149 // ErrPartialEscape: "unfinished escape sequence in ..."
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/regexp/
Dexec_test.go2 // Use of this source code is governed by a BSD-style
5 package regexp package
15 "regexp/syntax"
23 // TestRE2 tests this package's regexp API against test cases
29 // The log file, re2-exhaustive.txt, is generated by running 'make log'
38 // "[a-z]+"
39 // 0-3;0-3
40 // -;-
41 // "([0-9])([0-9])([0-9])"
42 // -;-
[all …]
/aosp_15_r20/build/make/tools/compliance/cmd/xmlnotice/
H A Dxmlnotice_test.go7 // http://www.apache.org/licenses/LICENSE-2.0
24 "regexp"
32 …installTarget = regexp.MustCompile(`^<file-name contentId="[^"]{32}" lib="([^"]*)">([^<]+)</file-n…
33 …licenseText = regexp.MustCompile(`^<file-content contentId="[^"]{32}"><![[]CDATA[[]([^]]*)[]][]]><…
48 condition string
49 name string
50 outDir string
51 roots []string
52 stripPrefix string
54 expectedDeps []string
[all …]
/aosp_15_r20/external/kotlinx.serialization/integration-test/kotlin-js-store/
H A Dyarn.lock5 ansi-[email protected]:
7 …resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344…
8 …integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX…
10 ansi-regex@^5.0.1:
12 …resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53b…
13 …integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlM…
15 ansi-styles@^4.0.0, ansi-styles@^4.1.0:
17 …resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a…
18 …integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZ…
20 color-convert "^2.0.1"
[all …]

12345678910>>...35