Searched refs:fbuf (Results 1 - 25 of 74) sorted by relevance

123

/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dfbuf.c27 #include "fbuf.h"
41 u->fbuf = xmalloc (sizeof (struct fbuf));
42 u->fbuf->buf = xmalloc (len);
43 u->fbuf->len = len;
44 u->fbuf->act = u->fbuf->pos = 0;
51 if (u->fbuf == NULL)
53 free (u->fbuf->buf);
54 free (u->fbuf);
[all...]
H A Dfbuf.h39 struct fbuf struct
78 if (u->fbuf->pos < u->fbuf->act)
79 return (unsigned char) u->fbuf->buf[u->fbuf->pos++];
86 return (char*) (u->fbuf->buf + u->fbuf->pos);
/netbsd-current/external/gpl3/gcc/dist/libgfortran/io/
H A Dfbuf.c27 #include "fbuf.h"
41 u->fbuf = xmalloc (sizeof (struct fbuf));
42 u->fbuf->buf = xmalloc (len);
43 u->fbuf->len = len;
44 u->fbuf->act = u->fbuf->pos = 0;
51 if (u->fbuf == NULL)
53 free (u->fbuf->buf);
54 free (u->fbuf);
[all...]
H A Dfbuf.h39 struct fbuf struct
78 if (u->fbuf->pos < u->fbuf->act)
79 return (unsigned char) u->fbuf->buf[u->fbuf->pos++];
86 return (char*) (u->fbuf->buf + u->fbuf->pos);
/netbsd-current/external/mpl/dhcp/dist/omapip/
H A Derrwarn.c60 char fbuf [CVT_BUF_MAX + 1]; local
62 do_percentm (fbuf, sizeof fbuf, fmt);
68 vsnprintf (mbuf, sizeof mbuf, fbuf, list);
100 char fbuf [CVT_BUF_MAX + 1]; local
103 do_percentm (fbuf, sizeof fbuf, fmt);
109 vsnprintf (mbuf, sizeof mbuf, fbuf, list);
129 char fbuf [CVT_BUF_MAX + 1]; local
132 do_percentm (fbuf, sizeo
158 char fbuf [CVT_BUF_MAX + 1]; local
[all...]
/netbsd-current/usr.bin/mail/
H A Dquit.c269 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local
310 fbuf = Fopen(mailname, "ref");
311 if (fbuf == NULL)
313 if (flock(fileno(fbuf), LOCK_EX) == -1) {
316 (void)Fclose(fbuf);
322 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) {
333 (void)fseek(fbuf, (long)mailsize, 0);
334 while ((c = getc(fbuf)) != EOF)
339 c = getc(fbuf);
349 (void)Fclose(fbuf);
[all...]
H A Dcollect.c369 FILE *fbuf; local
637 (fbuf = Fdopen(fd, "wef+")) == NULL) {
648 rc2 = run_command(shellcmd, NULL, nullfd, fileno(fbuf), "-c", cp + 1, NULL);
653 (void)Fclose(fbuf);
657 if (fsize(fbuf) == 0) {
659 (void)Fclose(fbuf);
663 rewind(fbuf);
669 else if ((fbuf = Fopen(cp, "re")) == NULL) {
677 while ((rc = readline(fbuf, linebuf, LINESIZE, 0)) >= 0) {
681 (void)Fclose(fbuf);
[all...]
/netbsd-current/external/bsd/ntp/dist/sntp/
H A Dkod_management.c190 char fbuf[254+10+4+2+1+1]; local
214 while (!feof(db_s) && NULL != fgets(fbuf, sizeof(fbuf), db_s)) {
217 if ('\n' == fbuf[0])
221 len = strlen(fbuf);
223 if (' ' == fbuf[a])
226 if ('\n' == fbuf[a]) {
259 str_ptr = fgets(fbuf, sizeof(fbuf), db_s);
266 if ('\n' == fbuf[
[all...]
/netbsd-current/sbin/ifconfig/
H A Dether.c155 char fbuf[BUFSIZ]; local
164 (void)snprintb_m(fbuf, sizeof(fbuf), ECCAPBITS,
166 bp = fbuf;
171 (void)snprintb_m(fbuf, sizeof(fbuf), ECCAPBITS,
173 bp = fbuf;
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dether.c127 char fbuf[1024];
128 struct berval filter = {sizeof(fbuf)};
129 filter.bv_val = fbuf;
142 char fbuf[1024];
143 struct berval filter = {sizeof(fbuf)};
144 filter.bv_val = fbuf;
H A Drpc.c126 char fbuf[1024];
127 struct berval filter = {sizeof(fbuf)};
128 filter.bv_val = fbuf;
141 char fbuf[1024];
142 struct berval filter = {sizeof(fbuf)};
143 filter.bv_val = fbuf;
H A Dprotocol.c124 char fbuf[1024];
125 struct berval filter = {sizeof(fbuf)};
126 filter.bv_val = fbuf;
139 char fbuf[1024];
140 struct berval filter = {sizeof(fbuf)};
141 filter.bv_val = fbuf;
H A Dnetwork.c119 char fbuf[1024];
120 struct berval filter = {sizeof(fbuf)};
121 filter.bv_val = fbuf;
136 char fbuf[1024];
137 struct berval filter = {sizeof(fbuf)};
138 filter.bv_val = fbuf;
H A Dhost.c119 char fbuf[1024];
120 struct berval filter = {sizeof(fbuf)};
121 filter.bv_val = fbuf;
136 char fbuf[1024];
137 struct berval filter = {sizeof(fbuf)};
138 filter.bv_val = fbuf;
H A Dalias.c99 char fbuf[1024];
100 struct berval filter = {sizeof(fbuf)};
101 filter.bv_val = fbuf;
H A Dpasswd.c168 char fbuf[1024]; local
169 struct berval filter = {sizeof(fbuf),fbuf};
397 char fbuf[1024];
398 struct berval filter = {sizeof(fbuf)};
399 filter.bv_val = fbuf;
416 char fbuf[1024];
417 struct berval filter = {sizeof(fbuf)};
418 filter.bv_val = fbuf;
H A Dgroup.c279 char fbuf[1024];
280 struct berval filter = {sizeof(fbuf)};
281 filter.bv_val = fbuf;
301 char fbuf[1024];
302 struct berval filter = {sizeof(fbuf)};
303 filter.bv_val = fbuf;
318 char fbuf[1024];
319 struct berval filter = {sizeof(fbuf)};
320 filter.bv_val = fbuf;
H A Dnetgroup.c192 char fbuf[1024];
193 struct berval filter = {sizeof(fbuf)};
194 filter.bv_val = fbuf;
H A Dservice.c213 char fbuf[1024];
214 struct berval filter = {sizeof(fbuf)};
215 filter.bv_val = fbuf;
230 char fbuf[1024];
231 struct berval filter = {sizeof(fbuf)};
232 filter.bv_val = fbuf;
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
H A Drbacuser.c359 char fbuf[RBAC_BUFLEN]; local
360 struct berval filter = { sizeof(fbuf), fbuf };
391 memset( fbuf, 0, sizeof(fbuf) );
392 strcpy( fbuf, "uid=" );
393 strncat( fbuf, reqp->uid.bv_val, reqp->uid.bv_len );
394 filter.bv_val = fbuf;
395 filter.bv_len = strlen( fbuf );
H A Drbacsess.c660 char fbuf[RBAC_BUFLEN]; local
661 struct berval filter = { sizeof(fbuf), fbuf };
687 memset( fbuf, 0, sizeof(fbuf) );
688 strcpy( fbuf, RBAC_SESSION_RDN_EQ );
689 strncpy( &fbuf[0] + sizeof(RBAC_SESSION_RDN_EQ) - 1, reqp->sessid.bv_val,
691 filter.bv_val = fbuf;
692 filter.bv_len = strlen( fbuf );
734 char fbuf[RBAC_BUFLE local
[all...]
/netbsd-current/tests/lib/libc/gen/
H A Dt_humanize_number.c206 char fbuf[128]; local
232 w_printf("%s,", formatflags(fbuf, sizeof(fbuf), scale_flags,
235 w_printf("%s)", formatflags(fbuf, sizeof(fbuf), normal_flags,
/netbsd-current/sys/arch/sparc/stand/boot/
H A Dboot.c57 char fbuf[80], dbuf[128]; variable
294 kgets(fbuf, sizeof(fbuf));
295 if (fbuf[0])
296 strcpy(kernel, fbuf);
/netbsd-current/games/phantasia/
H A Dsetup.c86 struct stat fbuf; /* for getting files statistics */
112 if (stat(path, &fbuf) == 0)
85 struct stat fbuf; /* for getting files statistics */ local
/netbsd-current/sys/dev/pci/
H A Dichsmb.c533 char fbuf[64]; local
555 snprintb(fbuf, sizeof(fbuf), SMB_HS_BITS, st);
556 printf("%s: exec: st %s\n", device_xname(sc->sc_dev), fbuf);
656 snprintb(fbuf, sizeof(fbuf), SMB_HS_BITS, st);
658 fbuf);
673 char fbuf[64]; local
690 snprintb(fbuf, sizeof(fbuf), SMB_HS_BIT
[all...]

Completed in 186 milliseconds

123