Symbol: tape
bin/mt/mt.c
121
const char *tape;
bin/mt/mt.c
126
if ((tape = getenv("TAPE")) == NULL)
bin/mt/mt.c
127
tape = _PATH_DEFTAPE;
bin/mt/mt.c
133
tape = optarg;
bin/mt/mt.c
168
if ((mtfd = open(tape, flags)) < 0)
bin/mt/mt.c
169
err(2, "%s", tape);
bin/mt/mt.c
183
err(2, "%s", tape);
bin/mt/mt.c
189
err(2, "%s", tape);
bin/mt/mt.c
197
err(2, "%s: %s", tape, comp->c_name);
bin/mt/mt.c
204
err(2, "%s: %s", tape, comp->c_name);
bin/mt/mt.c
211
err(2, "%s", tape);
bin/mt/mt.c
212
printf("%s: block location %u\n", tape, (unsigned int) count);
bin/mt/mt.c
218
err(2, "%s", tape);
games/adventure/io.c
176
static const char *tape = iotape; /* pointer to encryption tape */
games/adventure/io.c
186
if (*tape == 0)
games/adventure/io.c
187
tape = iotape; /* rewind encryption tape */
games/adventure/io.c
188
*inptr = ch ^ *tape++; /* re-encrypt and replace value */
games/adventure/io.c
278
tape = iotape; /* restart encryption tape */
games/adventure/io.c
547
tape = iotape; /* restart decryption tape */
games/adventure/io.c
548
while ((*s++ ^ *tape++) != TAB); /* read past loc num */
games/adventure/io.c
551
if ((*s ^ *tape) == '>' &&
games/adventure/io.c
552
(*(s + 1) ^ *(tape + 1)) == '$' &&
games/adventure/io.c
553
(*(s + 2) ^ *(tape + 2)) == '<')
games/adventure/io.c
558
if (*tape == 0)
games/adventure/io.c
559
tape = iotape; /* rewind decryp tape */
games/adventure/io.c
560
putchar(*s ^ *tape);
games/adventure/io.c
561
} while ((*s++ ^ *tape++) != LF); /* better end with LF */
games/adventure/io.c
584
tape = iotape; /* restart decryption tape */
games/adventure/io.c
585
for (numst = s; (*s ^= *tape++) != TAB; s++); /* get number */
games/adventure/io.c
591
while ((*s++ ^ *tape++) != LF) /* flush the line */
games/adventure/io.c
592
if (*tape == 0)
games/adventure/io.c
593
tape = iotape;
games/adventure/io.c
596
if ((*s ^ *tape) == '>' && (*(s + 1) ^ *(tape + 1)) == '$' &&
games/adventure/io.c
597
(*(s + 2) ^ *(tape + 2)) == '<')
games/adventure/io.c
602
if (*tape == 0)
games/adventure/io.c
603
tape = iotape;
games/adventure/io.c
604
putchar(*s ^ *tape);
games/adventure/io.c
605
} while ((*s++ ^ *tape++) != LF); /* better end with LF */
sbin/dump/dump.h
112
extern const char *tape; /* name of the tape file */
sbin/dump/main.c
158
if ((tape = getenv("TAPE")) == NULL)
sbin/dump/main.c
159
tape = _PATH_DEFTAPE;
sbin/dump/main.c
217
tape = optarg;
sbin/dump/main.c
389
if (strcmp(tape, "-") == 0) {
sbin/dump/main.c
391
tape = "standard output";
sbin/dump/main.c
413
if ((cp = strchr(tape, ':')) != NULL) {
sbin/dump/main.c
414
host = tape;
sbin/dump/main.c
417
tape = cp;
sbin/dump/main.c
549
msgtail("to %s on host %s\n", tape, host);
sbin/dump/main.c
551
msgtail("to %s\n", tape);
sbin/dump/main.c
80
const char *tape;
sbin/dump/tape.c
198
msg("write error on %s\n", tape);
sbin/dump/tape.c
390
msg("Closing %s\n", tape);
sbin/dump/tape.c
395
while (rmtopen(tape, 0, 0) < 0)
sbin/dump/tape.c
398
msg("Ejecting %s\n", tape);
sbin/dump/tape.c
406
while ((f = open(tape, 0)) < 0)
sbin/dump/tape.c
411
msg("Ejecting %s\n", tape);
sbin/dump/tape.c
435
if (rmtopen(tape, 0, 0) >= 0) {
sbin/dump/tape.c
440
if ((f = open(tape, 0)) >= 0) {
sbin/dump/tape.c
660
if (nexttape || strchr(tape, ',')) {
sbin/dump/tape.c
662
tape = nexttape;
sbin/dump/tape.c
663
if ((p = strchr(tape, ',')) != NULL) {
sbin/dump/tape.c
668
msg("Dumping volume %d on %s\n", tapeno, tape);
sbin/dump/tape.c
671
while ((tapefd = (host ? rmtopen(tape, 2, 1) :
sbin/dump/tape.c
672
pipeout ? 1 : open(tape, O_WRONLY|O_CREAT, 0666))) < 0)
sbin/dump/tape.c
675
open(tape, O_WRONLY|O_CREAT, 0666))) < 0)
sbin/dump/tape.c
678
msg("Cannot open output \"%s\".\n", tape);
sys/arch/luna68k/stand/boot/parse.c
147
{ "tape", tape },
sys/arch/luna68k/stand/boot/parse.c
148
{ "tp", tape },
sys/arch/luna68k/stand/boot/samachdep.h
201
int tape(int, char **);
sys/sys/tape.h
75
TAILQ_ENTRY(tape) link;
sys/sys/tape.h
79
TAILQ_HEAD(tapelist_head, tape); /* the tapelist is a TAILQ */
usr.sbin/rmt/rmt.c
104
if (tape >= 0)
usr.sbin/rmt/rmt.c
105
(void) close(tape);
usr.sbin/rmt/rmt.c
109
tape = open(device, atoi(mode),
usr.sbin/rmt/rmt.c
111
if (tape < 0)
usr.sbin/rmt/rmt.c
118
if (close(tape) < 0)
usr.sbin/rmt/rmt.c
120
tape = -1;
usr.sbin/rmt/rmt.c
127
rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos));
usr.sbin/rmt/rmt.c
144
rval = write(tape, record, n);
usr.sbin/rmt/rmt.c
154
rval = read(tape, record, n);
usr.sbin/rmt/rmt.c
171
if (ioctl(tape, MTIOCTOP, (char *)&mtop) < 0)
usr.sbin/rmt/rmt.c
182
if (ioctl(tape, MTIOCGET, (char *)&mtget) < 0)
usr.sbin/rmt/rmt.c
62
int tape = -1;