/src/usr.bin/tip/aculib/ |
dn11.c | 41 * Routines for dialing up on DN-11 46 static int child = -1, dn; variable in typeref:typename:int 59 if ((dn = open(acu, O_WRONLY)) < 0) { 68 (void)close(dn); 82 nw = write(dn, num, (size_t)(lt = strlen(num))); 95 (void)close(dn); 99 (void)tcgetattr(dn, &cntrl); 101 (void)tcsetattr(dn, TCSANOW, &cntrl); 106 (void)close(dn); 144 if (dn > 0 [all...] |
/src/usr.bin/eject/ |
eject.c | 333 const char *dn; local in function:unmount_dev 340 dn = nick2dev(name); 341 if (dn == NULL) 342 dn = name; 345 len = strlen(dn); 346 if (!isdigit((unsigned char)dn[len - 1])) 348 if (!isdigit((unsigned char)dn[len - 1])) 349 errx(1, "Can't figure out base name for dev name %s", dn); 352 if (strncmp(mounts[i].f_mntfromname, dn, len) == 0) { 374 const char *dn; local in function:eject_tape 410 const char *dn; local in function:eject_disk [all...] |
/src/lib/libc/resolv/ |
res_comp.c | 174 res_hnok(const char *dn) { 175 int pch = PERIOD, ch = *dn++; 178 int nch = *dn++; 202 res_ownok(const char *dn) { 203 if (asterchar(dn[0])) { 204 if (periodchar(dn[1])) 205 return (res_hnok(dn+2)); 206 if (dn[1] == '\0') 209 return (res_hnok(dn)); 217 res_mailok(const char *dn) { [all...] |
/src/lib/libc/nameser/ |
ns_name.c | 108 char *dn, *eom; local in function:ns_name_ntop 114 dn = dst; 123 if (dn != dst) { 124 if (dn >= eom) { 128 *dn++ = '.'; 134 if (dn + l >= eom) { 146 if ((m = decode_bitstring(&cp, dn, eom)) < 0) 151 dn += m; 157 if (dn + 1 >= eom) { 161 *dn++ = '\\' 366 u_char *dn, *eom; local in function:ns_name_ntol 942 const u_char *dn, *cp, *sp; local in function:dn_find [all...] |
/src/usr.sbin/iostat/ |
iostat.c | 566 drive_time(double etime, int dn) 571 if (cur.timestamp[dn].tv_sec || cur.timestamp[dn].tv_usec) { 572 etime = (double)cur.timestamp[dn].tv_sec + 573 ((double)cur.timestamp[dn].tv_usec / (double)1000000); 597 int dn = order[drive]; local in function:drive_stats 599 if (!cur.select[dn]) /* should be impossible */ 603 if (cur.rxfer[dn] == 0 && 604 cur.wxfer[dn] == 0 && 605 cur.rbytes[dn] == 0 & 661 int dn = order[drive]; local in function:drive_stats2 699 int dn, drive; local in function:drive_statsx 809 int drive, dn; local in function:drive_statsy [all...] |
/src/usr.bin/xlint/lint1/ |
init.c | 340 designation_debug(const designation *dn) 343 if (dn->dn_len == 0) { 349 for (size_t i = 0; i < dn->dn_len; i++) 350 designator_debug(dn->dn_items + i); 354 #define designation_debug(dn) do { } while (false) 358 designation_last(designation *dn) 361 lint_assert(dn->dn_len > 0); 362 return &dn->dn_items[dn->dn_len - 1]; 366 designation_push(designation *dn, designator_kind kind 485 designation *dn = &bl->bl_designation; local in function:brace_level_advance 540 designation *dn = &bl->bl_designation; local in function:brace_level_pop_done 559 designation *dn = &bl->bl_designation; local in function:brace_level_pop_final 575 designation *dn = &bl->bl_designation; local in function:brace_level_goto 695 designation *dn = &outer_bl->bl_designation; local in function:initialization_lbrace 968 designation *dn = &in->in_brace_level->bl_designation; local in function:begin_designation [all...] |
/src/usr.bin/systat/ |
iostat.c | 252 stats(int row, int col, int dn) 259 if (cur.timestamp[dn].tv_sec || cur.timestamp[dn].tv_usec) 260 dtime = (double)cur.timestamp[dn].tv_sec + 261 ((double)cur.timestamp[dn].tv_usec / (double)1000000); 264 atime = (double)cur.time[dn].tv_sec + 265 ((double)cur.time[dn].tv_usec / (double)1000000); 268 rwords = cur.rbytes[dn] / 1024.0; 269 wwords = cur.wbytes[dn] / 1024.0; 270 rxfer = cur.rxfer[dn]; [all...] |
vmstat.c | 879 dinfo(int dn, int r, int c) 886 if (cur.timestamp[dn].tv_sec || cur.timestamp[dn].tv_usec) { 887 dtime = (double)cur.timestamp[dn].tv_sec + 888 ((double)cur.timestamp[dn].tv_usec / (double)1000000); 891 mvprintw(r, c, "%*.*s", DISKCOLWIDTH, DISKCOLWIDTH, dr_name[dn]); 894 putint((int)(cur.seek[dn]/dtime+0.5), r, c, DISKCOLWIDTH); 896 putint((int)((cur.rxfer[dn]+cur.wxfer[dn])/dtime+0.5), 899 puthumanint_sticky((cur.rbytes[dn] + cur.wbytes[dn]) / dtime + 0.5 [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_shadowof.c | 66 struct device_node *dn; local in function:of_init 68 if (!(dn = pci_device_to_OF_node(pdev))) 72 if ((priv->data = of_get_property(dn, "NVDA,BMP", &priv->size)))
|
/src/sys/fs/msdosfs/ |
msdosfs_conv.c | 325 msdosfs_dos2unixfn(u_char dn[11], u_char *un, int lower) 337 if (*dn == SLOT_E5) 340 c = dos2unix[*dn]; 348 for (j=7; (j >= 0) && (dn[j] == ' '); j--) 352 c = dos2unix[dn[i]]; 356 dn += 8; 362 if (*dn != ' ') { 365 for (i = 0; i < 3 && *dn != ' '; i++) { 366 c = dos2unix[*dn++]; 388 msdosfs_unix2dosfn(const u_char *un, u_char dn[12], int unlen, u_int gen [all...] |
direntry.h | 135 int msdosfs_dos2unixfn(unsigned char dn[11], unsigned char *un, int lower); 136 int msdosfs_unix2dosfn(const unsigned char *un, unsigned char dn[12],
|
/src/sys/arch/atari/stand/installboot/ |
installboot.c | 105 char *dn; local in function:main 144 dn = alloca(dnlen); 146 snprintf(dn, dnlen, "%sr%s%c", _PATH_DEV, argv[0], 148 fd = open(dn, O_RDONLY); 150 snprintf(dn, dnlen, "%sr%s", _PATH_DEV, argv[0]); 151 fd = open(dn, O_RDONLY); 154 snprintf(dn, dnlen, "%s", argv[0]); 155 fd = open(dn, O_RDONLY); 158 err(EXIT_FAILURE, "%s", dn); 160 err(EXIT_FAILURE, "%s: DIOCGDINFO", dn); [all...] |
/src/games/hack/ |
hack.objnam.c | 108 const char *dn = ocl->oc_descr; local in function:typename 134 if (dn) { 137 " (%s)", dn); 140 strlcpy(buf, dn ? dn : an, sizeof(buf)); 161 if (dn) { 163 Snprintf(buf+bufpos, sizeof(buf)-bufpos, " (%s)", dn); 177 const char *dn = objects[obj->otyp].oc_descr; local in function:xname 191 strlcpy(buf, dn, bufmax); 242 strlcpy(buf, dn, bufmax) 455 char *un, *dn, *an; local in function:readobjnam [all...] |
hack.mhitu.c | 219 xchar dn; local in function:mhitu 222 dn = 6; 225 dn = 3; 227 losehp_m(d(dn, 6), mtmp);
|
/src/usr.bin/make/unit-tests/ |
opt-debug-no-rm.mk | 3 # Tests for the -dn command line option, which prevents the temporary
|
jobs-empty-commands.mk | 11 #.MAKEFLAGS: -dn # to see the created temporary files
|
varname-make_print_var_on_error-jobs.mk | 11 # happened. For more details, use the debug options -de, -dj, -dl, -dn, -dx.
|
/src/share/man/man4/man4.vax/ |
Makefile | 6 ddn.4 de.4 dh.4 dhu.4 dl.4 dmc.4 dmf.4 dmv.4 dmz.4 dn.4 dz.4 \
|
/src/sys/arch/hp300/dev/ |
dma.c | 341 struct dmaqueue *dn; local in function:dmafree 388 for (dn = TAILQ_FIRST(&sc->sc_queue); dn != NULL; 389 dn = TAILQ_NEXT(dn, dq_list)) { 390 if (dn->dq_chan & chan) { 392 TAILQ_REMOVE(&sc->sc_queue, dn, dq_list); 393 dc->dm_job = dn; 394 dn->dq_chan = dq->dq_chan; 398 (*dn->dq_start)(dn->dq_softc) [all...] |
/src/distrib/utils/edlabel/ |
edlabel.c | 358 label_write(struct disklabel *d, char *dn) 367 fd = open(dn, O_RDWR, 0); 369 perror(dn); 379 label_read(struct disklabel *dl, char *dn) 383 fd = open(dn, O_RDONLY, 0); 385 perror(dn); 405 label_print(struct disklabel *dl, char *dn) 425 label_modify(struct disklabel *dl, char *dn) 472 label_quit(struct disklabel *dl, char *dn)
|
/src/sys/arch/i386/pnpbios/ |
pnpbios.c | 386 struct pnpdevnode *dn; local in function:pnpbios_enumerate 428 dn = (struct pnpdevnode *)buf; 429 if (!pnpbios_attachnode(sc, dn->dn_handle, buf, dn->dn_size, 1)) { 431 device_xname(sc->sc_dev), dn->dn_handle)); 441 dn = (struct pnpdevnode *)buf; 442 if (!pnpbios_attachnode(sc, dn->dn_handle, buf, dn->dn_size, 0)) { 444 device_xname(sc->sc_dev), dn->dn_handle)); 788 const struct pnpdevnode *dn; local in function:pnpbios_attachnode [all...] |
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
imx6q-b650v3.dts | 101 fsl,tx-cal-45-dn-ohms = <55>;
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/qcom/ |
sm6125-sony-xperia-seine-pdx201.dts | 49 vol-dn {
|
/src/etc/etc.vax/ |
MAKEDEV.conf | 241 dn[0-9]*|ik[0-9]*|ps[0-9]*|ad[0-9]*|ct[0-9]*) 244 dn*) name=cu; unit=${i#dn}; chr=24;;
|
/src/usr.bin/vmstat/ |
vmstat.c | 1151 size_t dn; local in function:drvstats 1160 for (dn = 0; dn < ndrive; ++dn) { 1163 if (cur.timestamp[dn].tv_sec || cur.timestamp[dn].tv_usec) { 1164 dtime = (double)cur.timestamp[dn].tv_sec + 1165 ((double)cur.timestamp[dn].tv_usec / (double)1000000); 1168 if (!drv_select[dn]) 1171 (cur.rxfer[dn] + cur.wxfer[dn]) / dtime) [all...] |