Home
last modified time | relevance | path

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

12345678910>>...28

/NextBSD/tools/sched/
HDschedgraph.py135 def __init__(self, table): argument
136 self.table = table
137 self.map = {}
139 self.map[entry[0]] = entry[1]
141 def lookup(self, name): argument
143 color = self.map[name]
147 self.map[name] = color
148 self.table.append((name, color))
167 def __init__(self, master, target): argument
168 Frame.__init__(self, master)
[all …]
/NextBSD/cddl/contrib/dtracetoolkit/Net/
HDtcpsnoop_snv.d93 self->sop = args[0];
97 /self->sop/
99 self->nsop = (struct sonode *)arg1;
103 /self->nsop/
105 this->tcpp = (tcp_t *)self->nsop->so_priv;
106 self->connp = (conn_t *)this->tcpp->tcp_connp;
107 tname[(int)self->connp] = execname;
108 tpid[(int)self->connp] = pid;
109 tuid[(int)self->connp] = uid;
114 self->nsop = 0;
[all …]
HDtcpsnoop.d91 self->sop = args[0];
95 /self->sop/
97 self->nsop = (struct sonode *)arg1;
101 /self->nsop/
103 this->tcpp = (tcp_t *)self->nsop->so_priv;
104 self->connp = (conn_t *)this->tcpp->tcp_connp;
105 tname[(int)self->connp] = execname;
106 tpid[(int)self->connp] = pid;
107 tuid[(int)self->connp] = uid;
112 self->nsop = 0;
[all …]
/NextBSD/cddl/contrib/dtracetoolkit/Bin/
Dtcpsnoop.d91 self->sop = args[0];
95 /self->sop/
97 self->nsop = (struct sonode *)arg1;
101 /self->nsop/
103 this->tcpp = (tcp_t *)self->nsop->so_priv;
104 self->connp = (conn_t *)this->tcpp->tcp_connp;
105 tname[(int)self->connp] = execname;
106 tpid[(int)self->connp] = pid;
107 tuid[(int)self->connp] = uid;
112 self->nsop = 0;
[all …]
Dtcpsnoop_snv.d93 self->sop = args[0];
97 /self->sop/
99 self->nsop = (struct sonode *)arg1;
103 /self->nsop/
105 this->tcpp = (tcp_t *)self->nsop->so_priv;
106 self->connp = (conn_t *)this->tcpp->tcp_connp;
107 tname[(int)self->connp] = execname;
108 tpid[(int)self->connp] = pid;
109 tuid[(int)self->connp] = uid;
114 self->nsop = 0;
[all …]
Dweblatency.d82 self->buf = arg1;
83 self->fd = arg0 + 1;
84 self->nam = "";
88 /self->fd/
90 this->str = (char *)copyin(self->buf, MAX_REQ);
92 self->fd = stringof(this->str) == "GET " ? self->fd : 0;
96 /self->fd/
99 this->str = (char *)copyin(self->buf, MAX_REQ);
108 self->req = stringof(this->str);
109 self->nam = strlen(self->req) > 15 ? self->req : self->nam;
[all …]
Dcrash.d69 self->elapsed = timestamp - curthread->t_procp->p_mstart;
70 self->crash = 1;
103 /self->crash && execname == "java"/
113 /self->crash/
116 self->level = 1;
117 self->procp = curthread->t_procp;
118 self->ptr = self->procp;
122 proc:::signal-send /self->crash && self->ptr != 0/
124 printf("%*s %d %S\n", self->level += 2, "",
125 self->ptr->p_pidp->pid_id, self->ptr->p_user.u_psargs);
[all …]
Dsh_pidcolors.d58 self int depth;
81 /self->last == 0 && pid == $target/
83 self->last = timestamp;
88 this->delta = (timestamp - self->last) / 1000;
91 self->depth * 2, "", copyinstr(arg1), color_off);
92 self->depth++;
93 self->last = timestamp;
98 this->delta = (timestamp - self->last) / 1000;
99 self->depth -= self->depth > 0 ? 1 : 0;
102 self->depth * 2, "", copyinstr(arg1), color_off);
[all …]
/NextBSD/contrib/ntp/sntp/libevent/
HDevent_rpcgen.py46 def __init__(self, why): argument
47 self.why = why
48 def __str__(self): argument
49 return str(self.why)
53 def __init__(self, name): argument
54 self._name = name
55 self._entries = []
56 self._tags = {}
59 def AddEntry(self, entry): argument
60 if self._tags.has_key(entry.Tag()):
[all …]
/NextBSD/cddl/contrib/dtracetoolkit/Apps/
HDweblatency.d82 self->buf = arg1;
83 self->fd = arg0 + 1;
84 self->nam = "";
88 /self->fd/
90 this->str = (char *)copyin(self->buf, MAX_REQ);
92 self->fd = stringof(this->str) == "GET " ? self->fd : 0;
96 /self->fd/
99 this->str = (char *)copyin(self->buf, MAX_REQ);
108 self->req = stringof(this->str);
109 self->nam = strlen(self->req) > 15 ? self->req : self->nam;
[all …]
/NextBSD/contrib/ntp/scripts/monitoring/
HDlr.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->{sx} += $_x;
[all …]
/NextBSD/tools/tools/shlib-compat/
HDshlib-compat.py57 def init(self, outname): argument
59 self.out = open(outname, "w")
87 def __init__(self): argument
88 self.exclude = []
89 self.include = []
91 def compile(self): argument
92 self.re_exclude = [ re.compile(x) for x in self.exclude ]
93 self.re_include = [ re.compile(x) for x in self.include ]
95 def match(self, s): argument
96 if len(self.re_include):
[all …]
/NextBSD/contrib/bmake/mk/
HDmeta2deps.py152 def __init__(self, name, conf={}): argument
193 self.name = name
194 self.debug = getv(conf, 'debug', 0)
195 self.debug_out = getv(conf, 'debug_out', sys.stderr)
197 self.machine = getv(conf, 'MACHINE', '')
198 self.machine_arch = getv(conf, 'MACHINE_ARCH', '')
199 self.target_spec = getv(conf, 'TARGET_SPEC', '')
200 self.curdir = getv(conf, 'CURDIR')
201 self.reldir = getv(conf, 'RELDIR')
202 self.dpdeps = getv(conf, 'DPDEPS')
[all …]
/NextBSD/share/mk/
HDmeta2deps.py153 def __init__(self, name, conf={}): argument
194 self.name = name
195 self.debug = getv(conf, 'debug', 0)
196 self.debug_out = getv(conf, 'debug_out', sys.stderr)
198 self.machine = getv(conf, 'MACHINE', '')
199 self.machine_arch = getv(conf, 'MACHINE_ARCH', '')
200 self.target_spec = getv(conf, 'TARGET_SPEC', '')
201 self.curdir = getv(conf, 'CURDIR')
202 self.reldir = getv(conf, 'RELDIR')
203 self.dpdeps = getv(conf, 'DPDEPS')
[all …]
/NextBSD/crypto/openssl/crypto/perlasm/
HDx86_64-xlate.pl105 my $self = shift; # single instance in enough...
110 $self->{op} = $1;
111 $ret = $self;
114 undef $self->{sz};
115 if ($self->{op} =~ /^(movz)x?([bw]).*/) { # movz is pain...
116 $self->{op} = $1;
117 $self->{sz} = $2;
118 } elsif ($self->{op} =~ /call|jmp/) {
119 $self->{sz} = "";
120 } elsif ($self->{op} =~ /^p/ && $' !~ /^(ush|op|insrw)/) { # SSEn
[all …]
/NextBSD/contrib/wpa/wpa_supplicant/examples/p2p/
HDp2p_connect.py78 def __init__(self,ifname,wpas_dbus_interface,addr, argument
81 self.ifname = ifname
82 self.wpas_dbus_interface = wpas_dbus_interface
83 self.wps_method = wps_method
84 self.go_intent = go_intent
85 self.addr = addr
86 self.pin = pin
89 self.wpas_dbus_opath = \
90 "/" + self.wpas_dbus_interface.replace(".","/")
91 self.wpas_wpas_dbus_interfaces_opath = \
[all …]
HDp2p_group_add.py64 def __init__(self,interface_name,wpas_dbus_interface,persistent,frequency, argument
67 self.interface_name = interface_name
68 self.wpas_dbus_interface = wpas_dbus_interface
69 self.persistent = persistent
70 self.frequency = frequency
71 self.persistent_group_object = persistent_group_object
74 threading.Thread.__init__(self)
75 self.daemon = True
78 self.wpas_dbus_opath = "/" + \
79 self.wpas_dbus_interface.replace(".","/")
[all …]
HDp2p_invite.py62 def __init__(self,interface_name,wpas_dbus_interface,addr, argument
65 self.interface_name = interface_name
66 self.wpas_dbus_interface = wpas_dbus_interface
67 self.addr = addr
68 self.persistent_group_object = persistent_group_object
71 threading.Thread.__init__(self)
72 self.daemon = True
75 self.wpas_dbus_opath = "/" + \
76 self.wpas_dbus_interface.replace(".","/")
77 self.wpas_wpas_dbus_interfaces_opath = self.wpas_dbus_opath + \
[all …]
/NextBSD/contrib/compiler-rt/lib/asan/scripts/
HDasan_symbolize.py48 def __init__(self): argument
51 def symbolize(self, addr, binary, offset): argument
68 def __init__(self, symbolizer_path, default_arch, system, dsym_hints=[]): argument
69 super(LLVMSymbolizer, self).__init__()
70 self.symbolizer_path = symbolizer_path
71 self.default_arch = default_arch
72 self.system = system
73 self.dsym_hints = dsym_hints
74 self.pipe = self.open_llvm_symbolizer()
76 def open_llvm_symbolizer(self): argument
[all …]
/NextBSD/cddl/contrib/dtracetoolkit/Proc/
HDcrash.d69 self->elapsed = timestamp - curthread->t_procp->p_mstart;
70 self->crash = 1;
103 /self->crash && execname == "java"/
113 /self->crash/
116 self->level = 1;
117 self->procp = curthread->t_procp;
118 self->ptr = self->procp;
122 proc:::signal-send /self->crash && self->ptr != 0/
124 printf("%*s %d %S\n", self->level += 2, "",
125 self->ptr->p_pidp->pid_id, self->ptr->p_user.u_psargs);
[all …]
/NextBSD/contrib/subversion/
HDwin-tests.py384 def __init__(self, svnserve_args, objdir, abs_objdir, abs_builddir): argument
385 self.args = svnserve_args
386 self.name = 'svnserve.exe'
387 self.kind = objdir
388 self.path = os.path.join(abs_objdir,
389 'subversion', 'svnserve', self.name)
390 self.root = os.path.join(abs_builddir, CMDLINE_TEST_SCRIPT_NATIVE_PATH)
391 self.proc = None
393 def __del__(self): argument
395 self.stop()
[all …]
/NextBSD/contrib/libucl/src/
HDtree.h70 #define TREE_DELTA(self, field) \ argument
71 (( (((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))
80 static struct node *_HU_FUNCTION(TREE_ROTL_##node##_##field)(struct node *self) \
82 struct node *r= self->field.avl_right; \
83 self->field.avl_right= r->field.avl_left; \
84 r->field.avl_left= TREE_BALANCE_##node##_##field(self); \
88 static struct node *_HU_FUNCTION(TREE_ROTR_##node##_##field)(struct node *self) \
90 struct node *l= self->field.avl_left; \
91 self->field.avl_left= l->field.avl_right; \
[all …]
/NextBSD/contrib/libstdc++/scripts/
Dmake_graph.py37 def __init__(self, x_label, y_label, cntnr_list, cntnr_descs, res_sets): argument
38 self.x_label = x_label
39 self.y_label = y_label
40 self.cntnr_list = cntnr_list
41 self.cntnr_descs = cntnr_descs
42 self.res_sets = res_sets
50 def __accum(self, results): argument
56 def sort(self, cntnr_list, res_sets): argument
60 total = self.__accum(results)
70 def __init__(self, test_infos_f_name): argument
[all …]
/NextBSD/sys/dev/usb/controller/
HDehci_pci.c102 ehci_pci_match(device_t self) in ehci_pci_match() argument
104 uint32_t device_id = pci_get_devid(self); in ehci_pci_match()
208 if ((pci_get_class(self) == PCIC_SERIALBUS) in ehci_pci_match()
209 && (pci_get_subclass(self) == PCIS_SERIALBUS_USB) in ehci_pci_match()
210 && (pci_get_progif(self) == PCI_INTERFACE_EHCI)) { in ehci_pci_match()
217 ehci_pci_probe(device_t self) in ehci_pci_probe() argument
219 const char *desc = ehci_pci_match(self); in ehci_pci_probe()
222 device_set_desc(self, desc); in ehci_pci_probe()
230 ehci_pci_ati_quirk(device_t self, uint8_t is_sb700) in ehci_pci_ati_quirk() argument
249 val = pci_read_config(self, 0x53, 1); in ehci_pci_ati_quirk()
[all …]
/NextBSD/cddl/contrib/dtracetoolkit/Shell/
HDsh_pidcolors.d58 self int depth;
81 /self->last == 0 && pid == $target/
83 self->last = timestamp;
88 this->delta = (timestamp - self->last) / 1000;
91 self->depth * 2, "", copyinstr(arg1), color_off);
92 self->depth++;
93 self->last = timestamp;
98 this->delta = (timestamp - self->last) / 1000;
99 self->depth -= self->depth > 0 ? 1 : 0;
102 self->depth * 2, "", copyinstr(arg1), color_off);
[all …]

12345678910>>...28