/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/ |
H A D | tst.selfarray.d | 32 * 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 D | err.D_OP_INCOMPAT.dupttype.d | 40 self->x = `kmem_flags; 41 self->x = *`rootvp;
|
H A D | err.D_DECL_CLASS.selfthis.d | 36 self this int x;
|
H A D | err.D_DECL_CLASS.thisself.d | 37 this self int x;
|
H A D | tst.self.d | 31 * Declare self a variable and assign appropriate value. 36 self x;
|
H A D | tst.thisself.d | 31 * 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 D | lr.pl | 45 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 D | tst.ExitAftDiscard.d | 39 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 D | err.D_DREC_COMM.DataRecAftCommit.d | 42 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 D | tst.DataRecAftDiscard.d | 41 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 D | tst.SpeculationCommit.d | 42 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 D | tst.SpeculationDiscard.d | 41 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 D | err.D_DREC_COMM.ExitAfterCommit.d | 39 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 D | tst.SpeculationWithZero.d | 41 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 D | err.D_COMM_DREC.CommitAftDataRec.d | 40 self->speculateFlag = 0; 41 self->spec = speculation(); 42 printf("Speculative buffer ID: %d\n", self->spec); 49 commit(self->spec);
|
H A D | err.NegativeNspec.d | 42 self->speculateFlag = 0; 43 self->commitFlag = 0; 44 self->spec = speculation(); 45 printf("Speculative buffer ID: %d\n", self->spec);
|
H A D | tst.DiscardAftDataRec.d | 41 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 D | googletest-color-test.py | 68 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 D | googletest-catch-exceptions-test.py | 85 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 D | test_load.py | 5 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 D | tests.py | 15 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 D | err.D_OP_INCOMPAT.dupttype.d | 40 self->x[123] = `kmem_flags; 41 self->x[456] = *`rootvp;
|
/freebsd-13-stable/tests/sys/netpfil/common/ |
H A D | sniffer.py | 33 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 D | userfunc.d | 42 self->trace = 1; 46 /self->trace/ 48 self->trace = 0; 53 /self->trace/
|
H A D | specopen.d | 43 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...] |