Searched refs:re (Results 1 - 25 of 28) sorted by relevance

12

/seL4-test-master/kernel/tools/
H A Dcircular_includes.py15 import re namespace
29 ignore_args = [re.escape(ignore) for ignore in ignore_args]
31 ignore_re = re.compile(r'^# 1 ".*' + ignore_re_string + '"')
33 header_re = re.compile(r'^# (\d+) "(.*\..)"')
H A Dlex.py40 import re namespace
70 _is_identifier = re.compile(r'^[a-zA-Z0-9_]+$')
139 # tuples (re,findex) where re is a compiled
151 self.lexreflags = 0 # Optional re compile flags
263 titem.append((re.compile(lre[i][0], lextab._lexreflags),
510 # form the master regular expression. Given limitations in the Python re
520 lexre = re.compile(regex, re.VERBOSE | reflags)
798 c = re
[all...]
H A Dsyscall_header_gen.py14 import re namespace
206 words = re.findall('[A-Z][A-Z]?[^A-Z]*', s)
H A Dbitfield_gen.py17 import re namespace
2767 search_re = re.compile('[a-zA-Z0-9_]+')
2889 guard = re.sub(r'[^a-zA-Z0-9_]', '_', out_file.filename.upper())
/seL4-test-master/projects/util_libs/libpci/include/pci/
H A Dhelper_gen.py12 import re, os; namespace
27 r = re.search(r'^#define PCI_VENDOR_ID_([A-Z0-9_]+)\s+(\w+)', line);
42 rv = re.search(r'^#define PCI_VENDOR_ID_([A-Z0-9_]+)\s+(\w+)', line);
46 r = re.search(r'^#define PCI_DEVICE_ID_([A-Z0-9]+_[A-Z0-9_]+)\s+(\w+)', line);
/seL4-test-master/tools/seL4/misc/
H A Dfilter.py9 import re namespace
16 COMMENT = re.compile(r'^\s*#')
17 TRAILING_COMMENT = re.compile(r'\s+#.*$')
H A Dstyle.py15 import re namespace
40 regexmap = {k: re.compile(v) for k, v in STYLE_MAP.items()}
/seL4-test-master/projects/sel4test/apps/sel4test-driver/scripts/
H A Dcoverage.py25 import re namespace
112 line_re = re.compile(r'^([0-9a-f]+):')
113 ignore_re = re.compile(r'\.word|\.short|\.byte|undefined instruction')
114 function_name_re = re.compile(r'^([0-9a-f]+) <([^>]+)>')
145 trace_entry = re.compile(r'^Trace 0x[0-f]+ \[([0-f]+)\]')
147 entry = re.search(trace_entry, line)
H A Dfilter-results.py57 import re namespace
64 selectionRegexp = re.compile('(.*) ([0-9]+) (->|<-) ([0-9]+) ([0-9]+) ([A-Za-z_]+) ([A-Za-z_]+)')
109 entryStartRegexp = re.compile('([0-9]+) (<-|->) ([0-9]+), Length ([0-9]+):')
/seL4-test-master/projects/seL4_libs/libsel4test/tools/
H A Dextract_results.py15 import re namespace
83 regexp = re.compile(r'(<%(top)s>.*</%(top)s>)' % {'top': TOP_TAG}, re.S)
84 matches = re.search(regexp, data)
/seL4-test-master/tools/nanopb/tests/site_scons/
H A Dsite_init.py3 import re namespace
94 status = re.search(pattern.strip(), data, re.MULTILINE)
/seL4-test-master/projects/musllibc/arch/sh/bits/
H A Duser.h44 unsigned long re; member in struct:pt_dspregs
/seL4-test-master/projects/util_libs/libfdt/
H A Dfdt_sw.c205 struct fdt_reserve_entry *re; local
211 if ((offset + sizeof(*re)) > fdt_totalsize(fdt))
214 re = (struct fdt_reserve_entry *)((char *)fdt + offset);
215 re->address = cpu_to_fdt64(addr);
216 re->size = cpu_to_fdt64(size);
218 fdt_set_off_dt_struct(fdt, offset + sizeof(*re));
H A Dfdt_rw.c176 struct fdt_reserve_entry *re; local
181 re = fdt_mem_rsv_w_(fdt, fdt_num_mem_rsv(fdt));
182 err = fdt_splice_mem_rsv_(fdt, re, 0, 1);
186 re->address = cpu_to_fdt64(address);
187 re->size = cpu_to_fdt64(size);
193 struct fdt_reserve_entry *re = fdt_mem_rsv_w_(fdt, n); local
200 return fdt_splice_mem_rsv_(fdt, re, 1, 0);
H A Dfdt_ro.c187 const struct fdt_reserve_entry *re; local
190 re = fdt_mem_rsv(fdt, n);
191 if (!re)
194 *address = fdt64_ld(&re->address);
195 *size = fdt64_ld(&re->size);
202 const struct fdt_reserve_entry *re; local
204 for (i = 0; (re = fdt_mem_rsv(fdt, i)) != NULL; i++) {
205 if (fdt64_ld(&re->size) == 0)
/seL4-test-master/kernel/manual/tools/
H A Dparse_doxygen_xml.py15 import re namespace
55 escape_regex = re.compile(re.escape('|'.join(self.ESCAPE_PATTERNS.keys())))
458 match_details = re.match(r'^DOCREF$', details, re.M | re.I)
462 details_string = "**Description:** " + re.sub(r"\n(?!\n)", " ", details)
464 ret_string = "**Return value:** " + re.sub("\n(?!\n)", " ", ret)
467 ret_string = re.sub(r'DOCREF', "", ret_string)
468 details_string = re
[all...]
/seL4-test-master/projects/musllibc/src/thread/powerpc64/
H A Dclone.s35 1: # if we're the parent, return
39 # we're the child. call fn(arg)
/seL4-test-master/kernel/libsel4/tools/
H A Dsyscall_header_gen.py14 import re namespace
206 words = re.findall('[A-Z][A-Z]?[^A-Z]*', s)
H A Dbitfield_gen.py17 import re namespace
2767 search_re = re.compile('[a-zA-Z0-9_]+')
2889 guard = re.sub(r'[^a-zA-Z0-9_]', '_', out_file.filename.upper())
/seL4-test-master/kernel/manual/tools/libsel4_tools/
H A Dsyscall_header_gen.py14 import re namespace
206 words = re.findall('[A-Z][A-Z]?[^A-Z]*', s)
H A Dbitfield_gen.py17 import re namespace
2767 search_re = re.compile('[a-zA-Z0-9_]+')
2889 guard = re.sub(r'[^a-zA-Z0-9_]', '_', out_file.filename.upper())
/seL4-test-master/tools/seL4/cmake-tool/helpers/
H A Dshoehorn.py22 import re namespace
98 match = re.search(cpio_magic, payload.read())
192 # Deal with the 1..(# of CPUs - 1) possible user payloads, if we're not
/seL4-test-master/projects/musllibc/src/thread/s390x/
H A Dclone.s37 # if error or if we're the parent, return
41 # we're the child. call fn(arg)
/seL4-test-master/tools/nanopb/generator/
H A Dnanopb_generator.py10 import re namespace
1569 data = re.sub('/\*.*?\*/', '', data, flags = re.MULTILINE)
1570 data = re.sub('//.*?$', '', data, flags = re.MULTILINE)
1571 data = re.sub('#.*?$', '', data, flags = re.MULTILINE)
/seL4-test-master/kernel/manual/parts/
H A Dapi.tex98 functionality: if this is \texttt{true}, the caller should not attempt to re-use \texttt{bp\_num}

Completed in 116 milliseconds

12