/external/compiler-rt/test/tsan/ |
fd_close_norace2.cc | 6 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/toybox/toys/other/ |
oneit.c | 65 int i, pid, pipes[] = {SIGUSR1, SIGUSR2, SIGTERM, SIGINT}; local 68 for (i = 0; i<ARRAY_LEN(pipes); i++) xsignal(pipes[i], oneit_signaled); 75 if (pipe(pipes)) perror_exit("pipe");
|
/external/compiler-rt/lib/asan/scripts/ |
symbolize.py | 17 pipes = {} variable 84 if not pipes.has_key(binary): 85 pipes[binary] = subprocess.Popen(["addr2line", "-i", "-f", "-e", binary], 87 p = pipes[binary]
|
/external/libbrillo/brillo/message_loops/ |
message_loop_unittest.cc | 278 ScopedPipe pipes[kNumTasks]; local 283 FROM_HERE, pipes[i].writer, MessageLoop::kWatchWrite, 324 ScopedPipe pipes[kNumTasks]; local 328 auto fd_callback = [this, &pipes, &reads, &total_calls](int i) { 332 EXPECT_EQ(1, HANDLE_EINTR(read(pipes[i].reader, &c, 1))); 339 FROM_HERE, pipes[i].reader, MessageLoop::kWatchRead, 347 HANDLE_EINTR(write(pipes[i].writer, blob.data(), blob.size()))); 356 EXPECT_GE(reads[i], 10) << "Reading from pipes[" << i << "], fd " 357 << pipes[i].reader;
|
/external/autotest/client/site_tests/security_ptraceRestrictions/src/ |
thread-prctl.c | 47 int pipes[2]; variable 78 close(pipes[1]); 82 saw = read(pipes[0], buf, 3); 124 close(pipes[0]); 157 write(pipes[1], "ok\n", 3); 220 if (pipe(pipes)<0) { 249 /* Leave the pipes for the tracee and tracer. */ 250 close(pipes[0]); 251 close(pipes[1]);
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_texture_desc.c | 323 * GPU Pipes 4x4 mode 8x8 mode 336 * 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) [all...] |
/system/extras/alloc-stress/ |
alloc-stress.cpp | 206 auto pipes = Pipe::createPipePair(); local 209 createProcess(std::move(std::get<1>(pipes)), argv[0], arg); 210 Pipe &p = std::get<0>(pipes);
|
/frameworks/native/libs/binder/tests/ |
binderThroughputTest.cpp | 260 vector<Pipe> pipes; local 278 pipes.push_back(make_worker(i, iterations, workers)); 280 wait_all(pipes); 287 signal_all(pipes); 288 wait_all(pipes); 297 signal_all(pipes); 301 pipes[i].recv(tmp_results); 308 signal_all(pipes);
|
/external/toybox/lib/ |
xwrap.c | 172 // pipes[2]: stdin, stdout of new process, only allocated if zero on way in, 175 pid_t xpopen_both(char **argv, int *pipes) 179 // Make the pipes? Note this won't set either pipe to 0 because if fds are 181 if (pipes) { 183 if (pipes[pid] != 0) continue; 185 pipes[pid] = cestnepasun[pid+1]; 192 if (pipes) { 195 if (pipes[1] != -1) close(cestnepasun[2]); 196 if (pipes[0] != -1) { 203 if (pipes[1] != -1) 265 int pipes[2], pid; local [all...] |
/hardware/bsp/intel/peripheral/libupm/src/nrf8001/ |
aci_cmds.h | 147 * Open Advertising Pipes
374 uint8_t pipes[8];
member in struct:__anon30824
|
/external/fio/engines/ |
net.c | 30 int pipes[2]; member in struct:netio_data 378 return splice_io_u(io_u->file->fd, nd->pipes[1], io_u->xfer_buflen); 389 return splice_io_u(nd->pipes[0], io_u->file->fd, len); 427 return vmsplice_io_u(io_u, nd->pipes[0], len); 437 return vmsplice_io_u(io_u, nd->pipes[1], io_u->xfer_buflen); 1351 if (nd->pipes[0] != -1) 1352 close(nd->pipes[0]); 1353 if (nd->pipes[1] != -1) 1354 close(nd->pipes[1]); 1375 nd->pipes[0] = nd->pipes[1] = -1 [all...] |
/external/valgrind/VEX/priv/ |
tilegx_disasm.h | 1238 /* A bit mask of which of the five pipes this instruction 1245 unsigned char pipes; member in struct:tilegx_opcode
|
/toolchain/binutils/binutils-2.25/include/opcode/ |
tilegx.h | 1219 /* A bit mask of which of the five pipes this instruction 1226 unsigned char pipes; member in struct:tilegx_opcode
|
tilepro.h | 1522 unsigned char pipes; member in struct:tilepro_opcode [all...] |
/external/pcre/dist/sljit/ |
sljitNativeTILEGX-encoder.c | 628 /* A bit mask of which of the five pipes this instruction 635 unsigned char pipes; member in struct:tilegx_opcode [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/ |
BackupManagerService.java | 3491 ParcelFileDescriptor[] pipes = null; local 3736 ParcelFileDescriptor[] pipes = null; local [all...] |