Searched refs:regex (Results 1 - 25 of 26) sorted by relevance

12

/seL4-camkes-master/projects/camkes-tool/tools/
H A Dckeywords.c36 #include <regex.h>
116 /* Construct a regex that matches CAmkES identifiers. */
117 regex_t regex; local
118 if (regcomp(&regex, "^[a-zA-Z_][a-zA-Z0-9_]*", 0) != 0) {
119 perror("failed to compile regex");
132 if (regexec(&regex, keywords[i], 0, NULL, 0) == REG_NOMATCH)
154 regfree(&regex);
/seL4-camkes-master/projects/camkes-tool/camkes/templates/tests/
H A Dtestbadidioms.py39 regex = re.compile(r'(\'.*?\'\s*\+|\+\s*\'.*?\')')
42 if regex.search(line) is not None:
46 regex = re.compile(r'[^\w]') variable
62 name = 'test_%s' % regex.sub('_', f)
H A Dlint.py44 regex = re.compile(r'.*\.py$') variable
47 if regex.match(src) is None:
H A Dlintsource.py40 regex = re.compile(r'.*\.py$') variable
43 if regex.match(src) is None:
H A Djinja_lint.py51 regex = re.compile(r'[^\w]') variable
67 name = 'test_%s' % regex.sub('_', f)
H A Djinja_pylint.py76 regex = re.compile(r'[^\w]') variable
92 name = 'test_%s' % regex.sub('_', f)
/seL4-camkes-master/projects/musllibc/src/regex/
H A Dregerror.c2 #include <regex.h>
6 /* Error message strings for error codes listed in `regex.h'. This list
H A Dtre.h32 #include <regex.h>
H A Dregcomp.c2 regcomp.c - TRE POSIX compatible regex compilation functions.
34 #include <regex.h>
428 /* Expands a macro delimited by `regex' and `regex_end' to `buf', which
2677 regcomp(regex_t *restrict preg, const char *restrict regex, int cflags) argument
2711 parse_ctx.start = regex;
H A Dregexec.c39 #include <regex.h>
1013 /* The regex has back references, use the backtracking matcher. */
/seL4-camkes-master/projects/camkes-tool/camkes/ast/tests/
H A Dlint.py47 regex = re.compile(r'.*\.py$') variable
50 if regex.match(src) is None:
H A Dlintsource.py40 regex = re.compile(r'.*\.py$') variable
43 if regex.match(src) is None:
/seL4-camkes-master/projects/camkes-tool/camkes/internal/tests/
H A Dlint.py44 regex = re.compile(r'^.*\.py$') variable
47 if regex.match(src) is None:
H A Dlintsource.py40 regex = re.compile(r'^.*\.py$') variable
43 if regex.match(src) is None:
/seL4-camkes-master/projects/camkes-tool/camkes/parser/tests/
H A Dlint.py44 regex = re.compile(r'.*\.py$') variable
47 if regex.match(src) is None:
H A Dlintsource.py40 regex = re.compile(r'.*\.py$') variable
43 if regex.match(src) is None:
/seL4-camkes-master/projects/camkes-tool/camkes/runner/tests/
H A Dlint.py47 regex = re.compile(r'.*\.py$') variable
50 if regex.match(src) is None:
H A Dlintsource.py40 regex = re.compile(r'.*\.py$') variable
43 if regex.match(src) is None:
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/src/
H A DMakefile.am25 -export-symbols-regex '^json_' \
H A DMakefile.in338 -export-symbols-regex '^json_' \
/seL4-camkes-master/tools/seL4/misc/
H A Dstyle.py21 # dict of style-tools to regex. The regex should match any full file path.
22 # if the regex matches, that tool will be applied to that file. Multiple
23 # tools can be defined for the same regex.
50 for k, regex in regexmap.items():
51 if regex.search(fname):
/seL4-camkes-master/tools/cogent/impl/fs/ext2/cogent/
H A DMakefile204 etags --regex='/^type *\([a^[b-zA-Z_][a-zA-Z0-9_]*\) .*= .*$$\|^\([a-zA-Z][a-zA-Z0-9_]*\) .*=.*$$/\1\2/' $(COGENT_SOURCES) $(COGENT_GUM)
206 etags --append -l c --regex='/^\(\$$ty:(.*) *\)?\(\$$id:\)?\([A-Za-z_][A-Za-z0-9_]*\) *(.*$$/\3/' $(filter %.ac,$(C_SOURCES) $(LINUX_ACFILES))
/seL4-camkes-master/projects/camkes-tool/camkes/parser/
H A DfdtQueryEngine.py133 regex = re.compile(qstring, re.IGNORECASE)
137 "a valid regex."
140 # Try the regex against each path from the DTB and build a list of those
149 if not regex.search(currpath):
/seL4-camkes-master/kernel/tools/
H A Dlex.py141 # mapping regex group numbers to rules
144 self.lexstateretext = {} # Dictionary mapping lexer states to regex strings
509 # This function takes a list of all of the regex components and attempts to
511 # module, it may be necessary to break the master regex into separate expressions.
518 regex = "|".join(relist)
520 lexre = re.compile(regex, re.VERBOSE | reflags)
538 return [(lexre, lexindexfunc)], [regex], [lexindexnames]
1011 debuglog.info("lex: state '%s' : regex[%d] = '%s'", state, i, re_text[i])
1093 # @TOKEN(regex)
1095 # This decorator function can be used to set the regex expressio
[all...]
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/
H A Dltmain.sh211 # PREFIX and SUFFIX must not contain globbing or regex special
405 # Sed substitution that turns a string into a regex matching for the
2415 -export-symbols-regex REGEX
2425 -precious-files-regex REGEX
5515 -export-symbols | -export-symbols-regex)
5706 -precious-files-regex)
7906 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
7909 $ECHO "*** using a regex pattern. Last file checked: $potlib"

Completed in 108 milliseconds

12