/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/io/ |
H A D | fbuf.c | 27 #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 D | fbuf.h | 39 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 D | fbuf.c | 27 #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 D | fbuf.h | 39 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 D | errwarn.c | 60 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 D | quit.c | 269 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 D | collect.c | 369 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 D | kod_management.c | 190 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 D | ether.c | 155 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 D | ether.c | 127 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 D | rpc.c | 126 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 D | protocol.c | 124 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 D | network.c | 119 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 D | host.c | 119 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 D | alias.c | 99 char fbuf[1024]; 100 struct berval filter = {sizeof(fbuf)}; 101 filter.bv_val = fbuf;
|
H A D | passwd.c | 168 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 D | group.c | 279 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 D | netgroup.c | 192 char fbuf[1024]; 193 struct berval filter = {sizeof(fbuf)}; 194 filter.bv_val = fbuf;
|
H A D | service.c | 213 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 D | rbacuser.c | 359 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 D | rbacsess.c | 660 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 D | t_humanize_number.c | 206 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 D | boot.c | 57 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 D | setup.c | 86 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 D | ichsmb.c | 533 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...] |