HomeSort by: relevance | last modified time | path
    Searched defs:pip (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/external/gpl3/gdb/dist/sim/testsuite/cris/c/
ftruncate2.c 14 int pip[2]; local
16 if (pipe (pip) != 0)
22 if (ftruncate (pip[0], 20) == 0 || errno != EINVAL)
30 if (ftruncate (pip[1], 20) == 0 || errno != EINVAL)
pipe1.c 33 int pip[2]; local
34 if (pipe (pip) != 0)
40 if (close (pip[0]) != 0 || close (pip[1]) != 0)
pipe3.c 26 int pip[2]; local
27 if (pipe (pip) != 0)
clone5.c 16 int pip[2]; variable
pipe4.c 20 int pip[2]; local
24 if (pipe (pip) != 0)
30 pipemax = fpathconf (pip[1], _PC_PIPE_BUF);
40 if (write (pip[0], "argh", 1) != -1
47 if (read (pip[1], &c, 1) != -1
53 if (close (pip[0]) != 0)
60 if (write (pip[1], "argh", 1) != -1
pipe5.c 23 int pip[2]; local
27 if (pipe (pip) != 0)
33 pipemax = fpathconf (pip[1], _PC_PIPE_BUF);
53 if (write (pip[1], buf, 100 * pipemax) != -1
clone1.c 18 int pip[2]; variable
24 if (write (pip[1], s+2, 1) != 1) abort ();
25 if (write (pip[1], s+1, 1) != 1) abort ();
26 if (write (pip[1], s, 1) != 1) abort ();
39 retcode = pipe (pip);
56 if ((retcode = read (pip[0], buf, 1)) != 1)
62 retcode = read (pip[0], buf, 2);
65 retcode = read (pip[0], buf+1, 1);
pipe2.c 18 int pip[2]; variable
36 if (write (pip[1], buf, 1) != 1)
48 ret = write (pip[1], buf, lots);
73 retcode = pipe (pip);
84 pipemax = fpathconf (pip[1], _PC_PIPE_BUF);
102 while ((retcode = read (pip[0], buf, 1)) == 0)
115 while ((retcode = read (pip[0], buf, 1)) == 0)
126 if (close (pip[0]) != 0)
128 perror ("pip close");
pipe6.c 19 int pip[2]; variable
35 ret = write (pip[1], buf, pipemax * 100);
54 retcode = pipe (pip);
65 pipemax = fpathconf (pip[1], _PC_PIPE_BUF);
83 while ((retcode = read (pip[0], buf, 1)) == 0)
94 if (close (pip[0]) != 0)
96 perror ("pip close");
  /src/external/gpl3/gdb.old/dist/sim/testsuite/cris/c/
ftruncate2.c 14 int pip[2]; local
16 if (pipe (pip) != 0)
22 if (ftruncate (pip[0], 20) == 0 || errno != EINVAL)
30 if (ftruncate (pip[1], 20) == 0 || errno != EINVAL)
pipe1.c 33 int pip[2]; local
34 if (pipe (pip) != 0)
40 if (close (pip[0]) != 0 || close (pip[1]) != 0)
pipe3.c 26 int pip[2]; local
27 if (pipe (pip) != 0)
clone5.c 16 int pip[2]; variable
pipe4.c 20 int pip[2]; local
24 if (pipe (pip) != 0)
30 pipemax = fpathconf (pip[1], _PC_PIPE_BUF);
40 if (write (pip[0], "argh", 1) != -1
47 if (read (pip[1], &c, 1) != -1
53 if (close (pip[0]) != 0)
60 if (write (pip[1], "argh", 1) != -1
pipe5.c 23 int pip[2]; local
27 if (pipe (pip) != 0)
33 pipemax = fpathconf (pip[1], _PC_PIPE_BUF);
53 if (write (pip[1], buf, 100 * pipemax) != -1
clone1.c 18 int pip[2]; variable
24 if (write (pip[1], s+2, 1) != 1) abort ();
25 if (write (pip[1], s+1, 1) != 1) abort ();
26 if (write (pip[1], s, 1) != 1) abort ();
39 retcode = pipe (pip);
56 if ((retcode = read (pip[0], buf, 1)) != 1)
62 retcode = read (pip[0], buf, 2);
65 retcode = read (pip[0], buf+1, 1);
pipe2.c 18 int pip[2]; variable
36 if (write (pip[1], buf, 1) != 1)
48 ret = write (pip[1], buf, lots);
73 retcode = pipe (pip);
84 pipemax = fpathconf (pip[1], _PC_PIPE_BUF);
102 while ((retcode = read (pip[0], buf, 1)) == 0)
115 while ((retcode = read (pip[0], buf, 1)) == 0)
126 if (close (pip[0]) != 0)
128 perror ("pip close");
pipe6.c 19 int pip[2]; variable
35 ret = write (pip[1], buf, pipemax * 100);
54 retcode = pipe (pip);
65 pipemax = fpathconf (pip[1], _PC_PIPE_BUF);
83 while ((retcode = read (pip[0], buf, 1)) == 0)
94 if (close (pip[0]) != 0)
96 perror ("pip close");
  /src/bin/sh/
cd.c 513 int pip[2]; local
517 if (pipe(pip) < 0)
521 (void) close(pip[0]);
522 movefd(pip[1], 1);
526 (void) close(pip[1]);
527 pip[1] = -1;
529 while ((i = read(pip[0], p, pwd + MAXPWD - p)) > 0
534 (void) close(pip[0]);
535 pip[0] = -1;
  /src/sys/arch/zaurus/stand/zboot/
diskprobe.c 148 struct partinfo *pip; local
246 pip = alloc(sizeof(*pip));
247 if (pip == NULL) {
251 memset(pip, 0, sizeof(*pip));
252 snprintf(pip->devname, sizeof(pip->devname), "/dev/%s", q);
253 TAILQ_INSERT_TAIL(&partlist, pip, list);
341 struct partinfo *pip; local
    [all...]
  /src/external/bsd/ipf/dist/ipsend/
iptests.c 1380 ip_t *pip; local
1393 pip = (ip_t *)tbuf;
1400 for (s = (u_char *)pip, j = 0; j < sizeof(tbuf); j++, s++)
1402 IP_V_A(pip, IPVERSION);
1403 bcopy((char *)&ip->ip_dst, (char *)&pip->ip_dst,
1405 pip->ip_sum = 0;
1406 pip->ip_len &= 0xff;
1407 (void) send_ip(nfd, mtu, pip, gwip, 0);
1415 for (s = (u_char *)pip, j = 0; j < sizeof(tbuf); j++, s++)
1417 IP_V_A(pip, IPVERSION)
    [all...]
  /src/sys/ufs/ext2fs/
ext2fs_alloc.c 174 struct inode *pip; local
179 pip = VTOI(pvp);
180 fs = pip->i_e2fs;
187 cg = ino_to_cg(fs, pip->i_number);
189 ino = (ino_t)ext2fs_hashalloc(pip, cg, (long)ipref, mode, ext2fs_nodealloccg);
567 struct inode *pip; local
571 pip = VTOI(pvp);
572 fs = pip->i_e2fs;
576 __func__, (uintmax_t)pip->i_dev, (uintmax_t)ino,
584 error = bread(pip->i_devvp, EXT2_FSBTODB64(fs
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
IntervalMap.h 501 PointerIntPair<void*, Log2CacheLine, unsigned, CacheAlignedPointerTraits> pip; member in class:llvm::IntervalMapImpl::NodeRef
508 explicit operator bool() const { return pip.getOpaqueValue(); }
512 NodeRef(NodeT *p, unsigned n) : pip(p, n - 1) {
517 unsigned size() const { return pip.getInt() + 1; }
520 void setSize(unsigned n) { pip.setInt(n - 1); }
526 return reinterpret_cast<NodeRef*>(pip.getPointer())[i];
532 return *reinterpret_cast<NodeT*>(pip.getPointer());
536 if (pip == RHS.pip)
538 assert(pip.getPointer() != RHS.pip.getPointer() && "Inconsistent NodeRefs")
    [all...]
  /src/external/cddl/osnet/dist/lib/libdtrace/common/
dt_dof.c 406 dt_probe_instance_t *pip; local
440 for (pip = prp->pr_inst; pip != NULL; pip = pip->pi_next) {
441 dt_dprintf("adding probe for %s:%s\n", pip->pi_fname,
444 dofpr.dofpr_func = dof_add_string(ddo, pip->pi_fname);
451 assert(pip->pi_noffs + pip->pi_nenoffs > 0);
455 dofpr.dofpr_noffs = pip->pi_noffs
    [all...]
dt_provider.c 507 dt_probe_instance_t *pip, *pip_next; local
521 for (pip = prp->pr_inst; pip != NULL; pip = pip_next) {
522 pip_next = pip->pi_next;
523 dt_free(dtp, pip->pi_rname);
524 dt_free(dtp, pip->pi_fname);
525 dt_free(dtp, pip->pi_offs);
526 dt_free(dtp, pip->pi_enoffs);
527 dt_free(dtp, pip);
540 dt_probe_instance_t *pip; local
    [all...]

Completed in 22 milliseconds

1 2