HomeSort by relevance Sort by last modified time
    Searched full:regex (Results 826 - 850 of 5854) sorted by null

<<31323334353637383940>>

  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.match/
extended.pass.cpp 12 // <regex>
24 #include <regex>
36 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended)));
52 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::extended)));
67 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::extended)));
74 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended)));
80 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended),
87 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::extended)));
93 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::extended)));
108 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::extended)))
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.search/
extended.pass.cpp 12 // <regex>
24 #include <regex>
36 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::extended)));
52 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::extended)));
67 assert(!std::regex_search(s, m, std::regex("ba", std::regex_constants::extended)));
74 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::extended)));
89 assert(!std::regex_search(s, m, std::regex("ab", std::regex_constants::extended),
96 assert(std::regex_search(s, m, std::regex("bc", std::regex_constants::extended)));
111 assert(std::regex_search(s, m, std::regex("ab*c", std::regex_constants::extended)));
126 assert(std::regex_search(s, m, std::regex("(ab)*c", std::regex_constants::extended)))
    [all...]
  /external/freetype/
CMakeLists.txt 205 string(REGEX REPLACE
210 string(REGEX REPLACE
215 string(REGEX REPLACE
241 string(REGEX REPLACE
246 string(REGEX REPLACE
251 string(REGEX REPLACE
256 string(REGEX REPLACE
  /prebuilts/jdk/jdk9/darwin-x86/lib/
classlist     [all...]
  /prebuilts/jdk/jdk9/linux-x86/lib/
classlist     [all...]
  /development/vndk/tools/header-checker/header-abi-linker/src/
header_abi_linker.cpp 97 const std::regex *vs_regex,
130 // Version Script Regex Matching.
132 std::regex functions_vs_regex_;
133 // Version Script Regex Matching.
135 std::regex globvars_vs_regex_;
244 const std::regex *vs_regex,
258 static std::regex CreateRegexMatchExprFromSet(
271 return std::regex();
273 return std::regex(all_regex_match_str);
279 std::set<std::string> *regex_matched_link_set, const std::regex *vs_regex
    [all...]
  /external/proguard/lib/
retrace.jar 
  /external/tensorflow/tensorflow/python/platform/
benchmark.py 283 def _run_benchmarks(regex):
284 """Run benchmarks that match regex `regex`.
288 `module.name.BenchmarkClass.benchmarkMethod` to the given regex.
292 regex: The string regular expression to match Benchmark classes against.
296 # Match benchmarks in registry against regex
310 if regex == "all" or re.search(regex, full_benchmark_name):
335 regex = found_arg[0].split("=")[1]
336 app.run(lambda _: _run_benchmarks(regex), argv=argv
    [all...]
  /system/tools/hidl/utils/
FQName.cpp 24 #include <regex>
101 static const std::regex kRE1("(" RE_PATH ")@(" RE_MAJOR ")[.](" RE_MINOR ")::(" RE_PATH ")");
103 static const std::regex kRE2("@(" RE_MAJOR ")[.](" RE_MINOR ")::(" RE_PATH ")");
105 static const std::regex kRE3("(" RE_PATH ")@(" RE_MAJOR ")[.](" RE_MINOR ")");
107 static const std::regex kRE4("(" RE_COMPONENT ")([.]" RE_COMPONENT ")+");
109 static const std::regex kRE5("(" RE_COMPONENT ")");
112 static const std::regex kRE6("(" RE_PATH ")@(" RE_MAJOR ")[.](" RE_MINOR ")::(" RE_PATH
115 static const std::regex kRE7("@(" RE_MAJOR ")[.](" RE_MINOR ")::(" RE_PATH "):(" RE_COMPONENT
118 static const std::regex kRE8("(" RE_PATH "):(" RE_COMPONENT ")");
211 static const std::regex kREVer("(" RE_MAJOR ")[.](" RE_MINOR ")")
    [all...]
  /cts/apps/CameraITS/tools/
run_sensor_fusion_box.py 207 def find_matching_line(file_path, regex):
208 """Search each line in the file at 'file_path' for a line matching 'regex'.
212 regex: Regex used to match against lines
219 if regex.match(line):
  /cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
BaseShortcutManagerHostTest.java 35 import java.util.regex.MatchResult;
36 import java.util.regex.Matcher;
37 import java.util.regex.Pattern;
266 failWithMessage(message, "expected not to match regex:<" + expectedRegex
279 failWithMessage(message, "expected to contain regex:<" + expectedRegex
  /external/kotlinc/lib/
kotlin-runtime-sources.jar 
kotlin-stdlib-sources.jar 
  /external/python/cpython2/PCbuild/
python.props 64 <MajorVersionNumber>$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_MAJOR_VERSION\s+(\d+)`).Groups[1].Value)</MajorVersionNumber>
65 <MinorVersionNumber>$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_MINOR_VERSION\s+(\d+)`).Groups[1].Value)</MinorVersionNumber>
66 <MicroVersionNumber>$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_MICRO_VERSION\s+(\d+)`).Groups[1].Value)</MicroVersionNumber>
67 <_ReleaseLevel>$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_RELEASE_LEVEL\s+PY_RELEASE_LEVEL_(\w+)`).Groups[1].Value)</_ReleaseLevel>
68 <ReleaseSerial>$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_RELEASE_SERIAL\s+(\d+)`).Groups[1].Value)</ReleaseSerial>
  /external/tensorflow/tensorflow/contrib/graph_editor/tests/
select_test.py 50 regex = re.compile("foo")
51 self.assertIs(ge.make_regex(regex), regex)
156 for regex, length in parameters:
157 ts = ge.select_ts(regex, graph=self.graph)
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
Pattern2Test.java 17 package org.apache.harmony.regex.tests.java.util.regex;
19 import java.util.regex.Matcher;
20 import java.util.regex.Pattern;
21 import java.util.regex.PatternSyntaxException;
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/
kotlin-stdlib-1.2.0-sources.jar 
  /external/eigen/cmake/
EigenTesting.cmake 264 string(REGEX MATCHALL "CALL_SUBTEST_[0-9]+|EIGEN_TEST_PART_[0-9]+|EIGEN_SUFFIXES(;[0-9]+)+"
266 string(REGEX REPLACE "CALL_SUBTEST_|EIGEN_TEST_PART_|EIGEN_SUFFIXES" "" suffixes "${occurences}")
298 string(REGEX MATCHALL "CALL_SUBTEST_[0-9]+|EIGEN_TEST_PART_[0-9]+|EIGEN_SUFFIXES(;[0-9]+)+"
300 string(REGEX REPLACE "CALL_SUBTEST_|EIGEN_TEST_PART_|EIGEN_SUFFIXES" "" suffixes "${occurences}")
553 string(REGEX REPLACE "[\n\r].*" "" eigen_cxx_compiler_version_string ${eigen_cxx_compiler_version_string})
567 string(REGEX MATCH "g\\+\\+" ei_has_gpp ${VERSTRING})
568 string(REGEX MATCH "llvm|LLVM" ei_has_llvm ${VERSTRING})
569 string(REGEX MATCH "gcc|GCC" ei_has_gcc ${VERSTRING})
570 string(REGEX MATCH "icpc|ICC" ei_has_icpc ${VERSTRING})
571 string(REGEX MATCH "clang|CLANG" ei_has_clang ${VERSTRING}
    [all...]
  /prebuilts/tools/common/m2/repository/org/checkerframework/checker-qual/2.0.0/
checker-qual-2.0.0.jar 
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
filelist.py 205 'pattern' is assumed to be either a string containing a regex or a
206 regex object -- no translation is done, the regex is just compiled
215 self.debug_print("include_pattern: applying regex r'%s'" %
241 self.debug_print("exclude_pattern: applying regex r'%s'" %
290 Return a string containing the regex. Differs from
312 Return the compiled regex. If 'is_regex' true,
313 then 'pattern' is directly compiled to a regex (if it's a string)
314 or just returned as-is (assumes it's a regex object).
  /external/libtextclassifier/datetime/
parser_test.cc 379 void AddPattern(const std::string& regex, int locale,
383 patterns->back()->regexes.back()->pattern = regex;
402 AddPattern(/*regex=*/"en-US", /*locale=*/0, &model.patterns);
403 AddPattern(/*regex=*/"en-CH", /*locale=*/1, &model.patterns);
404 AddPattern(/*regex=*/"zh-Hant", /*locale=*/2, &model.patterns);
405 AddPattern(/*regex=*/"en-all", /*locale=*/3, &model.patterns);
406 AddPattern(/*regex=*/"zh-Hant-all", /*locale=*/4, &model.patterns);
407 AddPattern(/*regex=*/"all-CH", /*locale=*/5, &model.patterns);
408 AddPattern(/*regex=*/"default", /*locale=*/6, &model.patterns);
  /prebuilts/tools/common/m2/repository/com/android/tools/jill/jill-api/0.9.0/
jill-api-0.9.0.jar 
  /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
rjsmin.py 35 - there is no error detection: unterminated string, regex and comment
37 - Control characters inside string and regex literals are left untouched; they
39 - Newline characters are not allowed inside string and regex literals, except
41 - "return /regex/" is recognized correctly.
42 - Line terminators after regex literals are handled more sensibly
49 Since most parts of the logic are handled by the regex engine it's way faster
121 regex = r'(?:/(?![\r\n/*])%s*(?:(?:\\[^\r\n]|%s)%s*)*/)' % (
128 """ Fixup string of chars to fit into a regex char class """
200 r'(%(regex)s)' # 2
205 r'(%(regex)s)' #
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/text/util/
LinkifyCompat.java 49 import java.util.regex.Matcher;
50 import java.util.regex.Pattern;
195 * Applies a regex to the text of a TextView turning the matches into
201 * @param pattern Regex pattern to be used for finding links
215 * Applies a regex to the text of a TextView turning the matches into
221 * @param pattern Regex pattern to be used for finding links
239 * Applies a regex to the text of a TextView turning the matches into
245 * @param pattern Regex pattern to be used for finding links.
274 * Applies a regex to a Spannable turning the matches into
278 * @param pattern Regex pattern to be used for finding link
    [all...]
  /external/llvm/utils/FileCheck/
FileCheck.cpp 26 #include "llvm/Support/Regex.h"
109 /// RegEx - If non-empty, this is a regex pattern.
177 /// \brief Finds the closing sequence of a regex variable usage or
208 // Check to see if this is a fixed string, or if it has regex pieces.
226 // Otherwise, there is at least one regex piece. Build up the regex pattern
227 // by escaping scary characters in fixed strings, building up one big regex.
229 // RegEx matches.
231 // This is the start of a regex match. Scan for the }}
    [all...]

Completed in 1441 milliseconds

<<31323334353637383940>>