/freebsd-11-stable/contrib/gdtoa/ |
H A D | strtod.c | 96 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local 208 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) 209 if (nd < 9) 211 else if (nd < 16) 213 nd0 = nd; 226 if (!nd) { 243 if (nd++ < 9) 245 else if (nd <= DBL_DIG + 1) 247 if (nd [all...] |
H A D | strtodg.c | 327 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; local 407 for(decpt = nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) 408 if (nd < 9) 410 else if (nd < 16) 412 nd0 = nd; 425 if (!nd) { 442 if (nd++ < 9) 444 else if (nd <= DBL_DIG + 1) 446 if (nd [all...] |
/freebsd-11-stable/lib/libc/net/ |
H A D | getnetbyht.c | 178 struct netdata *nd; local 182 if ((nd = __netdata_init()) == NULL) 184 if (getnetent_r(&nd->net, nd->data, sizeof(nd->data), &rval,
|
/freebsd-11-stable/contrib/flex/ |
H A D | sym.c | 211 Char *ndlookup (nd) 212 const char *nd; 214 return (Char *) findsym (nd, ndtbl, NAME_TABLE_HASH_SIZE)->str_val;
|
/freebsd-11-stable/contrib/groff/src/roff/troff/ |
H A D | div.h | 52 virtual void output(node *nd, int retain_size, vunits vs, vunits post_vs, 81 void output(node *nd, int retain_size, vunits vs, vunits post_vs, 120 void output(node *nd, int retain_size, vunits vs, vunits post_vs,
|
H A D | column.cpp | 100 node *nd; member in class:node_output_line 198 : position_output_line(d), nd(n), page_offset(po), before(b), after(a) 204 delete_node_list(nd); 209 out->print_line(page_offset, pos, nd, before, after); 210 nd = 0; 342 void column::print_line(hunits page_offset, vunits pos, node *nd, argument 346 add_output_line(new node_output_line(pos - bottom, nd, page_offset, before, after)); 677 int vjustify_node::same(node *nd) argument 679 return typ == ((vjustify_node *)nd)->typ;
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | vnode.h | 162 struct nameidata nd; local 182 NDINIT_ATVP(&nd, operation, 0, UIO_SYSSPACE, pnamep, startvp, td); 184 error = vn_open_cred(&nd, &filemode, createmode, 0, td->td_ucred, NULL); 185 NDFREE(&nd, NDF_ONLY_PNBUF); 188 VOP_UNLOCK(nd.ni_vp, 0); 189 *vpp = nd.ni_vp;
|
/freebsd-11-stable/contrib/dtc/ |
H A D | data.c | 41 struct data nd; local 47 nd = d; 54 nd.val = xrealloc(d.val, newsize); 56 return nd;
|
/freebsd-11-stable/sys/fs/nfs/ |
H A D | nfs_commonacl.c | 42 nfsrv_dissectace(struct nfsrv_descript *nd, struct acl_entry *acep, argument 77 error = nfsrv_mtostr(nd, name, len); 102 aceerr = nfsv4_strtogid(nd, name, len, &gid, p); 107 aceerr = nfsv4_strtouid(nd, name, len, &uid, p); 281 nfsrv_buildace(struct nfsrv_descript *nd, u_char *name, int namelen, argument 390 nfsrv_buildacl(struct nfsrv_descript *nd, NFSACL_T *aclp, enum vtype type, argument 438 retlen += nfsrv_buildace(nd, name, namelen, type, isgroup,
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | imgact_coff.c | 160 struct nameidata nd; local 173 NDINIT(&nd, LOOKUP, ISOPEN | LOCKLEAF | FOLLOW | SAVENAME, 176 error = namei(&nd); 180 vp = nd.ni_vp; 287 NDFREE(&nd, NDF_ONLY_PNBUF); 288 vrele(nd.ni_vp);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_cm.c | 418 struct rb_node *nd; local 450 nd = rb_first(sl_id_map); 451 while (nd) { 453 rb_entry(nd, struct id_map_entry, node); 454 nd = rb_next(nd);
|
/freebsd-11-stable/usr.bin/ncal/ |
H A D | ncal.c | 984 int nd; local 989 nd = sndaysr(&dt); 991 sdater(nd, &dt); 993 return (nd); 995 nd++; 1033 sdater(int nd, struct date *d) argument 1036 if (nswitch < nd) 1037 return (gdate(nd, d)); 1039 return (jdate(nd, d)); 1044 sdateb(int nd, struc argument [all...] |
/freebsd-11-stable/sys/nfs/ |
H A D | bootp_subr.c | 282 static void bootpc_decode_reply(struct nfsv3_diskless *nd, 1414 bootpc_decode_reply(struct nfsv3_diskless *nd, struct bootpc_ifcontext *ifctx, argument 1513 } else if (setfs(&nd->root_saddr, 1514 nd->root_hostnam, p, &ifctx->reply.siaddr)) { 1517 print_sin_addr(&nd->root_saddr); 1528 mountopts(&nd->root_args, p); 1544 strcpy(nd->my_hostnam, p); 1591 struct nfsv3_diskless *nd; local 1599 nd = &nfsv3_diskless; 1737 mountopts(&nd [all...] |
/freebsd-11-stable/crypto/openssl/crypto/bn/ |
H A D | bn_div.c | 69 int i, nm, nd; 99 nd = BN_num_bits(d); 115 if (!BN_lshift(D, D, nm - nd)) 117 for (i = nm - nd; i >= 0; i--) {
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_linker.c | 1723 struct nameidata nd; local 1747 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, result, td); 1749 error = vn_open(&nd, &flags, 0, NULL); 1751 NDFREE(&nd, NDF_ONLY_PNBUF); 1752 type = nd.ni_vp->v_type; 1754 VOP_GETATTR(nd.ni_vp, vap, td->td_ucred); 1755 VOP_UNLOCK(nd.ni_vp, 0); 1756 vn_close(nd.ni_vp, FREAD, td->td_ucred, td); 1779 struct nameidata nd; local 1796 NDINIT(&nd, LOOKU [all...] |
H A D | sys_generic.c | 896 return (kern_pselect(td, uap->nd, uap->in, uap->ou, uap->ex, tvp, 901 kern_pselect(struct thread *td, int nd, fd_set *in, fd_set *ou, fd_set *ex, argument 921 error = kern_select(td, nd, in, ou, ex, tvp, abi_nfdbits); 927 int nd; member in struct:select_args 946 return (kern_select(td, uap->nd, uap->in, uap->ou, uap->ex, tvp, 957 * nd is fd_lastfile + 1. 960 select_check_badfd(fd_set *fd_in, int nd, int ndu, int abi_nfdbits) argument 966 if (nd >= ndu || fd_in == NULL) 971 for (i = nd; i < ndu; i++) { 999 kern_select(struct thread *td, int nd, fd_se argument [all...] |
H A D | link_elf_obj.c | 512 struct nameidata nd; local 537 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, filename, td); 539 error = vn_open(&nd, &flags, 0, NULL); 542 NDFREE(&nd, NDF_ONLY_PNBUF); 543 if (nd.ni_vp->v_type != VREG) { 548 error = mac_kld_check_load(td->td_ucred, nd.ni_vp); 556 error = vn_rdwr(UIO_READ, nd.ni_vp, (void *)hdr, sizeof(*hdr), 0, 613 error = vn_rdwr(UIO_READ, nd.ni_vp, (caddr_t)shdr, nbytes, hdr->e_shoff, 699 error = vn_rdwr(UIO_READ, nd.ni_vp, (void *)ef->ddbsymtab, 713 error = vn_rdwr(UIO_READ, nd [all...] |
H A D | kern_alq.c | 435 struct nameidata nd; local 445 NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_SYSSPACE, file, td); 448 error = vn_open_cred(&nd, &oflags, cmode, 0, cred, NULL); 452 NDFREE(&nd, NDF_ONLY_PNBUF); 454 VOP_UNLOCK(nd.ni_vp, 0); 457 alq->aq_vp = nd.ni_vp;
|
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | if.c | 383 struct in6_ndireq nd; local 393 memset(&nd, 0, sizeof(nd)); 394 strlcpy(nd.ifname, ifi->ifi_ifname, 395 sizeof(nd.ifname)); 396 error = ioctl(s, SIOCGIFINFO_IN6, (caddr_t)&nd); 403 ifi->ifi_nd_flags = nd.ndi.flags;
|
/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clstate.c | 3230 nfscl_docb(struct nfsrv_descript *nd, NFSPROC_T *p) argument 3257 nfsrvd_rephead(nd); 3268 error = nfsrv_mtostr(nd, tagstr, taglen); 3275 (void) nfsm_strtom(nd, tag, taglen); 3283 nd->nd_repstat = NFSERR_MINORVERMISMATCH; 3285 if (nd->nd_repstat) 3301 nd->nd_repstat = NFSERR_OPILLEGAL; 3302 *repp = nfscl_errmap(nd, minorvers); 3306 nd->nd_procnum = op; 3308 nfsstatsv1.cbrpccnt[nd 4211 struct nfsrv_descript nfsd, *nd = &nfsd; local 4276 struct nfsrv_descript nfsd, *nd = &nfsd; local 4747 nfscl_errmap(struct nfsrv_descript *nd, u_int32_t minorvers) argument [all...] |
H A D | nfs_clvfsops.c | 397 struct nfsv3_diskless *nd = &nfsv3_diskless; local 421 error = socreate(nd->myif.ifra_addr.sa_family, &so, nd->root_args.sotype, 0, 425 nd->myif.ifra_addr.sa_family, error); 434 for (i = strlen(nd->myif.ifra_name) - 1; 435 nd->myif.ifra_name[i] >= '0' && 436 nd->myif.ifra_name[i] <= '9'; 437 nd->myif.ifra_name[i] ++) { 438 error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd->myif, td); 443 error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd [all...] |
/freebsd-11-stable/sys/ufs/ffs/ |
H A D | ffs_snapshot.c | 218 struct nameidata nd; local 259 NDINIT(&nd, CREATE, LOCKPARENT | LOCKLEAF | NOCACHE, UIO_SYSSPACE, 261 if ((error = namei(&nd)) != 0) 263 if (nd.ni_vp != NULL) { 264 vput(nd.ni_vp); 267 if (nd.ni_dvp->v_mount != mp) 270 NDFREE(&nd, NDF_ONLY_PNBUF); 271 if (nd.ni_dvp == nd.ni_vp) 272 vrele(nd [all...] |
/freebsd-11-stable/sys/netinet6/ |
H A D | nd6.c | 259 struct nd_ifinfo *nd; local 261 nd = malloc(sizeof(*nd), M_IP6NDP, M_WAITOK | M_ZERO); 262 nd->initialized = 1; 264 nd->chlim = IPV6_DEFHLIM; 265 nd->basereachable = REACHABLE_TIME; 266 nd->reachable = ND_COMPUTE_RTIME(nd->basereachable); 267 nd->retrans = RETRANS_TIMER; 269 nd 300 nd6_ifdetach(struct ifnet *ifp, struct nd_ifinfo *nd) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/ |
H A D | sparcv9a-mont.pl | 110 $na="%f8"; $nb="%f10"; $nc="%f12"; $nd="%f14"; 220 ldda [%sp+$bias+$frame+0]%asi,$nd 230 fxtod $nd,$nd 241 fmuld $nlo,$nd,$nlod 253 fmuld $nhi,$nd,$nhid 311 fmuld $nlo,$nd,$nlod 336 fmuld $nhi,$nd,$nhid 399 fmuld $nlo,$nd,$nlod 422 fmuld $nhi,$nd, [all...] |
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_file.c | 201 struct nameidata nd; local 266 NDINIT_ATRIGHTS(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path, uap->dirfd.fd, 268 error = vn_open(&nd, &fflags, 0777 & ~td->td_proc->p_fd->fd_cmask, fp); 284 NDFREE(&nd, NDF_ONLY_PNBUF); 285 filecaps_free(&nd.ni_filecaps); 286 fp->f_vnode = vp = nd.ni_vp;
|