Searched refs:np (Results 76 - 100 of 263) sorted by relevance

1234567891011

/freebsd-9.3-release/sys/boot/powerpc/ps3/
H A Ddevicename.c92 const char *np; local
111 np = (devspec + strlen(dv->dv_name));
121 if (*np && (*np != ':')) {
123 unit = strtol(np, &cp, 10);
124 if (cp == np) {
/freebsd-9.3-release/usr.bin/chpass/
H A Dfield.c107 char *np; local
118 id = strtoul(p, &np, 10);
119 if (*np || (id == (uid_t)ULONG_MAX && errno == ERANGE)) {
133 char *np; local
148 id = strtoul(p, &np, 10);
149 if (*np || (id == (uid_t)ULONG_MAX && errno == ERANGE)) {
/freebsd-9.3-release/sbin/restore/
H A Dutilities.c107 struct entry *np; local
110 for (np = lookupino(ep->e_ino);
111 np != NULL && np != ep; np = np->e_links)
113 if (np == NULL)
137 newnode(struct entry *np) argument
141 if (np->e_type != NODE)
142 badentry(np, "newnod
[all...]
/freebsd-9.3-release/usr.bin/tsort/
H A Dtsort.c363 NODE **np; local
367 for (np = n->n_arcs, i = n->n_narcs; --i >= 0; np++)
368 --(*np)->n_refcnt;
380 NODE **np; local
391 for (np = from->n_arcs, i = from->n_narcs; --i >= 0; np++) {
392 cycle_buf[depth] = *np;
393 if (*np == to) {
401 if ((*np)
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/lhash/
H A Dlhash.c300 LHASH_NODE **n, **n1, **n2, *np; local
334 for (np = *n1; np != NULL;) {
336 hash = np->hash;
338 hash = lh->hash(np->data);
343 np->next = *n2;
344 *n2 = np;
347 np = *n1;
354 LHASH_NODE **n, *n1, *np; local
357 np
[all...]
/freebsd-9.3-release/contrib/smbfs/lib/smb/
H A Drap.c58 char *np; local
84 len *= strtoul(s, &np, 10);
85 s = np;
95 char *np; local
114 len *= strtoul(s, &np, 10);
115 s = np;
125 char *np; local
145 len *= strtoul(s, &np, 10);
146 s = np;
/freebsd-9.3-release/crypto/openssl/crypto/bn/asm/
H A Dx86_64-mont.pl31 $np="%rcx"; # const BN_ULONG *np,
81 mulq ($np) # np[0]*m1
93 mov ($np,$j,8),%rax
96 mulq $m1 # np[j]*m1
100 add $lo0,%rax # np[j]*m1+ap[j]*bp[0]
129 mulq ($np,$j,8) # np[0]*m1
143 mov ($np,
[all...]
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_node.h67 #define SMBTOV(np) ((struct vnode *)(np)->n_vnode)
H A Dsmbfs_smb.c86 smbfs_smb_lockandx(struct smbnode *np, int op, u_int32_t pid, off_t start, off_t end, argument
89 struct smb_share *ssp = np->n_mount->sm_share;
105 mb_put_mem(mbp, (caddr_t)&np->n_fid, 2, MB_MSYSTEM);
123 smbfs_smb_lock(struct smbnode *np, int op, caddr_t id, argument
126 struct smb_share *ssp = np->n_mount->sm_share;
134 return smbfs_smb_lockandx(np, op, (uintptr_t)id, start, end, scred);
270 smbfs_smb_seteof(struct smbnode *np, int64_t newsize, struct smb_cred *scred) argument
273 struct smb_share *ssp = np->n_mount->sm_share;
283 mb_put_mem(mbp, (caddr_t)&np->n_fid, 2, MB_MSYSTEM);
299 smb_smb_flush(struct smbnode *np, struc argument
326 smbfs_smb_flush(struct smbnode *np, struct smb_cred *scred) argument
334 smbfs_smb_setfsize(struct smbnode *np, int newsize, struct smb_cred *scred) argument
366 smbfs_smb_query_info(struct smbnode *np, const char *name, int len, struct smbfattr *fap, struct smb_cred *scred) argument
422 smbfs_smb_setpattr(struct smbnode *np, u_int16_t attr, struct timespec *mtime, struct smb_cred *scred) argument
472 smbfs_smb_setptime2(struct smbnode *np, struct timespec *mtime, struct timespec *atime, int attr, struct smb_cred *scred) argument
527 smbfs_smb_setpattrNT(struct smbnode *np, u_short attr, struct timespec *mtime, struct timespec *atime, struct smb_cred *scred) argument
578 smbfs_smb_setftime(struct smbnode *np, struct timespec *mtime, struct timespec *atime, struct smb_cred *scred) argument
622 smbfs_smb_setfattrNT(struct smbnode *np, u_int16_t attr, struct timespec *mtime, struct timespec *atime, struct smb_cred *scred) argument
667 smbfs_smb_open(struct smbnode *np, int accmode, struct smb_cred *scred) argument
793 smbfs_smb_delete(struct smbnode *np, struct smb_cred *scred) argument
913 smbfs_smb_rmdir(struct smbnode *np, struct smb_cred *scred) argument
[all...]
/freebsd-9.3-release/lib/libutil/
H A Dlogin_class.c141 char *np = NULL; local
156 np = malloc(strlen(var) + (dollas * nlen)
160 if (np != NULL) {
161 p = strcpy(np, var);
171 if (p > np && *(p-1) == '\\') /* Escaped: */
191 return (np);
210 char * np = substvar(var, pwd, hlen, pch, nlen); local
212 if (np != NULL) {
213 setenv(vars->var, np, vars->overwrite);
214 free(np);
233 char *np; local
[all...]
/freebsd-9.3-release/contrib/mtree/
H A Dspecspec.c197 char *np; local
234 asprintf(&np, "%s%s/", path, c2->name);
235 i = walk_in_the_forest(c1, c2, np);
236 free(np);
239 asprintf(&np, "%s%s/", path, c1->name);
240 i = walk_in_the_forest(c1, c2, np);
241 free(np);
246 asprintf(&np, "%s%s/", path, c1->name);
247 i = walk_in_the_forest(c1, c2, np);
248 free(np);
[all...]
/freebsd-9.3-release/usr.sbin/acpi/acpidb/
H A Dacpidb.c200 char buf[256], *np, *ep; local
213 np = buf;
215 rc.regtype = strtoq(np, &ep, 10);
216 if (np == ep) {
219 np = ep;
222 rc.addr = strtoq(np, &ep, 16);
223 if (np == ep) {
226 np = ep;
229 rc.value = strtoq(np, &ep, 16);
230 if (np
[all...]
/freebsd-9.3-release/usr.sbin/mtree/
H A Dspecspec.c180 char *np; local
217 asprintf(&np, "%s%s/", path, c2->name);
218 i = walk_in_the_forest(c1, c2, np);
219 free(np);
222 asprintf(&np, "%s%s/", path, c1->name);
223 i = walk_in_the_forest(c1, c2, np);
224 free(np);
229 asprintf(&np, "%s%s/", path, c1->name);
230 i = walk_in_the_forest(c1, c2, np);
231 free(np);
[all...]
/freebsd-9.3-release/contrib/tcsh/
H A Dsh.proc.c644 struct process *np; local
657 np = pp;
659 np->p_index = np->p_procid = 0;
660 np->p_flags &= ~PNEEDNOTE;
661 } while ((np = np->p_friends) != pp);
663 for (np = proclist.p_next, idx = 0; np; np
783 struct process *np; local
1464 struct process *pp, *np; local
1568 struct process *np; local
1641 struct process *pp, *np; local
1695 struct process *np; local
[all...]
/freebsd-9.3-release/bin/rcp/
H A Drcp.c501 char ch, *cp, *np, *targ, *vect[1], buf[BUFSIZ], path[PATH_MAX]; local
607 np = path;
609 np = targ;
610 exists = stat(np, &stb) == 0;
619 (void)chmod(np, mode);
623 if (mkdir(np, mode | S_IRWXU) < 0)
626 vect[0] = np;
630 if (utimes(np, tv) < 0)
632 np, strerror(errno));
635 (void)chmod(np, mod
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/rcp/
H A Drcp.c436 char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ]; local
544 np = namebuf;
546 np = targ;
547 exists = stat(np, &stb) == 0;
556 chmod(np, mode);
560 if (mkdir(np, mode | S_IRWXU) < 0)
563 vect[0] = np;
567 if (utimes(np, tv) < 0)
569 np, strerror(errno));
572 chmod(np, mod
[all...]
/freebsd-9.3-release/sys/netipsec/
H A Dipsec_mbuf.c78 struct mbuf *n0, *n, **np; local
82 np = &n0;
99 *np = n;
100 np = &n->m_next;
113 *np = m->m_next;
126 np = &n->m_next;
129 *np = m->m_next;
/freebsd-9.3-release/contrib/ncurses/progs/
H A Dtput.c269 const struct name_table_entry *np; local
271 if ((np = _nc_find_entry(name, _nc_get_hash_table(1))) != 0)
272 switch (np->nte_type) {
274 if (bool_from_termcap[np->nte_index])
275 name = boolnames[np->nte_index];
279 if (num_from_termcap[np->nte_index])
280 name = numnames[np->nte_index];
284 if (str_from_termcap[np->nte_index])
285 name = strnames[np->nte_index];
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_inttab.c57 dt_inthash_t *hp, *np; local
59 for (hp = ip->int_head; hp != NULL; hp = np) {
60 np = hp->inh_next;
/freebsd-9.3-release/sys/boot/common/
H A Ddisk.c447 const char *np; local
450 np = devspec;
452 if (*np != '\0' && *np != ':') {
453 unit = strtol(np, &cp, 10);
454 if (cp == np)
458 np = cp + 1;
459 slice = strtol(np, &cp, 10);
460 if (np == cp)
470 np
[all...]
/freebsd-9.3-release/contrib/one-true-awk/
H A Db.c366 f->re[info(v)].lval.np = right(v);
625 Node *np; local
635 np = regexp();
638 return(np);
648 Node *np; local
652 np = op2(CHAR, NIL, itonp(rlxval));
654 return (unary(np));
665 np = op2(CCL, NIL, (Node*) cclenter((char *) rlxstr));
667 return (unary(np));
669 np
697 concat(Node *np) argument
706 alt(Node *np) argument
715 unary(Node *np) argument
[all...]
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clstate.c462 struct nfsnode *np; local
476 np = VTONFS(vp);
503 if (!(np->n_flag & NDELEGRECALL)) {
907 struct nfsnode *np; local
915 np = VTONFS(vp);
971 ldp = dp = nfscl_finddeleg(clp, np->n_fhp->nfh_fh,
972 np->n_fhp->nfh_len);
982 ret = nfscl_getopen(&dp->nfsdl_owner, np->n_fhp->nfh_fh,
983 np->n_fhp->nfh_len, openownp, ownp, mode, NULL, &op);
986 np
1102 struct nfsnode *np; local
1210 struct nfsnode *np; local
1251 struct nfsnode *np; local
2990 struct nfsnode *np; local
3298 struct nfsnode *np; local
3354 struct nfsnode *np; local
3504 struct nfsnode *np; local
3613 struct nfsnode *np; local
3772 struct nfsnode *np; local
3806 struct nfsnode *np; local
3843 struct nfsnode *np; local
3940 struct nfsnode *np; local
4109 struct nfsnode *np = VTONFS(vp); local
4136 struct nfsnode *np = VTONFS(vp); local
4163 struct nfsnode *np = VTONFS(vp); local
4192 struct nfsnode *np = VTONFS(vp); local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dttl.c171 char *np = nbuf; local
173 *np++ = *s++;
174 *np++ = '\0';
175 INSIST(np - nbuf <= (int)sizeof(nbuf));
/freebsd-9.3-release/sbin/iscontrol/
H A Dpdu.c127 u_char *np; local
129 np = realloc(pp->ds_addr, pp->ds_size + len + FUDGE);
130 if(np == NULL) {
135 pp->ds_addr = np;
/freebsd-9.3-release/sys/nfsclient/
H A Dnfsnode.h166 #define NFSTOV(np) ((struct vnode *)(np)->n_vnode)
211 void nfs_dircookie_lock(struct nfsnode *np);
212 void nfs_dircookie_unlock(struct nfsnode *np);

Completed in 148 milliseconds

1234567891011