Home
last modified time | relevance | path

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

12345678910>>...124

/netbsd-src/external/apache2/llvm/dist/libcxx/utils/gdb/libcxx/
H A Dprinters.py135 def __init__(self, val): argument
136 self.val = val
137 self.child_iter = iter(self.val["__base_"].type.fields())
138 self.count = 0
140 def __iter__(self): argument
141 return self
143 def __next__(self): argument
145 field_name = next(self.child_iter)
146 child = self.val["__base_"][field_name]["__value_"]
147 self.count += 1
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/test/
H A Dconfig.py59 def __init__(self, lit_config, config): argument
60 self.lit_config = lit_config
61 self.config = config
62 self.cxx = None
63 self.cxx_is_clang_cl = None
64 self.cxx_stdlib_under_test = None
65 self.project_obj_root = None
66 self.libcxx_src_root = None
67 self.libcxx_obj_root = None
68 self.cxx_library_root = None
[all …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A 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 …]
H A 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 …]
H A 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 …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Net/
H A 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 …]
H A 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 …]
/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dpylibfdt_tests.py76 def setUp(self): argument
78 self.fdt = _ReadFdt('test_tree1.dtb')
79 self.fdt2 = _ReadFdt('test_props.dtb')
80 self.fdt3 = _ReadFdt('aliases.dtb')
82 def GetPropList(self, node_path): argument
92 node = self.fdt.path_offset(node_path)
93 poffset = self.fdt.first_property_offset(node, QUIET_NOTFOUND)
95 prop = self.fdt.get_property_by_offset(poffset)
97 poffset = self.fdt.next_property_offset(poffset, QUIET_NOTFOUND)
100 def GetSubnodes(self, node_path): argument
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/python/libstdcxx/v6/
H A Dprinters.py62 def next(self): argument
63 return self.__next__()
224 def __init__(self, val): argument
225 self.val = val
227 def __iter__(self): argument
228 return self
230 def __next__(self): argument
231 if self.val is None:
233 self.val, val = None, self.val
242 def __init__(self, typename, val): argument
[all …]
H A Dxmethods.py46 def __init__(self, name, worker_class): argument
47 gdb.xmethod.XMethod.__init__(self, name)
48 self.worker_class = worker_class
54 def __init__(self, val_type, size): argument
55 self._val_type = val_type
56 self._size = size
58 def null_value(self): argument
60 return nullptr.cast(self._val_type.pointer()).dereference()
64 def __init__(self, val_type, size): argument
65 ArrayWorkerBase.__init__(self, val_type, size)
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/python/libstdcxx/v6/
H A Dprinters.py60 def next(self): argument
61 return self.__next__()
208 def __init__(self, val): argument
209 self.val = val
211 def __iter__(self): argument
212 return self
214 def __next__(self): argument
215 if self.val is None:
217 self.val, val = None, self.val
223 def __init__ (self, typename, val): argument
[all …]
H A Dxmethods.py31 def __init__(self, name, worker_class): argument
32 gdb.xmethod.XMethod.__init__(self, name)
33 self.worker_class = worker_class
38 def __init__(self, val_type, size): argument
39 self._val_type = val_type
40 self._size = size
42 def null_value(self): argument
44 return nullptr.cast(self._val_type.pointer()).dereference()
47 def __init__(self, val_type, size): argument
48 ArrayWorkerBase.__init__(self, val_type, size)
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/util/perl/TLSProxy/
H A DProxy.pm82 my $self = {
112 my $proxaddr = $self->{proxy_addr};
122 $self->{proxy_sock} = $sock;
123 $self->{proxy_port} = $sock->sockport();
124 $self->{proxy_addr} = $sock->sockhost();
125 $self->{proxy_addr} =~ s/(.*:.*)/[$1]/;
127 "$self->{proxy_addr}:$self->{proxy_port}\n";
129 $self->{server_addr} = $self->{proxy_addr};
134 return bless $self, $class;
139 my $self = shift;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/ABITest/
H A DTypeGen.py22 def isBitField(self): argument
25 def isPaddingBitField(self): argument
28 def getTypeName(self, printer): argument
30 typedef = self.getTypedefDef(name, printer)
35 def __init__(self, name, size, bitFieldSize=None): argument
36 self.name = name
37 self.size = size
38 self.bitFieldSize = bitFieldSize
40 def isBitField(self): argument
41 return self.bitFieldSize is not None
[all …]
/netbsd-src/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/
H A DNamedConf.py45 def __init__(self): argument
46 self.allow_notify = []
47 self.allow_recursion = []
48 self.allow_transfer = []
49 self.also_notify = []
50 self.check_names = []
51 self.coresize = ""
52 self.directory = ""
53 self.dump_file = ""
54 self.pid_file = ""
[all …]
H A DNsdConf.py40 def __init__(self, name): argument
41 self.name = name
42 self.algorithm = ''
43 self.secret = ''
46 def dump(self, ofile): argument
49 print >> ofile,' name = %s' % (self.name)
50 print >> ofile,' algorithm = %s' % (self.algorithm)
51 print >> ofile,' secret = %s' % (self.secret)
54 print >> ofile,' name: "%s"' % (self.name)
55 print >> ofile,' algorithm: %s' % (self.algorithm)
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dgenk-timing.py10 def __init__(self, scriptname, outputname): argument
11 self.timeFile = outputname
12 self.shfile = open(scriptname, 'w')
13 self.shfile.write("echo \"\" > %s\n" % self.timeFile)
15 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): argument
20self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCall…
21 self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
22 self.shfile.write("echo \"With MCJIT (original)\" >> %s\n" % self.timeFile)
23self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tm…
24 self.shfile.write(" -o %s -a " % self.timeFile)
[all …]
/netbsd-src/external/gpl3/gcc/dist/contrib/
H A Dupdate-copyright.py51 def __init__ (self): argument
52 self.num_errors = 0
54 def report (self, filename, string): argument
58 self.num_errors += 1
60 def ok (self): argument
61 return self.num_errors == 0
64 def __init__ (self): argument
65 self.skip_files = set()
66 self.skip_dirs = set()
67 self.skip_extensions = set([
[all …]
/netbsd-src/external/bsd/libevent/dist/
H A Devent_rpcgen.py57 def __init__(self, why): # pylint: disable=super-init-not-called argument
58 self.why = why
60 def __str__(self): argument
61 return str(self.why)
66 def __init__(self, name): argument
67 self._name = name
68 self._entries = []
69 self._tags = {}
72 def AddEntry(self, entry): argument
73 if entry.Tag() in self._tags:
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/contrib/
H A Dupdate-copyright.py51 def __init__ (self): argument
52 self.num_errors = 0
54 def report (self, filename, string): argument
58 self.num_errors += 1
60 def ok (self): argument
61 return self.num_errors == 0
64 def __init__ (self): argument
65 self.skip_files = set()
66 self.skip_dirs = set()
67 self.skip_extensions = set()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dgenk-timing.py10 def __init__(self, scriptname, outputname): argument
11 self.timeFile = outputname
12 self.shfile = open(scriptname, 'w')
13 self.shfile.write("echo \"\" > %s\n" % self.timeFile)
15 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): argument
20self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCall…
21 self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
22 self.shfile.write("echo \"With MCJIT\" >> %s\n" % self.timeFile)
23self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tm…
24 self.shfile.write(" -o %s -a " % self.timeFile)
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dgenk-timing.py10 def __init__(self, scriptname, outputname): argument
11 self.timeFile = outputname
12 self.shfile = open(scriptname, 'w')
13 self.shfile.write("echo \"\" > %s\n" % self.timeFile)
15 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): argument
20self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCall…
21 self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
22 self.shfile.write("echo \"With MCJIT\" >> %s\n" % self.timeFile)
23self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tm…
24 self.shfile.write(" -o %s -a " % self.timeFile)
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/
H A DBooleanExpression.py32 def __init__(self, string, variables, triple=""): argument
33 self.tokens = BooleanExpression.tokenize(string)
34 self.variables = variables
35 self.variables.add('true')
36 self.triple = triple
37 self.value = None
38 self.token = None
61 def quote(self, token): argument
67 def accept(self, t): argument
68 if self.token == t:
[all …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Apps/
H A 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 …]
/netbsd-src/crypto/external/bsd/openssl/dist/util/perl/TLSProxy/
H A DClientHello.pm24 my $self = $class->SUPER::new(
32 $self->{client_version} = 0;
33 $self->{random} = [];
34 $self->{session_id_len} = 0;
35 $self->{session} = "";
36 $self->{ciphersuite_len} = 0;
37 $self->{ciphersuites} = [];
38 $self->{comp_meth_len} = 0;
39 $self->{comp_meths} = [];
40 $self->{extensions_len} = 0;
[all …]

12345678910>>...124