/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_PRAGMA_OPTSET.InvalidSpecSize.d | 43 self->speculateFlag = 0; 44 self->spec = speculation(); 45 printf("Speculative buffer ID: %d\n", self->spec);
|
H A D | tst.SpeculateWithRandom.d | 40 self->i = 0; 46 self->i++; 47 printf("self->i: %d\n", self->i);
|
H A D | tst.CommitAfterDiscard.d | 43 self->i = 0; 44 self->commit = 0; 45 self->discard = 0; 56 self->i++; 60 /(self->i)/ 63 self->discard++; 65 self->commit++; 69 /self->commit/ 77 /!self->commit/
|
H A D | tst.DiscardAftCommit.d | 42 self->i = 0; 43 self->commit = 0; 44 self->discard = 0; 55 self->i++; 59 /(self->i)/ 62 self->commit++; 64 self->discard++; 68 /self->discard/ 76 /!self->discard/
|
H A D | tst.zerosize.d | 33 self->spec = speculation(); 34 speculate(self->spec); 42 speculate(self->spec); 47 speculate(self->spec);
|
H A D | err.NegativeSpecSize.d | 44 self->spec = speculation(); 45 printf("Speculative buffer ID: %d\n", self->spec);
|
H A D | err.D_COMM_COMM.DisjointCommit.d | 41 self->i = 0; 42 self->j = 0; 43 self->commit = 0; 65 self->i++; 73 self->j++; 78 /(self->i) && (self->j)/ 82 self->commit++; 86 /self->commit/ 93 /!self [all...] |
/freebsd-11-stable/contrib/libucl/python/tests/ |
H A D | test_dump.py | 6 def test_no_args(self): 7 with self.assertRaises(TypeError): 10 def test_none(self): 11 self.assertEqual(ucl.dump(None), None) 13 def test_null(self): 16 self.assertEqual(ucl.dump(data), valid) 18 def test_int(self): 21 self.assertEqual(ucl.dump(data), valid) 23 def test_nested_int(self): 26 self [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/fbtprovider/ |
H A D | tst.tailcall.d | 41 self->traceme = 1; 45 /self->traceme/ 51 /self->traceme/ 53 self->traceme = 0;
|
/freebsd-11-stable/contrib/bmake/mk/ |
H A D | meta2deps.py | 178 def __init__(self, name, conf={}): 219 self.name = name 220 self.debug = getv(conf, 'debug', 0) 221 self.debug_out = getv(conf, 'debug_out', sys.stderr) 223 self.machine = getv(conf, 'MACHINE', '') 224 self.machine_arch = getv(conf, 'MACHINE_ARCH', '') 225 self.target_spec = getv(conf, 'TARGET_SPEC', '') 226 self.curdir = getv(conf, 'CURDIR') 227 self.reldir = getv(conf, 'RELDIR') 228 self [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/examples/p2p/ |
H A D | p2p_invite.py | 62 def __init__(self,interface_name,wpas_dbus_interface,addr, 65 self.interface_name = interface_name 66 self.wpas_dbus_interface = wpas_dbus_interface 67 self.addr = addr 68 self.persistent_group_object = persistent_group_object 71 threading.Thread.__init__(self) 72 self.daemon = True 75 self.wpas_dbus_opath = "/" + \ 76 self.wpas_dbus_interface.replace(".","/") 77 self [all...] |
/freebsd-11-stable/share/mk/ |
H A D | meta2deps.py | 153 def __init__(self, name, conf={}): 194 self.name = name 195 self.debug = getv(conf, 'debug', 0) 196 self.debug_out = getv(conf, 'debug_out', sys.stderr) 198 self.machine = getv(conf, 'MACHINE', '') 199 self.machine_arch = getv(conf, 'MACHINE_ARCH', '') 200 self.target_spec = getv(conf, 'TARGET_SPEC', '') 201 self.curdir = getv(conf, 'CURDIR') 202 self.reldir = getv(conf, 'RELDIR') 203 self [all...] |
/freebsd-11-stable/contrib/ntp/sntp/unity/auto/ |
H A D | unity_test_summary.py | 14 def __init__(self): 15 self.report = '' 16 self.total_tests = 0 17 self.failures = 0 18 self.ignored = 0 20 def run(self): 23 for target in self.targets: 35 details = self.get_details(result_file, lines) 40 tests,failures,ignored = self.parse_test_summary('\n'.join(lines)) 41 self [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/builtinvar/ |
H A D | tst.timestamp.d | 40 self->t = timestamp; 41 printf("The difftime = %d\n", timestamp - self->t);
|
H A D | tst.vtimestamp.d | 40 self->t = vtimestamp; 41 printf("The difftime = %d\n", vtimestamp - self->t);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/ |
H A D | tst.misc.d | 47 self->x = 456; 48 printf("self->x = %u\n", self->x);
|
H A D | tst.selfthis.d | 32 * Declare a this variable and assign value of self variable to it. 37 self int x; 43 self->y = this->x;
|
H A D | tst.selfarray2.d | 38 self struct bar foo[int]; 41 /!self->foo[0].pid/ 43 self->foo[0].pid = pid; 44 self->foo[0].curthread = curthread; 48 /self->foo[0].pid != pid/ 51 pid, self->foo[0].pid, self->foo[0].curthread, curthread);
|
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBTypeCategory.i | 134 def __init__(self, sbcategory, get_count_function, get_at_index_function, get_by_name_function): 135 self.sbcategory = sbcategory 136 self.get_count_function = get_count_function 137 self.get_at_index_function = get_at_index_function 138 self.get_by_name_function = get_by_name_function 139 self.regex_type = type(re.compile('.')) 142 def __len__(self): 143 if self.sbcategory and self.get_count_function: 144 return int(self [all...] |
H A D | SBBlock.i | 107 def get_range_at_index(self, idx): 108 if idx < self.GetNumRanges(): 109 return [self.GetRangeStartAddress(idx), self.GetRangeEndAddress(idx)] 114 def __init__(self, sbblock): 115 self.sbblock = sbblock 117 def __len__(self): 118 if self.sbblock: 119 return int(self.sbblock.GetNumRanges()) 122 def __getitem__(self, ke [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sched/ |
H A D | tst.oncpu.d | 35 self->on++; 39 /pid == $pid && self->on/ 41 self->off++; 45 /self->on > 50 && self->off > 50/
|
/freebsd-11-stable/contrib/libucl/src/ |
H A D | tree.h | 70 #define TREE_DELTA(self, field) \ 71 (( (((self)->field.avl_left) ? (self)->field.avl_left->field.avl_height : 0)) \ 72 - (((self)->field.avl_right) ? (self)->field.avl_right->field.avl_height : 0)) 80 static struct node *_HU_FUNCTION(TREE_ROTL_##node##_##field)(struct node *self) \ 82 struct node *r= self->field.avl_right; \ 83 self->field.avl_right= r->field.avl_left; \ 84 r->field.avl_left= TREE_BALANCE_##node##_##field(self); \ 88 static struct node *_HU_FUNCTION(TREE_ROTR_##node##_##field)(struct node *self) \ [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | dataset.py | 46 def __init__(self, t): 51 self.name = t[0] 52 self.number = t[1] 53 self.type = t[2] 54 if self.type == "string": 55 self.default = t[3] 57 self.default = t[4] 58 self.attr = t[5] 59 self.validtypes = t[6] 60 self [all...] |
/freebsd-11-stable/contrib/sendmail/contrib/ |
H A D | qtool.pl | 490 my $self = {}; 491 bless $self, $class; 492 $self->initialize(@_); 493 return $self; 498 my $self = shift; 500 $self->{id} = shift; 502 $self->{file_name} = $queue_dir . '/' . $qprefix . $self->{id}; 503 $self->{headers} = {}; 516 my $self [all...] |
/freebsd-11-stable/tests/sys/opencrypto/ |
H A D | dpkt.py | 47 def __init__(self, *args, **kwargs): 57 self.unpack(args[0]) 59 for k in self.__hdr_fields__: 60 setattr(self, k, self.__hdr_defaults__[k]) 62 setattr(self, k, v) 64 def __len__(self): 65 return self.__hdr_len__ + len(self.data) 67 def __repr__(self) [all...] |