Searched refs:self (Results 1 - 25 of 318) sorted by relevance

1234567891011>>

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/
H A Dtst.selfarray.d32 * Declare a self variable and assign appropriate value.
38 self int y;
39 self int z;
40 self int res;
44 self->x[self->y, self->z] = 123;
45 self->res = self->x[self
[all...]
H A Derr.D_OP_INCOMPAT.dupttype.d40 self->x = `kmem_flags;
41 self->x = *`rootvp;
H A Derr.D_DECL_CLASS.selfthis.d36 self this int x;
H A Derr.D_DECL_CLASS.thisself.d37 this self int x;
H A Dtst.self.d31 * Declare self a variable and assign appropriate value.
36 self x;
H A Dtst.thisself.d31 * Declare a self value and assign value of 'this' variable to that.
36 self int x;
41 self->x = 123;
42 this->y = self->x;
/freebsd-11-stable/contrib/ntp/scripts/monitoring/
H A Dlr.pl45 my $self = shift;
47 $self->{n} = 0;
48 $self->{sx} = 0.0;
49 $self->{sx2} = 0.0;
50 $self->{sxy} = 0.0;
51 $self->{sy} = 0.0;
52 $self->{sy2} = 0.0;
57 my $self = shift;
60 ++($self->{n});
61 $self
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Dtst.ExitAftDiscard.d39 self->i = 0;
40 self->spec = speculation();
44 /self->spec/
46 speculate(self->spec);
47 self->i++;
48 printf("self->i: %d\n", self->i);
52 /self->i/
54 discard(self->spec);
H A Derr.D_DREC_COMM.DataRecAftCommit.d42 self->speculateFlag = 0;
47 self->spec = speculation();
51 /self->spec/
53 speculate(self->spec);
54 printf("Called speculate with id: %d\n", self->spec);
55 self->speculateFlag++;
59 /(self->spec) && (self->speculateFlag)/
61 commit(self->spec);
H A Dtst.DataRecAftDiscard.d41 self->speculateFlag = 0;
42 self->discardFlag = 0;
43 self->spec = speculation();
47 /self->spec/
49 speculate(self->spec);
50 printf("Called speculate with id: %d\n", self->spec);
51 self->speculateFlag++;
55 /(self->spec) && (self->speculateFlag)/
57 discard(self
[all...]
H A Dtst.SpeculationCommit.d42 self->var = speculation();
43 printf("Speculation ID: %d\n", self->var);
44 self->speculate = 0;
45 self->commit = 0;
49 /1 > self->speculate/
51 speculate(self->var);
52 self->speculate++;
53 printf("Called speculate on id: %d\n", self->var);
57 /1 <= self->speculate/
59 commit(self
[all...]
H A Dtst.SpeculationDiscard.d41 self->var = speculation();
42 printf("Speculation ID: %d\n", self->var);
43 self->speculate = 0;
44 self->discard = 0;
48 /1 > self->speculate/
50 speculate(self->var);
51 self->speculate++;
52 printf("Called speculate on id: %d\n", self->var);
56 /1 <= self->speculate/
58 discard(self
[all...]
H A Derr.D_DREC_COMM.ExitAfterCommit.d39 self->i = 0;
40 self->spec = speculation();
44 /self->spec/
46 speculate(self->spec);
47 self->i++;
48 printf("self->i: %d\n", self->i);
52 /self->i/
54 commit(self->spec);
H A Dtst.SpeculationWithZero.d41 self->speculateFlag = 0;
42 self->spec = speculation();
43 self->spec = speculation();
44 printf("Speculative buffer ID: %d\n", self->spec);
49 speculate(self->spec);
50 self->speculateFlag++;
54 /1 == self->speculateFlag/
61 /1 != self->speculateFlag/
H A Derr.D_COMM_DREC.CommitAftDataRec.d40 self->speculateFlag = 0;
41 self->spec = speculation();
42 printf("Speculative buffer ID: %d\n", self->spec);
49 commit(self->spec);
H A Derr.NegativeNspec.d42 self->speculateFlag = 0;
43 self->commitFlag = 0;
44 self->spec = speculation();
45 printf("Speculative buffer ID: %d\n", self->spec);
H A Dtst.DiscardAftDataRec.d41 self->spec = speculation();
42 printf("Speculative buffer ID: %d\n", self->spec);
48 discard(self->spec);
H A Dtst.DiscardWithZero.d41 self->discardFlag = 0;
42 self->var1 = speculation();
43 printf("Speculative buffer ID: %d\n", self->var1);
44 self->spec = speculation();
45 printf("Speculative buffer ID: %d\n", self->spec);
49 /0 == self->spec/
51 discard(self->spec);
52 self->discardFlag++;
56 /0 < self->discardFlag/
58 printf("discard(), self
[all...]
/freebsd-11-stable/contrib/libucl/python/tests/
H A Dtest_load.py5 def test_no_args(self):
6 with self.assertRaises(TypeError):
9 def test_multi_args(self):
10 with self.assertRaises(TypeError):
13 def test_none(self):
14 self.assertEqual(ucl.load(None), None)
16 def test_null(self):
19 self.assertEqual(ucl.load(data), valid)
21 def test_int(self):
24 self
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/assocs/
H A Derr.D_OP_INCOMPAT.dupttype.d40 self->x[123] = `kmem_flags;
41 self->x[456] = *`rootvp;
/freebsd-11-stable/contrib/file/python/
H A Dtests.py15 def assert_result(self, result):
16 self.assertEqual(result.mime_type, self.expected_mime_type)
17 self.assertEqual(result.encoding, self.expected_encoding)
18 self.assertEqual(result.name, self.expected_name)
20 def test_detect_from_filename(self):
21 result = magic.detect_from_filename(self.filename)
22 self
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/
H A Duserfunc.d42 self->trace = 1;
46 /self->trace/
48 self->trace = 0;
53 /self->trace/
H A Dspecopen.d43 self->spec = speculation();
44 speculate(self->spec);
50 /self->spec/
52 speculate(self->spec);
57 /self->spec/
59 speculate(self->spec);
65 /self->spec && errno != 0/
67 commit(self->spec);
68 self->spec = 0;
73 /self
[all...]
/freebsd-11-stable/crypto/heimdal/lib/wind/
H A Dgenerate.py43 def __init__(self, name) :
45 self.name = os.path.basename(name)
46 self.file = open(name, 'w')
47 self.file.write('/* ' + name + ' */\n')
48 self.file.write('/* Automatically generated at ' +
52 def close(self) :
54 self.file.close()
60 def makeGuard(self) :
62 return string.upper(string.translate(self.name, self
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_find.py53 def __init__(self,interface_name,wpas_dbus_interface,timeout):
55 self.timeout = int(timeout)
56 self.interface_name = interface_name
57 self.wpas_dbus_interface = wpas_dbus_interface
60 threading.Thread.__init__(self)
61 self.daemon = True
64 self.wpas_dbus_opath = "/" + \
65 self.wpas_dbus_interface.replace(".","/")
66 self.wpas_wpas_dbus_interfaces_opath = self
[all...]

Completed in 170 milliseconds

1234567891011>>