Searched refs:pipes (Results 1 - 25 of 34) sorted by relevance

12

/external/compiler-rt/test/tsan/
H A Dfd_close_norace2.cc6 int pipes[2]; variable
10 while (read(pipes[0], &x, 1) != 1) {
12 close(pipes[0]);
13 close(pipes[1]);
18 if (pipe(pipes))
23 while (write(pipes[1], &t, 1) != 1) {
/external/llvm/tools/lli/Unix/
H A DRPCChannel.inc39 // Create two pipes.
48 // Close the parent ends of the pipes
52 // Use our pipes as stdin and stdout
70 // Close the child ends of the pipes
74 // Store the parent ends of the pipes
82 // Store the parent ends of the pipes
/external/chromium_org/third_party/android_crazy_linker/src/tests/
H A Dtest_two_shared_relros.cpp48 int pipes[2]; local
49 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pipes) < 0)
60 foo.ReceiveRelroInfo(pipes[0]);
64 bar.ReceiveRelroInfo(pipes[0]);
89 foo.SendRelroInfo(pipes[1]);
94 bar.SendRelroInfo(pipes[1]);
H A Dtest_relocated_shared_relro.cpp34 int pipes[2]; local
35 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pipes) < 0)
49 foo.ReceiveRelroInfo(pipes[0]);
80 foo.SendRelroInfo(pipes[1]);
H A Dtest_shared_relro.cpp43 int pipes[2]; local
44 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pipes) < 0)
55 foo.ReceiveRelroInfo(pipes[0]);
80 foo.SendRelroInfo(pipes[1]);
/external/chromium_org/third_party/libevent/test/
H A Dbench.c62 static int *pipes; variable
76 write(pipes[2 * widx + 1], "e", 1);
89 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
101 write(pipes[i * space + 1], "e", 1);
160 pipes = calloc(num_pipes * 2, sizeof(int));
161 if (events == NULL || pipes == NULL) {
168 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
/external/chromium_org/build/
H A Denv_dump.py12 import pipes namespace
35 envsetup_cmd = ' '.join(map(pipes.quote, args))
H A Dvs_toolchain.py7 import pipes namespace
56 os.environ['GYP_DEFINES'] = ' '.join('%s=%s' % (k, pipes.quote(str(v)))
/external/chromium_org/mojo/python/tests/
H A Dsystem_unittest.py227 pipes = system.DataPipe()
228 self.assertEquals((system.RESULT_OK, 0), pipes.producer_handle.WriteData())
230 (system.RESULT_OK, None), pipes.consumer_handle.ReadData())
233 pipes = system.DataPipe()
236 pipes.producer_handle.WriteData(data))
238 pipes.consumer_handle.ReadData(bytearray(DATA_SIZE)))
241 pipes = system.DataPipe()
242 (res, buf) = pipes.producer_handle.BeginWriteData(DATA_SIZE)
249 pipes.consumer_handle.ReadData(bytearray(DATA_SIZE)))
252 pipes
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dtemplite.py146 `expr` can have pipes and dots to indicate data access and filtering.
150 pipes = expr.split("|")
151 value = self.evaluate(pipes[0])
152 for func in pipes[1:]:
/external/compiler-rt/lib/asan/scripts/
H A Dsymbolize.py16 pipes = {} variable
78 if not pipes.has_key(binary):
79 pipes[binary] = subprocess.Popen(["addr2line", "-i", "-f", "-e", binary],
81 p = pipes[binary]
/external/compiler-rt/make/
H A Doptions.mk35 # FIXME: Remove these pipes once ranlib errors are fixed.
41 # FIXME: Remove these pipes once ranlib errors are fixed.
/external/chromium_org/tools/android/file_poller/
H A Dfile_poller.cc111 int pipes[2]; local
112 pipe(pipes);
117 close(pipes[1]);
119 read(pipes[0], NULL, 1);
129 close(pipes[0]);
136 close(pipes[1]);
/external/chromium_org/mojo/spy/
H A Dspy.cc59 std::vector<mojo::MessagePipeHandle> pipes; local
60 pipes.push_back(client.get());
61 pipes.push_back(interceptor.get());
77 int r = WaitMany(pipes, handle_signals, MOJO_DEADLINE_INDEFINITE);
86 if (!CheckResult(ReadMessageRaw(pipes[r],
98 // Intercept message pipes which are returned via the ReadMessageRaw
132 mojo::MessagePipeHandle write_handle = (r == 0) ? pipes[1] : pipes[0];
/external/chromium_org/build/android/buildbot/
H A Dbb_utils.py8 import pipes namespace
36 return ' '.join(map(pipes.quote, command))
H A Dbb_run_bot.py11 import pipes namespace
42 diff.append('- %s=%s' % (key, pipes.quote(d1[key])))
44 diff.append('+ %s=%s' % (key, pipes.quote(d2[key])))
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_texture_desc.c336 * With 2 pipes and an image of size 8xY, where Y >= 1,
344 * With 4 pipes and an image of size 8xY, where Y >= 4,
359 unsigned i, pipes; local
362 pipes = screen->info.r300_num_z_pipes;
364 pipes = screen->info.r300_num_gb_pipes;
382 zmask_blocks_x_per_dw[pipes-1] * zcompsize,
383 zmask_blocks_y_per_dw[pipes-1] * zcompsize);
387 zcomp_numdw <= screen->caps.zmask_ram * pipes) {
392 util_align_npot(stride, zmask_blocks_x_per_dw[pipes-1] * zcompsize);
400 stride = util_align_npot(stride, hiz_align_x[pipes
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_texture_desc.c336 * With 2 pipes and an image of size 8xY, where Y >= 1,
344 * With 4 pipes and an image of size 8xY, where Y >= 4,
359 unsigned i, pipes; local
362 pipes = screen->info.r300_num_z_pipes;
364 pipes = screen->info.r300_num_gb_pipes;
382 zmask_blocks_x_per_dw[pipes-1] * zcompsize,
383 zmask_blocks_y_per_dw[pipes-1] * zcompsize);
387 zcomp_numdw <= screen->caps.zmask_ram * pipes) {
392 util_align_npot(stride, zmask_blocks_x_per_dw[pipes-1] * zcompsize);
400 stride = util_align_npot(stride, hiz_align_x[pipes
[all...]
/external/chromium_org/build/android/pylib/
H A Dcmd_helper.py9 import pipes namespace
91 args_repr = ' '.join(map(pipes.quote, args))
/external/chromium_org/tools/cr/cr/base/
H A Dhost.py8 import pipes namespace
122 command = ' '.join([pipes.quote(arg) for arg in command])
/external/owasp/sanitizer/tools/
H A Dupdate_tree_in_svn.py10 import pipes namespace
53 print ' '.join([pipes.quote(arg) for arg in argv])
/external/chromium_org/mojo/public/cpp/bindings/tests/
H A Dhandle_passing_unittest.cc291 Array<ScopedMessagePipeHandle> pipes(2);
292 pipes[0] = extra_pipe.handle0.Pass();
293 pipes[1] = extra_pipe.handle1.Pass();
296 request->more_pipes = pipes.Pass();
301 // We expect the pipes to have been closed.
/external/fio/engines/
H A Dnet.c28 int pipes[2]; member in struct:netio_data
282 return splice_io_u(io_u->file->fd, nd->pipes[1], io_u->xfer_buflen);
293 return splice_io_u(nd->pipes[0], io_u->file->fd, len);
331 return vmsplice_io_u(io_u, nd->pipes[0], len);
341 return vmsplice_io_u(io_u, nd->pipes[1], io_u->xfer_buflen);
1183 if (nd->pipes[0] != -1)
1184 close(nd->pipes[0]);
1185 if (nd->pipes[1] != -1)
1186 close(nd->pipes[1]);
1207 nd->pipes[
[all...]
/external/chromium_org/tools/clang/scripts/
H A Drun_tool.py42 import pipes namespace
223 pipes.quote(k), clang_format_diff_path), shell=True) != 0:
/external/oprofile/events/mips/20K/
H A Devents8 event:0x2 counters:0 um:zero minimum:500 name:FETCH_GROUPS : Fetch groups entering CPU execution pipes

Completed in 4773 milliseconds

12