Home
last modified time | relevance | path

Searched +full:safe +full:- +full:regex (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/external/sdv/vsomeip/third_party/boost/regex/doc/
Dthread_safety.qbk2 Copyright 2006-2007 John Maddock.
11 The Boost.Regex library is thread safe when Boost is: you can verify that
12 Boost is in thread safe mode by checking to see if `BOOST_HAS_THREADS` is
16 Class [basic_regex] and its typedefs regex and wregex are thread safe,
19 are all re-entrant and thread safe. Class [match_results] is now thread safe,
25 The [link boost_regex.ref.posix POSIX API functions] are all re-entrant and thread safe, regular
28 The [link boost_regex.ref.deprecated.old_regex class RegEx] is
29 only thread safe if each thread gets its own
30 RegEx instance (apartment threading) - this is a consequence of
31 RegEx handling both compiling and matching regular expressions.
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DRegExUtils.java9 * http://www.apache.org/licenses/LICENSE-2.0
19 import java.util.regex.Pattern;
23 * @see java.util.regex.Pattern
31 * This method is a {@code null} safe equivalent to:
36 * <p>A {@code null} reference passed to this method is a no-op.</p>
48 * StringUtils.removeAll("ABCabc123abc", Pattern.compile("[a-z]")) = "ABC123"
52 * @param regex the regular expression to which this string is to be matched
57 * @see java.util.regex.Matcher#replaceAll(String)
58 * @see java.util.regex.Pattern
60 public static String removeAll(final String text, final Pattern regex) { in removeAll() argument
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/serialization/
DRegexpClassNameMatcher.java10 * http://www.apache.org/licenses/LICENSE-2.0
22 import java.util.regex.Pattern;
27 * This object is immutable and thread-safe.
32 private final Pattern pattern; // Class is thread-safe
47 * @param regex a regular expression for evaluating acceptable class names
49 public RegexpClassNameMatcher(final String regex) { in RegexpClassNameMatcher() argument
50 this(Pattern.compile(regex)); in RegexpClassNameMatcher()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Dfilter_pull_request_tests.py7 # http://www.apache.org/licenses/LICENSE-2.0
40 Add a regex to list of triggers that determine if a changed file should run tests
41 :param trigger: regex matching file relevant to tests
50 _NODE_TEST_SUITE = TestSuite(['grpc-node'])
64 # Dictionary of allowlistable files where the key is a regex matching changed files
77 '^src/objective\-c/': [_OBJC_TEST_SUITE],
99 'gRPC\-Core\.podspec$': [_OBJC_TEST_SUITE],
100 'gRPC\-ProtoRPC\.podspec$': [_OBJC_TEST_SUITE],
101 'gRPC\-RxLibrary\.podspec$': [_OBJC_TEST_SUITE],
108 'PYTHON\-MANIFEST\.in$': [_PYTHON_TEST_SUITE],
[all …]
/external/grpc-grpc/tools/run_tests/python_utils/
Dfilter_pull_request_tests.py7 # http://www.apache.org/licenses/LICENSE-2.0
40 Add a regex to list of triggers that determine if a changed file should run tests
41 :param trigger: regex matching file relevant to tests
50 _NODE_TEST_SUITE = TestSuite(["grpc-node"])
72 # Dictionary of allowlistable files where the key is a regex matching changed files
85 "^src/objective\-c/": [_OBJC_TEST_SUITE],
107 "gRPC\-Core\.podspec$": [_OBJC_TEST_SUITE],
108 "gRPC\-ProtoRPC\.podspec$": [_OBJC_TEST_SUITE],
109 "gRPC\-RxLibrary\.podspec$": [_OBJC_TEST_SUITE],
116 "PYTHON\-MANIFEST\.in$": [_PYTHON_TEST_SUITE],
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-death-test.h41 #include "gtest/internal/gtest-death-test-internal.h"
46 // meaning that the death test child process will re-execute the test binary
60 // thread. This is because it's safe to fork() or clone() only
63 // 2. The parent process clone()s a sub-process and runs the death
64 // test in it; the sub-process exits with code 0 at the end of the
67 // 3. The parent process waits for the sub-process to terminate.
70 // the sub-process.
91 // On POSIX-compliant systems (*nix), we use the <regex.h> library,
92 // which uses the POSIX extended regex syntax.
94 // On other platforms (e.g. Windows), we only support a simple regex
[all …]
/external/rust/crates/regex/src/
Dpool.rs1 // This module provides a relatively simple thread-safe pool of reusable
25 // case of the first-to-get thread.
29 // thread_local and find a way to *simply* re-capture some of its speed for
30 // regex's specific case. So again, why move off of it? The *primary* reason is
31 // because of memory leaks. See https://github.com/rust-lang/regex/issues/362
33 // "use as much safe code as possible to minimize risk and be as sure as I can
37 // regex since its memory usage scales to the number of active threads that
38 // have used a regex, where as the pool below scales to the number of threads
39 // that simultaneously use a regex. While neither case permits contraction,
43 // sitting around that might have used a regex at one point. While thread_local
[all …]
/external/compiler-rt/
DCMakeLists.txt4 # 'projects/compiler-rt' inside of an LLVM tree.
10 # Check if compiler-rt is built as a standalone project.
23 # projects/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:121 such that
28 # Add path for custom compiler-rt modules.
34 include(base-config-ix)
43 find_program(LLVM_CONFIG_PATH "llvm-config"
44 DOC "Path to llvm-config binary")
46 message(FATAL_ERROR "llvm-config not found: specify LLVM_CONFIG_PATH")
50 COMMAND ${LLVM_CONFIG_PATH} "--obj-root" "--bindir" "--libdir" "--src-root"
54 message(FATAL_ERROR "llvm-config failed with status ${HAD_ERROR}")
[all …]
/external/rust/crates/regex-syntax/
DREADME.md1 regex-syntax
5 [![Build status](https://github.com/rust-lang/regex/workflows/ci/badge.svg)](https://github.com/rus…
6 [![Crates.io](https://img.shields.io/crates/v/regex-syntax.svg)](https://crates.io/crates/regex-syn…
7 [![Rust](https://img.shields.io/badge/rust-1.28.0%2B-blue.svg?maxAge=3600)](https://github.com/rust
12 https://docs.rs/regex-syntax
54 crate is intended to be reasonably safe to use with user supplied regular
55 expressions. Therefore, while there may be bugs in the regex parser itself,
57 in the compiler or the standard library. (Since `regex-syntax` has zero
70 [in the "Crate features" section of the documentation](https://docs.rs/regex-syntax/*/#crate-featur…
83 The primary purpose of this crate is to provide the parser used by `regex`.
[all …]
/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/type/matcher/
Dstring.proto5 import "envoy/type/matcher/regex.proto";
14 option go_package = "github.com/envoyproxy/go-control-plane/envoy/type/matcher";
17 // [#protodoc-title: String matcher]
20 // [#next-free-field: 7]
33 // Note: empty prefix is not allowed, please use regex instead.
41 // Note: empty prefix is not allowed, please use regex instead.
49 // The regex grammar is defined `here
50 // <https://en.cppreference.com/w/cpp/regex/ecmascript>`_.
54 // * The regex ``\d{3}`` matches the value *123*
55 // * The regex ``\d{3}`` does not match the value *1234*
[all …]
/external/grpc-grpc/examples/node/
Dpackage-lock.json2 "name": "grpc-examples",
7 "@grpc/grpc-js": {
9 "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.1.8.tgz",
10 …"integrity": "sha512-64hg5rmEm6F/NvlWERhHmmgxbWU8nD2TMWE+9TvG7/WcOrFT3fzg/Uu631pXRFwmJ4aWO/kp9vVSl…
12 "@grpc/proto-loader": "^0.6.0-pre14",
14 "google-auth-library": "^6.0.0",
18 "@grpc/proto-loader": {
19 "version": "0.6.0-pre9",
20 "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.0-pre9.tgz",
21 …"integrity": "sha512-oM+LjpEjNzW5pNJjt4/hq1HYayNeQT+eGrOPABJnYHv7TyNPDNzkQ76rDYZF86X5swJOa4EujEMzQ…
[all …]
/external/skia/modules/canvaskit/npm_build/
Dpackage-lock.json2 "name": "canvaskit-wasm",
8 "name": "canvaskit-wasm",
10 "license": "BSD-3-Clause",
12 "@definitelytyped/header-parser": "0.0.121",
18 "node_modules/@definitelytyped/header-parser": {
20 …"resolved": "https://registry.npmjs.org/@definitelytyped/header-parser/-/header-parser-0.0.121.tgz…
21 …"integrity": "sha512-78HY1J+QiwZPXFZQWb9gPQPxAMNg6/1e4gl7gL/8dmd17vVWLi3AGrLJoG8Pn1p8d7MF2rlPw/2AE…
24 "@definitelytyped/typescript-versions": "^0.0.121",
29 "node_modules/@definitelytyped/typescript-versions": {
31 …ed": "https://registry.npmjs.org/@definitelytyped/typescript-versions/-/typescript-versions-0.0.12…
[all …]
/external/kotlinx.serialization/integration-test/kotlin-js-store/
Dyarn.lock5 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/
Dyarn.lock5 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/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
DRegexTransformer.java3 package org.unicode.icu.tool.cldrtoicu.regex;
21 import java.util.regex.Pattern;
38 * <p>This class is thread safe.
74 return transform(value, p -> null); in transform()
79 // This early rejection of non-matching paths, combined with "bucketing" the rules by path in transform()
115 // A regex to capture any sort-indices in the full path string (which must be removed).
116 private static final Pattern SORT_INDEX = Pattern.compile("(/\\w+)#[0-9]+");
120 // Since the regex transformer works around "ordered elements" in a completely different
125 if (p.getSortIndex() != -1) { in getFullXPathWithoutSortIndices()
126 // Only do expensive regex stuff if there's an "ordered" element with a sort index. in getFullXPathWithoutSortIndices()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/
Dyarn.lock5 "@eslint-community/eslint-utils@^4.2.0":
7 …resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23…
8 …integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9…
10 eslint-visitor-keys "^3.3.0"
12 "@eslint-community/regexpp@^4.4.0":
14 …resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a…
15 …integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6F…
19 …resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f2777…
20 …integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuS…
27 import-fresh "^3.2.1"
[all …]
/external/angle/third_party/spirv-tools/src/tools/sva/
Dyarn.lock5 "@eslint-community/eslint-utils@^4.2.0":
7 …resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23…
8 …integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9…
10 eslint-visitor-keys "^3.3.0"
12 "@eslint-community/regexpp@^4.4.0":
14 …resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a…
15 …integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6F…
19 …resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f2777…
20 …integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuS…
27 import-fresh "^3.2.1"
[all …]
/external/deqp-deps/SPIRV-Tools/tools/sva/
Dyarn.lock5 "@eslint-community/eslint-utils@^4.2.0":
7 …resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23…
8 …integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9…
10 eslint-visitor-keys "^3.3.0"
12 "@eslint-community/regexpp@^4.4.0":
14 …resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a…
15 …integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6F…
19 …resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f2777…
20 …integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuS…
27 import-fresh "^3.2.1"
[all …]
/external/icu/icu4c/source/i18n/
Dregexst.h6 // Copyright (C) 2003-2010, International Business Machines Corporation and others.
12 // For the public Regular Expression API, see the file "unicode/regex.h"
16 // the thread safe lazy creation and sharing of these sets across
44 UnicodeSet fPropSets[URX_LAST_SET] {}; // The sets for common regex items, e.g. \s
45 Regex8BitSet fPropSets8[URX_LAST_SET] {}; // Fast bitmap sets for latin-1 range for above.
/external/icu/libicu/cts_headers/
Dregexst.h6 // Copyright (C) 2003-2010, International Business Machines Corporation and others.
12 // For the public Regular Expression API, see the file "unicode/regex.h"
16 // the thread safe lazy creation and sharing of these sets across
44 UnicodeSet fPropSets[URX_LAST_SET] {}; // The sets for common regex items, e.g. \s
45 Regex8BitSet fPropSets8[URX_LAST_SET] {}; // Fast bitmap sets for latin-1 range for above.
/external/cronet/third_party/icu/source/i18n/
Dregexst.h6 // Copyright (C) 2003-2010, International Business Machines Corporation and others.
12 // For the public Regular Expression API, see the file "unicode/regex.h"
16 // the thread safe lazy creation and sharing of these sets across
44 UnicodeSet fPropSets[URX_LAST_SET] {}; // The sets for common regex items, e.g. \s
45 Regex8BitSet fPropSets8[URX_LAST_SET] {}; // Fast bitmap sets for latin-1 range for above.
/external/python/setuptools/pkg_resources/_vendor/packaging/
Drequirements.py15 Regex,
43 PUNCTUATION = Word("-_.")
50 URI = Regex(r"[^ ]+")("url")
56 VERSION_PEP440 = Regex(Specifier._regex_str, re.VERBOSE | re.IGNORECASE)
57 VERSION_LEGACY = Regex(LegacySpecifier._regex_str, re.VERBOSE | re.IGNORECASE)
82 # pkg_resources.extern.pyparsing isn't thread safe during initialization, so we do it eagerly, see
91 URL, and extras. Raises InvalidRequirement on a badly-formed requirement
100 def __init__(self, requirement_string: str) -> None:
125 def __str__(self) -> str:
145 def __repr__(self) -> str:
/external/python/setuptools/setuptools/_vendor/packaging/
Drequirements.py15 Regex,
43 PUNCTUATION = Word("-_.")
50 URI = Regex(r"[^ ]+")("url")
56 VERSION_PEP440 = Regex(Specifier._regex_str, re.VERBOSE | re.IGNORECASE)
57 VERSION_LEGACY = Regex(LegacySpecifier._regex_str, re.VERBOSE | re.IGNORECASE)
82 # setuptools.extern.pyparsing isn't thread safe during initialization, so we do it eagerly, see
91 URL, and extras. Raises InvalidRequirement on a badly-formed requirement
100 def __init__(self, requirement_string: str) -> None:
125 def __str__(self) -> str:
145 def __repr__(self) -> str:
/external/libcups/vcnet/regex/
Dregex.31 .TH REGEX 3 "25 Sept 1997"
5 .IR regex (7) \\$1
8 regcomp, regexec, regerror, regfree \- regular-expression library
14 #include <regex.h>
36 transforms error codes from either into human-readable messages,
39 frees any dynamically-allocated storage used by the internal form
43 .I <regex.h>
96 Compile for newline-sensitive matching.
139 fails, it returns a non-zero error code;
160 the NUL-terminated string pointed to by
[all …]
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/
DlangtagRegex.txt1 # Regex for recognizing RFC 4646 well-formed tags
2 # http://www.rfc-editor.org/rfc/rfc4646.txt
3 # http://tools.ietf.org/html/draft-ietf-ltru-4646bis-21
9 # Note: the tool requires that any real "=" or "#" or ";" in the regex be escaped.
11 $alpha = [a-z] ; # ALPHA
12 $digit = [0-9] ; # DIGIT
13 $alphanum = [a-z 0-9] ; # ALPHA / DIGIT
15 $singleton = [a-w y-z] ; # other singleton
16 $s = [-_] ; # separator -- lenient parsers will use [-_] -- strict will use [-]
19 # The notation (?:....) is a non-capturing version of (...): so the "?:" can be deleted if someone …
[all …]

12345678910>>...21