Searched refs:self (Results 126 - 150 of 318) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBInstructionList.i73 def __iter__(self):
76 return lldb_iter(self, 'GetSize', 'GetInstructionAtIndex')
78 def __len__(self):
80 return int(self.GetSize())
82 def __getitem__(self, key):
86 if key < len(self):
87 return self.GetInstructionAtIndex(key)
92 for idx in range(self.GetSize()):
93 inst = self.GetInstructionAtIndex(idx)
H A DSBBreakpoint.i16 def breakpoint_ignore_count_python(self):
21 target = self.dbg.CreateTarget(exe)
22 self.assertTrue(target, VALID_TARGET)
26 self.assertTrue(breakpoint and
33 self.assertTrue(location and
39 self.assertTrue(location.GetIgnoreCount() == 2,
44 self.assertTrue(process, PROCESS_IS_VALID)
51 self.assertTrue(thread != None, 'There should be a thread stopped due to breakpoint')
55 self.assertTrue(frame0.GetLineEntry().GetLine() == self
[all...]
H A DSBAddress.i70 def __eq__(self, other):
71 return not self.__ne__(other)
147 def __get_load_addr_property__ (self):
149 return self.GetLoadAddress (target)
151 def __set_load_addr_property__ (self, load_addr):
153 return self.SetLoadAddress (load_addr, target)
155 def __int__(self):
158 return self.GetLoadAddress (target)
160 return self.GetFileAddress ()
162 def __oct__(self)
[all...]
H A DSBFrame.i292 def get_all_variables(self):
293 return self.GetVariables(True,True,True,True)
295 def get_parent_frame(self):
296 parent_idx = self.idx + 1
297 if parent_idx >= 0 and parent_idx < len(self.thread.frame):
298 return self.thread.frame[parent_idx]
302 def get_arguments(self):
303 return self.GetVariables(True,False,False,False)
305 def get_locals(self):
306 return self
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_kill.c82 pthread_t self; local
85 self = pthread_self();
86 ATF_REQUIRE_MSG((self != mainthread) && (signo == SIGUSR1),
90 if (self == th[i].id)
118 pthread_t self; local
130 self = pthread_self();
131 ATF_REQUIRE_EQ_MSG(self, mainthread, "thread id changed");
H A Dt_name.c54 pthread_t self = pthread_self(); local
57 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
60 PTHREAD_REQUIRE(pthread_setname_np(self, non_const_name, NULL));
62 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
76 pthread_t thr, self = pthread_self(); local
89 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
/freebsd-11-stable/contrib/libucl/python/tests/
H A Dtest_validation.py15 def validate(self, jsonfile):
19 self.assertTrue(ucl.validate(schema, data), msg)
21 with self.assertRaises(ucl.SchemaError):
23 self.fail(msg) # fail() will be called only if SchemaError is not raised
30 raise self.skipTest('Failed to load JSON: %s' % str(e))
41 def run_test(self):
42 self.validate(filename)
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_lz4.c138 lz4_reader_free(struct archive_read_filter_bidder *self){ argument
139 (void)self; /* UNUSED */
151 lz4_reader_bid(struct archive_read_filter_bidder *self, argument
159 (void)self; /* UNUSED */
205 lz4_reader_init(struct archive_read_filter *self) argument
209 r = __archive_read_program(self, "lz4 -d -q");
213 self->code = ARCHIVE_FILTER_LZ4;
214 self->name = "lz4";
225 lz4_reader_init(struct archive_read_filter *self) argument
229 self
249 lz4_allocate_out_block(struct archive_read_filter *self) argument
274 lz4_allocate_out_block_for_legacy(struct archive_read_filter *self) argument
298 lz4_filter_read(struct archive_read_filter *self, const void **p) argument
380 lz4_filter_read_descriptor(struct archive_read_filter *self) argument
479 lz4_filter_read_data_block(struct archive_read_filter *self, const void **p) argument
621 lz4_filter_read_default_stream(struct archive_read_filter *self, const void **p) argument
674 lz4_filter_read_legacy_stream(struct archive_read_filter *self, const void **p) argument
730 lz4_filter_close(struct archive_read_filter *self) argument
[all...]
H A Darchive_read_support_filter_compress.c179 compress_bidder_bid(struct archive_read_filter_bidder *self, argument
186 (void)self; /* UNUSED */
212 compress_bidder_init(struct archive_read_filter *self) argument
219 self->code = ARCHIVE_FILTER_COMPRESS;
220 self->name = "compress (.Z)";
227 archive_set_error(&self->archive->archive, ENOMEM,
229 self->name);
233 self->data = state;
236 self->read = compress_filter_read;
237 self
278 compress_filter_read(struct archive_read_filter *self, const void **pblock) argument
312 compress_bidder_free(struct archive_read_filter_bidder *self) argument
322 compress_filter_close(struct archive_read_filter *self) argument
337 next_code(struct archive_read_filter *self) argument
428 getbits(struct archive_read_filter *self, int n) argument
[all...]
H A Darchive_read_support_filter_program.c180 program_bidder_free(struct archive_read_filter_bidder *self) argument
182 struct program_bidder *state = (struct program_bidder *)self->data;
206 program_bidder_bid(struct archive_read_filter_bidder *self, argument
209 struct program_bidder *state = self->data;
239 child_stop(struct archive_read_filter *self, struct program_filter *state) argument
265 archive_set_error(&self->archive->archive, ARCHIVE_ERRNO_MISC,
282 archive_set_error(&self->archive->archive, ARCHIVE_ERRNO_MISC,
293 archive_set_error(&self->archive->archive,
307 child_read(struct archive_read_filter *self, char *buf, size_t buf_len) argument
309 struct program_filter *state = self
397 __archive_read_program(struct archive_read_filter *self, const char *cmd) argument
451 program_bidder_init(struct archive_read_filter *self) argument
460 program_filter_read(struct archive_read_filter *self, const void **buff) argument
489 program_filter_close(struct archive_read_filter *self) argument
[all...]
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_ehci.c121 a10_ehci_probe(device_t self) argument
124 if (!ofw_bus_status_okay(self))
127 if (ofw_bus_search_compatible(self, compat_data)->ocd_data == 0)
130 device_set_desc(self, EHCI_HC_DEVSTR);
136 a10_ehci_attach(device_t self) argument
138 struct aw_ehci_softc *aw_sc = device_get_softc(self);
146 conf = USB_CONF(self);
149 sc->sc_bus.parent = self;
156 USB_GET_DMA_TAG(self), &ehci_iterate_hw_softc)) {
163 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMOR
275 a10_ehci_detach(device_t self) argument
[all...]
/freebsd-11-stable/tests/sys/opencrypto/
H A Dcryptotest.py60 def test_xts(self):
62 self.runXTS(i, cryptodev.CRYPTO_AES_XTS)
64 def test_cbc(self):
66 self.runCBC(i)
68 def test_gcm(self):
70 self.runGCM(i, 'ENCRYPT')
73 self.runGCM(i, 'DECRYPT')
79 def runGCM(self, fname, mode):
108 mac=self._gmacsizes[len(cipherkey)],
116 self
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_ACT_SPEC.SpeculateWithCopyOut.d46 self->i = 0;
56 self->i++;
H A Derr.D_ACT_SPEC.SpeculateWithCopyOutStr.d45 self->i = 0;
55 self->i++;
/freebsd-11-stable/sys/mips/mediatek/
H A Dmtk_ehci.c75 ehci_fdt_probe(device_t self) argument
78 if (!ofw_bus_status_okay(self))
81 if (!ofw_bus_is_compatible(self, "generic-ehci"))
84 device_set_desc(self, EHCI_HC_DEVSTR);
90 ehci_fdt_attach(device_t self) argument
92 ehci_softc_t *sc = device_get_softc(self);
97 sc->sc_bus.parent = self;
104 USB_GET_DMA_TAG(self), &ehci_iterate_hw_softc)) {
110 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
113 device_printf(self, "Coul
162 ehci_fdt_detach(device_t self) argument
[all...]
H A Dmtk_ohci.c75 ohci_fdt_probe(device_t self) argument
78 if (!ofw_bus_status_okay(self))
81 if (!ofw_bus_is_compatible(self, "generic-ohci"))
84 device_set_desc(self, OHCI_HC_DEVSTR);
90 ohci_fdt_attach(device_t self) argument
92 ohci_softc_t *sc = device_get_softc(self);
97 sc->sc_bus.parent = self;
104 USB_GET_DMA_TAG(self), &ohci_iterate_hw_softc)) {
110 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
113 device_printf(self, "Coul
162 ohci_fdt_detach(device_t self) argument
[all...]
/freebsd-11-stable/sys/arm/cavium/cns11xx/
H A Dehci_ebus.c85 ehci_ebus_probe(device_t self) argument
88 device_set_desc(self, EHCI_HC_DEVSTR);
94 ehci_ebus_attach(device_t self) argument
96 ehci_softc_t *sc = device_get_softc(self);
102 sc->sc_bus.parent = self;
109 USB_GET_DMA_TAG(self), &ehci_iterate_hw_softc)) {
116 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY,
119 device_printf(self, "Could not map memory\n");
137 device_get_name(self));
140 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IR
184 ehci_ebus_detach(device_t self) argument
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/assocs/
H A Dtst.orthogonality.d38 self->a = 0xbad;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/fbtprovider/
H A Dtst.offset.d41 self->traceme = 1;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.roch.d46 /(self->done == 0) && (curthread->t_cpu->cpu_intr_actv == 0) /
48 self->done = 1;
56 /(self->done == 0) && (curthread->t_cpu->cpu_intr_actv == 0) /
58 self->done = 1;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.op_access.ksh47 BEGIN { self->p = `p0; trace(self->p); }
53 BEGIN { self->a[stringof(`initname)] = 42; trace(self->a["/sbin/init"]); }
/freebsd-11-stable/sys/dev/firewire/
H A Dfwohci_pci.c63 static int fwohci_pci_attach(device_t self);
64 static int fwohci_pci_detach(device_t self);
206 fwohci_pci_init(device_t self) argument
211 cmd = pci_read_config(self, PCIR_COMMAND, 2);
216 pci_write_config(self, PCIR_COMMAND, cmd, 2);
222 if (pci_get_devid(self) == (FW_VENDORID_SUN | FW_DEVICE_PCIO2FW) &&
223 pci_get_intpin(self) == 0)
224 pci_set_intpin(self, 3);
226 latency = olatency = pci_read_config(self, PCIR_LATTIMER, 1);
230 pci_write_config(self, PCIR_LATTIME
251 fwohci_pci_attach(device_t self) argument
336 fwohci_pci_detach(device_t self) argument
[all...]
/freebsd-11-stable/contrib/file/python/
H A Dmagic.py111 def __init__(self, ms):
112 self._magic_t = ms
114 def close(self):
118 _close(self._magic_t)
142 def file(self, filename):
148 return Magic.__tostr(_file(self._magic_t, Magic.__tobytes(filename)))
150 def descriptor(self, fd):
156 return Magic.__tostr(_descriptor(self._magic_t, fd))
158 def buffer(self, buf):
164 return Magic.__tostr(_buffer(self
[all...]
/freebsd-11-stable/sys/mips/rmi/
H A Dxls_ehci.c79 ehci_xls_probe(device_t self) argument
82 device_set_desc(self, xlr_usb_dev_desc);
87 ehci_xls_attach(device_t self) argument
89 ehci_softc_t *sc = device_get_softc(self);
93 sc->sc_bus.parent = self;
100 USB_GET_DMA_TAG(self), &ehci_iterate_hw_softc)) {
105 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
108 device_printf(self, "Could not map memory\n");
118 sc->sc_irq_res = bus_alloc_resource(self, SYS_RES_IRQ, &rid,
121 device_printf(self, "Coul
164 ehci_xls_detach(device_t self) argument
[all...]
/freebsd-11-stable/sys/mips/atheros/
H A Dar71xx_ehci.c91 ar71xx_ehci_probe(device_t self) argument
94 device_set_desc(self, EHCI_HC_DEVSTR);
109 ar71xx_ehci_attach(device_t self) argument
111 struct ar71xx_ehci_softc *isc = device_get_softc(self);
117 sc->sc_bus.parent = self;
124 USB_GET_DMA_TAG(self), &ehci_iterate_hw_softc)) {
133 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
135 device_printf(self, "Could not map memory\n");
148 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid,
151 device_printf(self, "Coul
230 ar71xx_ehci_detach(device_t self) argument
[all...]

Completed in 176 milliseconds

1234567891011>>