| /xsrc/external/mit/xedit/dist/lisp/ |
| 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 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 92 /* Don't generate an error if it is already a compiled regex. * 132 LispObj *regex, *ostring, *count, *ostart, *oend, *notbol, *noteol; local [all...] |
| internal.h | 403 /* regex */ 639 re_cod *regex; member in struct:_LispObj::__anon6613::__anon6627 640 LispObj *pattern; /* regex string */ 641 int options; /* regex compile flags */ 642 } regex; member in union:_LispObj::__anon6613
|
| /xsrc/external/mit/xedit/dist/lisp/modules/progmodes/ |
| perl.lsp | 69 (defsynprop *prop-regex* 70 "regex" 142 ;; treat regex as expressions to avoid confusing parser 365 ;; regex or other patterns 446 ;; regex 447 (syntoken "(\\<m)?/([^/]|\\\\/)+/\\w*" :property *prop-regex*) 448 (syntoken "\\<m\\{[^}]+\\}\\w*" :property *prop-regex*) 449 (syntoken "\\<m<[^>]+>\\w*" :property *prop-regex*) 450 (syntoken "\\<(s|tr)/[^/]+/([^/]|\\\\/)*/\\w*":property *prop-regex*) 452 (syntoken "//" :nospec t :property *prop-regex*) [all...] |
| /xsrc/external/mit/xedit/dist/ |
| 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 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->pattern->value = XtNewString(pattern) [all...] |
| hook.c | 64 /* Xedit regex data */ 65 re_cod regex; member in struct:_EditInfo 71 /* String and flags used to compile regex */ 864 refree(&einfo.regex); 865 /* Allow nuls in search regex */ 866 einfo.regex.re_endp = pptr; 867 ecode = recomp(&einfo.regex, einfo.subst_pattern, einfo.flags); 956 ecode = reexec(&einfo.regex, line, 1131 strcpy(buffer, "Regex error: "); 1133 reerror(ecode, &einfo.regex, [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/ |
| rc_test_helpers.c | 32 #include <regex.h> 68 regex_t regex; local 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 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_str, num_matches, matches, 0) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/ |
| rc_test_helpers.c | 32 #include <regex.h> 68 regex_t regex; local 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 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_str, num_matches, matches, 0) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gtest/src/ |
| gtest-death-test.cc | 356 bool DeathTest::Create(const char* statement, const RE* regex, 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, 1200 *test = new WindowsDeathTest(statement, regex, file, line); 1206 *test = new ExecDeathTest(statement, regex, file, line) [all...] |