Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/freebsd-12.1/tools/sched/
H A Dschedgraph.py190 self.scale = Scale(self, command=self.scaleset,
232 self.label = Label(self, text=self.name, anchor=W)
237 self.list = OptionMenu(self, self.color, command=self.setcolor,
280 self.buttons = Frame(self)
336 self.label = Label(self, text=self.name, anchor=W)
366 self.iframe = Frame(self)
370 self.buttons = Frame(self)
535 self.buttons = Frame(self)
537 self.frame = Frame(self)
1334 self.names = SchedNames(self, self.display)
[all …]
/freebsd-12.1/contrib/libevent/
H A Devent_rpcgen.py407 if self._optional and self._array:
542 self._struct.Name(), self._ctype),
556 self._struct.Name(), self._ctype),
593 name, self._name, name, self._name)]
831 self._struct.Name(), self._ctype),
932 self._refname, name, self._name)]
974 self._struct.Name(), self._ctype),
993 self._struct.Name(), self._ctype),
1064 self._ctype = self._entry._ctype
1666 self.impl_file = self.factory.CodeFilename(self.filename)
[all …]
/freebsd-12.1/contrib/ntp/sntp/libevent/
H A Devent_rpcgen.py407 if self._optional and self._array:
542 self._struct.Name(), self._ctype),
556 self._struct.Name(), self._ctype),
593 name, self._name, name, self._name)]
831 self._struct.Name(), self._ctype),
932 self._refname, name, self._name)]
974 self._struct.Name(), self._ctype),
993 self._struct.Name(), self._ctype),
1064 self._ctype = self._entry._ctype
1666 self.impl_file = self.factory.CodeFilename(self.filename)
[all …]
/freebsd-12.1/contrib/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class_test.py43 self.assertEqual(expected_lines, self.StripLeadingWhitespace(lines))
57 def testSimpleMethod(self): argument
85 def testVirtualDestructor(self): argument
130 def testSimpleOverrideMethod(self): argument
141 def testSimpleConstMethod(self): argument
152 def testExplicitVoid(self): argument
175 def testDefaultParameters(self): argument
236 def testArgsOfTemplateTypes(self): argument
326 def testNamespaces(self): argument
391 def testTemplatedClass(self): argument
[all …]
H A Dast.py151 value = '%s %s' % (self.name, self.definition)
165 return self._StringHelper(self.__class__.__name__, fmt % self.filename)
174 return self._StringHelper(self.__class__.__name__, str(self.label))
187 return self._StringHelper(self.__class__.__name__, str(self.expr))
210 return self._StringHelper(self.__class__.__name__, str(self.names))
240 if self.namespace and self.namespace[-1]:
264 suffix = '%s %s' % (self.type, self.name)
270 return self._StringHelper(self.__class__.__name__, self.ToString())
293 suffix = '%s, %s' % (self.name, self.alias)
394 (self.return_type, self.name, self.parameters,
[all …]
/freebsd-12.1/contrib/ntp/scripts/monitoring/
H A Dlr.pl72 return 1 unless ($self->{n} * $self->{sx2} - $self->{sx}**2);
73 return ($self->{n} * $self->{sxy} - $self->{sx} * $self->{sy})
74 / ($self->{n} * $self->{sx2} - $self->{sx}**2);
81 return ($self->{sy} - B() * $self->{sx}) / $self->{n};
102 my $s = ($self->{n} * $self->{sx2} - $self->{sx}**2)
103 * ($self->{n} * $self->{sy2} - $self->{sy}**2);
107 return ($self->{n} * $self->{sxy} - $self->{sx} * $self->{sy}) / sqrt($s);
114 return ($self->{sxy} - $self->{sx} * $self->{sy} / $self->{n})
123 return sqrt(($self->{sy2} - ($self->{sy} * $self->{sy}) / $self->{n})
132 return $self->{sy} / $self->{n};
[all …]
/freebsd-12.1/tools/tools/shlib-compat/
H A Dshlib-compat.py117 total = self.hit + self.miss
134 if self.enabled and id in self.items:
159 self.common = self.orig & self.new
160 self.added = self.new - self.common
161 self.removed = self.orig - self.common
172 self._result = obj._pp(self)
198 return "Symbol(%s, 0x%x, %s)" % (self.name, self.offset, self.version)
348 if self.encoding in self.inttypes:
713 self.parser = self.parse_begin
786 self.add_symbol(self.local_symbols, p, self.local_offsetmap);
[all …]
/freebsd-12.1/contrib/sendmail/contrib/
H A Dqtool.pl490 my $self = {};
493 return $self;
744 return $self;
754 $self->{file_name} = $data_dir . '/df' . $self->{id};
764 $self->{file_name} = $data_dir . '/df' . $self->{id};
822 return $self;
854 return $self;
1006 return $self;
1208 return $self;
1248 return $self;
[all …]
/freebsd-12.1/crypto/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl161 "$self->{op}$self->{sz}";
173 $self->{op} .= $self->{sz};
239 ($self->{base},$self->{index},$self->{scale})=split(/,/,$3);
284 if (!$self->{label} && $self->{index} && $self->{scale}==1 &&
286 $self->{base} = $self->{index}; $self->{index} = $1;
294 $self->{asterisk},$self->{label},
296 $self->{index},$self->{scale},
300 $self->{base},$self->{opmask};
319 $self->{index},$self->{scale},
327 $self->{base},$self->{opmask};
[all …]
/freebsd-12.1/contrib/bmake/mk/
H A Dmeta2deps.py282 if self.dpdeps and not self.reldir:
286 srctop = self.find_top(self.curdir, self.srctops)
295 self.last_dir = self.cwd
421 cwd = self.last_dir = self.cwd
431 self.seenit(self.curdir) # we ignore this
509 srctop = self.find_top(path, self.srctops)
534 path = resolve(path, cwd, self.last_dir, self.debug, self.debug_out)
545 dir = abspath(dir, cwd, self.last_dir, self.debug, self.debug_out)
554 if path in [self.last_dir, cwd, self.cwd, self.curdir]:
567 if dir == self.cwd or dir == self.curdir:
[all …]
/freebsd-12.1/share/mk/
H A Dmeta2deps.py283 if self.dpdeps and not self.reldir:
287 srctop = self.find_top(self.curdir, self.srctops)
296 self.last_dir = self.cwd
422 cwd = self.last_dir = self.cwd
432 self.seenit(self.curdir) # we ignore this
510 srctop = self.find_top(path, self.srctops)
535 path = resolve(path, cwd, self.last_dir, self.debug, self.debug_out)
546 dir = abspath(dir, cwd, self.last_dir, self.debug, self.debug_out)
555 if path in [self.last_dir, cwd, self.cwd, self.curdir]:
568 if dir == self.cwd or dir == self.curdir:
[all …]
/freebsd-12.1/contrib/subversion/
H A Dwin-tests.py462 args = [self.name, '-d', '-r', self.root]
464 args = [self.name] + self.args
465 print('Starting %s %s' % (self.kind, self.name))
504 self.path = os.path.join(self.httpd_dir, 'bin', self.name)
513 self.path = os.path.join(self.httpd_dir, 'bin', self.name)
532 self.httpd_users = os.path.join(self.root, 'users')
541 self.httpd_args = [self.name, '-n', self._quote(self.service_name),
544 self.httpd_args = [self.name, '-f', self._quote(self.httpd_config)]
950 self.proc = subprocess.Popen([self.path] + self.httpd_args[1:])
974 self.path = os.path.join(self.memcached_dir, self.name)
[all …]
/freebsd-12.1/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_connect.py86 self.pin = pin
101 self.wpas_object = self.bus.get_object(
105 self.wpas_object, self.wpas_dbus_interface)
110 self.path = self.wpas.GetInterface(ifname)
128 self.interface_object = self.bus.get_object(
129 self.wpas_dbus_interface,self.path)
153 'peer':dbus.ObjectPath(self.path+'/Peers/'+self.addr)}
158 self.p2p_connect_arguements.update({'pin':self.pin})
164 if (self.go_intent != None and int(self.go_intent) != 15):
172 self.p2p_connect_arguements.update({'pin':self.pin})
[all …]
H A Dp2p_group_add.py80 self.wpas_wpas_dbus_interfaces_opath = self.wpas_dbus_opath + \
91 self.wpas_object = self.bus.get_object(
94 self.wpas = dbus.Interface(self.wpas_object,
100 self.path = self.wpas.GetInterface(
109 self.interface_object = self.bus.get_object(
110 self.wpas_dbus_interface, self.path)
111 self.p2p_interface = dbus.Interface(self.interface_object,
124 self.P2PDictionary = {'persistent':self.persistent}
128 self.P2PDictionary.update({'frequency':int(self.frequency)})
139 def run(self): argument
[all …]
H A Dp2p_invite.py67 self.addr = addr
77 self.wpas_wpas_dbus_interfaces_opath = self.wpas_dbus_opath + \
88 self.wpas_object = self.bus.get_object(
91 self.wpas = dbus.Interface(self.wpas_object,
97 self.path = self.wpas.GetInterface(
106 self.interface_object = self.bus.get_object(
107 self.wpas_dbus_interface, self.path)
108 self.p2p_interface = dbus.Interface(self.interface_object,
119 {'peer':dbus.ObjectPath(self.path+'/Peers/'+self.addr)}
125 def run(self): argument
[all …]
H A Dp2p_stop_find.py55 self.timeout = timeout
59 self.daemon = True
64 self.wpas_wpas_dbus_interfaces_opath = self.wpas_dbus_opath + \
75 self.wpas_object = self.bus.get_object(
77 self.wpas_dbus_opath)
78 self.wpas = dbus.Interface(self.wpas_object,
84 self.path = self.wpas.GetInterface(
93 self.interface_object = self.bus.get_object(
94 self.wpas_dbus_interface, self.path)
95 self.p2p_interface = dbus.Interface(self.interface_object,
[all …]
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgoogletest-filter-unittest.py349 def setUp(self): argument
361 def testDefaultBehavior(self): argument
375 def testEmptyFilter(self): argument
378 self.RunAndVerify('', [])
382 def testBadFilter(self): argument
388 def testFullName(self): argument
414 def testFilterByTest(self): argument
464 self.RunAndVerify('*z*', [
472 def testTwoPatterns(self): argument
485 def testThreePatterns(self): argument
[all …]
H A Dgoogletest-catch-exceptions-test.py85 def TestSehExceptions(self, test_output): argument
104 self.TestSehExceptions(EX_BINARY_OUTPUT)
107 self.TestSehExceptions(BINARY_OUTPUT)
120 self.assert_('C++ exception with description '
124 self.assert_('unexpected' not in EX_BINARY_OUTPUT,
133 self.assert_('C++ exception with description '
141 def testCatchesCxxExceptionsInSetUpTestCase(self): argument
169 def testCatchesCxxExceptionsInSetUp(self): argument
187 def testCatchesCxxExceptionsInTearDown(self): argument
198 def testCatchesCxxExceptionsInTestBody(self): argument
[all …]
H A Dgoogletest-color-test.py68 def testNoEnvVarNoFlag(self): argument
77 self.assert_(UsesColor('linux', None, None))
79 self.assert_(UsesColor('xterm', None, None))
83 def testFlagOnly(self): argument
91 self.assert_(UsesColor('dumb', None, 'yes'))
94 def testEnvVarOnly(self): argument
102 self.assert_(UsesColor('dumb', 'yes', None))
105 def testEnvVarAndFlag(self): argument
112 def testAliasesOfYesAndNo(self): argument
117 self.assert_(UsesColor('dumb', None, 'T'))
[all …]
/freebsd-12.1/contrib/libucl/src/
H A Dtree.h71 (( (((self)->field.avl_left) ? (self)->field.avl_left->field.avl_height : 0)) \
72 - (((self)->field.avl_right) ? (self)->field.avl_right->field.avl_height : 0))
103 self->field.avl_right= TREE_ROTR_##node##_##field(self->field.avl_right); \
109 self->field.avl_left= TREE_ROTL_##node##_##field(self->field.avl_left); \
113 if (self->field.avl_left && (self->field.avl_left->field.avl_height > self->field.avl_height)) \
114 self->field.avl_height= self->field.avl_left->field.avl_height; \
115 … if (self->field.avl_right && (self->field.avl_right->field.avl_height > self->field.avl_height)) \
116 self->field.avl_height= self->field.avl_right->field.avl_height; \
150 self->field.avl_right= TREE_MOVE_RIGHT(self->field.avl_right, rhs); \
176 if (self) \
[all …]
/freebsd-12.1/sys/contrib/libsodium/packaging/dotnet-core/
H A Dprepare.py65 self.tempfile = os.path.join(self.tempdir, os.path.normpath(self.itemfile))
69 f.write('{0}: {1}\n'.format(self.packfile, self.tempfile))
73 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
77 os.path.relpath(self.cachefile, self.tempdir),
89 self.tempfile = os.path.join(self.tempdir, os.path.normpath(self.itemfile))
93 f.write('{0}: {1}\n'.format(self.packfile, self.tempfile))
97 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
101 os.path.relpath(self.cachefile, self.tempdir),
112 self.tempfile = os.path.join(self.tempdir, 'libsodium.so')
149 self.tempfile = os.path.join(self.tempdir, os.path.normpath(self.itemfile))
[all …]
/freebsd-12.1/contrib/libstdc++/scripts/
H A Dmake_graph.py38 self.x_label = x_label
39 self.y_label = y_label
129 def __init__(self): argument
157 return (self.native_tick_mark_1, self.native_line_style_1)
159 return (self.native_tick_mark_0, self.native_line_style_0)
222 def __init__(self): argument
223 self.__sc = self.__style_chooser()
333 def __init__(self): argument
344 def __init__(self): argument
375 def __init__(self): argument
[all …]
/freebsd-12.1/sys/dev/usb/controller/
H A Dehci_pci.c104 ehci_pci_match(device_t self) in ehci_pci_match() argument
229 ehci_pci_probe(device_t self) in ehci_pci_probe() argument
234 device_set_desc(self, desc); in ehci_pci_probe()
294 sc->sc_bus.parent = self; in ehci_pci_attach()
305 pci_enable_busmaster(self); in ehci_pci_attach()
398 pci_get_devid(self)); in ehci_pci_attach()
434 ehci_pci_via_quirk(self); in ehci_pci_attach()
447 device_printf(self, in ehci_pci_attach()
460 device_printf(self, in ehci_pci_attach()
478 ehci_pci_detach(self); in ehci_pci_attach()
[all …]
/freebsd-12.1/contrib/libucl/python/tests/
H A Dtest_load.py5 def test_no_args(self): argument
9 def test_multi_args(self): argument
13 def test_none(self): argument
16 def test_null(self): argument
21 def test_int(self): argument
26 def test_braced_int(self): argument
31 def test_nested_int(self): argument
36 def test_str(self): argument
41 def test_float(self): argument
46 def test_boolean(self): argument
[all …]
/freebsd-12.1/contrib/ntp/sntp/unity/auto/
H A Dunity_test_summary.py14 def __init__(self): argument
15 self.report = ''
16 self.total_tests = 0
17 self.failures = 0
18 self.ignored = 0
20 def run(self): argument
45 if self.ignored > 0:
59 self.report += "\n"
63self.report += "{total_tests} TOTAL TESTS {failures} TOTAL FAILURES {ignored} IGNORED\n".format(to…
66 return self.report
[all …]

12345678910>>...21