/freebsd-11-stable/tools/tools/shlib-compat/ |
H A D | shlib-compat.py | 57 def init(self, outname): 59 self.out = open(outname, "w") 87 def __init__(self): 88 self.exclude = [] 89 self.include = [] 91 def compile(self): 92 self.re_exclude = [ re.compile(x) for x in self.exclude ] 93 self.re_include = [ re.compile(x) for x in self [all...] |
/freebsd-11-stable/contrib/subversion/ |
H A D | win-tests.py | 441 def __init__(self, svnserve_args, objdir, abs_objdir, abs_builddir): 442 self.args = svnserve_args 443 self.name = 'svnserve.exe' 444 self.kind = objdir 445 self.path = os.path.join(abs_objdir, 446 'subversion', 'svnserve', self.name) 447 self.root = os.path.join(abs_builddir, CMDLINE_TEST_SCRIPT_NATIVE_PATH) 448 self.proc = None 450 def __del__(self): 452 self [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/ |
H A D | truss.d | 42 self->vaa = 24; 48 printf("var: %d, self->vaa: %d", var++, self->vaa++); 54 printf("var: %d, self->vaa: %d", var++, self->vaa++);
|
H A D | ksyms.d | 47 self->watched = 1; 51 /self->watched/ 53 self->watched = 0; 57 /self->watched/
|
H A D | kstat.d | 42 self->ksname = arg1; 46 /self->ksname != NULL && arg1 != NULL/ 48 this->str = copyinstr(self->ksname); 54 /self->ksname != NULL && arg1 == NULL/ 56 self->ksname = NULL;
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.startexit.ksh | 45 self->start = 1; 49 /self->start/ 51 self->lwp_start = 1; 55 /self->lwp_start/ 57 self->lwp_exit = 1; 61 /self->lwp_exit == 1/
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_EXIT_SPEC.ExitAftSpec.d | 44 self->spec = speculation(); 48 /self->spec/ 50 speculate(self->spec);
|
H A D | err.D_PROTO_LEN.SpecNoId.d | 43 self->i = 0; 49 self->i++; 53 /1 <= self->i/
|
H A D | err.D_SPEC_DREC.SpecAftDataRec.d | 44 self->spec = speculation(); 48 /self->spec/ 51 speculate(self->spec);
|
H A D | err.D_AGG_SPEC.SpeculateWithLquant.d | 45 self->ts = timestamp; 49 /self->ts/ 54 @Lqauntus[execname] = lquantize(timestamp - self->ts, 0, 100, 1);
|
H A D | err.D_AGG_SPEC.SpeculateWithQuant.d | 45 self->ts = timestamp; 49 /self->ts/ 54 @Qauntus[execname] = quantize(timestamp - self->ts);
|
H A D | err.D_SPEC_SPEC.SpecAftSpec.d | 40 self->i = 0; 53 self->i++; 58 /1 > self->i/
|
/freebsd-11-stable/tools/tools/notescheck/ |
H A D | notescheck.py | 56 def __init__(self, name): 57 self.name = name 58 self.type = None 59 self.defines = set() 60 self.tests = set() 62 def set_type(self, type): 63 if self.type is None: 64 self.type = type 65 self.type_location = location 66 elif self [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sched/ |
H A D | tst.enqueue.d | 35 self->one = 1; 39 /self->one && args[2]->cpu_id >= 0 && args[2]->cpu_id <= `max_cpuid/ 41 self->two = 1; 45 /self->two && args[0]->pr_lwpid > 0/
|
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBSymbolContextList.i | 16 def find_functions(self, exe_name): 21 target = self.dbg.CreateTarget(exe) 22 self.assertTrue(target, VALID_TARGET) 26 self.assertTrue(num == 1 and list.GetSize() == 1) 29 self.assertTrue(sc.GetModule().GetFileSpec().GetFilename() == exe_name) 30 self.assertTrue(sc.GetSymbol().GetName() == 'c')") SBSymbolContextList; 67 def __iter__(self): 70 return lldb_iter(self, 'GetSize', 'GetContextAtIndex') 72 def __len__(self): 73 return int(self [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/fbtprovider/ |
H A D | tst.basic.d | 40 self->traceme = 1; 44 /self->traceme/
|
/freebsd-11-stable/contrib/ntp/sntp/unity/auto/ |
H A D | type_sanitizer.rb | 3 def self.sanitize_c_identifier(unsanitized)
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.basic.ksh | 51 self->on++; 55 /arg0 == 0 && self->on/ 57 self->off++; 61 /self->on > 50 && self->off > 50/
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | util.py | 46 def default_repr(self): 48 if self.__slots__: 49 str = "<" + self.__class__.__name__ 50 for v in self.__slots__: 51 str += " %s: %r" % (v, getattr(self, v)) 55 (self.__class__.__name__, repr(self.__dict__)) 67 def __init__(self, eno, task=None, why=None): 74 self.errno = eno 75 self [all...] |
/freebsd-11-stable/crypto/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 106 my $self = shift; # single instance in enough... 111 $self->{op} = $1; 112 $ret = $self; 115 undef $self->{sz}; 116 if ($self->{op} =~ /^(movz)x?([bw]).*/) { # movz is pain... 117 $self->{op} = $1; 118 $self->{sz} = $2; 119 } elsif ($self->{op} =~ /call|jmp/) { 120 $self->{sz} = ""; 121 } elsif ($self [all...] |
/freebsd-11-stable/contrib/dialog/samples/ |
H A D | dialog.py | 73 def __init__(self): 74 self.__bgTitle = '' # Default is no background title 77 def setBackgroundTitle(self, text): 78 self.__bgTitle = '--backtitle "%s"' % text 81 def __perform(self, cmd): 84 rv = os.system('%s %s %s 2> %s' % (DIALOG, self.__bgTitle, cmd, fName)) 92 def __perform_no_options(self, cmd): 97 def __handleTitle(self, title): 104 def yesno(self, text, height=10, width=30, title=''): 110 (code, output) = self [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_xz.c | 213 xz_bidder_bid(struct archive_read_filter_bidder *self, argument 219 (void)self; /* UNUSED */ 247 lzma_bidder_bid(struct archive_read_filter_bidder *self, argument 256 (void)self; /* UNUSED */ 388 lzip_bidder_bid(struct archive_read_filter_bidder *self, argument 392 (void)self; /* UNUSED */ 402 xz_bidder_init(struct archive_read_filter *self) argument 404 self->code = ARCHIVE_FILTER_XZ; 405 self->name = "xz"; 406 return (xz_lzma_bidder_init(self)); 410 lzma_bidder_init(struct archive_read_filter *self) argument 418 lzip_bidder_init(struct archive_read_filter *self) argument 429 set_error(struct archive_read_filter *self, int ret) argument 477 xz_lzma_bidder_init(struct archive_read_filter *self) argument 540 lzip_init(struct archive_read_filter *self) argument 596 lzip_tail(struct archive_read_filter *self) argument 657 xz_filter_read(struct archive_read_filter *self, const void **p) argument 734 xz_filter_close(struct archive_read_filter *self) argument 755 lzma_bidder_init(struct archive_read_filter *self) argument 769 xz_bidder_init(struct archive_read_filter *self) argument 783 lzip_bidder_init(struct archive_read_filter *self) argument [all...] |
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | ohci_pci.c | 100 ohci_pci_take_controller(device_t self) argument 105 if (pci_get_powerstate(self) != PCI_POWERSTATE_D0) { 106 device_printf(self, "chip is in D%d mode " 107 "-- setting to D0\n", pci_get_powerstate(self)); 108 reg = pci_read_config(self, PCI_CBMEM, 4); 109 int_line = pci_read_config(self, PCIR_INTLINE, 4); 110 pci_set_powerstate(self, PCI_POWERSTATE_D0); 111 pci_write_config(self, PCI_CBMEM, reg, 4); 112 pci_write_config(self, PCIR_INTLINE, int_line, 4); 118 ohci_pci_match(device_t self) argument 195 ohci_pci_probe(device_t self) argument 208 ohci_pci_attach(device_t self) argument 339 ohci_pci_detach(device_t self) argument [all...] |
H A D | ehci_pci.c | 103 ehci_pci_match(device_t self) argument 105 uint32_t device_id = pci_get_devid(self); 221 if ((pci_get_class(self) == PCIC_SERIALBUS) 222 && (pci_get_subclass(self) == PCIS_SERIALBUS_USB) 223 && (pci_get_progif(self) == PCI_INTERFACE_EHCI)) { 230 ehci_pci_probe(device_t self) argument 232 const char *desc = ehci_pci_match(self); 235 device_set_desc(self, desc); 243 ehci_pci_ati_quirk(device_t self, uint8_t is_sb700) argument 262 val = pci_read_config(self, 271 ehci_pci_via_quirk(device_t self) argument 288 ehci_pci_attach(device_t self) argument 487 ehci_pci_detach(device_t self) argument 525 ehci_pci_take_controller(device_t self) argument [all...] |
/freebsd-11-stable/contrib/libstdc++/scripts/ |
H A D | make_graph.py | 37 def __init__(self, x_label, y_label, cntnr_list, cntnr_descs, res_sets): 38 self.x_label = x_label 39 self.y_label = y_label 40 self.cntnr_list = cntnr_list 41 self.cntnr_descs = cntnr_descs 42 self.res_sets = res_sets 50 def __accum(self, results): 56 def sort(self, cntnr_list, res_sets): 60 total = self.__accum(results) 70 def __init__(self, test_infos_f_nam [all...] |