/original-bsd/games/battlestar/ |
H A D | getcom.c | 47 while (isspace(*buf1)) 48 buf1++; 49 if (*buf1 != ',') { 50 if (!*buf1) { 54 while (*buf1 && !isspace(*buf1) && *buf1 != ',') 56 if (isupper(*buf1)) 59 *buf2++ = *buf1++; 66 *buf2++ = *buf1++; 68 *buf2++ = *buf1++; 71 buf1++; [all …]
|
/original-bsd/usr.bin/f77/libU77/ |
H A D | link_.c | 33 char buf1[MAXPATHLEN]; local 36 if (n1len >= sizeof buf1 || n2len >= sizeof buf2) 38 g_char(name1, n1len, buf1); 40 if (buf1[0] == '\0' || buf2[0] == '\0') 42 if (link(buf1, buf2) != 0)
|
H A D | symlnk_.c | 34 char buf1[MAXPATHLEN]; local 37 if (n1len >= sizeof buf1 || n2len >= sizeof buf2) 39 g_char(name1, n1len, buf1); 41 if (buf1[0] == '\0' || buf2[0] == '\0') 43 if (symlink(buf1, buf2) != 0)
|
/original-bsd/usr.bin/locate/bigram/ |
H A D | locate.bigram.c | 31 char buf1[MAXPATHLEN] = " "; variable 37 register char *oldpath = buf1, *path = buf2; in main() 53 if ( path == buf1 ) /* swap pointers */ in main() 54 path = buf2, oldpath = buf1; in main() 56 path = buf1, oldpath = buf2; in main()
|
/original-bsd/usr.bin/locate/code/ |
H A D | locate.code.c | 69 char buf1[MAXPATHLEN] = " "; variable 106 oldpath = buf1; 153 if (path == buf1) { /* swap pointers */ 155 oldpath = buf1; 157 path = buf1;
|
/original-bsd/bin/stty/ |
H A D | print.c | 36 char buf1[100], buf2[100]; local 149 (void)snprintf(buf1, sizeof(buf1), "%s = %s;", 151 bput(buf1); 160 (void)sprintf(buf1 + cnt * 8, WD, p->name); 164 (void)printf("%s\n", buf1); 169 (void)printf("%s\n", buf1);
|
/original-bsd/local/ditroff/ditroff.okeeffe/pic/ |
H A D | main.c | 180 char *p, buf[1000], buf1[100]; in getdata() local 193 sscanf(p, "%s", buf1); in getdata() 194 if ((curfile->fin=fopen(buf1, "r")) == NULL) in getdata() 195 fatal("can't open %s", buf1); in getdata() 196 curfile->fname = tostring(buf1); in getdata() 224 if (sscanf(buf+3, "%d %s", &ln, buf1) == 2) { in getdata() 226 printf(".lf %d %s\n", curfile->lineno = ln, curfile->fname = tostring(buf1)); in getdata()
|
/original-bsd/local/ditroff/ditroff.okeeffe/grap/ |
H A D | main.c | 131 char buf[1000], buf1[100], *p; in getdata() local 148 if (sscanf(buf+3, "%d %s", &ln, buf1) == 2) { in getdata() 150 printf(".lf %d %s\n", curfile->lineno = ln, curfile->fname = tostring(buf1)); in getdata()
|
H A D | print.c | 169 static char buf[50], buf1[50]; /* static because pbstr uses them */ in do_first() local 175 sprintf(buf1, "copy \"%s\"\n", lib_defines); in do_first() 176 pbstr(buf1); in do_first()
|
/original-bsd/local/ditroff/ditroff.old.okeeffe/pic/ |
H A D | main.c | 190 char buf[1000], buf1[50]; local 205 sscanf(p, "%s", buf1); 206 if ((yyin = fopen(buf1, "r")) == NULL) { 207 fprintf(stderr, "pic: can't open %s\n", buf1);
|
/original-bsd/usr.bin/f77/pass1.vax/ |
H A D | error.c | 138 char buf1[100], buf2[100]; local 140 sprintf(buf1, "Execution error: %s", s); 141 sprintf(buf2, buf1, n);
|
/original-bsd/old/athena/klist/ |
H A D | klist.c | 91 char buf1[20], buf2[20]; local 142 (void) strcpy(buf1, short_date(&c.issue_date)); 145 printf("%s %s ", buf1, buf2);
|
/original-bsd/old/berknet/ |
H A D | mach.c | 166 char buf1[BUFSIZ], found; variable 173 while(fgets(buf1,BUFSIZ,pw) != NULL){ 174 for(p=buf1; *p && *p != ':'; p++); 176 if(strcmp(buf1,pwd->pw_name) == 0){
|
/original-bsd/local/local.cmd/ |
H A D | dl.c | 259 struct stat buf1, buf2; local 266 if(lstat(path2, &buf1)) { 353 struct stat buf1, buf2; local 359 if(lstat(arg, &buf1)) { 370 if ((buf1.st_mode&S_IFMT) == S_IFDIR) {
|
/original-bsd/old/refer/refer/ |
H A D | refer6.c | 17 char buf1[BUFSIZ], buf2[50]; local 48 tx = caps(tx, buf1);
|
/original-bsd/usr.bin/diff/diff/ |
H A D | diffdir.c | 244 char buf1[BUFSIZ], buf2[BUFSIZ]; local 280 i = read(f1, buf1, BUFSIZ); 287 if (buf1[j] != buf2[j])
|
H A D | diffreg.c | 155 char buf1[BUFSIZ], buf2[BUFSIZ]; in diffreg() local 212 i = fread(buf1, 1, BUFSIZ, f1); in diffreg() 223 if (buf1[j] != buf2[j]) in diffreg()
|
/original-bsd/bin/pax/ |
H A D | pat_rep.c | 894 char buf1[PAXPATHLEN+1]; /* where we work on the name */ local 905 (void)strcpy(buf1, name); 906 inpt = buf1;
|
/original-bsd/contrib/gcc-2.3.3/ |
H A D | cccp.c | 2983 U_CHAR *buf1; local 2994 buf1 = (U_CHAR *) alloca (length + 1); 2997 register U_CHAR *p2 = buf1; 3002 buf1[length] = 0; 3023 ip->buf = ip->bufp = buf1;
|