Searched refs:BUFSIZE (Results 1 - 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_tune.h56 * The definitions of LBSIZE and CRSIZE should be the same as BUFSIZE
60 #define LBSIZE BUFSIZE /* Line buffer size */
61 #define CRSIZE BUFSIZE /* Crypt block size */
68 #define ONMSZ BUFSIZE /* Option name size */
74 #define HBLKS 1 /* struct header fits in BUFSIZE*HBLKS */
77 #define HBLKS ((sizeof(struct header)+BUFSIZE-1)/BUFSIZE)
H A Dex_temp.h78 * Basically, the editor deals with the file as a sequence of BUFSIZE character
106 var unsigned char ibuff[BUFSIZE];
107 var unsigned char ibuff2[BUFSIZE];
108 var unsigned char obuff[BUFSIZE];
H A Dex_temp.c237 nleft = BUFSIZE - off;
306 unsigned char incorb[INCORB+1][BUFSIZE];
307 #define pagrnd(a) ((unsigned char *)(((int)a)&~(BUFSIZE-1)))
318 bcopy(pagrnd(incorb[b+1]), buf, BUFSIZE); local
321 bcopy(buf, pagrnd(incorb[b+1]), BUFSIZE);
330 lseek(tfile, (long)(unsigned)b * BUFSIZE, 0); local
331 if ((*iofcn)(tfile, buf, BUFSIZE) != BUFSIZE)
351 if (write(tfile, pagrnd(incorb[1]), i * BUFSIZE) != (i * BUFSIZE))
424 lseek(tfile, (long)(unsigned)*bp * BUFSIZE, 0); local
503 lseek(rfile, (long)b * BUFSIZE, 0); local
[all...]
H A Dexrecover.c78 unsigned char nb[BUFSIZE];
213 (void)lseek(tfile, (long) blocks[b] * BUFSIZE, 0); local
214 i = H.Flines < BUFSIZE / sizeof (line) ?
215 H.Flines * sizeof (line) : BUFSIZE;
456 unsigned char bestnb[BUFSIZE]; /* Name of the best one */
523 unsigned char dbuf[BUFSIZE];
588 (void)lseek(tfile, (long)(BUFSIZE*HBLKS-8), 0);
614 unsigned char bk[BUFSIZE];
630 (void)lseek(tfile, (long) BUFSIZE * bno, 0);
631 cnt = read(tfile, (char *) bk, BUFSIZE);
811 lseek(tfile, (long) (unsigned) b * BUFSIZE, 0); local
[all...]
H A Dexpreserve.c46 #define BUFSIZE (LINE_MAX*2) /* This should agree with what's in ex.h */ macro
178 unsigned char buf[BUFSIZE];
316 i = read(0, buf, BUFSIZE);
405 unsigned char cmd[BUFSIZE];
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dpread.c46 #define BUFSIZE (1*1024) macro
48 #define BUFSIZE (4*1024) macro
51 static char buf[BUFSIZE];
65 count = (rsize < BUFSIZE ? rsize : BUFSIZE);
/illumos-gate/usr/src/cmd/dis/
H A Ddis_util.h46 #define BUFSIZE 1024 macro
H A Ddis_util.c108 static int size = BUFSIZE;
139 size = size + BUFSIZE;
/illumos-gate/usr/src/lib/libcmd/common/
H A Drevlib.c29 #define BUFSIZE SF_BUFSIZE macro
40 char buff[BUFSIZE];
56 offset = rounddown(offset,BUFSIZE);
59 n = BUFSIZE;
103 offset -= BUFSIZE;
/illumos-gate/usr/src/lib/libtsol/common/
H A Dlabeld.h42 #define BUFSIZE 4096 macro
158 char vers[BUFSIZE];
166 char color[BUFSIZE];
177 char slabel[BUFSIZE];
186 char cslabel[BUFSIZE];
194 char string[BUFSIZE];
204 char string[BUFSIZE];
235 char buf[BUFSIZE];
258 char buf[BUFSIZE];
272 char pathname[BUFSIZE];
[all...]
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c42 #define BUFSIZE 1024 /* gross enough to never be exceeded (we hope) */ macro
44 char buf1[BUFSIZE], buf2[BUFSIZE];
/illumos-gate/usr/src/cmd/cdrw/
H A Dutil.h42 #define BUFSIZE 32 macro
H A Dutil.c197 char s[BUFSIZE];
208 (void) snprintf(s, BUFSIZE,
226 (void) snprintf(s, BUFSIZE, gettext("done.\n"));
228 (void) snprintf(s, BUFSIZE, "%d %%", (uint_t)total);
/illumos-gate/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.h189 * used for reading the input files (changed with the -B option). BUFSIZE is
197 #define BUFSIZE 512 macro
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dstandalone.c125 char passwdBuf[BUFSIZE];
132 if (fgets(passwdBuf, BUFSIZE, f) == NULL) {
H A Dldapclient.c2121 if (domainlen > (BUFSIZE - sizeof (CMD_DOMAIN_START) -
2582 char yp_dir[BUFSIZE], yp_dir_back[BUFSIZE];
2585 char ldap_file_back[BUFSIZE], ldap_cred_back[BUFSIZE];
2670 (void) strlcpy(ldap_file_back, LDAP_RESTORE_DIR "/", BUFSIZE);
2671 (void) strlcat(ldap_file_back, ldap_conf_file, BUFSIZE);
2692 (void) strlcpy(ldap_cred_back, LDAP_RESTORE_DIR "/", BUFSIZE);
2693 (void) strlcat(ldap_cred_back, ldap_cred_file, BUFSIZE);
2715 if (strlen(name) >= (BUFSIZE
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_getalias.c112 char filter[BUFSIZE];
113 char userdata[BUFSIZE];
121 size_t ans_size = BUFSIZE;
207 ans_size += BUFSIZE;
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfileutil.c68 char line[BUFSIZE];
76 retrieve_string(fp, line, BUFSIZE)) != NULL) {
117 static char buff[BUFSIZE]; /* line buffer */
119 while (s = fgets(buff, BUFSIZE, fp)) {
H A Dfs_dfstab.c72 static char cmd[BUFSIZE];
79 fileutil_getline(dfp, cmd, BUFSIZE)) != NULL) {
163 char tempstr[BUFSIZE];
166 cmd = (char *)calloc((size_t)1, BUFSIZE);
174 strlcat(cmd, tempstr, BUFSIZE);
178 strlcat(cmd, tempstr, BUFSIZE);
183 strlcat(cmd, tempstr, BUFSIZE);
186 strlcat(cmd, tempstr, BUFSIZE);
189 strlcat(cmd, tempstr, BUFSIZE);
312 char cmd[BUFSIZE];
[all...]
/illumos-gate/usr/src/lib/libprtdiag/inc/
H A Dpdevinfo.h46 #define BUFSIZE (MAXPROPSIZE + MAXVALSIZE + sizeof (uint_t)) macro
48 char buf[BUFSIZE];
/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c72 #define BUFSIZE 256 macro
193 char buf[BUFSIZE];
194 char name[BUFSIZE+1], actions[BUFSIZE+1];
214 for (line = 1; fgets(buf, BUFSIZE, fp) != NULL; line++) {
227 " %" VAL2STR(BUFSIZE) "[^=]=%" VAL2STR(BUFSIZE) "s \n%n",
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-platform.h524 #define k5_getpwnam_r(NAME, REC, BUF, BUFSIZE, OUT) \
525 (*(OUT) = getpwnam_r(NAME,REC,BUF,BUFSIZE), *(OUT) == NULL ? -1 : 0)
527 #define k5_getpwuid_r(UID, REC, BUF, BUFSIZE, OUT) \
528 (*(OUT) = getpwuid_r(UID,REC,BUF,BUFSIZE), *(OUT) == NULL ? -1 : 0)
/illumos-gate/usr/src/common/iscsi/
H A Dbase64.c112 #define BUFSIZE 12 macro
119 uint8_t tmp_out[BUFSIZE];
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_prom.c61 #define BUFSIZE (MAXPROPSIZE + MAXVALSIZE + sizeof (u_int)) macro
63 char buf[BUFSIZE];
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c48 #define BUFSIZE (MAXPROPSIZE + MAXVALSIZE + sizeof (u_int)) macro
53 char buf[BUFSIZE];

Completed in 118 milliseconds

123