Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 26) sorted by relevance

12

/xen-4.10.0-shim-comet/tools/pygrub/src/
A DLiloConf.py13 def __repr__(self): argument
18 " initrd: %s\n" %(self.title, self.root, self.kernel,
19 self.args, self.initrd))
21 self._initrd = self._kernel = self._readonly = None
22 self._args = ""
23 self.title = ""
26 self.root = ""
48 self._kernel = (None, self.path + "/" + val)
54 self._initrd = (None, self.path + "/" + val)
132 setattr(self, self.commands[com], arg.strip())
[all …]
A DGrubConf.py54 (self.disk, self.part) = str.split(",", 2)
59 def __repr__(self): argument
61 return "d%dp%d" %(self.disk, self.part)
100 " initrd: %s\n" %(self.title, self.root, self.kernel,
101 self.args, self.initrd))
106 self._root = self._initrd = self._kernel = self._args = None
146 setattr(self, self.commands[com], arg.strip())
218 setattr(self, self.commands[com], arg.strip())
301 setattr(self, self.commands[com], arg.strip())
333 setattr(self, self.commands[com], arg.strip())
[all …]
A DExtLinuxConf.py21 def __repr__(self): argument
26 " initrd: %s\n" %(self.title, self.root, self.kernel,
27 self.args, self.initrd))
29 self._initrd = self._kernel = self._readonly = None
30 self._args = ""
31 self.title = ""
32 self.lines = []
33 self.path = path
34 self.root = ""
172 setattr(self, self.commands[com], arg.strip())
[all …]
A Dpygrub205 self.line.insert(self.pos, chr(ch))
215 if self.pos < len(self.line):
216 self.line.pop(self.pos)
218 if self.pos < len(self.line):
219 self.line.pop(self.pos)
221 self.pos = len(self.line)
223 if self.pos < len(self.line):
226 self.line = self.line[:self.pos]
277 self.start_image = self.selected_image
278 if self.selected_image < self.start_image:
[all …]
/xen-4.10.0-shim-comet/tools/misc/
A Dxen-ringwatch97 for ring in self.Ring.find(self):
248 return self.prod == self._cons()
262 (type(self).__name__, self.prod, self.cons, self.event)
285 (type(self).__name__, self.prod, self.pvt, self.event)
325 (type(self).__name__, self.size, self.req, self.rsp)
360 (type(self).__name__, self.ring.key(), self.status)
363 return self.status == self.STCK
366 return self.status == self.IDLE
379 self.status = self.STCK
381 self.status = self.IDLE
[all …]
A Dxenpvnetboot80 def prepare(self): argument
84 def cleanup(self): argument
98 def prepare(self): argument
100 self.srcdir = tempfile.mkdtemp(prefix='xenpvboot.', dir=self.tmpdir)
102 mount(self.location[4:], self.srcdir, '-o ro')
110 mount(self.location, self.srcdir, option)
112 def cleanup(self): argument
125 def prepare(self): argument
127 self.nfsdir = tempfile.mkdtemp(prefix='xenpvboot.', dir=self.tmpdir)
135 mount(os.path.join(self.nfsdir, iso), self.srcdir, option)
[all …]
/xen-4.10.0-shim-comet/tools/libxl/
A Didl.py53 self.typename = self.namespace + typename
64 self.copy_fn = kwargs.setdefault('copy_fn', self.typename + "_copy")
78 if self.typename is not None and not self.private:
99 def hidden(self): argument
100 if self._hidden:
157 self.width = w
164 self.rawname = str.upper(enum.rawname) + "_" + self.valuename
165 self.name = str.upper(enum.value_namespace) + self.rawname
182 self.values.append(EnumerationValue(self, num, name,
344 return [self[x] for x in self.__ordered]
[all …]
/xen-4.10.0-shim-comet/tools/python/
A Dtest.py290 self._testtimes[test] = time.time() - self._testtimes[test]
323 if self.showAll or self.dots or self._progress:
334 self.stream.write("\r%4d" % (self.testsRun + 1))
336 self.stream.write("/%d (%5.1f%%)" % (self.count,
385 if self._progress and not (self.dots or self.showAll):
391 self.stream.writeln(self.separator1)
393 self.stream.writeln(self.separator2)
420 self.stream, self.descriptions, self.verbosity, debug=self._debug,
477 sys.path.insert(0, os.path.join(self.cwd, self.libdir))
628 def __str__(self): argument
[all …]
A Dpylintrc176 # * methods without self as first argument
178 # * access only to existant members via self
/xen-4.10.0-shim-comet/xen/tools/kconfig/
A Dkxgettext.c71 struct file_line *self = malloc(sizeof(*self)); in file_line__new() local
73 if (self == NULL) in file_line__new()
80 return self; in file_line__new()
95 struct message *self = malloc(sizeof(*self)); in message__new() local
97 if (self == NULL) in message__new()
109 self->next = NULL; in message__new()
111 return self; in message__new()
113 free(self->files); in message__new()
115 free(self); in message__new()
116 self = NULL; in message__new()
[all …]
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xs/
A Dxs.c794 self->xh = NULL; in xspy_close()
871 *xh = xshandle(self); in parse_transaction_path()
960 if (self == NULL) in xshandle_new()
963 self->xh = NULL; in xshandle_new()
965 if (!self->watches) in xshandle_new()
968 return (PyObject *)self; in xshandle_new()
972 Py_DECREF(self); in xshandle_new()
988 if (!self->xh) in xshandle_init()
1000 if (self->xh) { in xshandle_dealloc()
1002 self->xh = NULL; in xshandle_dealloc()
[all …]
/xen-4.10.0-shim-comet/tools/python/xen/migration/
A Dlibxc.py126 def __init__(self, info, read): argument
129 self.squashed_pagedata_records = 0
132 def verify(self): argument
135 self.verify_ihdr()
136 self.verify_dhdr()
142 def verify_ihdr(self): argument
145 self.unpack_exact(IHDR_FORMAT)
176 def verify_dhdr(self): argument
201 def verify_record(self): argument
210 content = self.rdexact(contentsz)
[all …]
A Dlibxl.py75 def __init__(self, info, read): argument
76 VerifyBase.__init__(self, info, read)
79 def verify(self): argument
82 self.verify_hdr()
84 while self.verify_record() != REC_TYPE_end:
88 def verify_hdr(self): argument
117 def verify_record(self): argument
124 self.info("Libxl Record: %s, length %d"
128 content = self.rdexact(contentsz)
143 def verify_record_end(self, content): argument
[all …]
A Dverify.py21 def __init__(self, info, read): argument
23 self.info = info
24 self.read = read
26 def rdexact(self, nr_bytes): argument
28 _ = self.read(nr_bytes)
33 def unpack_exact(self, fmt): argument
36 return unpack(fmt, self.rdexact(sz))
A Dtests.py16 def test_format_sizes(self): argument
30 self.assertEqual(calcsize(fmt), sz)
35 def test_format_sizes(self): argument
42 self.assertEqual(calcsize(fmt), sz)
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xc/
A Dxc.c852 XcObject *xc = (XcObject *)self; in pyxc_physdev_map_pirq()
1244 XcObject *xc = (XcObject *)self; in pyxc_shadow_control()
1267 XcObject *xc = (XcObject *)self; in pyxc_shadow_mem_control()
1461 XcObject *xc = (XcObject *)self; in pyxc_domain_irq_permission()
1484 XcObject *xc = (XcObject *)self; in pyxc_domain_iomem_permission()
2627 if (self == NULL) in PyXc_new()
2630 self->xc_handle = NULL; in PyXc_new()
2632 return (PyObject *)self; in PyXc_new()
2648 if (self->xc_handle) { in PyXc_dealloc()
2650 self->xc_handle = NULL; in PyXc_dealloc()
[all …]
/xen-4.10.0-shim-comet/tools/xenmon/
A Dxenmon.py119 def __init__(self): argument
121 self.gotten_sum = 0
180 … return [self.gotten_stats(passed), self.allocated_stats(passed), self.blocked_stats(passed),
181 self.waited_stats(passed), self.ec_stats(passed), self.io_stats(passed)]
539 self.opened = 0
546 self.file = open(self.filename, self.saved_mode)
548 self.file.write(self.delay_data)
554 def flush(self): argument
555 if self.opened:
558 def close(self): argument
[all …]
/xen-4.10.0-shim-comet/xen/tools/
A Dgen-cpuid.py11 def __init__(self, input, output): argument
13 self.source = input
18 self.names = {} # Name => value mapping
19 self.raw_special = set()
20 self.raw_pv = set()
21 self.raw_hvm_shadow = set()
22 self.raw_hvm_hap = set()
27 self.known = [] # All known features
29 self.pv = []
30 self.hvm_shadow = []
[all …]
/xen-4.10.0-shim-comet/tools/python/scripts/
A Dconvert-legacy-stream58 def __init__(self, fmt): argument
60 self.p2m_size = 0
63 self.max_vcpu_id = 0
64 self.online_vcpu_map = []
65 self.width = 0
66 self.levels = 0
67 self.basic_len = 0
68 self.extd = False
69 self.xsave_len = 0
72 self.libxl = fmt == "libxl"
[all …]
/xen-4.10.0-shim-comet/docs/man/
A Dxl.conf.pod.5153 that use tmem and have self-balloon enabled (which is the default
154 option). The self-balloon mechanism can deflate/inflate the balloon
A Dxl.pod.1.in943 domains. Xentop has a curses interface, and is reasonably self explanatory.
/xen-4.10.0-shim-comet/docs/specs/
A Dlibxl-migration-stream.pandoc36 self-contained, extensible stream with each layer responsible for its own
/xen-4.10.0-shim-comet/xen/xsm/flask/policy/
A Daccess_vectors133 # see also the domain2 relabel{from,to,self} permissions
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dprocess.ml341 debug "Found no culprit for conflict in %s: must be self or not in history." con;
/xen-4.10.0-shim-comet/stubdom/
A Dlwip.patch-cvs1538 + /* Packet to self, enqueue it for loopback */

Completed in 45 milliseconds

12