/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/ |
H A D | 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)
|
H A D | 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
|
H A D | pipe1.c | 32 int pip[2]; local 33 if (pipe (pip) != 0) 39 if (close (pip[0]) != 0 || close (pip[1]) != 0)
|
H A D | 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
|
H A D | 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);
|
H A D | 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");
|
H A D | 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");
|
H A D | pipe3.c | 26 int pip[2]; local 27 if (pipe (pip) != 0)
|
H A D | clone5.c | 16 int pip[2]; variable
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libdtrace/common/ |
H A D | dt_provider.c | 488 dt_probe_instance_t *pip, *pip_next; local 502 for (pip = prp->pr_inst; pip != NULL; pip = pip_next) { 503 pip_next = pip->pi_next; 504 dt_free(dtp, pip->pi_offs); 505 dt_free(dtp, pip->pi_enoffs); 506 dt_free(dtp, pip); 519 dt_probe_instance_t *pip; local 525 for (pip 660 dt_probe_info(dtrace_hdl_t *dtp, const dtrace_probedesc_t *pdp, dtrace_probeinfo_t *pip) argument 798 dtrace_probe_info(dtrace_hdl_t *dtp, const dtrace_probedesc_t *pdp, dtrace_probeinfo_t *pip) argument [all...] |
H A D | dt_program.c | 85 dtrace_proginfo_t *pip) 91 if (pip == NULL) 94 bzero(pip, sizeof (dtrace_proginfo_t)); 97 pip->dpi_descattr = _dtrace_maxattr; 98 pip->dpi_stmtattr = _dtrace_maxattr; 100 pip->dpi_descattr = _dtrace_defattr; 101 pip->dpi_stmtattr = _dtrace_defattr; 111 pip->dpi_descattr = 112 dt_attr_min(stp->ds_desc->dtsd_descattr, pip->dpi_descattr); 114 pip 84 dtrace_program_info(dtrace_hdl_t *dtp, dtrace_prog_t *pgp, dtrace_proginfo_t *pip) argument 151 dtrace_program_exec(dtrace_hdl_t *dtp, dtrace_prog_t *pgp, dtrace_proginfo_t *pip) argument [all...] |
H A D | dt_dof.c | 407 dt_probe_instance_t *pip; local 441 for (pip = prp->pr_inst; pip != NULL; pip = pip->pi_next) { 442 dt_dprintf("adding probe for %s:%s\n", pip->pi_fname, 445 dofpr.dofpr_func = dof_add_string(ddo, pip->pi_fname); 452 assert(pip->pi_noffs + pip->pi_nenoffs > 0); 456 dofpr.dofpr_noffs = pip [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/stand/zboot/ |
H A D | 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...] |
/netbsd-6-1-5-RELEASE/bin/sh/ |
H A D | cd.c | 421 int pip[2]; local 425 if (pipe(pip) < 0) 429 (void) close(pip[0]); 430 if (pip[1] != 1) { 432 copyfd(pip[1], 1, 1); 433 close(pip[1]); 438 (void) close(pip[1]); 439 pip[1] = -1; 441 while ((i = read(pip[0], p, pwd + MAXPWD - p)) > 0 446 (void) close(pip[ [all...] |
H A D | redir.c | 261 int pip[2]; local 264 if (pipe(pip) < 0) 269 xwrite(pip[1], redir->nhere.doc->narg.text, len); 274 close(pip[0]); 283 xwrite(pip[1], redir->nhere.doc->narg.text, len); 285 expandhere(redir->nhere.doc, pip[1]); 289 close(pip[1]); 290 return pip[0];
|
H A D | eval.c | 501 int pip[2]; local 512 pip[1] = -1; 514 if (sh_pipe(pip) < 0) { 527 if (pip[1] >= 0) { 528 close(pip[0]); 529 if (pip[1] != 1) { 531 copyfd(pip[1], 1, 1); 532 close(pip[1]); 539 prevfd = pip[0]; 540 close(pip[ 561 int pip[2]; local 690 int pip[2]; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/rmi/ |
H A D | rmixl_pcix.c | 835 rmixl_pcix_intr_t *pip = sc->sc_intr; local 851 for (int i=0; i < pip->dispatch_count; i++) { 852 rmixl_pcix_dispatch_t *d = &pip->dispatch_data[i]; 869 pip->intenb &= ~(1 << dip->bitno); 873 rmixl_intr_disestablish(pip->ih); 879 rmixl_pcix_pip_free_callout(pip); 892 rmixl_pcix_intr_t *pip; local 913 pip = rmixl_pcix_pip_add_1(sc, irq, ipl); 914 if (pip == NULL) 920 dip = &pip 1046 rmixl_pcix_pip_free_callout(rmixl_pcix_intr_t *pip) argument 1055 rmixl_pcix_intr_t *pip = arg; local 1064 rmixl_pcix_intr_t *pip = arg; local [all...] |
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/ |
H A D | ext2fs_alloc.c | 168 struct inode *pip; local 175 pip = VTOI(pvp); 176 fs = pip->i_e2fs; 183 cg = ino_to_cg(fs, pip->i_number); 185 ino = (ino_t)ext2fs_hashalloc(pip, cg, (long)ipref, mode, ext2fs_nodealloccg); 546 struct inode *pip; local 550 pip = VTOI(pvp); 551 fs = pip->i_e2fs; 554 (unsigned long long)pip->i_dev, (unsigned long long)ino, 557 error = bread(pip [all...] |
/netbsd-6-1-5-RELEASE/dist/ipf/ipsend/ |
H A D | iptests.c | 1381 ip_t *pip; local 1394 pip = (ip_t *)tbuf; 1401 for (s = (u_char *)pip, j = 0; j < sizeof(tbuf); j++, s++) 1403 IP_V_A(pip, IPVERSION); 1404 bcopy((char *)&ip->ip_dst, (char *)&pip->ip_dst, 1406 pip->ip_sum = 0; 1407 pip->ip_len &= 0xff; 1408 (void) send_ip(nfd, mtu, pip, gwip, 0); 1416 for (s = (u_char *)pip, j = 0; j < sizeof(tbuf); j++, s++) 1418 IP_V_A(pip, IPVERSIO [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/mip/ |
H A D | optim2.c | 1323 struct interpass *pip; local 1339 pip=bbparent->last; 1343 BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); 1345 if (pip->type == IP_NODE && pip->ip_node->n_op == GOTO) { 1347 label = (int)pip->ip_node->n_left->n_lval; 1349 } else if (pip->type == IP_NODE && pip->ip_node->n_op == CBRANCH) { 1351 label = (int)pip->ip_node->n_right->n_lval; 1408 pip 1701 struct interpass *pip=bbb->last; local [all...] |
/netbsd-6-1-5-RELEASE/sys/compat/linux/common/ |
H A D | linux_futex.c | 745 unsigned int limit = 2048, pi, next_pi, pip; local 785 if (fetch_robust_entry(l, &pending, &head.pending_list, &pip)) 810 l->l_lid, pip);
|
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 562 struct inode *pip; local 572 pip = VTOI(pvp); 573 fs = pip->i_fs; 574 ump = pip->i_ump; 585 ipref = ffs_dirpref(pip); 587 ipref = pip->i_number; 602 ino = (ino_t)ffs_hashalloc(pip, cg, ipref, mode, 0, ffs_nodealloccg); 679 ffs_dirpref(struct inode *pip) argument 689 KASSERT(mutex_owned(&pip->i_ump->um_lock)); 691 fs = pip [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/overlays/ |
H A D | refint.c | 143 refint_attrs *ip, *pip, **pipp = NULL; local 195 pip = ip; 197 ch_free ( pip );
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | ia64-tdep.c | 2882 unw_proc_info_t *pip, void *arg) 2880 ia64_put_unwind_info(unw_addr_space_t as, unw_proc_info_t *pip, void *arg) argument
|