/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | getgrent.c | 235 struct group *g = (struct group *)argp->buf.result; 236 char *buf; local 254 if ((buf = malloc(NSS_LINELEN_GROUP)) == 0) { 258 s = buf; 272 if (s + len + 1 <= buf + NSS_LINELEN_GROUP) { 279 free(buf); 285 dlen = s - buf; 292 argp->buf.result = NULL; 294 if (dlen > argp->buf.buflen) { 297 (void) strncpy(argp->buf [all...] |
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | getprofattr.c | 97 char buf[NSS_BUFLEN_PROFATTR]; local 165 res = _kva2str(kv1, buf, sizeof (buf), KV_ASSIGN, KV_DELIMITER); 169 return (strdup(buf)); 189 char *buf = alloca(pa->len + 1); local 208 if (_str2profattr(pa->line, pa->len, &myat, buf, pa->len + 1) 239 char *buf; local 267 buf = alloca(len); 268 len = snprintf(buf, len, "%s:%s:%s:%s:%s", 277 buf [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | macro.c | 138 char buf[5]; local 142 buf[0] = m->metaval; 143 buf[1] = '\0'; 144 macdefine(&e->e_macro, A_TEMP, m->metaname, buf); 146 buf[0] = MATCHREPL; 147 buf[2] = '\0'; 150 buf[1] = c; 151 macdefine(&e->e_macro, A_TEMP, c, buf); 171 ** buf -- the place to put the expansion. 186 doexpand(s, buf, bufsiz 351 xputs(sm_debug_file(), buf); local 639 char buf[2]; local 643 xputs(sm_debug_file(), buf); local [all...] |
H A D | err.c | 54 static char buf[256]; local 63 sm_strio_init(&f, buf, sizeof(buf)); 78 syserr("!%s", buf); 321 char buf[MAXLINE]; local 323 (void) sm_snprintf(buf, sizeof(buf), 325 (int) sizeof(buf) - 22, errtxt); 327 sm_rpool_strdup_x(CurEnv->e_rpool, buf); 408 char buf[MAXLIN local 982 static char buf[MAXLINE]; local [all...] |
/osnet-11/usr/src/lib/libsec/common/ |
H A D | acltext.c | 466 char buf[16]; local 469 buf[0] = 'r'; 471 buf[0] = '-'; 473 buf[1] = 'w'; 475 buf[1] = '-'; 477 buf[2] = 'x'; 479 buf[2] = '-'; 481 buf[3] = 'p'; 483 buf[3] = '-'; 485 buf[ 642 char buf[9]; local 841 char buf[4]; local 1000 char *buf; local [all...] |
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | syslog.c | 197 char buf[PATH_MAX]; 199 if (pathgetlink(path, buf, sizeof(buf)) <= 0) 201 if (strlen(path) >= sizeof(buf)) 203 strcpy(buf, path); 211 if ((ul = strlen(buf)) < sizeof(ua.sun_path) && !stat(buf, &st) && S_ISSOCK(st.st_mode)) 216 strcpy(ua.sun_path, buf); 225 if (!strmatch(buf, "/dev/(tcp|udp)/*/*")) 227 buf[ [all...] |
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-fstest.c | 76 read_file (char *pathname, int (*hook) (grub_off_t ofs, char *buf, int len)) argument 78 static char buf[BUF_SIZE]; local 102 if (grub_disk_read (dev->disk, 0, skip, len, buf)) 106 if (hook (skip, buf, len)) 146 sz = grub_file_read (file, buf, (len > BUF_SIZE) ? BUF_SIZE : len); 154 if ((sz == 0) || (hook (ofs, buf, sz))) 169 auto int cp_hook (grub_off_t ofs, char *buf, int len); 170 int cp_hook (grub_off_t ofs, char *buf, int len) argument 174 if ((int) fwrite (buf, 1, len, ff) != len) 197 auto int cat_hook (grub_off_t ofs, char *buf, in 198 cat_hook(grub_off_t ofs, char *buf, int len) argument 221 cmp_hook(grub_off_t ofs, char *buf, int len) argument 270 hex_hook(grub_off_t ofs, char *buf, int len) argument 286 crc_hook(grub_off_t ofs, char *buf, int len) argument 472 char buf[1024]; local 483 grub_uint8_t buf[1024]; local [all...] |
/osnet-11/usr/src/lib/libreparse/common/ |
H A D | fs_reparse_lib.c | 98 char *buf, *stype, *val; local 106 if ((buf = malloc(buflen)) == NULL) 110 (void) snprintf(buf, buflen, "%s", FS_REPARSE_TAG_STR); 116 if ((strlcat(buf, FS_TOKEN_START_STR, buflen) >= buflen) || 117 (strlcat(buf, stype, buflen) >= buflen) || 118 (strlcat(buf, ":", buflen) >= buflen) || 120 (strlcat(buf, val, buflen) >= buflen) || 121 (strlcat(buf, FS_TOKEN_END_STR, buflen) >= buflen)) { 128 free(buf); 131 if (strlcat(buf, FS_REPARSE_TAG_END_ST 153 reparse_deref(const char *svc_type, const char *svc_data, char *buf, size_t *bufsz) argument 218 char *buf; local [all...] |
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SunServerDATable.java | 332 StringBuffer buf = new StringBuffer(); 335 buf.append("("); 336 buf.append(SunDATable.SCOPES_ID); 337 buf.append("="); 338 buf.append((String)scopes.elementAt(i)); 339 buf.append(")"); 345 buf.insert(0, "(|"); 346 buf.append(")"); 353 buf.insert(0, "(&"); 357 buf [all...] |
H A D | AttributeString.java | 72 StringBuffer buf = new StringBuffer(); 78 buf.append(tk.nextToken().toLowerCase(nlocale)); 79 buf.append(ServiceLocationAttribute.SPACE); 83 return buf.toString().trim();
|
H A D | SLPV1SSrvTypeMsg.java | 65 StringBuffer buf = new StringBuffer(); 84 buf.setLength(0); 86 hdr.getString(buf, dis); 88 String scope = buf.toString().trim().toLowerCase();
|
H A D | SunDATable.java | 277 StringBuffer buf = new StringBuffer(); 281 buf.append("("); 282 buf.append(SCOPES_ID); 283 buf.append("="); 284 buf.append((String)scopes.elementAt(i)); 285 buf.append(")"); 291 buf.insert(0, "(|"); 292 buf.append(")"); 299 buf.insert(0, "(&"); 303 buf [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 87 * Des [en/de]crypt buffer, buf of length, len for each key provided using 91 * encrypt(buf, k[0]), decrypt(buf, k[1]), encrypt(buf, k[2]) 92 * decrypt(buf, k[4]) ... encrypt(buf, k[keynum - 1]) 94 * done with the first key, i.e., ecrypt(buf, k[0]); 104 __desN_crypt(des_block keys[], int keynum, char *buf, unsigned int len, argument 124 stat = cbc_crypt(keys[j].c, buf, len, m | flags, ivec); 142 stat = cbc_crypt(keys[0].c, buf, le 158 __dh_desN_crypt(gss_buffer_t buf, dh_key_set_t keys, cipher_mode_t cipher_mode) argument 194 __dh_des_crypt(gss_buffer_t buf, dh_key_set_t keys, cipher_mode_t cipher_mode) argument 235 gss_buffer_desc buf; /* GSS buffer to hold keys for cipher routine */ local 375 gss_buffer_desc buf; /* Buffer to package tok */ local 411 gss_buffer_desc buf; /* Packaging for sig */ local [all...] |
/osnet-11/usr/src/lib/libadm/common/ |
H A D | fulldevnm.c | 154 struct stat64 buf; local 157 if (stat64(new_path, &buf) != 0) 160 if (!S_ISBLK(buf.st_mode)) 163 if (raw_dev != buf.st_rdev) 175 struct stat64 buf; local 178 if (stat64(new_path, &buf) != 0) 181 if (!S_ISCHR(buf.st_mode)) 184 if (blk_dev != buf.st_rdev) 338 struct stat64 buf; local 355 if (stat64(cp, &buf) ! 420 struct stat64 buf; local [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | ttyname.c | 360 static char buf[MAX_DEV_PATH]; local 363 (void) strcpy(buf, "/dev/pts/"); 364 itoa(minor(fsb->st_rdev), buf+strlen(buf)); 372 if (stat64(buf, &stb) != 0) { 382 return (buf); 387 return (buf); 390 return (buf); 403 static char buf[16]; /* big enough for "/dev/XtyXX" */ local 440 (void) snprintf(buf, sizeo 639 char *buf, *ebuf; local 754 char buf[256]; local [all...] |
/osnet-11/usr/src/lib/libpri/common/ |
H A D | pri.h | 44 extern ssize_t pri_get(uint8_t wait, uint64_t *token, uint64_t **buf,
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_ioctl.c | 39 pr_ioctl(struct ps_prochandle *Pr, int fd, int code, void *buf, size_t size) argument 47 return (ioctl(fd, code, buf)); 64 adp->arg_value = (long)buf; 71 adp->arg_object = buf;
|
/osnet-11/usr/src/lib/libldap4/include/ |
H A D | ssl.h | 22 int SSL_read(SSL s, u_char *buf, u_int len); 23 int SSL_write(SSL s, u_char *buf, u_int len); 24 int SSL_fread(SSL s, u_char *buf, u_int len); 25 int SSL_fwrite(SSL s, u_char *buf, u_int len);
|
/osnet-11/usr/src/lib/libnls/common/ |
H A D | nlsrequest.c | 68 char buf[256]; local 74 buf[0] = 0; 91 len = sprintf(buf, nls_v2_msg, svc_code)+1;/* inc trailing null */ 93 if (t_snd(fd, buf, len, 0) < len) {
|
/osnet-11/usr/src/lib/libnsl/nsl/ |
H A D | _conn_util.c | 78 creq = (struct T_conn_req *)ctlbufp->buf; 88 call->addr.buf, &creq->DEST_offset) < 0) { 101 call->opt.buf, &creq->OPT_offset) < 0) { 227 pptr = (union T_primitives *)ctlbufp->buf; 253 (void) memcpy(call->addr.buf, 254 ctlbufp->buf + pptr->conn_con.RES_offset, 264 (void) memcpy(call->opt.buf, 265 ctlbufp->buf + pptr->conn_con.OPT_offset, 275 (void) memcpy(call->udata.buf, databuf.buf, [all...] |
/osnet-11/usr/src/lib/libpower/common/ |
H A D | pm_kernel.c | 71 config.buf = NULL; 75 if (config.buf != NULL) { 76 free(config.buf); 86 config.buf = malloc(config.size); 87 if (config.buf == NULL) { 101 bzero(config.buf, config.size); 107 free(config.buf); 117 if ((errno = nvlist_unpack(config.buf, config.size, &kres, 0)) != 0) { 118 free(config.buf); 121 free(config.buf); [all...] |
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | dirname.c | 102 char buf[PATH_MAX]; local 134 else if(pathpath(argv[0], "", mode, buf, sizeof(buf))) 135 sfputr(sfstdout, buf, '\n');
|
/osnet-11/usr/src/lib/libdscfg/common/ |
H A D | cfg_local.h | 33 char *readcfline(cfp_t *cfp, char *buf, int table_index, int offset);
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | get_rp_data.c | 45 char *res, buf[SYMLINK_MAX + 1]; local 56 sz = readlink(path, buf, SYMLINK_MAX); 59 buf[sz] = '\0'; 60 res = strdup(buf);
|
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/crypto/ |
H A D | md5.h | 52 UINT4 buf[4]; /* scratch buffer */ member in struct:__anon1004
|