Searched refs:self (Results 51 - 75 of 318) sorted by relevance

1234567891011>>

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_PRAGMA_OPTSET.InvalidSpecSize.d43 self->speculateFlag = 0;
44 self->spec = speculation();
45 printf("Speculative buffer ID: %d\n", self->spec);
H A Dtst.SpeculateWithRandom.d40 self->i = 0;
46 self->i++;
47 printf("self->i: %d\n", self->i);
H A Dtst.CommitAfterDiscard.d43 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 Dtst.DiscardAftCommit.d42 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 Dtst.zerosize.d33 self->spec = speculation();
34 speculate(self->spec);
42 speculate(self->spec);
47 speculate(self->spec);
H A Derr.NegativeSpecSize.d44 self->spec = speculation();
45 printf("Speculative buffer ID: %d\n", self->spec);
H A Derr.D_COMM_COMM.DisjointCommit.d41 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 Dtest_dump.py6 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 Dtst.tailcall.d41 self->traceme = 1;
45 /self->traceme/
51 /self->traceme/
53 self->traceme = 0;
/freebsd-11-stable/contrib/bmake/mk/
H A Dmeta2deps.py178 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 Dp2p_invite.py62 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 Dmeta2deps.py153 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 Dunity_test_summary.py14 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 Dtst.timestamp.d40 self->t = timestamp;
41 printf("The difftime = %d\n", timestamp - self->t);
H A Dtst.vtimestamp.d40 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 Dtst.misc.d47 self->x = 456;
48 printf("self->x = %u\n", self->x);
H A Dtst.selfthis.d32 * Declare a this variable and assign value of self variable to it.
37 self int x;
43 self->y = this->x;
H A Dtst.selfarray2.d38 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 DSBTypeCategory.i134 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 DSBBlock.i107 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 Dtst.oncpu.d35 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 Dtree.h70 #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 Ddataset.py46 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 Dqtool.pl490 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 Ddpkt.py47 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...]

Completed in 119 milliseconds

1234567891011>>