| /external/rust/crates/combine/src/parser/ |
| D | regex.rs | 1 //! Module containing regex parsers on streams returning ranges of `&str` or `&[u8]`. 3 //! All regex parsers are overloaded on `&str` and `&[u8]` ranges and can take a `Regex` by value 6 //! Enabled using the `regex` feature (for `regex-0.2`) or the `regex-1` feature for `regex-1.0`. 10 //! use regex::{bytes, Regex}; 12 //! use combine::parser::regex::{find_many, match_}; 15 //! let regex = bytes::Regex::new("[0-9]+").unwrap(); 16 //! // Shared references to any regex works as well 18 //! find_many(®ex).parse(&b"123 456 "[..]), 22 //! find_many(regex).parse(&b""[..]), 26 //! static REGEX: Lazy<Regex> = Lazy::new(|| Regex::new("[:alpha:]+").unwrap()); [all …]
|
| /external/sdv/vsomeip/third_party/boost/algorithm/include/boost/algorithm/string/ |
| D | regex.hpp | 1 // Boost string_algo library regex.hpp header file ---------------------------// 3 // Copyright Pavol Droba 2002-2003. 15 #include <boost/regex.hpp> 17 #include <boost/range/iterator_range_core.hpp> 18 #include <boost/range/begin.hpp> 19 #include <boost/range/end.hpp> 20 #include <boost/range/iterator.hpp> 21 #include <boost/range/as_literal.hpp> 29 Defines regex variants of the algorithms. 35 // find_regex -----------------------------------------------// [all …]
|
| /external/perfetto/src/trace_processor/db/column/ |
| D | string_storage.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 41 #include "src/trace_processor/util/regex.h" 52 return lhs != StringPool::Id::Null() && pool_->Get(lhs) > rhs; in operator ()() 59 return lhs != StringPool::Id::Null() && pool_->Get(lhs) >= rhs; in operator ()() 66 return lhs != StringPool::Id::Null() && pool_->Get(lhs) < rhs; in operator ()() 73 return lhs != StringPool::Id::Null() && pool_->Get(lhs) <= rhs; in operator ()() 86 return lhs != StringPool::Id::Null() && matcher.Matches(pool_->Get(lhs)); in operator ()() 93 : pool_(pool), matches_(pool->MaxSmallStringId().raw_id()) { in GlobFullStringPool() 94 PERFETTO_DCHECK(!pool->HasLargeString()); in GlobFullStringPool() [all …]
|
| /external/grpc-grpc-java/xds/src/main/java/io/grpc/xds/internal/ |
| D | Matchers.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 38 // Name of the header to be matched. 49 // Matches header value an integer value in the range. 51 public abstract Range range(); in range() method in Matchers.HeaderMatcher 73 // Whether the matching semantics is inverted. E.g., present && !inverted -> !present 92 /** The request header value should be within the range. */ 93 public static HeaderMatcher forRange(String name, Range range, boolean inverted) { in forRange() argument 95 checkNotNull(range, "range"); in forRange() 96 return HeaderMatcher.create(name, null, null, range, null, null, null, null, null, inverted); in forRange() [all …]
|
| /external/sdv/vsomeip/third_party/boost/regex/doc/ |
| D | syntax_basic.qbk | 2 Copyright 2006-2007 John Maddock. 13 The POSIX-Basic regular expression syntax is used by the Unix utility `sed`, 15 basic regular expressions in Boost.Regex by passing the flag `basic` to the 16 regex constructor (see [syntax_option_type]), for example: 18 // e1 is a case sensitive POSIX-Basic expression: 19 boost::regex e1(my_expression, boost::regex::basic); 20 // e2 a case insensitive POSIX-Basic expression: 21 boost::regex e2(my_expression, boost::regex::basic|boost::regex::icase); 25 In POSIX-Basic regular expressions, all characters are match themselves except 35 * The NULL character when the flag `match_no_dot_null` is passed to the [all …]
|
| D | syntax_extended.qbk | 2 Copyright 2006-2007 John Maddock. 13 The POSIX-Extended regular expression syntax is supported by the POSIX 16 Boost.Regex by passing the flag `extended` to the regex constructor, for example: 18 // e1 is a case sensitive POSIX-Extended expression: 19 boost::regex e1(my_expression, boost::regex::extended); 20 // e2 a case insensitive POSIX-Extended expression: 21 boost::regex e2(my_expression, boost::regex::extended|boost::regex::icase); 25 In POSIX-Extended regular expressions, all characters match themselves except for 35 * The NULL character when the flag `match_no_dot_null` is passed to the 38 to the matching algorithms. [all …]
|
| D | history.qbk | 2 Copyright 2006-2007 John Maddock. 11 …should be submitted at [@https://github.com/boostorg/regex/issues https://github.com/boostorg/rege… 13 Currently open issues can be viewed [@https://github.com/boostorg/regex/issues?q=is%3Aopen+is%3Aiss… 15 All issues including closed ones can be viewed [@https://github.com/boostorg/regex/issues?q=is%3Ais… 17 [h4 Boost.Regex-5.1.4 (Boost-172.0)] 19 * Minor build fixes, see [@https://github.com/boostorg/regex/issues/89 #89]. 21 [h4 Boost.Regex-5.1.3 (Boost-1.64.0)] 23 * Compiling with Oracle C++ toolset is no longer restricted to static linking. 24 * Big effort to de-fuzz the library using libFuzzer and fix identified issues, see: [@https://svn.… 26 [h4 Boost.Regex-5.1.2 (Boost-1.62.0)] [all …]
|
| D | regex_grep.qbk | 2 Copyright 2006-2007 John Maddock. 17 #include <boost/regex.hpp> 19 `regex_grep` allows you to search through a bidirectional-iterator range and 20 locate all the (non-overlapping) matches with a given regular expression. 50 first: The start of the range to search. 52 last: The end of the range to search. 54 e: The regular expression to search for. 59 The algorithm finds all of the non-overlapping matches of the expression /e/, 79 grep utilities would output the results to the screen, another program could 81 or a text file conversion utility would output to file. The results of one [all …]
|
| /external/rust/crates/regex/src/ |
| D | prog.rs | 12 /// `InstPtr` represents the index of an instruction in a regex program. 21 /// Pointers to each Match instruction in the sequence. 23 /// This is always length 1 unless this program represents a regex set. 28 /// Pointers to all named capture groups into `captures`. 30 /// A pointer to the start instruction. This can vary depending on how 39 /// When true, this program can only match valid UTF-8. 41 /// When true, this program uses byte range instructions instead of Unicode 42 /// range instructions. 51 /// Whether the regex must match from the start of the input. 53 /// Whether the regex must match at the end of the input. [all …]
|
| D | re_unicode.rs | 5 use std::ops::{Index, Range}; 21 pub fn escape(text: &str) -> String { in escape() 25 /// Match represents a single match of a regex in a haystack. 27 /// The lifetime parameter `'t` refers to the lifetime of the matched text. 38 pub fn start(&self) -> usize { in start() 44 pub fn end(&self) -> usize { in end() 48 /// Returns the range over the starting and ending byte offsets of the 51 pub fn range(&self) -> Range<usize> { in range() method 57 pub fn as_str(&self) -> &'t str { in as_str() 58 &self.text[self.range()] in as_str() [all …]
|
| D | re_bytes.rs | 5 use std::ops::{Index, Range}; 17 /// Match represents a single match of a regex in a haystack. 19 /// The lifetime parameter `'t` refers to the lifetime of the matched text. 30 pub fn start(&self) -> usize { in start() 36 pub fn end(&self) -> usize { in end() 40 /// Returns the range over the starting and ending byte offsets of the 43 pub fn range(&self) -> Range<usize> { in range() method 49 pub fn as_bytes(&self) -> &'t [u8] { in as_bytes() 50 &self.text[self.range()] in as_bytes() 55 fn new(haystack: &'t [u8], start: usize, end: usize) -> Match<'t> { in new() [all …]
|
| /external/google-cloud-java/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ |
| D | ExcludeByHotword.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 25 * The rule to exclude findings based on a hotword. For record inspection of 26 * tables, column names are considered hotwords. An example of this is to 37 // Use ExcludeByHotword.newBuilder() to construct. 71 private com.google.privacy.dlp.v2.CustomInfoType.Regex hotwordRegex_; 79 * <code>.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;</code> 94 * <code>.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;</code> 99 public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() { in getHotwordRegex() 101 ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() in getHotwordRegex() [all …]
|
| D | ExcludeByHotwordOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 33 * <code>.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;</code> 45 * <code>.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;</code> 49 com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex(); in getHotwordRegex() 57 * <code>.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;</code> 65 * Range of characters within which the entire hotword must reside. 67 * The windowBefore property in proximity should be set to 1 if the hotword 68 * needs to be included in a column header. 80 * Range of characters within which the entire hotword must reside. [all …]
|
| /external/llvm/utils/FileCheck/ |
| D | FileCheck.cpp | 1 //===- FileCheck.cpp - Check that File's Contents match what is expected --===// 8 //===----------------------------------------------------------------------===// 10 // FileCheck does a line-by line check of a file that validates whether it 17 //===----------------------------------------------------------------------===// 26 #include "llvm/Support/Regex.h" 39 CheckFilename(cl::Positional, cl::desc("<check-file>"), cl::Required); 42 InputFilename("input-file", cl::desc("File to check (defaults to stdin)"), 43 cl::init("-"), cl::value_desc("filename")); 46 CheckPrefixes("check-prefix", 47 cl::desc("Prefix to use from check file (defaults to 'CHECK')")); [all …]
|
| /external/toybox/tests/ |
| D | sed.test | 7 testcmd '- - twice' '"" - -' "hello\n" "" "hello\n" 8 testcmd '-n' '-n ""' "" "" "one\ntwo\nthree" 9 testcmd '-n p' '-n p' "one\ntwo\nthree" "" "one\ntwo\nthree" 10 testcmd 'explicit pattern' '-e p -n' "one\ntwo\nthree" "" "one\ntwo\nthree" 13 testcmd '' '-n 1p' "one\n" "" "one\ntwo\nthree" 15 testcmd '' '-n 2p' "two\n" "" "one\ntwo\nthree" 16 testcmd '-n $p' '-n \$p' "three" "" "one\ntwo\nthree" 17 testcmd 'as cat #2' "-n '1,\$p'" "one\ntwo\nthree" "" "one\ntwo\nthree" 19 testcmd '-n $,$p' '-n \$,\$p' 'three' '' 'one\ntwo\nthree' 20 testcmd '' '-n 1,2p' "one\ntwo\n" "" "one\ntwo\nthree" [all …]
|
| /external/python/cpython2/Lib/test/ |
| D | test_regrtest.py | 20 # Use utils alias to use the same code for TestUtils in master and 2.7 branches 46 TESTNAME_REGEX = r'test_[a-zA-Z0-9_]+' 65 # Use O_EXCL to ensure that we do not override existing tests 79 def regex_search(self, regex, output): argument 80 match = re.search(regex, output, re.MULTILINE) 82 self.fail("%r not found in %r" % (regex, output)) 85 def check_line(self, output, regex): argument 86 regex = re.compile(r'^' + regex, re.MULTILINE) 87 self.assertRegexpMatches(output, regex) 90 … regex = (r'^[0-9]+:[0-9]+:[0-9]+ (?:load avg: [0-9]+\.[0-9]{2} )?\[ *[0-9]+(?:/ *[0-9]+)*\] (%s)' [all …]
|
| /external/sdv/vsomeip/third_party/boost/algorithm/include/boost/algorithm/string/detail/ |
| D | finder_regex.hpp | 1 // Boost string_algo library find_regex.hpp header file ---------------------------// 3 // Copyright Pavol Droba 2002-2003. 15 #include <boost/regex.hpp> 17 #include <boost/range/iterator_range_core.hpp> 18 #include <boost/range/begin.hpp> 19 #include <boost/range/end.hpp> 25 // regex find functor -----------------------------------------------// 27 // regex search result 47 // Construction of empty match. End iterator has to be specified 76 Regex based search functor
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | trafficdirector_v2.discovery.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| D | FileCheck.cpp | 1 //===- FileCheck.cpp - Check that File's Contents match what is expected --===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // FileCheck does a line-by line check of a file that validates whether it 14 //===----------------------------------------------------------------------===// 29 Optional<uint64_t> Value = Variable->getValue(); in eval() 37 Expected<uint64_t> LeftOp = LeftOperand->eval(); in eval() 38 Expected<uint64_t> RightOp = RightOperand->eval(); in eval() 55 Expected<uint64_t> EvaluatedValue = ExpressionASTPointer->eval(); in getResult() 62 // Look up the value and escape it so that we can put it into the regex. in getResult() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/FileCheck/ |
| D | FileCheck.h | 1 //==-- llvm/FileCheck/FileCheck.h --------------------------------*- C++ -*-==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 /// \file This file has some utilities to use FileCheck as an API 11 //===----------------------------------------------------------------------===// 17 #include "llvm/Support/Regex.h" 62 /// trailing CHECK-NOTs. 65 /// Marks when parsing found a -NOT check combined with another CHECK suffix. 68 /// Marks when parsing found a -COUNT directive with invalid count value. 73 /// Modifies directive to perform literal match. [all …]
|
| /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/sdv/vsomeip/third_party/boost/asio/include/boost/asio/impl/ |
| D | read_until.hpp | 5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) 45 // points to the beginning of the match. Returns (iterator,false) if a 47 // the iterator points to the beginning of the partial match. Returns 112 // Determine the range of the data to be searched. in read_until() 126 return iter - begin + 1; in read_until() 131 search_position = end - begin; in read_until() 143 std::max<std::size_t>(512, b.capacity() - b.size()), in read_until() 144 std::min<std::size_t>(65536, b.max_size() - b.size())); in read_until() 186 // Determine the range of the data to be searched. in read_until() 203 return result.first - begin + delim.length(); in read_until() [all …]
|
| /external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
| D | trafficdirector.v2.json | 5 "https://www.googleapis.com/auth/cloud-platform": { 17 "documentationLink": "https://cloud.google.com/traffic-director", 20 "x16": "http://www.google.com/images/icons/product/search-16.gif", 21 "x32": "http://www.google.com/images/icons/product/search-32.gif" 57 "Responses with Content-Type of application/json", 58 "Media download with context-dependent Content-Type", 59 "Responses with Content-Type of application/x-protobuf" 70 "description": "Selector specifying which fields to include in a partial response.", 91 …"description": "Available to use for quota purposes for server-side applications. Can be any arbit… 125 "https://www.googleapis.com/auth/cloud-platform" [all …]
|
| /external/pigweed/pw_console/py/pw_console/ |
| D | log_filter.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 9 # Unless required by applicable law or agreed to in writing, software 14 """LogFilters define how to search log lines in LogViews.""" 31 _UPPERCASE_REGEX = re.compile(r'[A-Z]') 38 REGEX = 'REGEX' variable in SearchMatcher 42 DEFAULT_SEARCH_MATCHER = SearchMatcher.REGEX 61 # Escape any regex specific characters to match the string literal. 63 elif matcher == SearchMatcher.REGEX: 71 """Validation of regex input.""" 74 """Check search input for regex syntax errors.""" [all …]
|