| /external/regex-re2/re2/testing/ |
| D | exhaustive_tester.cc | 2 // 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 …]
|
| /external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/ |
| D | exhaustive_tester.cc | 2 // 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 …]
|
| /external/cronet/third_party/re2/src/re2/testing/ |
| D | exhaustive_tester.cc | 2 // 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 …]
|
| /external/python/pyserial/documentation/ |
| D | tools.rst | 11 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 …]
|
| /external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
| D | parse.cc | 2 // 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 …]
|
| D | regexp.h | 2 // 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 …]
|
| /external/cronet/third_party/re2/src/re2/ |
| D | parse.cc | 2 // 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 …]
|
| D | regexp.h | 2 // 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 …]
|
| /external/regex-re2/re2/ |
| D | parse.cc | 2 // 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 …]
|
| D | regexp.h | 2 // 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 …]
|
| /external/mesa3d/src/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
| D | translate_math.js | 1 // Copyright 2020-2023 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"…
|
| /external/skia/tools/perf-canvaskit-puppeteer/ |
| D | package-lock.json | 2 "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 …]
|
| /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
| D | prettify.js | 7 // 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 …]
|
| /external/cronet/third_party/icu/source/i18n/ |
| D | uregex.cpp | 5 * 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 …]
|
| /external/icu/icu4c/source/i18n/ |
| D | uregex.cpp | 5 * 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 …]
|
| /external/python/mako/mako/ |
| D | filters.py | 2 # Copyright 2006-2023 the Mako authors and contributors <see AUTHORS file> 5 # the MIT License: http://www.opensource.org/licenses/mit-license.php 16 html_escape = markupsafe.escape 22 '"': """, # also " in html-only 23 "'": "'", # also ' in html-only 27 def xml_escape(string): argument 28 return re.sub(r'([&<"\'>])', lambda m: xml_escapes[m.group()], string) 31 def url_escape(string): argument 33 string = string.encode("utf8") 34 return quote_plus(string) [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/ |
| D | build.log | 2 --------- 3 Build Time: 2017-02-06T15:35:26-0800 9 accessibility-developer-tools: 2.11.0 10 adm-zip: 0.4.7 12 agent-base: 2.0.1 13 align-text: 0.1.4 14 ansi-regex: 2.1.1 15 ansi-styles: 2.2.1 17 append-field: 0.1.0 19 arr-diff: 2.0.0 [all …]
|
| /external/skia/tools/run-wasm-gm-tests/ |
| D | package-lock.json | 2 "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 …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/iron-input/ |
| D | iron-input.html | 1 <!-- 9 --> 12 <link rel="import" href="../iron-a11y-announcer/iron-a11y-announcer.html"> 13 <link rel="import" href="../iron-validatable-behavior/iron-validatable-behavior.html"> 18 `<iron-input>` adds two-way binding and custom validators using `Polymer.IronValidatorBehavior` 21 ### Two-way binding 27 `iron-input` adds the `bind-value` property that mirrors the `value` property, and can be used 28 for two-way data binding. `bind-value` will notify if it is changed either by user input or by scri… 30 <input is="iron-input" bind-value="{{myValue}}"> 34 You can use custom validators that implement `Polymer.IronValidatorBehavior` with `<iron-input>`. [all …]
|
| /external/llvm/utils/ |
| D | DSAextract.py | 4 #the associated edges. An edge is kept iff for edge x -> y 7 #known issues: if a line contains '->' and is not an edge line 21 #Specifying escape characters in the name like \n also will not work, 29 import string 54 arrowexp = re.compile('->') 64 for regexp in regexp_list: 67 if regexp.search(buffer): 93 #for some reason contains -> it will be missidentified 99 nodes[0] = string.strip(nodes[0]) 100 nodes[1] = string.strip(nodes[1])
|
| /external/kotlinx.serialization/integration-test/kotlin-js-store/ |
| D | yarn.lock | 5 ansi-colors@4.1.1: 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 …]
|
| /external/kotlinx.serialization/kotlin-js-store/ |
| D | yarn.lock | 5 ansi-colors@4.1.1: 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 …]
|
| /external/flatbuffers/ |
| D | yarn.lock | 5 "@babel/code-frame@7.12.11": 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 …]
|
| /external/cronet/testing/libfuzzer/fuzzers/dicts/generated/ |
| D | javascript.dict | 3 # ----------------------------- 22 keyword_escape="escape" 58 misc_dec=" --" 64 misc_minus=" -" 97 object_RegExp=" RegExp" 98 object_String=" String" 119 # using v8_script_parser_fuzzer binary and ECMA-262 standard 6.0. 121 "ECMA-404." 153 "'UA-32577963-1']);" 166 "non-extensible" [all …]
|
| /external/icu/android_icu4j/libcore_bridge/src/native/ |
| D | com_android_icu_util_regex_PatternNative.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 // ICU documentation: http://icu-project.org/apiref/icu4c/classRegexPattern.html 35 // These human-readable error messages were culled from "utypes.h", and then slightly tuned in regexDetailMessage() 37 // If we don't have a special-case, we'll just return the textual name of in regexDetailMessage() 41 case U_REGEX_RULE_SYNTAX: return "Syntax error in regexp pattern"; in regexDetailMessage() 43 case U_REGEX_BAD_ESCAPE_SEQUENCE: return "Unrecognized backslash escape sequence in pattern"; in regexDetailMessage() 46 case U_REGEX_MISMATCHED_PAREN: return "Incorrectly nested parentheses in regexp pattern"; in regexDetailMessage() 50 case U_REGEX_INVALID_BACK_REF: return "Back-reference to a non-existent capture group"; in regexDetailMessage() 52 …case U_REGEX_LOOK_BEHIND_LIMIT: return "Look-behind pattern matches must have a bounded maximum le… in regexDetailMessage() 56 case U_REGEX_INVALID_RANGE: return "In a character range [x-y], x is greater than y"; in regexDetailMessage() [all …]
|