Searched refs:buf (Results 351 - 375 of 1692) sorted by relevance

<<11121314151617181920>>

/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Drmd.h32 byte buf[64]; member in struct:__anon580
H A Dsha512.c62 byte buf[128]; member in struct:__anon587
240 transform (hd, hd->buf);
250 hd->buf[hd->count++] = *inbuf++;
266 hd->buf[hd->count++] = *inbuf++;
303 hd->buf[hd->count++] = 0x80; /* pad */
305 hd->buf[hd->count++] = 0; /* pad */
309 hd->buf[hd->count++] = 0x80; /* pad character */
311 hd->buf[hd->count++] = 0;
313 memset (hd->buf, 0, 112); /* fill next block with zeroes */
316 hd->buf[11
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkpasswd-pbkdf2.c92 grub_uint8_t *buf, *salt; local
141 buf = malloc (buflen);
142 if (!buf)
152 free (buf);
160 free (buf);
167 free (buf);
176 free (buf);
187 free (buf);
206 free (buf);
218 free (buf);
[all...]
/osnet-11/usr/src/lib/brand/solaris/support/
H A Dsupport.c70 char buf[1024]; local
75 (void) vsnprintf(buf, sizeof (buf), msg, ap);
78 (void) printf(gettext("%s solaris brand error: %s\n"), bname, buf);
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dcomm.c72 char *buf; local
141 buf = malloc(expl + 1);
143 buf = malloc(expl);
145 if (buf == NULL)
167 free(buf);
170 len = MI_SOCK_READ(sd, buf + i, expl - i);
182 free(buf);
188 free(buf);
196 buf[expl] = '\0';
198 return buf;
[all...]
/osnet-11/usr/src/lib/libast/common/disc/
H A Dsfstrtmp.c48 sfstrtmp(register Sfio_t* f, int mode, void* buf, size_t siz)
56 f->_next = f->_data = (unsigned char*)buf;
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfpkrd.c56 reg char *buf = (char*)argbuf, *endbuf; local
59 return sysreadf(fd,buf,n);
79 pbuf.ctlbuf.buf = NIL(char*);
81 pbuf.databuf.buf = buf;
93 r = sysreadf(fd,buf,1);
194 return sysreadf(fd,buf,n);
230 while((r = recv(fd,(char*)buf,n,MSG_PEEK)) < 0)
246 r = sysreadf(fd,buf,1);
262 while((t = sysreadf(fd,buf,actio
[all...]
/osnet-11/usr/src/lib/libast/common/string/
H A Dfmtesc.c61 char* buf; local
68 b = buf = fmtbuf(c);
210 buf += shell + !spaced;
216 return buf;
H A Dfmtfs.c64 char* buf; local
88 buf = fmtbuf(strlen(s) + 1);
89 strcpy(buf, s);
91 return buf;
/osnet-11/usr/src/lib/libc/port/gen/
H A Dtsdalloc.c40 void *buf; member in struct:__anon1415
55 if ((p = loc[i].buf) != NULL) {
85 if ((p = loc[n].buf) != NULL)
100 loc[n].buf = p = lmalloc(size);
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dfgets.c46 fgets(char *buf, int size, FILE *iop) argument
48 char *ptr = buf;
80 } else if (ptr == buf) { /* never read anything */
101 return (buf);
H A Dgets.c46 gets(char *buf) argument
48 char *ptr = buf;
80 } else if (ptr == buf) { /* never read anything */
103 return (buf);
/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c55 static char *buf; /* used to hold the source dictionary */ variable
56 static uint_t *offsets; /* array of word-offsets into "buf" */
107 if (fprintf(tmpfp[tmpfp_idx], "%s\n", &buf[offsets[i++]]) < 0) {
153 * translate(buf, size)
156 * words in "buf" and insert each of them into the offsets-array.
163 translate(char *buf, size_t size) argument
169 e = &buf[size];
172 for (p = buf, q = buf; q < e; q++) {
182 if (p-&buf[wordstar
[all...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_name_service.h60 char *dapls_inet_ntop(struct sockaddr *addr, char *buf, size_t len);
/osnet-11/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c90 char lock_file[MAXPATHLEN], buf[MAXPATHLEN]; local
101 (void) strncpy(buf, name, MAXPATHLEN);
104 p = strrchr(buf, ':');
109 p = strrchr(buf, '/');
111 p = buf;
115 p = strrchr(buf, '/');
117 p = buf;
/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_getinfo.c80 inforeqp = (struct T_info_req *)ctlbuf.buf;
84 retval = _t_do_ioctl(fd, ctlbuf.buf,
98 infoackp = (struct T_info_ack *)ctlbuf.buf;
115 free(ctlbuf.buf);
117 tiptr->ti_ctlbuf = ctlbuf.buf;
124 free(ctlbuf.buf);
126 tiptr->ti_ctlbuf = ctlbuf.buf;
/osnet-11/usr/src/lib/libparted/common/libparted/fs/solaris_x86/
H A Dsolaris_x86.c97 int8_t buf[512 * 3]; local
103 if (!ped_geometry_read(geom, buf, 1, 1))
106 pvtoc = (struct vtoc *)buf;
125 char buf[512*3]; local
127 if (!ped_geometry_read(geom, buf, 1, 1))
130 memset(buf, 0, sizeof (struct vtoc));
132 return (ped_geometry_write(geom, buf, 1, 1));
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DUserStackRecord.java312 StringBuilder buf = new StringBuilder();
315 buf.append('\n');
317 buf.append(' ');
319 buf.append("process ID: ");
320 buf.append(processID);
321 buf.append(stackRecord.toString()); // starts with newline
322 return buf.toString();
/osnet-11/usr/src/lib/libilb/common/
H A Dilb_nat.c48 * buf: The buffer to return the NAT table entries.
49 * num: The caller sets it to the number of ilb_nat_info_t entries buf can
50 * hold. On return, it contains the actual number of entries put in buf.
61 ilb_show_nat(ilb_handle_t h, ilb_nat_info_t buf[], size_t *num, argument
64 return (ilb_show_info(h, (char *)buf, num, end, show_nat));
70 * buf: The buffer to return the persistent table entries.
71 * num: The caller sets it to the number of ilb_persist_info_t entries buf can
72 * hold. On return, it contains the actual number of entries put in buf.
83 ilb_show_persist(ilb_handle_t h, ilb_persist_info_t buf[], size_t *num, argument
86 return (ilb_show_info(h, (char *)buf, nu
94 ilb_show_info(ilb_handle_t h, char *buf, size_t *num, boolean_t *end, enum which_tbl tbl) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnssrv.c69 struct k5buf buf; local
87 krb5int_buf_init_fixed(&buf, host, sizeof(host));
88 krb5int_buf_add_fmt(&buf, "%s.%s.", service, protocol);
89 krb5int_buf_add_len(&buf, realm->data, realm->length);
100 len = krb5int_buf_len(&buf);
102 krb5int_buf_add(&buf, ".");
104 if (krb5int_buf_data(&buf) == NULL)
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dsha512.c60 byte buf[128]; member in struct:__anon543
238 transform (hd, hd->buf);
248 hd->buf[hd->count++] = *inbuf++;
264 hd->buf[hd->count++] = *inbuf++;
301 hd->buf[hd->count++] = 0x80; /* pad */
303 hd->buf[hd->count++] = 0; /* pad */
307 hd->buf[hd->count++] = 0x80; /* pad character */
309 hd->buf[hd->count++] = 0;
311 memset (hd->buf, 0, 112); /* fill next block with zeroes */
314 hd->buf[11
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dcmdline.c218 grub_uint32_t *buf; local
254 for (p = buf + pos; p < buf + llen; p++)
288 nbuf = grub_realloc (buf, sizeof (grub_uint32_t) * max_len);
290 buf = nbuf;
301 grub_memmove (buf + lpos + len, buf + lpos,
303 grub_memmove (buf + lpos, str, len * sizeof (grub_uint32_t));
325 grub_memmove (buf + lpos, buf
[all...]
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dmemstat.c261 char buf[80];
271 if (l >= sizeof(buf))
273 while (fgets(buf, sizeof(buf), fp) != NULL)
275 if (strncmp(buf, resource, l) == 0 && buf[l] == ':')
277 r = sscanf(buf + l + 1, "%ld", pvalue);
H A Dutil.c44 static char *buf = NULL; local
68 if (buf != NULL)
69 sm_free(buf);
71 buf = nbuf;
73 for (h = buf; *s != '\0' && l > 0; s++, l--)
116 buf[len - 1] = '\0';
117 return buf;
/osnet-11/usr/src/lib/libc/port/sys/
H A Dsemsys.c51 struct semid_ds *buf; member in union:semun
89 arg = (uintptr_t)va_arg(ap, union semun).buf;
107 struct semid_ds64 *buf; local
116 buf = va_arg(ap, union semun).buf64;
119 return (syscall(SYS_semsys, SEMCTL, semid, semnum, cmd, buf));
135 semids(int *buf, uint_t nids, uint_t *pnids) argument
137 return (syscall(SYS_semsys, SEMIDS, buf, nids, pnids));

Completed in 77 milliseconds

<<11121314151617181920>>