Home
last modified time | relevance | path

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

123

/titanic_41/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 …]
/titanic_41/usr/src/cmd/vi/port/
H A Dex_tune.h60 #define LBSIZE BUFSIZE /* Line buffer size */
61 #define CRSIZE BUFSIZE /* Crypt block size */
68 #define ONMSZ BUFSIZE /* Option name size */
77 #define HBLKS ((sizeof(struct header)+BUFSIZE-1)/BUFSIZE)
H A Dexrecover.c78 unsigned char nb[BUFSIZE];
213 (void)lseek(tfile, (long) blocks[b] * BUFSIZE, 0); in main()
214 i = H.Flines < BUFSIZE / sizeof (line) ? in main()
215 H.Flines * sizeof (line) : BUFSIZE; in main()
456 unsigned char bestnb[BUFSIZE]; /* Name of the best one */
523 unsigned char dbuf[BUFSIZE]; in searchdir()
588 (void)lseek(tfile, (long)(BUFSIZE*HBLKS-8), 0); in yeah()
614 unsigned char bk[BUFSIZE]; in scrapbad()
630 (void)lseek(tfile, (long) BUFSIZE * bno, 0); in scrapbad()
631 cnt = read(tfile, (char *) bk, BUFSIZE); in scrapbad()
[all …]
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); in blkio()
321 bcopy(buf, pagrnd(incorb[b+1]), BUFSIZE); in blkio()
330 lseek(tfile, (long)(unsigned)b * BUFSIZE, 0); in blkio()
331 if ((*iofcn)(tfile, buf, BUFSIZE) != BUFSIZE) in blkio()
351 if (write(tfile, pagrnd(incorb[1]), i * BUFSIZE) != (i * BUFSIZE)) in tflush()
411 a += BUFSIZE / sizeof (*a), bp++) { in synctmp()
424 lseek(tfile, (long)(unsigned)*bp * BUFSIZE, 0); in synctmp()
[all …]
H A Dex_temp.h106 var unsigned char ibuff[BUFSIZE];
107 var unsigned char ibuff2[BUFSIZE];
108 var unsigned char obuff[BUFSIZE];
H A Dexpreserve.c46 #define BUFSIZE (LINE_MAX*2) /* This should agree with what's in ex.h */ macro
178 unsigned char buf[BUFSIZE]; in copyout()
316 i = read(0, buf, BUFSIZE); in copyout()
405 unsigned char cmd[BUFSIZE]; in notify()
/titanic_41/usr/src/lib/libcmd/common/
H A Drevlib.c29 #define BUFSIZE SF_BUFSIZE macro
40 char buff[BUFSIZE]; in rev_line()
56 offset = rounddown(offset,BUFSIZE); in rev_line()
59 n = BUFSIZE; in rev_line()
103 offset -= BUFSIZE; in rev_line()
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c72 static char cmd[BUFSIZE]; in get_dfstab_ents()
79 fileutil_getline(dfp, cmd, BUFSIZE)) != NULL) { in get_dfstab_ents()
163 char tempstr[BUFSIZE]; in create_share_cmd()
166 cmd = (char *)calloc((size_t)1, BUFSIZE); in create_share_cmd()
174 strlcat(cmd, tempstr, BUFSIZE); in create_share_cmd()
178 strlcat(cmd, tempstr, BUFSIZE); in create_share_cmd()
183 strlcat(cmd, tempstr, BUFSIZE); in create_share_cmd()
186 strlcat(cmd, tempstr, BUFSIZE); in create_share_cmd()
189 strlcat(cmd, tempstr, BUFSIZE); in create_share_cmd()
312 char cmd[BUFSIZE]; in change_dfstab_ent()
[all …]
H A Dfileutil.c68 char line[BUFSIZE]; in fileutil_get_first_column_data()
76 retrieve_string(fp, line, BUFSIZE)) != NULL) { in fileutil_get_first_column_data()
117 static char buff[BUFSIZE]; /* line buffer */ in fileutil_getfs()
119 while (s = fgets(buff, BUFSIZE, fp)) { in fileutil_getfs()
/titanic_41/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];
/titanic_41/usr/src/lib/libast/common/features/
H A Dmmap14 #define BUFSIZE (8*1024)
84 if (read(fd,buf,BUFSIZE) != BUFSIZE)
234 #define BUFSIZE (MAPSIZE/8)
277 { for(k = 0; k < MAPSIZE; k += BUFSIZE)
278 if (read(fd,buf,BUFSIZE) != BUFSIZE)
300 /* the memcpy is < BUFSIZE to simulate the
305 for(k = 0; k < MAPSIZE; k += BUFSIZE, t += BUFSIZE)
306 memcpy(buf,t,(3*BUFSIZE)/4);
/titanic_41/usr/src/cmd/rctladm/
H A Drctladm.c72 #define BUFSIZE 256 macro
193 char buf[BUFSIZE]; in rctladm_read_config()
194 char name[BUFSIZE+1], actions[BUFSIZE+1]; in rctladm_read_config()
214 for (line = 1; fgets(buf, BUFSIZE, fp) != NULL; line++) { in rctladm_read_config()
227 " %" VAL2STR(BUFSIZE) "[^=]=%" VAL2STR(BUFSIZE) "s \n%n", in rctladm_read_config()
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_getalias.c112 char filter[BUFSIZE]; in __getldapaliasbyname()
113 char userdata[BUFSIZE]; in __getldapaliasbyname()
121 size_t ans_size = BUFSIZE; in __getldapaliasbyname()
207 ans_size += BUFSIZE; in __getldapaliasbyname()
/titanic_41/usr/src/cmd/cdrw/
H A Dutil.c197 char s[BUFSIZE]; in progress()
208 (void) snprintf(s, BUFSIZE, in progress()
226 (void) snprintf(s, BUFSIZE, gettext("done.\n")); in progress()
228 (void) snprintf(s, BUFSIZE, "%d %%", (uint_t)total); in progress()
/titanic_41/usr/src/cmd/dis/
H A Ddis_util.c108 static int size = BUFSIZE; in dis_demangle()
139 size = size + BUFSIZE; in dis_demangle()
H A Ddis_util.h46 #define BUFSIZE 1024 macro
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-platform.h524 #define k5_getpwnam_r(NAME, REC, BUF, BUFSIZE, OUT) \ argument
525 (*(OUT) = getpwnam_r(NAME,REC,BUF,BUFSIZE), *(OUT) == NULL ? -1 : 0)
527 #define k5_getpwuid_r(UID, REC, BUF, BUFSIZE, OUT) \ argument
528 (*(OUT) = getpwuid_r(UID,REC,BUF,BUFSIZE), *(OUT) == NULL ? -1 : 0)
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dstandalone.c125 char passwdBuf[BUFSIZE]; in readPwd()
132 if (fgets(passwdBuf, BUFSIZE, f) == NULL) { in readPwd()
H A Dldapclient.c2121 if (domainlen > (BUFSIZE - sizeof (CMD_DOMAIN_START) - in start_services()
2582 char yp_dir[BUFSIZE], yp_dir_back[BUFSIZE]; in recover()
2585 char ldap_file_back[BUFSIZE], ldap_cred_back[BUFSIZE]; in recover()
2670 (void) strlcpy(ldap_file_back, LDAP_RESTORE_DIR "/", BUFSIZE); in recover()
2671 (void) strlcat(ldap_file_back, ldap_conf_file, BUFSIZE); in recover()
2692 (void) strlcpy(ldap_cred_back, LDAP_RESTORE_DIR "/", BUFSIZE); in recover()
2693 (void) strlcat(ldap_cred_back, ldap_cred_file, BUFSIZE); in recover()
2715 if (strlen(name) >= (BUFSIZE - strlen(LDAP_RESTORE_DIR))) in recover()
2717 if (strlen(name) >= (BUFSIZE - strlen(YP_BIND_DIR))) in recover()
2720 (void) strlcpy(yp_dir_back, LDAP_RESTORE_DIR "/", BUFSIZE); in recover()
[all …]
/titanic_41/usr/src/cmd/xargs/
H A Dxargs.c66 #define BUFSIZE LINE_MAX macro
98 static char argbuf[BUFSIZE * 2 + 1];
99 static char lastarg[BUFSIZE + 1];
112 static int BUFLIM = BUFSIZE;
306 if (BUFLIM > BUFSIZE || BUFLIM <= 0) { in main()
308 BUFSIZE, optarg); in main()
/titanic_41/usr/src/lib/libprtdiag/inc/
H A Dpdevinfo.h46 #define BUFSIZE (MAXPROPSIZE + MAXVALSIZE + sizeof (uint_t)) macro
48 char buf[BUFSIZE];
/titanic_41/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c40 #define BUFSIZE (MAXPROPSIZE + MAXVALSIZE + sizeof (uint_t)) macro
42 char buf[BUFSIZE];
154 char *nl, line[BUFSIZE]; in main()
229 (void) memset(oppbuf.buf, '\0', BUFSIZE); in dump_all()
/titanic_41/usr/src/common/iscsi/
H A Dbase64.c112 #define BUFSIZE 12 macro
119 uint8_t tmp_out[BUFSIZE]; in iscsi_base64_str_to_binary()
/titanic_41/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_prom.c61 #define BUFSIZE (MAXPROPSIZE + MAXVALSIZE + sizeof (u_int)) macro
63 char buf[BUFSIZE];
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp_var.h193 #define BUFSIZE ((MAXPATHLEN)*2+MAXCMDLEN+4) macro
195 EXTERN char line[BUFSIZE]; /* input line buffer */
197 EXTERN char argbuf[BUFSIZE]; /* argument storage buffer */

123