| /external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
| gtest-port.cc | 525 // regfree'ing an invalid regex might crash because the content 526 // of the regex is undefined. Since the regex's are essentially 553 void RE::Init(const char* regex) { 554 pattern_ = posix::StrDup(regex); 558 const size_t full_regex_len = strlen(regex) + 10; 561 snprintf(full_pattern, full_regex_len, "^(%s)$", regex); 568 // Some implementation of POSIX regex (e.g. on at least some 570 // regex. We change it to an equivalent form "()" to be safe. 572 const char* const partial_regex = (*regex == '\0') ? "()" : regex [all...] |
| /hardware/interfaces/compatibility_matrices/ |
| compatibility_matrix.3.xml | 95 <regex-instance>.*</regex-instance> 103 <regex-instance>[^/]+/[0-9]+</regex-instance> 143 <regex-instance>.*</regex-instance> 147 <regex-instance>.*</regex-instance> 155 <regex-instance>.*</regex-instance [all...] |
| /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/src/ |
| gtest-port.cc | 525 // regfree'ing an invalid regex might crash because the content 526 // of the regex is undefined. Since the regex's are essentially 553 void RE::Init(const char* regex) { 554 pattern_ = posix::StrDup(regex); 558 const size_t full_regex_len = strlen(regex) + 10; 561 snprintf(full_pattern, full_regex_len, "^(%s)$", regex); 568 // Some implementation of POSIX regex (e.g. on at least some 570 // regex. We change it to an equivalent form "()" to be safe. 572 const char* const partial_regex = (*regex == '\0') ? "()" : regex [all...] |
| /art/tools/checker/file_format/checker/ |
| struct.py | 103 """ Returns a regex pattern for this entire assertion. Only used in tests. """ 104 regex = "" 107 regex = regex + ", " 109 regex = regex + "(" + expression.text + ")" 110 return regex 124 class Regex(object): 167 assert re.match(TestExpression.Regex.rName, name) 172 assert re.match(TestExpression.Regex.rName, name [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
| StringExtensions.cs | 107 public static string replaceAll( string str, string regex, string newValue ) 109 return System.Text.RegularExpressions.Regex.Replace( str, regex, newValue ); 112 public static string replaceFirst( string str, string regex, string replacement ) 114 return System.Text.RegularExpressions.Regex.Replace( str, regex, replacement );
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/ |
| DESCRIPTION | 13 - there is no error detection: unterminated string, regex and comment 15 - Control characters inside string and regex literals are left untouched; they 17 - Newline characters are not allowed inside string and regex literals, except 19 - "return /regex/" is recognized correctly. 20 - Line terminators after regex literals are handled more sensibly 27 Since most parts of the logic are handled by the regex engine it's way faster
|
| /external/clang/lib/Format/ |
| FormatTokenLexer.h | 24 #include "llvm/Support/Regex.h" 50 // Tries to parse a JavaScript Regex literal starting at the current token, 52 // regex literals. Changes the current token to a regex literal and updates 86 llvm::Regex MacroBlockBeginRegex; 87 llvm::Regex MacroBlockEndRegex;
|
| /external/guice/extensions/servlet/src/com/google/inject/servlet/ |
| UriPatternType.java | 18 import java.util.regex.Matcher; 19 import java.util.regex.Pattern; 27 SERVLET, REGEX; 33 case REGEX: 132 // Try to capture the everything before the regex begins to match 145 return UriPatternType.REGEX;
|
| /external/libcxx/test/std/re/re.alg/re.alg.match/ |
| egrep.pass.cpp | 10 // <regex> 19 #include <regex> 30 assert(std::regex_match(s, m, std::regex("tour\nto\ntournament", 46 assert(!std::regex_match(s, m, std::regex("tour\n\ntournament", 53 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna", 69 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna",
|
| basic.fail.cpp | 10 // <regex> 21 #include <regex> 33 std::regex re{"*"};
|
| /external/libcxx/test/std/re/re.alg/re.alg.search/ |
| grep.pass.cpp | 10 // <regex> 19 #include <regex> 33 std::regex::flag_type flag = std::regex_constants::grep; 35 std::regex re(s, flag); 59 assert(std::regex_search(s, m, std::regex("tour\nto\ntournament", 75 assert(std::regex_search(s, m, std::regex("tour\n\ntournament",
|
| basic.fail.cpp | 10 // <regex> 21 #include <regex> 33 std::regex re{"*"};
|
| no_update_pos.pass.cpp | 10 // <regex> 19 #include <regex> 29 std::regex re("^a");
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.match/ |
| egrep.pass.cpp | 10 // <regex> 19 #include <regex> 30 assert(std::regex_match(s, m, std::regex("tour\nto\ntournament", 46 assert(!std::regex_match(s, m, std::regex("tour\n\ntournament", 53 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna", 69 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna",
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.search/ |
| grep.pass.cpp | 10 // <regex> 19 #include <regex> 33 std::regex::flag_type flag = std::regex_constants::grep; 35 std::regex re(s, flag); 59 assert(std::regex_search(s, m, std::regex("tour\nto\ntournament", 75 assert(std::regex_search(s, m, std::regex("tour\n\ntournament",
|
| /system/hardware/interfaces/net/netd/testutils/ |
| VtsHalNetNetdTestUtils.cpp | 17 #include <regex> 74 const std::regex regex(regexString, std::regex_constants::extended); 80 if (std::regex_search(rule, regex)) { 91 std::string regex = local 93 return countMatchingIpRules(regex);
|
| /external/eigen/cmake/ |
| EigenConfigureTesting.cmake | 27 string(REGEX MATCH "MakeCommand:.*-- (.*)\nDefaultCTestConfigurationType" EIGEN_DUMMY ${EIGEN_DART_CONFIG_FILE}) 29 string(REGEX MATCH "MakeCommand:.*[^c]make (.*)\nDefaultCTestConfigurationType" EIGEN_DUMMY ${EIGEN_DART_CONFIG_FILE}) 31 string(REGEX REPLACE "MakeCommand:.*DefaultCTestConfigurationType" "MakeCommand: ${CMAKE_COMMAND} --build . --target buildtests --config \"\${CTEST_CONFIGURATION_TYPE}\" -- ${CMAKE_MATCH_1} ${EIGEN_TEST_BUILD_FLAGS}\nDefaultCTestConfigurationType"
|
| FindEigen2.cmake | 34 string(REGEX MATCH "define[ \t]+EIGEN_WORLD_VERSION[ \t]+([0-9]+)" _eigen2_world_version_match "${_eigen2_version_header}") 36 string(REGEX MATCH "define[ \t]+EIGEN_MAJOR_VERSION[ \t]+([0-9]+)" _eigen2_major_version_match "${_eigen2_version_header}") 38 string(REGEX MATCH "define[ \t]+EIGEN_MINOR_VERSION[ \t]+([0-9]+)" _eigen2_minor_version_match "${_eigen2_version_header}")
|
| /external/libcxx/include/experimental/ |
| regex | 2 //===----------------------------- regex ----------------------------------===// 14 experimental/regex synopsis 40 #include <regex>
|
| /external/libcxx/test/std/re/re.iter/re.regiter/re.regiter.cnstr/ |
| cnstr.fail.cpp | 10 // <regex> 20 #include <regex> 34 std::regex("\\d{3}-\\d{4}"));
|
| /external/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.comp/ |
| equal.pass.cpp | 10 // <regex> 17 #include <regex> 24 std::regex phone_numbers("\\d{3}-\\d{4}");
|
| /external/libcxx/test/std/re/re.regex/re.regex.construct/ |
| bad_ctype.pass.cpp | 11 // <regex> 18 #include <regex> 26 std::regex re(pat);
|
| bad_escape.pass.cpp | 11 // <regex> 18 #include <regex> 26 std::regex re(pat);
|
| bad_repeat.pass.cpp | 11 // <regex> 18 #include <regex> 26 std::regex re(pat);
|
| /external/libcxx/test/std/re/re.regex/re.regex.locale/ |
| imbue.pass.cpp | 12 // <regex> 18 #include <regex> 27 std::regex r;
|