Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 24 of 24) sorted by relevance

/original-bsd/games/boggle/mkindex/
H A Dmkindex.c32 int clen, rlen, prev; local
38 while (nextword(stdin, buf, &clen, &rlen) != NULL) {
45 off += clen + 1;
58 nextword(fp, buffer, clen, rlen) in nextword() argument
61 int *clen, *rlen;
77 p = buf + (*clen = pcount);
85 *clen = *rlen - *clen;
/original-bsd/contrib/awk.research/
H A Dawk.lx.l48 if (clen >= CBUFLEN-1) { \
55 int clen, cflag; variable
204 <A>\" { BEGIN str; clen = 0; }
215 <reg>\\. { cbuf[clen++] = '\\'; cbuf[clen++] = yytext[1]; }
218 cbuf[clen] = 0;
226 cbuf[clen] = ' '; cbuf[++clen] = 0;
230 <str>"\\\"" { cbuf[clen++] = '"'; }
231 <str>"\\"n { cbuf[clen++] = '\n'; }
232 <str>"\\"t { cbuf[clen++] = '\t'; }
233 <str>"\\"f { cbuf[clen++] = '\f'; }
[all …]
/original-bsd/old/awk/
H A Dawk.lx.l44 #define CADD cbuf[clen++]=yytext[0]; if(clen>=CBUFLEN-1) {yyerror("string too long", cbuf); BEGIN I…
47 int clen, cflag; variable
130 \" { BEGIN str; clen=0; }
138 <reg>"[" { BEGIN chc; clen=0; cflag=0; }
139 <reg>"[^" { BEGIN chc; clen=0; cflag=1; }
161 cbuf[clen] = ' '; cbuf[++clen] = 0;
164 <str>"\\\"" { cbuf[clen++]='"'; }
165 <str,chc>"\\"n { cbuf[clen++]='\n'; }
166 <str,chc>"\\"t { cbuf[clen++]='\t'; }
167 <str,chc>"\\\\" { cbuf[clen++]='\\'; }
[all …]
/original-bsd/lib/libc/net/
H A Dns_addr.c78 int i, ibase, base16 = 0, base10 = 0, clen = 0; local
158 for (bp = buf; *bp++; ) clen++;
159 if (clen == 0) clen++;
160 if (clen > 18) clen = 18;
161 i = ((clen - 1) / 3) + 1;
162 bp = clen + buf - 3;
/original-bsd/usr.bin/cksum/
H A Dsum1.c16 csum1(fd, cval, clen) in csum1() argument
18 u_long *cval, *clen;
41 *clen = total;
H A Dsum2.c16 csum2(fd, cval, clen) in csum2() argument
18 u_long *cval, *clen;
43 *clen = total;
H A Dcrc.c82 crc(fd, cval, clen) in crc() argument
84 u_long *cval, *clen;
103 *clen = len;
/original-bsd/local/ditroff/ditroff.okeeffe/grap/
H A Dgrapl.l13 #define CADD cbuf[clen++]=yytext[0]; if(clen>=CBUFLEN-1) {yyerror("string too long", cbuf); BEGIN A…
16 int clen, cflag; variable
179 <A>\" { BEGIN str; clen = 0; }
185 <str>\" { BEGIN A; cbuf[clen] = 0;
188 <str>"\\\"" { cbuf[clen++] = '\\'; cbuf[clen++] = '"'; }
189 <str>"\\\\" { cbuf[clen++] = '\\'; cbuf[clen++] = '\\'; }
/original-bsd/usr.bin/f77/libU77/
H A Dputc_.c28 long putc_(c, clen) in putc_() argument
29 char *c; long clen; in putc_()
H A Dgetc_.c28 long getc_(c, clen) in getc_() argument
29 char *c; long clen; in getc_()
H A Dfputc_.c28 long fputc_(u, c, clen) in fputc_() argument
29 long *u; char *c; long clen; in fputc_()
H A Dfgetc_.c28 long fgetc_(u, c, clen) in fgetc_() argument
29 long *u; char *c; long clen; in fgetc_()
/original-bsd/usr.bin/apply/
H A Dapply.c34 int ch, clen, debug, i, l, magic, n, nargs, rval; local
115 if ((c = malloc(clen = 1024)) == NULL)
130 if (l > clen && (c = realloc(c, clen = l)) == NULL)
/original-bsd/local/ditroff/ditroff.okeeffe/pic/
H A Dpicl.l21 #define CADD cbuf[clen++]=yytext[0]; if(clen>=CBUFLEN-1) {yyerror("string too long", cbuf); BEGIN A…
24 int c, clen, cflag, delim; variable
246 <A>\" { BEGIN str; clen=0; }
247 <str>\" { cbuf[clen]=0; yylval.p = tostring(cbuf); BEGIN A; return(TEXT); }
249 <str>"\\\"" { cbuf[clen++]='"'; }
250 <str>"\\"t { cbuf[clen++]='\t'; }
251 <str>"\\\\" { cbuf[clen++]='\\'; }
/original-bsd/usr.bin/f77/pass1.tahoe/
H A Dio.c1139 register ftnint clen; local
1143 clen = 0;
1147 if (clen > op->offset)
1150 if (clen < op->offset)
1153 clen = op->offset;
1167 clen += typesize[type];
1173 clen += typesize[TYADDR];
1179 clen += typesize[TYADDR];
1193 if (clen > len)
1196 if (clen < len)
[all …]
/original-bsd/usr.bin/f77/pass1.vax/
H A Dio.c1154 register ftnint clen; local
1158 clen = 0;
1162 if (clen > op->offset)
1165 if (clen < op->offset)
1168 clen = op->offset;
1182 clen += typesize[type];
1188 clen += typesize[TYADDR];
1194 clen += typesize[TYADDR];
1208 if (clen > len)
1211 if (clen < len)
[all …]
/original-bsd/sys/hp300/stand/
H A Dscsi.c238 scsiicmd(hs, target, cbuf, clen, buf, len, xferphase) in scsiicmd() argument
242 int clen;
268 if (ixfer_start(hd, clen, phase, wait))
269 if (ixfer_out(hd, clen, cbuf))
/original-bsd/lib/libc/gen/
H A Dgetcap.c171 int myfd, eof, foundit, retval, clen; local
233 clen = strlen(record);
234 cbuf = malloc(clen + 1);
235 memcpy(cbuf, record, clen + 1);
240 *len = clen;
/original-bsd/sys/kern/
H A Duipc_socket.c301 int clen = 0, error, s, dontroute, mlen; local
322 clen = control->m_len;
337 !(resid == 0 && clen != 0))
346 clen > so->so_snd.sb_hiwat)
348 if (space < resid + clen && uio &&
349 (atomic || space < so->so_snd.sb_lowat || space < clen)) {
361 space -= clen;
429 clen = 0;
/original-bsd/sys/isofs/cd9660/
H A Dcd9660_rrip.h44 u_char clen [ISODCL ( 2, 2)]; member
H A Dcd9660_rrip.c84 + isonum_711(pcomp->clen))) {
136 wlen = isonum_711(pcomp->clen);
/original-bsd/usr.bin/diff/diff/
H A Ddiffreg.c103 int clen = 0; variable
430 clist = (struct cand *)ralloc((char *)clist,++clen*sizeof(cand)); in newcand()
431 q = clist + clen -1; in newcand()
435 return(clen-1); in newcand()
/original-bsd/lib/libedit/
H A Dterm.c322 int tlen, clen; local
331 clen = strlen(cap);
338 if (clen <= tlen) {
348 el->el_term.t_loc += clen + 1; /* one for \0 */
372 el->el_term.t_loc += clen + 1; /* one for \0 */
/original-bsd/sys/hp300/dev/
H A Dscsi.c568 scsiicmd(hs, target, cbuf, clen, buf, len, xferphase) in scsiicmd() argument
572 int clen;
599 if (ixfer_start(hd, clen, phase, wait))
600 if (ixfer_out(hd, clen, cbuf))