Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 48) sorted by relevance

12

/xen/tools/include/xen-foreign/
A Dmkheader.py3 import sys, re;
142 for line in re.findall("#define[^\n]+", input):
145 match = re.search(regex, line);
154 output += re.sub(regex, replace, line) + "\n";
158 input = re.sub("#define[^\n]+\n", "", input);
159 input = re.compile("/\*(.*?)\*/", re.S).sub("", input)
160 input = re.compile("\n\s*\n", re.S).sub("\n", input);
165 match = re.search(regex, input, re.S)
175 match = re.search(regex, input, re.S)
196 output = re.sub("\\b%s\\b" % define, replace, output);
[all …]
/xen/tools/misc/
A Dxensymoops11 import re, sys
21 stackaddr_re = re.compile(stackaddr_ptn)
24 eip_re = re.compile(eip_ptn)
67 addr_re = re.compile(addr_ptn)
71 func_re = re.compile(func_ptn)
/xen/xen/tools/
A Dcompat-build-source.py3 import re,sys
17 match = re.subn(r"^\s*\?\s+(\w*)\s.*", r"\1", line.rstrip())
24 pat[0] = re.compile(pat[0])
28 line = re.sub(pat[0], pat[1], line)
A Dcompat-build-header.py3 import re,sys
25 line = re.subn(pat[0], pat[1], line)[0]
A Dgen-cpuid.py4 import sys, os, re
48 feat_regex = re.compile(
/xen/xen/common/libfdt/
A Dfdt_sw.c110 struct fdt_reserve_entry *re; in fdt_add_reservemap_entry() local
119 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry()
122 re = (struct fdt_reserve_entry *)((char *)fdt + offset); in fdt_add_reservemap_entry()
123 re->address = cpu_to_fdt64(addr); in fdt_add_reservemap_entry()
124 re->size = cpu_to_fdt64(size); in fdt_add_reservemap_entry()
126 fdt_set_off_dt_struct(fdt, offset + sizeof(*re)); in fdt_add_reservemap_entry()
A Dfdt_rw.c173 struct fdt_reserve_entry *re; in fdt_add_mem_rsv() local
178 re = _fdt_mem_rsv_w(fdt, fdt_num_mem_rsv(fdt)); in fdt_add_mem_rsv()
179 err = _fdt_splice_mem_rsv(fdt, re, 0, 1); in fdt_add_mem_rsv()
183 re->address = cpu_to_fdt64(address); in fdt_add_mem_rsv()
184 re->size = cpu_to_fdt64(size); in fdt_add_mem_rsv()
190 struct fdt_reserve_entry *re = _fdt_mem_rsv_w(fdt, n); in fdt_del_mem_rsv() local
198 err = _fdt_splice_mem_rsv(fdt, re, 1, 0); in fdt_del_mem_rsv()
/xen/xen/arch/x86/
A De820.c554 uint64_t re = rs + e820->map[i].size; in e820_add_range() local
562 if ( re == s && e820->map[i].type == type && in e820_add_range()
572 if ( re > s ) in e820_add_range()
598 uint64_t rs = 0, re = 0; in e820_change_range_type() local
605 re = rs + e820->map[i].size; in e820_change_range_type()
606 if ( (s >= rs) && (e <= re) ) in e820_change_range_type()
613 if ( (s == rs) && (e == re) ) in e820_change_range_type()
617 else if ( (s == rs) || (e == re) ) in e820_change_range_type()
631 e820->map[i+1].size = re - e; in e820_change_range_type()
655 e820->map[i+2].size = re - e; in e820_change_range_type()
/xen/tools/pygrub/src/
A Dpygrub17 import os, sys, string, struct, tempfile, re, traceback, stat, errno
317 re = len(img.lines)
319 if re > Grub.ENTRY_WIN_LINES:
321 re = rs + Grub.ENTRY_WIN_LINES
323 for idx in range(rs, re):
476 title = re.search('(\S)>(\S.+$)',title).group(2)
708 if re.match("^root=", arg) or re.match("^ip=", arg):
890 bootfsgroup = re.findall('zfs-bootfs=(.*?)[\s\,\"]', bootfsargs)
952 e = re.compile("zfs-bootfs=[\w\-\.\:@/]+" )
A DLiloConf.py7 import sys, re, os
37 setattr(self, self.commands[com], re.sub('^"(.+)"$', r"\1", arg.strip()))
A DExtLinuxConf.py15 import sys, re, os
75 setattr(self, self.commands[com], re.sub('^"(.+)"$', r"\1", arg.strip()))
A DGrubConf.py19 import re
323 m = re.match("([\"\'])(.*)\\1", arg)
405 title_match = re.match('^menuentry ["\'](.*?)["\'] (.*){', l)
/xen/stubdom/grub.patches/
A D11graphics-keyboard.diff13 since we're comming in here also on GRUB_TIMEOUT == -1 and
/xen/tools/ocaml/xenstored/
A Dsystemd.mli15 (** Tells systemd we're ready *)
/xen/tools/xentrace/
A Dxentrace_format7 import re, sys, string, signal, struct, os, getopt
40 reg = re.compile('(\S+)\s+(\S.*)')
/xen/docs/misc/
A Dcrashdb.txt59 you're screwed.
60 -- If the page tables are wrong, you're screwed
A Dblock-scripts.txt111 hasn't been re-used, rather than just checking that the *specific
112 device node* isn't re-used. To do this it currently uses
/xen/xen/include/
A DMakefile86 …grep -v '^[[:blank:]]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -re 's,[[:blank:]]+$*\.h[[:bla…
89 xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -re 's,^[?!][[:blank:]]+[^[:blank:]]+[[:bla…
/xen/docs/process/
A Dbranching-checklist.txt81 release-technician-checklist.txt section re README etc.
84 release-technician-checklist.txt section re README etc.,
/xen/docs/designs/
A Dnon-cooperative-migration.md94 in re-negotiating the protocol using the new domid after migration.
99 re-establish these in the new host environment after migration.
115 Furthermore, it will necessary to modify backend drivers to re-establish
147 to require the guest co-operation to re-open the channels and so it should
148 be possible to re-build a shared info page for an HVM guest from such other
194 channels in order to re-establish a protocol connection. Hence, one or more
236 * PV backend drivers will be modified to unilaterally re-establish
/xen/xen/arch/x86/boot/
A Dedd.S149 jnz .Ledd_mbr_sig_done # on failure, we're done.
/xen/xen/tools/kconfig/
A Dsymbol.c953 regex_t re; in sym_re_search() local
960 if (regcomp(&re, pattern, REG_EXTENDED|REG_ICASE)) in sym_re_search()
966 if (regexec(&re, sym->name, 1, match, 0)) in sym_re_search()
996 regfree(&re); in sym_re_search()
/xen/xen/arch/x86/hvm/
A Ddom0_build.c238 uint64_t re = rs + d->arch.e820[i].size; in pvh_add_mem_range() local
246 if ( re == s && d->arch.e820[i].type == type && in pvh_add_mem_range()
256 if ( re > s ) in pvh_add_mem_range()
/xen/tools/firmware/rombios/
A Dapmbios.S228 sti ; XEN: OS calls us with ints disabled -- better re-enable here!
/xen/tools/libxl/
A Dgentest.py7 import re

Completed in 26 milliseconds

12