Home
last modified time | relevance | path

Searched refs:bptr (Results 1 – 15 of 15) sorted by relevance

/original-bsd/usr.bin/ex/
H A Dprintf.c55 register char *bptr; local
150 ptr = bptr = &buf[0];
156 if (bptr==0)
161 ptr = --bptr;
162 bptr -= n;
197 *--bptr = '0';
206 *--bptr = fcode;
207 *--bptr = '0';
234 *--bptr = '-';
243 ptr = bptr = &fcode;
[all …]
/original-bsd/libexec/talkd/
H A Dannounce.c77 char *bptr, *lptr, *vis_user; local
109 bptr = big_buf;
110 *bptr++ = ''; /* send something to wake them up */
111 *bptr++ = '\r'; /* add a \r in case of raw mode */
112 *bptr++ = '\n';
117 *(bptr++) = *(lptr++);
120 *(bptr++) = ' ';
121 *(bptr++) = '\r'; /* add a \r in case of raw mode */
122 *(bptr++) = '\n';
124 *bptr = '\0';
[all …]
/original-bsd/old/talk/talkd/
H A Dannounce.c118 char *bptr, *lptr; local
148 bptr = big_buf;
149 *(bptr++) = ''; /* send something to wake them up */
150 *(bptr++) = '\r'; /* add a \r in case of raw mode */
151 *(bptr++) = '\n';
156 *(bptr++) = *(lptr++);
159 *(bptr++) = ' ';
160 *(bptr++) = '\r'; /* add a \r in case of raw mode */
161 *(bptr++) = '\n';
163 *bptr = '\0';
/original-bsd/sys/pmax/dev/
H A Dif_le.c1136 *bptr = (*from++ << 8) | (*bptr & 0xff);
1137 bptr += 2;
1144 bptr += 2;
1175 bptr += 2;
1184 bptr += 2;
1210 bptr += 2;
1215 *bptr = 0;
1216 bptr += 2;
1241 bptr += 32;
1264 bptr += 32;
[all …]
/original-bsd/old/tc/
H A Dtc.c277 char buf[128]; char *bptr; char c; in kwait() local
280 bptr=buf; in kwait()
281 while((c=readch())&&(c!='\n')) *bptr++=c; in kwait()
282 *bptr=0; in kwait()
283 if(bptr!=buf){ in kwait()
284 bptr = buf; in kwait()
285 if(*bptr == '!'){callunix(&buf[1]); fputs("!\n", stderr); goto next;} in kwait()
286 else switch(*bptr++){ in kwait()
/original-bsd/usr.bin/diff/diffh/
H A Ddiffh.c238 char b[100],*bptr,*eptr; local
248 for(bptr=b;*bptr= *f1++;bptr++) ;
249 *bptr++ = '/';
253 while(*bptr++= *f2++) ;
/original-bsd/games/phantasia/
H A Dgamesupport.c66 bool *bptr; /* pointer to bool item to change */ local
412 bptr = &playerp->p_palantir;
417 bptr = &playerp->p_blessing;
422 bptr = &playerp->p_virgin;
427 bptr = &playerp->p_blindness;
480 mvprintw(23, 0, "%s = %c; %s = ", prompt, flag[*bptr], prompt);
483 *bptr = TRUE;
485 *bptr = FALSE;
/original-bsd/old/berknet/
H A Dprot.c139 nread(bptr,num) in nread() argument
140 register char *bptr; in nread()
154 while(n--)*bptr++ = *p++;
205 while(n--)*bptr++ = *p++;
208 bptr = savebuf;
209 while(n--)*bptr++ = *p++;
/original-bsd/bin/csh/
H A Dexec.c630 register struct biltins *bptr; local
669 for (bptr = bfunc; bptr < &bfunc[nbfunc]; bptr++) {
670 if (eq(sp->word, str2short(bptr->bname))) {
/original-bsd/old/lex/
H A Donce.c105 char *bptr; /* store input position */ variable
H A Dldefs.c129 extern char *bptr; /* store input position */
H A Dparser.y399 bptr = p+1;
408 p = bptr;
/original-bsd/usr.bin/ptx/
H A Dptx.c81 FILE *bptr; variable
194 if((bptr = fopen(bfile,"r")) == NULL)
197 while((c = getc(bptr)) != EOF)
/original-bsd/sbin/fsdb/
H A Dfsdb.c2432 register char *bptr; local
2440 if ((bptr = getblk(temp)) == 0)
2442 bptr += blkoff(fs, temp);
2445 return((long)*bptr);
2451 return(*(long *)bptr);
2676 register char *bptr, *sbptr; local
2694 olditem = *(long *)bptr;
2695 *(long *)bptr = item;
2701 *(short *)bptr = item;
2704 olditem = (long)*bptr;
[all …]
/original-bsd/contrib/gcc-2.3.3/
H A Dcccp.c1898 register U_CHAR c, *fptr, *bptr, *sptr; local
1901 fptr = bptr = sptr = buf->buf;
1940 if (bptr != fptr && len > 0)
1941 bcopy (fptr, bptr, len); /* BSD doc says bcopy () works right
1944 bptr += len;
1945 *bptr++ = c;
1949 if (bptr != fptr && len > 0)
1950 bcopy (fptr, bptr, len);
1951 buf->length -= fptr - bptr;
1953 if (warn_trigraphs && fptr != bptr)
[all …]