/original-bsd/sys/deprecated/netdecnet/ |
H A D | nsp_input.c | 32 struct nspcb *np; local 81 if (np == 0) { 111 if (np == 0) { 123 np->n_state = NS_RUN; 138 if (np->nb_rcv) { 140 m_freem(np->nb_rcv); 147 np->nb_rcv = m; 162 if (np == 0) { 174 np->n_state = NS_RUN; 232 if (np == 0) { [all …]
|
H A D | nsp_usrreq.c | 56 if (np) { 68 if (np) { 86 if (np->n_state != NS_O && np->n_state != NS_CL 90 nsp_close(np); 91 np = 0; 106 nsp_connect(np); 257 insque(np, &ncb); 278 nsp_disconnect(np) 284 nsp_close(np); 304 nsp_usrclosed(np) [all …]
|
H A D | nsp_output.c | 17 nsp_output(np) in nsp_output() argument 18 register struct nspcb *np; in nsp_output() 31 if (np->n_flags & NF_INTAVAIL) && np->nf_remint > 0 && 38 if (np->nb_xmt) 39 len = np->nb_xmt->m_len; 46 n->nsp_dstaddr = np->n_rem; 47 n->nsp_srcaddr = np->n_loc; 57 np->n_flags |= NF_OTHSENT; 60 nsp_insrtq(m, np->nt_oth); 65 if (np->nf_locint == NFL_SEND && (np->n_flags & NF_OTHSENT) == 0) { [all …]
|
H A D | nsp_subr.c | 50 register struct nspcb *np; local 63 if (np == 0) { 92 np->n_retrans = 0; 93 np->nf_remdat -= SEQ_SUB(num, np->na_rcvdat); 97 np->na_rcvdat = num; 99 } else if (n == np->nn_oth && (np->n_flags&NF_OTHSENT)) { 105 np->nn_oth = SEQ_ADD(np->nn_oth, 1); 107 np->n_flags &= 109 if (np->nb_xmt) 112 np->nf_locdat = 0; [all …]
|
/original-bsd/usr.bin/mail/ |
H A D | names.c | 34 np = (struct name *) salloc(sizeof *np); 55 np = np->n_flink; 208 np = np->n_flink; 309 np = np->n_flink; 505 np = np->n_flink; 526 np = np->n_flink; 539 np = np->n_flink; 553 np = np->n_flink; 572 np = np->n_flink; 584 np = np->n_flink; [all …]
|
H A D | optim.c | 87 for (np = netmach; np->nt_mid != 0; np++) 95 for (np = netmach; np->nt_mid != 0; np++) 97 return(np->nt_mid); 131 for (np = netmach; np->nt_mid != 0; np++) in netname() 209 for (np = netmach; np->nt_mid != 0; np++) in nettype() 515 for (np = ntypetab; np->nt_char != 0; np++) 533 for (np = nkindtab; np->nk_type != 0; np++) 677 np = &netorder[0]; in best() 679 np++; in best() 680 return(np->no_char); in best() [all …]
|
/original-bsd/local/toolchest/ksh/shlib/ |
H A D | findnod.c | 130 if(np == NULL) 131 return(np); 133 return(np); 137 return(np); 152 np = copy_nod(np,2); 170 return(np); 184 return(np); 235 for(np=rp;np;nq=np,np=np->namnxt) 283 return(np); 284 np->namid = (char *)(np+1); [all …]
|
H A D | adjust.c | 83 if(np->value.namflg&C_WRITE) 84 np = copy_nod(np,1); 87 n = np->value.namflg; 95 namlen = cp - np->namid; 102 char *vp = valup(np); 119 if (sp = valup (np)) 123 unassign(np); 125 np->namsz = n; 127 np->namsz = size; 130 np->namsz = size; [all …]
|
H A D | assign.c | 69 #define size np->namsz 135 np = copy_nod(np,1); 137 up= &np->value.namval; 140 if (attest (np, ARRAY)) 141 up = aget_up(np,up); 153 if(np->namsz == 0) 154 np->namsz = lastbase; 188 if ((attest (np, Z_FILL)) && (attest (np, L_JUST))) 191 if(size = np->namsz) 216 if (attest (np, R_JUST) && attest (np, Z_FILL)) [all …]
|
H A D | assnum.c | 89 register struct Namnod *np=node; variable 91 if (attest (np, INT_GER)) 93 if (attest (np, ARRAY)) 94 up = aget_up(np,up); 96 if (attest (np, C_WRITE)) 97 np = copy_nod(np,1); 99 if (attest (np, IN_DIR)) 101 if (attest (np, BLT_NOD)) 108 if(np->namsz == 0) 109 np->namsz = lastbase; [all …]
|
H A D | unassign.c | 61 if (attest (np, C_WRITE)) 63 np->value.namflg |= N_AVAIL; 67 if (attest (np, ARRAY)) 81 unassign(np); 84 np->value.namflg = 0; 88 if (attest (np, IN_DIR)) 90 if (attest (np, INT_GER)) 95 else if ((!attest (np, N_FREE)) && (!isnull (np))) 98 if (!attest (np, ARRAY)) 100 np->value.namflg &= IN_DIR; [all …]
|
H A D | valup.c | 72 register struct Namnod *np=nodp; local 78 np = copy_nod(np,0); 80 if (attest (np, ARRAY)) 83 if (dot > abound (np)) 90 if ((attest (np, IN_DIR)) && up->cp) 92 if (attest (np, INT_GER)) 95 if (attest (np, CPOIN_TER)) 97 else if(attest (np, (BLT_NOD))) 105 if (attest (np, (BLT_NOD|UN_SIGN))) 107 return(utos(l,np->namsz)); [all …]
|
H A D | namscan.c | 108 register struct Namnod *np; variable 113 for(np=root->memhead[i];np;np= np->namnxt) 115 k = np->value.namflg&smask; 118 if (attest (np, ARRAY)) 120 register struct Namaray *ap=arayp(np); 122 (*fn)(np); 130 (*fn)(np); 135 else if (attest(np,~N_DEFAULT) || np->value.namval.cp) 136 (*fn)(np);
|
H A D | linknod.c | 84 register struct Namnod *np,*nq,**npp; local 93 for(npp= &root->memhead[i],np= *npp;np;npp= &np->namnxt,np= *npp) 94 if(strcmp(cp,np->namid)==0) 96 if (!(attest (np, ARRAY))) 99 nq->namnxt = np->namnxt; 101 nq->value.namflg = np->value.namflg|ARRAY; 103 ap->val[0] = &np->value; 104 nq->namsz = np->namsz; 105 np = nq; 107 ap = arayp (np); [all …]
|
/original-bsd/usr.bin/f77/pass1.vax/ |
H A D | equiv.c | 50 register Namep np; in doequiv() local 73 if(np->vdim!=NULL && np->vdim->ndim>1 && in doequiv() 90 np); in doequiv() 91 np = NULL; in doequiv() 98 if(np && (leng = iarrlen(np))<0) in doequiv() 101 np = NULL; in doequiv() 105 if(np) switch(np->vstg) in doequiv() 119 np = NULL; in doequiv() 124 if(np) in doequiv() 172 if(np->voffset % typealign[np->vtype] != 0) in doequiv() [all …]
|
/original-bsd/usr.bin/f77/pass1.tahoe/ |
H A D | equiv.c | 50 register Namep np; in doequiv() local 73 if(np->vdim!=NULL && np->vdim->ndim>1 && in doequiv() 90 np); in doequiv() 91 np = NULL; in doequiv() 98 if(np && (leng = iarrlen(np))<0) in doequiv() 101 np = NULL; in doequiv() 105 if(np) switch(np->vstg) in doequiv() 119 np = NULL; in doequiv() 124 if(np) in doequiv() 172 if(np->voffset % typealign[np->vtype] != 0) in doequiv() [all …]
|
/original-bsd/usr.bin/pascal/src/ |
H A D | type.c | 162 np = np->type; 204 np = defnl((char *) 0, FILET, np, 0); 218 if (np->class != RANGE && np->class != SCAL) { 229 np = defnl((char *) 0, SET, np, 0); 238 np = NLNIL; 241 return (np); 256 np->type = np; 261 zp = np; 272 return (np); 381 ltp = np; [all …]
|
/original-bsd/old/ratfor/ |
H A D | rlook.c | 37 for (np = hshtab[hshval]; np!=NULL; np = np->next) { 39 s2 = np->name; 42 return(np); 54 np = (struct nlist *)malloc(sizeof(*np)); 56 np->def = copy(val); 57 np->ydef = tran; 59 hshtab[hshval] = np; 60 return(np->def); 62 free(np->def); 63 np->def = copy(val); [all …]
|
/original-bsd/sys/nfs/ |
H A D | nfs_node.c | 84 struct nfsnode *np; local 93 for (np = nhpp->lh_first; np != 0; np = np->n_hash.le_next) { 94 if (mntp != NFSTOV(np)->v_mount || np->n_fhsize != fhsize || 97 vp = NFSTOV(np); 100 *npp = np; 109 MALLOC(np, struct nfsnode *, sizeof *np, M_NFSNODE, M_WAITOK); 110 bzero((caddr_t)np, sizeof *np); 111 vp->v_data = np; 112 np->n_vnode = vp; 120 np->n_fhp = &np->n_fh; [all …]
|
/original-bsd/sbin/restore/ |
H A D | symtab.c | 72 addino(inum, np) in addino() argument 83 *epp = np; 85 for (np = np->e_next; np != NULL; np = np->e_next) 129 *np = '\0'; 204 np = freelist; 219 np->e_parent = np; 221 return (np); 224 np->e_namlen = strlen(np->e_name); 240 return (np); 271 for (; np != NULL; np = np->e_links) { [all …]
|
H A D | restore.c | 221 if (ip != np) 254 freeentry(np); 257 myname(np)); 260 np = NULL; 303 freeentry(np); 504 for (np = ep->e_entries; np != NULL; np = np->e_sibling) { in findunreflinks() 518 for (np = ep->e_entries; np != NULL; np = np->e_sibling) { in findunreflinks() 759 for (np = ep->e_links; np != NULL; np = np->e_links) { in createlinks() 815 if (np != ep) 817 for ( ; np != NULL; np = np->e_links) [all …]
|
/original-bsd/bin/csh/ |
H A D | hist.c | 52 hp->Hnext = np->Hnext, hfree(np); 54 hp = np; 66 np = (struct Hist *) xmalloc((size_t) sizeof(*np)); 67 np->Hnum = np->Href = event; 69 copylex(&np->Hlex, lp); 72 np->Hlex.next = lp->next; 74 np->Hlex.prev = lp->prev; 78 Histlist.Hnext = np; 79 return (np); 141 (*np)--; [all …]
|
/original-bsd/local/ukc/restore/ |
H A D | restore.c | 183 if (np != NIL) { 188 if (ip != np) 224 myname(np)); 227 np = NIL; 456 for (np = ep->e_entries; np != NIL; np = np->e_sibling) { in findunreflinks() 470 for (np = ep->e_entries; np != NIL; np = np->e_sibling) { in findunreflinks() 698 for (np = ep->e_links; np != NIL; np = np->e_links) { in createlinks() 753 if (np != ep) 755 for ( ; np != NIL; np = np->e_links) 756 if (np == ep) [all …]
|
/original-bsd/usr.sbin/amd/amd/ |
H A D | srvr_nfs.c | 77 if (np) { in flush_srvr_nfs_cache() 79 np->np_error = -1; in flush_srvr_nfs_cache() 159 np->np_error = 0; 326 np->np_ping = 0; 359 np->np_ping++; 366 if (np->np_ping > 1) 387 np->np_error = -1; 392 np->np_ping = 1; 579 nfs_private *np; local 668 bzero((voidp) np, sizeof(*np)); [all …]
|
/original-bsd/local/toolchest/ksh/sh/ |
H A D | name.c | 504 NAMPTR np; in pushnid() 509 arayp(np)->adot = arayp(np)->maxi; 540 if(np) 705 for(np=nodes,nv=name_vals;*nv->nv_name;nv++,np++) 757 if(np && attest(np,N_EXPORT)) 795 if(np && attest(np,E_FLAG)) 891 return((np==NULL||isnull(np))?NULL:np); 910 np = NULL; 919 && attest(np,T_FLAG)==0 && (a1=valup(np))) 951 if(np && attest(np,T_FLAG) && *a1 == '/') [all …]
|