/freebsd-current/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;
|
/freebsd-current/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-current/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.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 | 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.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_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);
|
/freebsd-current/crypto/openssl/util/perl/TLSProxy/ |
H A D | NewSessionTicket.pm | 24 my $self = $class->SUPER::new( 32 $self->{ticket_lifetime_hint} = 0; 33 $self->{ticket} = ""; 35 return $self; 40 my $self = shift; 42 my $ticket_lifetime_hint = unpack('N', $self->data); 43 my $ticket_len = unpack('n', $self->data); 44 my $ticket = substr($self->data, 6, $ticket_len); 46 $self->ticket_lifetime_hint($ticket_lifetime_hint); 47 $self [all...] |
H A D | Alert.pm | 20 my $self = { 27 return bless $self, $class; 33 my $self = shift; 34 return $self->{server}; 38 my $self = shift; 39 return $self->{encrypted}; 43 my $self = shift; 44 return $self->{level}; 48 my $self = shift; 49 return $self [all...] |
H A D | ServerKeyExchange.pm | 24 my $self = $class->SUPER::new( 33 $self->{p} = ""; 34 $self->{g} = ""; 35 $self->{pub_key} = ""; 36 $self->{sigalg} = -1; 37 $self->{sig} = ""; 39 return $self; 44 my $self = shift; 53 my $p_len = unpack('n', $self->data); 55 my $p = substr($self [all...] |
H A D | ServerHello.pm | 29 my $self = $class->SUPER::new( 37 $self->{server_version} = 0; 38 $self->{random} = []; 39 $self->{session_id_len} = 0; 40 $self->{session} = ""; 41 $self->{ciphersuite} = 0; 42 $self->{comp_meth} = 0; 43 $self->{extension_data} = ""; 45 return $self; 50 my $self [all...] |
/freebsd-current/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBStringListExtensions.i | 4 def __iter__(self): 6 return lldb_iter(self, 'GetSize', 'GetStringAtIndex') 8 def __len__(self): 10 return self.GetSize()
|
H A D | SBThreadCollectionExtensions.i | 5 def __iter__(self): 7 return lldb_iter(self, 'GetSize', 'GetThreadAtIndex') 9 def __len__(self): 11 return self.GetSize()
|
H A D | SBProcessInfoListExtensions.i | 4 def __len__(self): 6 return self.GetSize() 8 def __iter__(self): 10 return lldb_iter(self, 'GetSize', 'GetProcessInfoAtIndex')
|
H A D | SBMemoryRegionInfoListExtensions.i | 4 def __len__(self): 6 return self.GetSize() 8 def __iter__(self): 10 return lldb_iter(self, 'GetSize', 'GetMemoryRegionAtIndex')
|
H A D | SBBreakpointListExtensions.i | 4 def __len__(self): 6 return self.GetSize() 8 def __iter__(self): 10 return lldb_iter(self, 'GetSize', 'GetBreakpointAtIndex')
|
H A D | SBStructuredDataExtensions.i | 6 def __int__(self): 7 return self.GetSignedInteger() 9 def __len__(self): 11 return self.GetSize() 13 def __iter__(self): 15 return lldb_iter(self, 'GetSize', 'GetItemAtIndex')
|
H A D | SBQueueItemExtensions.i | 4 def __hex__(self): 5 return self.GetAddress()
|
/freebsd-current/tests/sys/netpfil/common/ |
H A D | sniffer.py | 33 def __init__(self, args, check_function, recvif, timeout=3, defrag=False): 34 threading.Thread.__init__(self) 36 self._sem = threading.Semaphore(0) 37 self._args = args 38 self._timeout = timeout 39 self._recvif = recvif 40 self._check_function = check_function 41 self._defrag = defrag 42 self.correctPackets = 0 44 self [all...] |
/freebsd-current/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-current/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-current/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...] |