Home
last modified time | relevance | path

Searched refs:pipes (Results 1 – 25 of 90) sorted by relevance

1234

/external/compiler-rt/test/tsan/
Dfd_close_norace2.cc6 int pipes[2]; variable
10 while (read(pipes[0], &x, 1) != 1) { in Thread()
12 close(pipes[0]); in Thread()
13 close(pipes[1]); in Thread()
18 if (pipe(pipes)) in main()
23 while (write(pipes[1], &t, 1) != 1) { in main()
/external/toybox/lib/
Dxwrap.c175 pid_t xpopen_both(char **argv, int *pipes) in xpopen_both() argument
181 if (pipes) { in xpopen_both()
183 if (pipes[pid] != 0) continue; in xpopen_both()
185 pipes[pid] = cestnepasun[pid+1]; in xpopen_both()
192 if (pipes) { in xpopen_both()
195 if (pipes[1] != -1) close(cestnepasun[2]); in xpopen_both()
196 if (pipes[0] != -1) { in xpopen_both()
203 if (pipes[1] != -1) { in xpopen_both()
234 if (pipes) { in xpopen_both()
235 if (pipes[0] != -1) close(cestnepasun[0]); in xpopen_both()
[all …]
Dlib.h111 pid_t xpopen_both(char **argv, int *pipes);
113 int xpclose_both(pid_t pid, int *pipes);
117 int xpspawn(char **argv, int*pipes);
/external/autotest/client/site_tests/security_ptraceRestrictions/src/
Dthread-prctl.c47 int pipes[2]; variable
78 close(pipes[1]); in tracer_main()
82 saw = read(pipes[0], buf, 3); in tracer_main()
124 close(pipes[0]); in tracee_main()
157 write(pipes[1], "ok\n", 3); in tracee_main()
220 if (pipe(pipes)<0) { in main()
250 close(pipes[0]); in main()
251 close(pipes[1]); in main()
/external/toybox/toys/other/
Doneit.c65 int i, pid, pipes[] = {SIGUSR1, SIGUSR2, SIGTERM, SIGINT}; in oneit_main() local
68 for (i = 0; i<ARRAY_LEN(pipes); i++) xsignal(pipes[i], oneit_signaled); in oneit_main()
75 if (pipe(pipes)) perror_exit("pipe"); in oneit_main()
/external/llvm/tools/lli/Unix/
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/libbrillo/brillo/message_loops/
Dmessage_loop_unittest.cc278 ScopedPipe pipes[kNumTasks]; in TYPED_TEST() local
283 FROM_HERE, pipes[i].writer, MessageLoop::kWatchWrite, in TYPED_TEST()
324 ScopedPipe pipes[kNumTasks]; in TYPED_TEST() local
328 auto fd_callback = [this, &pipes, &reads, &total_calls](int i) { in TYPED_TEST()
332 EXPECT_EQ(1, HANDLE_EINTR(read(pipes[i].reader, &c, 1))); in TYPED_TEST()
339 FROM_HERE, pipes[i].reader, MessageLoop::kWatchRead, in TYPED_TEST()
347 HANDLE_EINTR(write(pipes[i].writer, blob.data(), blob.size()))); in TYPED_TEST()
357 << pipes[i].reader; in TYPED_TEST()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c359 unsigned i, pipes; in r300_setup_hyperz_properties() local
362 pipes = screen->info.r300_num_z_pipes; in r300_setup_hyperz_properties()
364 pipes = screen->info.r300_num_gb_pipes; in r300_setup_hyperz_properties()
382 zmask_blocks_x_per_dw[pipes-1] * zcompsize, in r300_setup_hyperz_properties()
383 zmask_blocks_y_per_dw[pipes-1] * zcompsize); in r300_setup_hyperz_properties()
387 zcomp_numdw <= screen->caps.zmask_ram * pipes) { in r300_setup_hyperz_properties()
392 util_align_npot(stride, zmask_blocks_x_per_dw[pipes-1] * zcompsize); in r300_setup_hyperz_properties()
400 stride = util_align_npot(stride, hiz_align_x[pipes-1]); in r300_setup_hyperz_properties()
401 height = align(height, hiz_align_y[pipes-1]); in r300_setup_hyperz_properties()
404 hiz_numdw = (stride * height) / (8*8 * pipes); in r300_setup_hyperz_properties()
[all …]
/external/compiler-rt/lib/asan/scripts/
Dsymbolize.py17 pipes = {} variable
84 if not pipes.has_key(binary):
85 pipes[binary] = subprocess.Popen(["addr2line", "-i", "-f", "-e", binary],
87 p = pipes[binary]
/external/v8/build/
Denv_dump.py12 import pipes
35 envsetup_cmd = ' '.join(map(pipes.quote, args))
Dprint_python_deps.py15 import pipes
59 return ' '.join(pipes.quote(x) for x in args)
/external/autotest/server/cros/
Dremote_command.py7 import pipes
59 self._command_name = pipes.quote(pkill_argument)
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dtemplite.py219 pipes = expr.split("|")
220 code = self._expr_code(pipes[0])
221 for func in pipes[1:]:
/external/fio/engines/
Dnet.c30 int pipes[2]; member
378 return splice_io_u(io_u->file->fd, nd->pipes[1], io_u->xfer_buflen); in splice_in()
389 return splice_io_u(nd->pipes[0], io_u->file->fd, len); in splice_out()
427 return vmsplice_io_u(io_u, nd->pipes[0], len); in vmsplice_io_u_out()
437 return vmsplice_io_u(io_u, nd->pipes[1], io_u->xfer_buflen); in vmsplice_io_u_in()
1351 if (nd->pipes[0] != -1) in fio_netio_cleanup()
1352 close(nd->pipes[0]); in fio_netio_cleanup()
1353 if (nd->pipes[1] != -1) in fio_netio_cleanup()
1354 close(nd->pipes[1]); in fio_netio_cleanup()
1375 nd->pipes[0] = nd->pipes[1] = -1; in fio_netio_setup()
[all …]
/external/boringssl/src/util/bot/
Dvs_toolchain.py7 import pipes
54 os.environ['GYP_DEFINES'] = ' '.join('%s=%s' % (k, pipes.quote(str(v)))
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dandroid_command_line_backend.py6 import pipes
25 return '%s=%s' % (key, pipes.quote(values))
/external/valgrind/none/tests/tilegx/
Dgen_insn_test.c153 if (tilegx_opcodes[i].pipes & 1 & pipe) in main()
157 if (tilegx_opcodes[i].pipes & 2 & pipe) in main()
161 if (tilegx_opcodes[i].pipes & 4 & pipe) in main()
165 if (tilegx_opcodes[i].pipes & 8 & pipe) in main()
169 if (tilegx_opcodes[i].pipes & 16 & pipe) in main()
188 if ((opc->pipes & 3) == 0) in encode_insn_tilegx_X()
/external/owasp/sanitizer/tools/
Dupdate_tree_in_svn.py10 import pipes
53 print ' '.join([pipes.quote(arg) for arg in argv])
/external/llvm/test/Bindings/Go/
Dlit.local.cfg2 import pipes
56 return ' '.join([pipes.quote(arg) for arg in args])
/external/autotest/client/common_lib/cros/
Ddbus_send.py8 import pipes
145 arg_list.append(pipes.quote('string:%s' %
/external/v8/build/android/buildbot/
Dbb_run_bot.py11 import pipes
42 diff.append('- %s=%s' % (key, pipes.quote(d1[key])))
44 diff.append('+ %s=%s' % (key, pipes.quote(d2[key])))
/external/libdrm/tests/modetest/
Dmodetest.c1050 static void set_mode(struct device *dev, struct pipe_arg *pipes, unsigned int count) in set_mode() argument
1064 struct pipe_arg *pipe = &pipes[i]; in set_mode()
1075 bo = bo_create(dev->fd, pipes[0].fourcc, dev->mode.width, in set_mode()
1084 pipes[0].fourcc, handles, pitches, offsets, &fb_id, 0); in set_mode()
1095 struct pipe_arg *pipe = &pipes[i]; in set_mode()
1140 static void set_cursors(struct device *dev, struct pipe_arg *pipes, unsigned int count) in set_cursors() argument
1162 struct pipe_arg *pipe = &pipes[i]; in set_cursors()
1185 static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned int count) in test_page_flip() argument
1194 other_bo = bo_create(dev->fd, pipes[0].fourcc, dev->mode.width, in test_page_flip()
1201 pipes[0].fourcc, handles, pitches, offsets, in test_page_flip()
[all …]
/external/autotest/client/cros/audio/
Dcmd_utils.py10 import pipes
176 command = ' '.join(pipes.quote(x) for x in args)
/external/selinux/policycoreutils/mcstrans/share/examples/pipes/
Dsetrans.conf20 Include=/etc/selinux/mls/setrans.d/pipes.conf
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py9 import pipes
41 return pipes.quote(s)

1234