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

1234567891011>>

/freebsd-13-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-13-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-13-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);
/freebsd-13-stable/contrib/googletest/googletest/test/
H A Dgoogletest-color-test.py68 def testNoEnvVarNoFlag(self):
72 self.assert_(not UsesColor('dumb', None, None))
73 self.assert_(not UsesColor('emacs', None, None))
74 self.assert_(not UsesColor('xterm-mono', None, None))
75 self.assert_(not UsesColor('unknown', None, None))
76 self.assert_(not UsesColor(None, None, None))
77 self.assert_(UsesColor('linux', None, None))
78 self.assert_(UsesColor('cygwin', None, None))
79 self.assert_(UsesColor('xterm', None, None))
80 self
[all...]
H A Dgoogletest-catch-exceptions-test.py85 def TestSehExceptions(self, test_output):
86 self.assert_('SEH exception with code 0x2a thrown '
89 self.assert_('SEH exception with code 0x2a thrown '
92 self.assert_('SEH exception with code 0x2a thrown in SetUpTestCase()'
94 self.assert_('SEH exception with code 0x2a thrown in TearDownTestCase()'
96 self.assert_('SEH exception with code 0x2a thrown in SetUp()'
98 self.assert_('SEH exception with code 0x2a thrown in TearDown()'
100 self.assert_('SEH exception with code 0x2a thrown in the test body'
103 def testCatchesSehExceptionsWithCxxExceptionsEnabled(self):
104 self
[all...]
/freebsd-13-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-13-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-13-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-13-stable/tests/sys/netpfil/common/
H A Dsniffer.py33 def __init__(self, args, check_function, recvif=None):
34 threading.Thread.__init__(self)
36 self._args = args
38 self._recvif = recvif
40 self._recvif = args.recvif[0]
41 self._check_function = check_function
42 self.foundCorrectPacket = False
44 self.start()
46 def _checkPacket(self, packet):
47 ret = self
[all...]
/freebsd-13-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...]

Completed in 103 milliseconds

1234567891011>>