/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | trace.c | 214 char ifname[BUFSIZ]; in xlator_start_if() 717 char f_type[BUFSIZ]; /* The function. */ in collect_prototype() 718 char f_basetype[BUFSIZ]; in collect_prototype() 719 char f_name[BUFSIZ]; in collect_prototype() 720 char a_name[BUFSIZ]; /* The arguments. */ in collect_prototype() 721 char a_basetype[BUFSIZ]; in collect_prototype() 722 char a_type[BUFSIZ]; in collect_prototype() 727 char tmp_proto[BUFSIZ], buf[BUFSIZ]; in collect_prototype() 732 tmp_proto[BUFSIZ-1] = 0; in collect_prototype() 797 (void) snprintf(a_type, BUFSIZ, "%s ", in collect_prototype() [all …]
|
H A D | parseproto.y | 1321 char buf[BUFSIZ]; in type_PrintType() 1812 char buf[BUFSIZ]; in decl_PrintDecl() 1840 char tmp[BUFSIZ]; in decl_ToString() 1841 char tmp2[BUFSIZ]; in decl_ToString() 1974 char buf[BUFSIZ]; in decl_AddArgNames() 2027 char buf[BUFSIZ]; in main() 2065 char buf[BUFSIZ]; in decl_PrintTraceInfo() 2066 char f_type[BUFSIZ]; in decl_PrintTraceInfo() 2068 char a_name[BUFSIZ]; in decl_PrintTraceInfo() 2140 char buf[BUFSIZ]; in decl_GetTraceInfo() [all …]
|
H A D | linkage.c | 86 char buf[BUFSIZ]; in generate_interface_predeclaration() 93 (void) snprintf(buf, BUFSIZ, "%s;", strnormalize(p)); in generate_interface_predeclaration() 95 (void) snprintf(buf, BUFSIZ, "%s", strnormalize(p)); in generate_interface_predeclaration()
|
/illumos-gate/usr/src/ucblib/libtermcap/ |
H A D | termcap.c | 22 #define BUFSIZ 1024 macro 72 char ibuf[BUFSIZ]; in tgetent() 110 cnt = read(tf, ibuf, BUFSIZ); in tgetent() 125 if (cp >= bp+BUFSIZ) { in tgetent() 156 char tcbuf[BUFSIZ]; in tnchktc() 188 if (l > BUFSIZ) { in tnchktc() 190 q[BUFSIZ - (p-tbuf)] = 0; in tnchktc()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_pipeio.c | 65 char pipe_buf[BUFSIZ]; /* Ring buffer for pipe contents */ 95 if (BUFSIZ - pd->pipe_rdndx < n) { in pio_read() 104 size_t n1 = BUFSIZ - pd->pipe_rdndx; in pio_read() 121 pd->pipe_rdndx = (pd->pipe_rdndx + n) % BUFSIZ; in pio_read() 159 if (BUFSIZ - pd->pipe_wrndx < n) { in pio_write() 168 size_t n1 = BUFSIZ - pd->pipe_wrndx; in pio_write() 186 pd->pipe_wrndx = (pd->pipe_wrndx + n) % BUFSIZ; in pio_write() 334 pd->pipe_free = BUFSIZ; in mdb_pipeio_create()
|
/illumos-gate/usr/src/ucblib/libucb/inc/ |
H A D | stdiom.h | 49 #define MAXVAL (MAXINT - (MAXINT % BUFSIZ)) 66 #if BUFSIZ == 1024 68 #elif BUFSIZ == 512 71 #define MULTIBFSZ(SZ) ((SZ) - (SZ % BUFSIZ))
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | debug.c | 45 char fmtbuf[BUFSIZ]; in cryptodebug() 46 char msgbuf[BUFSIZ]; in cryptodebug() 86 char fmtbuf[BUFSIZ]; in cryptoerror() 87 char msgbuf[BUFSIZ]; in cryptoerror()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmttydefs.c | 58 static char line[BUFSIZ]; in read_ttydefs() 59 static char dbuf[BUFSIZ]; in read_ttydefs() 67 d_if[BUFSIZ], in read_ttydefs() 68 d_ff[BUFSIZ]; in read_ttydefs() 80 for (len = 0; len < (size_t)(BUFSIZ - 1); len++) in read_ttydefs() 158 BUFSIZ); in read_ttydefs() 172 BUFSIZ); in read_ttydefs() 311 static char buf[BUFSIZ]; in check_flags()
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.cat.c | 113 static char buf[BUFSIZ]; in BppState() 277 char mesg[BUFSIZ]; in printer_info() 368 char buffer[BUFSIZ]; 541 max_delay = DELAY(BUFSIZ, effective_rate); in main() 554 while ((nin = read(0, buffer, BUFSIZ)) > 0) { in main() 566 #if PIPE_BUF < BUFSIZ || (PIPE_MAX % BUFSIZ) in main() 600 R((100 * BUFSIZ) / in main()
|
/illumos-gate/usr/src/cmd/exstr/ |
H A D | exstr.c | 167 char dbuf[BUFSIZ]; in yankstr() 231 char linebuf[BUFSIZ]; in replace() 240 char repbuf[BUFSIZ], *repbufp; in replace() 241 char curline[BUFSIZ]; in replace() 242 char outbuf[BUFSIZ]; in replace() 390 outp += snprintf(outp, BUFSIZ - (outp - outbuf), in replace() 394 outp += snprintf(outp, BUFSIZ - (outp - outbuf), in replace()
|
/illumos-gate/usr/src/cmd/mailwrapper/ |
H A D | fgetln.c | 52 bufsiz = BUFSIZ; in fgetln() 62 size_t nbufsiz = bufsiz + BUFSIZ; in fgetln() 75 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) in fgetln()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | logdir.c | 45 #define BUFSIZ 160 macro 47 static char line[BUFSIZ+1]; 73 i = read(pwf, line, BUFSIZ); in logdir()
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_util.c | 119 char buffer[BUFSIZ]; in update_conf() 120 char buffer2[BUFSIZ]; in update_conf() 173 while (fgets(buffer, BUFSIZ, pfile) != NULL) { in update_conf() 184 (void) strlcpy(buffer2, buffer, BUFSIZ); in update_conf() 197 (void) strlcpy(buffer2, buffer, BUFSIZ); in update_conf() 205 (void) strlcpy(buffer2, buffer, BUFSIZ); in update_conf()
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_utils.c | 685 char line[BUFSIZ]; in be_append_menu() 688 char *entries[BUFSIZ]; in be_append_menu() 813 char str[BUFSIZ]; in be_append_menu() 1107 char tline [BUFSIZ]; in be_remove_menu() 1443 char line[BUFSIZ]; in be_default_grub_bootfs() 1599 char line[BUFSIZ]; in be_change_grub_default() 1838 char line[BUFSIZ]; in be_update_menu() 1966 char tline[BUFSIZ]; in be_update_menu() 2126 char line[BUFSIZ]; in be_has_menu_entry() 2690 char buf[BUFSIZ]; in be_print_err() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uuglist.c | 129 char line[BUFSIZ]; in rproc() 134 while (rdfulline(cfd, line, BUFSIZ) != 0) { in rproc() 148 char line[BUFSIZ]; in uproc() 154 while (rdfulline(cfd, line, BUFSIZ) != 0) { in uproc()
|
H A D | uuname.c | 44 char s[BUFSIZ], prev[BUFSIZ], name[BUFSIZ];
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.lex.c | 201 tchar wbuf[BUFSIZ]; in word() 209 i = BUFSIZ - 4; in word() 761 tchar wbuf[BUFSIZ]; in subword() 784 i = BUFSIZ - 4; in subword() 1315 buf = (int)fseekp / BUFSIZ; 1321 buf = (int)feobp / BUFSIZ; 1322 off = (int)feobp % BUFSIZ; 1327 roomleft = BUFSIZ - off; 1330 c = tenex(ttyline, BUFSIZ); 1391 fseekp -= BUFSIZ * sb; [all …]
|
H A D | sh.tchar.c | 242 char buf1[BUFSIZ]; in strcoll_() 243 char buf2[BUFSIZ]; in strcoll_() 421 unsigned char chbuf[BUFSIZ * MB_LEN_MAX]; /* General use buffer. */ in read_() 452 assert(nchreq <= BUFSIZ); in read_() 635 assert(nchreq <= BUFSIZ); in read_() 678 unsigned char chbuf[BUFSIZ*MB_LEN_MAX]; /* General use buffer. */ in write_() 815 char chbuf[BUFSIZ * MB_LEN_MAX]; /* General use buffer. */ in gethostname_() 817 assert(namelen < BUFSIZ); in gethostname_() 852 char chbuf[BUFSIZ * MB_LEN_MAX]; /* General use buffer. */ in chkalldigit_() 867 char chbuf[BUFSIZ * MB_LEN_MAX]; /* General use buffer. */ in atoi_()
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | conn.c | 134 char *dev[D_MAX+2], devbuf[BUFSIZ]; in getto() 213 char *commap, d_type[BUFSIZ]; in rddev() 216 while (getdevline(buf, BUFSIZ)) { in rddev() 302 info = malloc(BUFSIZ); in finds() 308 while (getsysline(info, BUFSIZ)) { in finds() 425 char buf[BUFSIZ]; in expect() 545 char buff[BUFSIZ]; in wait_for_hangup() 548 while ((rval = read(dcf, buff, BUFSIZ)) > 0) in wait_for_hangup() 581 char buf[BUFSIZ]; in sendthem() 715 char dbuf[BUFSIZ], *dbptr = dbuf; in wrstr()
|
/illumos-gate/usr/src/cmd/lp/lib/access/ |
H A D | bang.c | 66 char sysname1[BUFSIZ], in bangequ() 67 sysname2[BUFSIZ]; in bangequ() 68 char username1[BUFSIZ], in bangequ() 69 username2[BUFSIZ], in bangequ()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/ctime/ |
H A D | ctime_001_pos.c | 58 static char tfile[BUFSIZ] = { 0 }; 105 char buf[BUFSIZ] = { 0 }; in do_read() 128 char buf[BUFSIZ] = "call function do_write()"; in do_write() 151 char link_file[BUFSIZ] = { 0 }; in do_link() 163 (void) snprintf(link_file, BUFSIZ, "%s/%s", dname, "link_file"); in do_link()
|
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | frontend.c | 158 char key[BUFSIZ], *value = NULL, *p = NULL; in read_spec() 200 (void) strncpy(meta_info.mi_filename, spec_filename, BUFSIZ); in read_spec() 464 char fun[BUFSIZ]; in check4extends() 465 char extends[BUFSIZ]; in check4extends() 543 char buf[BUFSIZ]; in readline() 545 if (fgets(buf, BUFSIZ, fp)) { in readline() 556 if (!fgets(buf, BUFSIZ, fp)) { in readline()
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | lookbib.c | 27 char s[BUFSIZ], hunt[64]; in main() 54 fgets(s, BUFSIZ, stdin); in main() 60 if (fgets(s, BUFSIZ, stdin)) { in main()
|
H A D | refer2.c | 45 char answer[ANSLEN], temp[TLEN], line[BUFSIZ]; in doref() 112 if (strlen(temp)+strlen(answer) > BUFSIZ) in doref() 116 if (strlen(answer) > BUFSIZ) in doref() 189 char ob[BUFSIZ], *p, *r, *q, *t; in choices() 195 corout(r, ob, "deliv", dr, BUFSIZ); in choices()
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | alerts.c | 89 buf[BUFSIZ]; in putalert() 161 while (fdgets(buf, BUFSIZ, fdin)) { in putalert() 274 char buf[BUFSIZ]; in getalert() 315 while ((tmp = fdgets(buf, BUFSIZ, fd)) && in getalert() 354 (void)fdgets (buf, BUFSIZ, fd); in getalert() 364 (void)fdgets (buf, BUFSIZ, fd); in getalert()
|