Searched defs:buff (Results 76 - 100 of 140) sorted by relevance

123456

/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_proc.c875 char buff[256]; local
939 snprintf(buff,
940 sizeof (buff),
968 snprintf(buff,
969 sizeof (buff),
984 snprintf(buff,
985 sizeof (buff),
995 snprintf(buff, sizeof (buff),
1003 snprintf(buff, sizeo
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxpvd.c317 caddr_t buff; local
359 buff = kmem_alloc((size_t)prop_len, KM_SLEEP);
360 *(caddr_t *)valuep = (caddr_t)buff;
363 buff = (caddr_t)valuep;
373 bcopy(prop_str, buff, prop_len);
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dcrypt.c852 char buff[1024]; local
853 strncpy(buff, key, 1024);
854 buff[1023] = 0;
855 return buff;
/illumos-gate/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c363 xmlChar buff[INET6_ADDRSTRLEN + 1] = { 0 }; local
370 if (xmlStrPrintf(buff, sizeof (buff),
373 value = (xmlChar *)&buff;
384 (char *)buff,
385 sizeof (buff));
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c528 char buff[SA_MAX_RESOURCE_NAME + 1]; local
531 (void) snprintf(buff, SA_MAX_RESOURCE_NAME, "%s", dataset);
532 sa_fix_resource_name(buff);
533 (void) sa_add_resource(share, buff, SA_SHARE_TRANSIENT, &ret);
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c733 static char *buff; local
734 if(!buff)
735 buff = (char*)malloc(MAXLINE);
736 ep->e_outbase = ep->e_outptr = buff;
799 int ed_read(void *context, int fd, char *buff, int size, int reedit) argument
855 buff[0] = ESC;
856 buff[1] = cntl('L');
857 buff[2] = 'a';
861 buff[0] = cntl('L');
869 rv = sfpkrd(fd,buff,siz
1550 char buff[MAXLINE]; local
[all...]
H A Demacs.c178 int ed_emacsread(void *context, int fd,char *buff,int scend, int reedit) argument
203 return(reedit?reedit:ed_read(context, fd,buff,scend,0));
209 out = (genchar*)buff;
211 out = (genchar*)roundof(buff-(char*)0,sizeof(genchar));
213 ed_internal(buff,out);
701 ed_external(out,buff);
703 i = strlen(buff);
H A Dhistory.c181 char *buff, *cp, *last; local
382 char buff[SF_BUFSIZE]; local
384 if(sh_isstate(SH_INTERACTIVE) && (hp->auditmask=sh_checkaudit(hp,SHOPT_AUDITFILE, buff, sizeof(buff))))
386 if((fd=sh_open(buff,O_BINARY|O_WRONLY|O_APPEND|O_CREAT,S_IRUSR|S_IWUSR))>=0 && fd < 10)
464 char *buff, *endbuff, *tmpname=0; local
525 if(!(buff=(char*)sfreserve(hist_old->histfp,SF_UNBOUND,0)))
527 *(endbuff=(cp=buff)+sfvalue(hist_old->histfp)) = 0;
537 c = cp-buff;
539 sfwrite(hist_new->histfp,buff,
559 unsigned char *buff, marker[4]; local
737 register char *buff; local
764 hist_write(Sfio_t *iop,const void *buff,register size_t insize,Sfdisc_t* handle) argument
857 hist_marker(register char *buff,register long cmdno) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dlex.c181 static void lex_advance(Sfio_t *iop, const char *buff, register int size, void *context) argument
193 sfwrite(log, (void*)buff, size);
195 sfwrite(sfstderr, buff, size);
202 int n = size - (lp->lexd.docend-(char*)buff);
208 size -= (lp->lexd.first-(char*)buff);
209 buff = lp->lexd.first;
218 sfwrite(stkp,buff,size);
1666 ssize_t _sfwrite(Sfio_t *sp, const Void_t *buff, size_t n) argument
1668 const char *cp = (const char*)buff, *next=cp, *ep = cp + n;
H A Dparse.c730 struct checkpt buff; local
797 sh_pushcontext(&buff,1);
798 jmpval = sigsetjmp(buff.buff,0);
834 sh_popcontext(&buff);
H A Dpath.c631 char *pname,*oldname=shp->st.filename, buff[IOBSIZE+1]; local
659 sh_eval(sfnew(NIL(Sfio_t*),buff,IOBSIZE,fno,SF_READ),SH_FUNEVAL);
1034 char buff[PATH_MAX+1]; local
1039 while((n=readlink(path,buff,PATH_MAX))>0)
1041 buff[n] = 0;
1044 if((v=strrchr(path,'/')) && *buff!='/')
1046 if(buff[0]=='.' && buff[1]=='.' && (r = strlen(path) + 1) <= PATH_MAX)
1053 stakputs(buff);
1056 if(v && buff[
[all...]
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c101 char buff[BUFFLEN]; local
117 if (fgets(buff, sizeof (buff), fp) == NULL) {
126 if ((status = skipline(buff)) != 0) {
136 lp = skipwhite(&buff[0]);
207 char buff[BUFFLEN], ccbuf[_CCBUFLEN], *ptr; local
236 if (fgets(buff, sizeof (buff), fp_zone) == NULL) {
245 if ((status = skipline(buff)) != 0) {
261 lp_cc = skipwhite(&buff[
453 char buff[1024]; local
946 char buff[512]; local
997 char buff[1024]; local
1230 char buff[512], *endp; local
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_db.c2440 char *buff; local
2456 while ((fp != NULL) && ((buff = fgets(inbuff, (sizeof (inbuff) - 1),
2460 if (*buff == '#')
2466 i = strcspn(buff, " \t");
2469 (void) strncpy(c.c_locator.l_driver, buff, i);
2470 buff += i;
2472 makedev((major_t)0, (minor_t)strtol(buff, &buff, 10));
2473 c.c_locator.l_blkno = (daddr_t)strtol(buff, &buff, 1
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c1965 char buff[10];
1966 char *p = argv[1], *q = &buff[0];
1968 while (getfield(&q, sizeof buff, &p, ':') != NULL) {
2041 char *buff; local
2070 buff = malloc(size);
2072 irp_marshall_ng_start(ngname, buff, &size);
2075 domains[i], buff,
2079 irp_marshall_ng_end(buff, &size);
2081 if (strcmp_nws(argv[1], buff) != 0) {
2088 char *h, *u, *d, *buff; local
[all...]
/illumos-gate/usr/src/cmd/ptools/pstack/
H A Dpstack.c531 char buff[255]; local
548 (void) sprintf(buff, "%.*lx", length, (long)pc);
549 (void) strcpy(buff + length, " ????????");
551 buff + 1 + length, sizeof (buff) - 1 - length, &sym) == 0) {
578 (void) printf(" %-17s (", buff);
602 if (sig2str((int)argv[0], buff) == -1)
603 (void) strcpy(buff, " Unknown");
605 "signal %d (SIG%s) ---\n", (int)argv[0], buff);
614 char buff[25 local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c147 static char buff[80]; local
151 (void) strcpy(buff, ".... .... = ");
155 for (p = &buff[8]; p >= buff; p--) {
161 (void) strcat(buff, set ? s_true: s_false);
167 return (buff);
453 static char *buff = NULL; local
464 if (buff)
465 free(buff);
466 if ((buff
473 (void) sprintf(get_line(pos, getxdr_pos()), fmt, buff); local
480 static char buff[1024]; local
505 static char buff[1024]; local
512 (void) sprintf(get_line(pos, getxdr_pos()), fmt, buff); local
574 static char buff[64]; local
628 static char buff[64]; local
671 static char buff[64]; local
[all...]
H A Dsnoop_ip.c86 char buff[24]; local
139 (void) strlcpy(buff, inet_ntoa(ip->ip_dst),
140 sizeof (buff));
144 buff, local
H A Dsnoop_slp.c1038 static char buff[128]; local
1040 strcpy(buff, ctime((time_t *)&timestamp));
1041 buff[strlen(buff) - 1] = '\0';
1042 return (buff);
H A Dsnoop_smb.c792 char buff[80]; local
795 (void) strlcpy(buff, " ", sizeof (buff));
798 (void) strlcat(buff, word, sizeof (buff));
800 show_line(buff);
801 (void) strlcpy(buff, " ", sizeof (buff));
1964 char buff[80]; local
1993 buff[
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddump.c1275 uint32_t buff[256]; local
1276 isns_pdu_t *pdu = (isns_pdu_t *)buff;
1424 uint32_t buff[256]; local
1425 isns_pdu_t *pdu = (isns_pdu_t *)buff;
1503 uint32_t buff[256]; local
1504 isns_pdu_t *pdu = (isns_pdu_t *)buff;
1583 uint32_t buff[256]; local
1584 isns_pdu_t *pdu = (isns_pdu_t *)buff;
H A Dscn.c1711 char buff[1024] = { 0 }; local
1712 char *logbuff = buff;
1805 isnslog(LOG_DEBUG, "scn_trigger1", buff);
/illumos-gate/usr/src/cmd/sgs/nm/common/
H A Dnm.c1344 static char *buff = 0; local
1355 if (buff == NULL) {
1356 buff = malloc(DEF_MAX_SYM_SIZE);
1361 if (buff)
1362 free(buff);
1363 buff = malloc(sym_len);
1367 if (buff == NULL) {
1372 s = strcpy(buff, in_str);
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfssys.h159 char *buff; /* buffer to flush/rename */ member in struct:nfsl_flush_args
169 caddr32_t buff; /* buffer to flush/rename */ member in struct:nfsl_flush_args32
/illumos-gate/usr/src/uts/common/sys/dcam/
H A Ddcam1394_io.h218 unsigned char *buff; member in struct:dcam1394_frame_s
/illumos-gate/usr/src/uts/common/io/
H A Dllc1.c3053 static char buff[32]; local
3055 (void) sprintf(buff, "%x.%x.%x.%x.%x",
3061 return (buff);

Completed in 150 milliseconds

123456