/illumos-gate/usr/src/cmd/refer/ |
H A D | refer4.c | 24 static char buff[BUFSIZ]; variable 34 fputs(buff, ftemp); 37 strcpy(buff, s); 38 if (strlen(buff) > BUFSIZ) 39 err(gettext("one buff too big (%d)!"), BUFSIZ); 48 trimnl(buff); 49 for (p = buff; *p; p++) 65 strcat(buff, s); 74 for (p = buff; *p; p++) 82 if (strlen(buff) > BUFSI [all...] |
H A D | hunt3.c | 24 static char buff[BSIZ]; local 31 p = buff; 49 if (p > buff + BSIZ) 52 assert(p < buff + BSIZ);
|
H A D | refer2.c | 46 char buff[QLEN], dbuff[3*QLEN]; local 52 buff[0] = dbuff[0] = NULL; 65 strcat(query ? dbuff : buff, line); 66 if (strlen(buff) > QLEN) 67 err(gettext("query too long (%d)"), strlen(buff)); 73 if (strcmp(buff, "$LIST$\n") == 0) { 79 for (p = buff; *p; p++) { 84 for (p = buff; *p; p++) { 109 if (buff[0]) { /* do not search if no query */ 112 corout(buff, tem 187 choices(char *buff) argument [all...] |
/illumos-gate/usr/src/cmd/lms/ |
H A D | plugin.h | 58 typedef int (*lms_pre_t)(unsigned char *buff, int len); 59 typedef int (*lms_retry_t)(unsigned char *buff, int len); 60 typedef int (*lms_post_t)(unsigned char *buff, int len, int status);
|
H A D | glue.h | 59 int preprocess(unsigned char *buff, int len); 60 int retry(unsigned char *buff, int len); 61 int postprocess(unsigned char *buff, int len, int status);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_mount.c | 102 char buff[MNTPATHLEN + 1]; local 122 getxdr_string(buff, MNTPATHLEN)); 132 getxdr_string(buff, 322 static char buff[8]; local 325 (void) sprintf(buff, " FH=%04X", fh & 0xFFFF); 326 return (buff); 347 static char buff[64]; local 349 buff[0] = '\0'; 353 (void) strlcat(buff, ",", sizeof (buff)); 413 static char buff[8]; local 444 static char buff[MNTPATHLEN + 1]; local 469 char buff[MNTPATHLEN + 1]; local 493 static char buff[MNTPATHLEN + 1]; local [all...] |
H A D | snoop_solarnet.c | 83 char buff[CTXTLEN + 1]; local 110 getxdr_string(buff, CTXTLEN)); 113 getxdr_string(buff, CTXTLEN)); 115 getxdr_string(buff, CTXTLEN); 116 if (strlen(buff) != 0) { 117 (void) sprintf(line, ".%s", buff); 120 (void) getxdr_string(buff, CTXTLEN); 127 (void) getxdr_context(buff, CTXTLEN); 130 (void) getxdr_context(buff, CTXTLEN); 131 sscanf(buff, " [all...] |
H A D | snoop_nfs3.c | 164 char buff[NFS_MAXPATHLEN + 1]; /* protocol allows longer */ local 218 fh, getxdr_string(buff, 223 name = getxdr_string(buff, NFS_MAXPATHLEN); 229 name = getxdr_string(buff, NFS_MAXPATHLEN); 251 fh, getxdr_string(buff, 256 getxdr_string(buff, NFS_MAXPATHLEN)); 261 fh, getxdr_string(buff, 266 fh, getxdr_string(buff, 275 fh, getxdr_string(buff, 314 getxdr_string(buff, 736 char buff[64]; local 743 status, buff); local 788 static char buff[16]; local 820 static char buff[64]; local 995 static char buff[4]; local 1054 static char buff[NFS_MAXNAMLEN + 1]; /* protocol allows longer names */ local 1079 static char buff[NFS_MAXNAMLEN + 1]; /* protocol allows longer */ local 1113 char buff[NFS_MAXNAMLEN + 1]; /* protocol allows longer names */ local [all...] |
H A D | snoop_nis.c | 132 char buff[YPMAXDOMAIN + 1]; local 155 getxdr_string(buff, YPMAXDOMAIN)); 159 getxdr_string(buff, YPMAXDOMAIN)); 549 static char buff [16]; local 569 (void) sprintf(buff, "(%d)", status); 570 return (buff); 581 char buff[16]; local 596 default: (void) sprintf(buff, "(%lu)", status); 597 str = buff; 608 char buff[3 local 622 static char buff[YPMAXMAP + 1]; local 665 static char buff[16]; local [all...] |
H A D | snoop_display.c | 147 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 D | snoop_icmp.c | 69 char buff[67627]; /* Router adv. can have 256 routers .... */ local 86 (void) sprintf(buff, "ID: %d Sequence number: %d", 88 pc = buff; 95 (void) sprintf(buff, "Net %s unreachable", 98 pc = buff; 105 (void) sprintf(buff, "Host %s unreachable", 108 pc = buff; 115 (void) sprintf(buff, "Bad protocol %d", 117 pc = buff; 128 (void) sprintf(buff, "TC 449 char buff[2048]; local [all...] |
H A D | snoop_nfs.c | 134 char buff[NFS_MAXPATHLEN + 1]; local 164 getxdr_string(buff, NFS_MAXNAMLEN)); 179 getxdr_string(buff, NFS_MAXNAMLEN)); 184 getxdr_string(buff, NFS_MAXNAMLEN)); 193 getxdr_string(buff, NFS_MAXNAMLEN)); 199 getxdr_string(buff, NFS_MAXNAMLEN)); 202 getxdr_string(buff, NFS_MAXPATHLEN)); 238 getxdr_string(buff, 504 static char buff[16]; local 507 (void) sprintf(buff, " F 624 static char buff[4]; local 636 static char buff[NFS_MAXNAMLEN + 1]; local 662 char buff[NFS_MAXNAMLEN + 1]; local [all...] |
H A D | snoop_pmap.c | 279 static char buff[16]; local 282 (void) sprintf(buff, "%d+ map(s) found", maps); 283 return (buff); 294 (void) sprintf(buff, "%d map(s) found", maps); 295 return (buff); 615 static char buff[MAXSTRINGLEN + 1]; local 618 (void) sprintf(buff, "%d+ map(s) found", maps); 619 return (buff); 625 (void) getxdr_string(buff, MAXSTRINGLEN); /* netid */ 626 (void) getxdr_string(buff, MAXSTRINGLE 675 static char buff[MAXSTRINGLEN + 1]; local [all...] |
H A D | snoop_nlm.c | 335 static char buff[32]; local 342 (void) sprintf(buff, " %s=%04X", handle, sum & 0xFFFF); 343 return (buff); 352 char buff[64]; local 361 (void) strcpy(buff, fmt); 365 (void) showxdr_hex(chunk, buff); 370 for (p = buff; *p != '%'; p++) 381 static char buff[LM_MAXSTRLEN + 1]; local 382 char *cp = buff; 386 (void) getxdr_string(buff, LM_MAXSTRLE 677 static char buff[LM_MAXSTRLEN + 1]; local 729 static char buff[LM_MAXNAMELEN + NOTIFY_PAD]; local 1016 static char buff[LM_MAXSTRLEN + 1]; local [all...] |
H A D | snoop_apple.c | 113 char buff [32]; local 152 (void) snprintf(buff, sizeof (buff), "(%s)", pname); 153 pname = buff; 163 (void) snprintf(buff, sizeof (buff), "(%s)", pname); 164 pname = buff;
|
H A D | snoop_bparam.c | 71 char buff[MAX_PATH_LEN + 1]; local 96 (void) getxdr_string(buff, 99 getxdr_string(buff, 111 (void) getxdr_string(buff, 116 buff, buff2); 119 (void) getxdr_string(buff, 123 getxdr_string(buff,
|
H A D | snoop_nfs_acl.c | 198 char buff[2048]; local 292 char buff[2048]; local 367 char buff[2048]; local 442 char buff[64]; local 446 status = sum_nfsstat4(buff); 449 status, buff); local 633 static char buff[22]; local 636 buff[0] = '\0'; 639 (void) strcat(buff, "read,"); 641 (void) strcat(buff, "looku [all...] |
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | a64l.c | 64 static char buff[7]; local 66 register char *cp = buff; 73 return(buff);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | revlib.c | 40 char buff[BUFSIZE]; local 66 if((n=sfread(in, buff, n)) <=0) 68 cp = buff+n; 69 n = *buff; 70 *buff = '\n'; 76 if(cp==buff) 82 if(cp==buff && n!='\n')
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | fcin.c | 42 char *buff; local 48 if(!(buff=(char*)sfreserve(f,SF_UNBOUND,SF_LOCKR))) 59 sfread(f,buff,0); 61 buff = (char*)sfreserve(f,SF_UNBOUND,SF_LOCKR); 62 _Fcin.fclast = (_Fcin.fcptr=_Fcin.fcbuff=(unsigned char*)buff)+n; 155 unsigned char buff[2*MB_LEN_MAX]; member in struct:Extra 189 memcpy(extra.buff, _Fcin.fcptr, n); 193 if((extra.buff[i] = fcgetc(c))==0) 197 extra.next = extra.buff;
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | chrqueue.h | 77 const char *buff; /* A pointer to the first undeleted byte in the */ member in struct:__anon4065 79 int nbuff; /* The number of characters in buff[] */
|
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 101 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/cmd/lp/lib/msgs/ |
H A D | mread.c | 67 char buff [MSGMAX]; local 90 ctl.buf = buff; 91 ctl.maxlen = sizeof (buff);
|
/illumos-gate/usr/src/cmd/ypcmd/shared/ |
H A D | lockmap.c | 162 char buff[ sizeof (lockarray) ]; local 191 bzero(buff, sizeof (buff)); 192 if ((write_cnt = write(lockfile, buff, 193 sizeof (buff)) != sizeof (buff))) { 203 sizeof (buff));
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | hmac_link.c | 272 * buff output buffer 277 * N Success - Length of data returned in buff 281 dst_hmac_md5_key_to_file_format(const DST_KEY *dkey, char *buff, argument 294 if (buff == NULL || 299 memset(buff, 0, buff_len); /*%< just in case */ 301 sprintf(buff, key_file_fmt_str, KEY_FILE_FORMAT, KEY_HMAC_MD5, "HMAC"); 303 bp = buff + strlen(buff); 313 if (buff_len - (bp - buff) < 6) 318 len = b64_ntop(key, key_len, bp, buff_len - (bp - buff)); 344 dst_hmac_md5_key_from_file_format(DST_KEY *dkey, const char *buff, const int buff_len) argument [all...] |