/freebsd-11-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-11-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-11-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);
|
H A D | tst.DiscardWithZero.d | 41 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 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-11-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-11-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-11-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...] |
/freebsd-11-stable/crypto/heimdal/lib/wind/ |
H A D | generate.py | 43 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 D | p2p_find.py | 53 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...] |