| /xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/ |
| H A D | gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/ |
| H A D | gtest-death-test.h | 103 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 104 // which uses the POSIX extended regex syntax. 106 // On other platforms (e.g. Windows or Mac), we only support a simple regex 110 // or POSIX extended regex syntax. For example, we don't support 115 // subset of both PCRE and POSIX extended regex, so it's easy to 142 // If you accidentally use PCRE or POSIX extended regex features 148 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE [all...] |
| H A D | gtest-matchers.h | 615 // Implements polymorphic matchers MatchesRegex(regex) and 616 // ContainsRegex(regex), which can be used as a Matcher<T> as long as 620 MatchesRegexMatcher(const RE* regex, bool full_match) argument 621 : regex_(regex), full_match_(full_match) {} 669 // Matches a string that fully matches regular expression 'regex'. 670 // The matcher takes ownership of 'regex'. 672 const internal::RE* regex) { 673 return MakePolymorphicMatcher(internal::MatchesRegexMatcher(regex, true)); 676 const std::string& regex) { 677 return MatchesRegex(new internal::RE(regex)); 671 MatchesRegex(const internal::RE * regex) argument 675 MatchesRegex(const std::string & regex) argument 682 ContainsRegex(const internal::RE * regex) argument 686 ContainsRegex(const std::string & regex) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/.gitlab-ci/container/ |
| H A D | build-piglit.sh | 14 find ! -regex "^\.$" \ 15 ! -regex "^\.\/piglit.*" \ 16 ! -regex "^\.\/framework.*" \ 17 ! -regex "^\.\/bin$" \ 18 ! -regex "^\.\/bin\/replayer\.py" \ 19 ! -regex "^\.\/templates.*" \ 20 ! -regex "^\.\/tests$" \ 21 ! -regex "^\.\/tests\/replay\.py" 2>/dev/null | xargs rm -rf
|
| /xsrc/external/mit/xedit/dist/lisp/ |
| H A D | regex.c | 30 /* $XFree86: xc/programs/xedit/lisp/regex.c,v 1.10tsi Exp $ */ 32 #include "lisp/regex.h" 53 re_cod *regex = LispMalloc(sizeof(re_cod)); local in function:LispRecomp 55 if ((code = recomp(regex, pattern, cflags)) != 0) { 58 reerror(code, regex, buffer, sizeof(buffer)); 59 refree(regex); 60 LispFree(regex); 64 return (regex); 79 re_cod *regex; local in function:Lisp_Recomp 92 /* Don't generate an error if it is already a compiled regex 132 LispObj *regex, *ostring, *count, *ostart, *oend, *notbol, *noteol; local in function:Lisp_Reexec [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/internal/ |
| H A D | gtest-death-test-internal.h | 79 static bool Create(const char* statement, const RE* regex, 143 virtual bool Create(const char* statement, const RE* regex, 150 virtual bool Create(const char* statement, const RE* regex, 185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 188 const ::testing::internal::RE& gtest_regex = (regex); \ 221 // NDEBUG mode. In this case we need the statements to be executed, the regex is 224 # define GTEST_EXECUTE_STATEMENT_(statement, regex) \ 283 // regex - A regex that a macro such as EXPECT_DEATH would use to test 295 // statement and regex ar [all...] |
| H A D | gtest-port.h | 176 // GTEST_USES_POSIX_RE - enhanced POSIX regex is used. Do not confuse with 179 // GTEST_USES_SIMPLE_RE - our own simple regex is used; 419 // On Android, <regex.h> is only available starting with Gingerbread. 431 // On some platforms, <regex.h> needs someone to define size_t, and 435 # include <regex.h> // NOLINT 441 // <regex.h> is not available on Windows. Use our own simple regex 447 // <regex.h> may not be available on this platform. Use our own 448 // simple regex implementation instead. 1154 // A simple C++ wrapper for <regex 1163 RE(const::std::string & regex) argument 1167 RE(const::string & regex) argument 1171 RE(const char * regex) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gtest/src/ |
| H A D | gtest-port.cc | 566 // regfree'ing an invalid regex might crash because the content 567 // of the regex is undefined. Since the regex's are essentially 594 void RE::Init(const char* regex) { argument 595 pattern_ = posix::StrDup(regex); 599 const size_t full_regex_len = strlen(regex) + 10; 602 snprintf(full_pattern, full_regex_len, "^(%s)$", regex); 609 // Some implementation of POSIX regex (e.g. on at least some 611 // regex. We change it to an equivalent form "()" to be safe. 613 const char* const partial_regex = (*regex 674 FormatRegexSyntaxError(const char * regex,int index) argument 681 ValidateRegex(const char * regex) argument 744 MatchRepetitionAndRegexAtHead(bool escaped,char c,char repeat,const char * regex,const char * str) argument 771 MatchRegexAtHead(const char * regex,const char * str) argument 807 MatchRegexAnywhere(const char * regex,const char * str) argument 841 Init(const char * regex) argument [all...] |
| H A D | gtest-death-test.cc | 356 bool DeathTest::Create(const char* statement, const RE* regex, argument 359 statement, regex, file, line, test); 391 const RE* regex() const { return regex_; } function in class:testing::internal::DeathTestImpl 530 // regex: A regular expression object to be applied to 566 const bool matched = RE::PartialMatch(error_message.c_str(), *regex()); 571 << " Expected: " << regex()->pattern() << "\n" 789 ForkingDeathTest(const char* statement, const RE* regex); 1171 bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex, argument 1200 *test = new WindowsDeathTest(statement, regex, file, line); 1206 *test = new ExecDeathTest(statement, regex, fil [all...] |
| H A D | gtest-internal-inl.h | 943 GTEST_API_ bool ValidateRegex(const char* regex); 944 GTEST_API_ bool MatchRegexAtHead(const char* regex, const char* str); 946 bool escaped, char ch, char repeat, const char* regex, const char* str); 947 GTEST_API_ bool MatchRegexAnywhere(const char* regex, const char* str);
|
| /xsrc/external/mit/MesaLib/dist/src/gtest/src/ |
| H A D | gtest-port.cc | 708 // regfree'ing an invalid regex might crash because the content 709 // of the regex is undefined. Since the regex's are essentially 736 void RE::Init(const char* regex) { argument 737 pattern_ = posix::StrDup(regex); 741 const size_t full_regex_len = strlen(regex) + 10; 744 snprintf(full_pattern, full_regex_len, "^(%s)$", regex); 751 // Some implementation of POSIX regex (e.g. on at least some 753 // regex. We change it to an equivalent form "()" to be safe. 755 const char* const partial_regex = (*regex 816 FormatRegexSyntaxError(const char * regex,int index) argument 823 ValidateRegex(const char * regex) argument 883 MatchRepetitionAndRegexAtHead(bool escaped,char c,char repeat,const char * regex,const char * str) argument 910 MatchRegexAtHead(const char * regex,const char * str) argument 946 MatchRegexAnywhere(const char * regex,const char * str) argument 979 Init(const char * regex) argument [all...] |
| H A D | gtest-internal-inl.h | 966 GTEST_API_ bool ValidateRegex(const char* regex); 967 GTEST_API_ bool MatchRegexAtHead(const char* regex, const char* str); 969 bool escaped, char ch, char repeat, const char* regex, const char* str); 970 GTEST_API_ bool MatchRegexAnywhere(const char* regex, const char* str);
|
| /xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/internal/ |
| H A D | gtest-death-test-internal.h | 166 // and interpreted as a regex (rather than an Eq matcher) for legacy 169 ::testing::internal::RE regex) { 170 return ContainsRegex(regex.pattern()); 172 inline Matcher<const ::std::string&> MakeDeathTestMatcher(const char* regex) { argument 173 return ContainsRegex(regex); 176 const ::std::string& regex) { 177 return ContainsRegex(regex); 252 // The regex object is not evaluated, but it is used to prevent "unused" 168 MakeDeathTestMatcher(::testing::internal::RE regex) argument 175 MakeDeathTestMatcher(const::std::string & regex) argument
|
| H A D | gtest-port.h | 171 // GTEST_USES_POSIX_RE - enhanced POSIX regex is used. Do not confuse with 174 // GTEST_USES_SIMPLE_RE - our own simple regex is used; 364 // On Android, <regex.h> is only available starting with Gingerbread. 376 // On some platforms, <regex.h> needs someone to define size_t, and 380 # include <regex.h> // NOLINT 386 // <regex.h> is not available on Windows. Use our own simple regex 392 // <regex.h> may not be available on this platform. Use our own 393 // simple regex implementation instead. 872 // A simple C++ wrapper for <regex 881 RE(const::std::string & regex) argument 883 RE(const char * regex) argument [all...] |
| /xsrc/external/mit/xedit/dist/ |
| H A D | tags.c | 64 re_cod regex; member in struct:_RegexEntry 395 /* Check for regex */ 419 * other regex characters and building a fast/simple literal 502 RegexEntry *regex; local in function:FindTag 519 regex = NULL; 524 regex = (RegexEntry *)hash_check(tags->patterns, pattern, length); 525 if (regex == NULL) { 526 regex = XtNew(RegexEntry); 527 regex->pattern = XtNew(hash_key); 528 regex [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/codegen/templates/ |
| H A D | gen_knobs.cpp | 38 #include <regex> 47 // <regex> isn't implemented prior to gcc-4.9.0 70 static std::regex env("\\$\\{([^}]+)\\}"); 82 static std::regex env("\\%([^}]+)\\%");
|
| /xsrc/external/mit/libFS/dist/src/ |
| H A D | Makefile.am | 43 libFS_la_LDFLAGS = -export-symbols-regex '^FS.*' -version-number 6:0:0 -no-undefined
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/ |
| H A D | rc_test_helpers.c | 32 #include <regex.h> 68 regex_t regex; local in function:is_whitespace 69 if (regcomp(®ex, "^[ \n]+$", REG_EXTENDED)) { 70 fprintf(stderr, "Failed to compile whitespace regex\n"); 73 return regexec(®ex, str, 0, NULL, 0) != REG_NOMATCH; 88 regex_t regex; local in function:regex_helper 92 err_code = regcomp(®ex, regex_str, REG_EXTENDED); 94 regerror(err_code, ®ex, err_buf, REGEX_ERR_BUF_SIZE); 95 fprintf(stderr, "Failed to compile regex: %s\n", err_buf); 99 err_code = regexec(®ex, search_st [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/ |
| H A D | rc_test_helpers.c | 32 #include <regex.h> 68 regex_t regex; local in function:is_whitespace 69 if (regcomp(®ex, "^[ \n]+$", REG_EXTENDED)) { 70 fprintf(stderr, "Failed to compile whitespace regex\n"); 73 return regexec(®ex, str, 0, NULL, 0) != REG_NOMATCH; 88 regex_t regex; local in function:regex_helper 92 err_code = regcomp(®ex, regex_str, REG_EXTENDED); 94 regerror(err_code, ®ex, err_buf, REGEX_ERR_BUF_SIZE); 95 fprintf(stderr, "Failed to compile regex: %s\n", err_buf); 99 err_code = regexec(®ex, search_st [all...] |
| /xsrc/external/mit/xterm/dist/package/pkgsrc/ |
| H A D | options.mk | 25 ### Moreover, libc's regex(3) functions are weak-aliased to those
|
| /xsrc/external/mit/ctwm/dist/cmake_files/ |
| H A D | build_options.cmake | 14 option(USE_SREGEX "Use regex from libc" ON ) 115 # System provides regex stuff in libc? 117 check_include_files(regex.h HAS_REGEX_H) 121 message(FATAL_ERROR "Can't find regex.h") 127 message(STATUS "Enabling libc regex usage.")
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/codegen/templates/ |
| H A D | gen_knobs.cpp | 38 #include <regex>
|
| /xsrc/external/mit/ctwm/dist/ |
| H A D | ctwm_config.h.in | 59 /* Does libc provide regex funcs we use? */
|
| /xsrc/external/mit/xedit/dist/lisp/modules/ |
| H A D | xedit.lsp | 114 (regex (caar mode) (caar mode)) 118 ;; only wants to know if the regex match. 119 (when (listp (re-exec regex filename :count 0))
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/ |
| H A D | README.md | 8 variants (a regex directly following the `~` is used).
|