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

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/saf/
H A Dpmadm.c129 char buf[SIZE]; /* scratch buffer */ local
280 (void) sprintf(buf, "Invalid request, %s are not valid arguments for \"-f\"", badargs);
282 error(buf);
296 (void) sprintf(buf, "could not open %s", SACTAB);
298 error(buf);
301 (void) sprintf(buf, "%s file is corrupt", SACTAB);
303 error(buf);
424 char buf[SIZE]; /* scratch buffer */ local
434 (void) sprintf(buf, "Invalid request, %s does not exist", tag);
436 error(buf);
558 char buf[SIZE]; /* scratch buffer */ local
649 char buf[SIZE]; /* scratch buffer */ local
788 char buf[SIZE]; /* scratch buffer */ local
950 char buf[SIZE]; /* scratch buffer */ local
1048 static char buf[SIZE]; /* scratch buffer */ local
1093 char buf[SIZE]; /* scratch buffer */ local
1212 static char buf[SIZE]; /* returned string */ local
1263 static char buf[SIZE]; /* formatted flags */ local
1305 char buf[SIZE]; /* scratch buffer */ local
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dos.h24 u_int8_t *buf; /* Buffer. */ member in struct:__io
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrexit.c35 static char buf[64]; local
40 (void) sm_snprintf(buf, sizeof buf, "Unknown exit status %d",
42 msg = buf;
/illumos-gate/usr/src/cmd/bnu/
H A Dgwd.c85 uidstat(file, buf)
87 struct stat *buf;
93 ret = stat(file, buf);
101 _exit(stat(file, buf));
/illumos-gate/usr/src/cmd/listen/
H A Dnsaddr.h47 char *buf; member in struct:netbuf
/illumos-gate/usr/src/ucblib/libcurses/
H A Dscanw.c76 char buf[100]; local
80 junk._base = junk._ptr = (unsigned char *)buf;
81 if (wgetstr(win, buf) == ERR)
83 junk._cnt = (ssize_t)strlen(buf);
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_log.c58 char buf[128]; local
62 (void) vsnprintf(buf, sizeof (buf), fmt, args);
63 cmn_err(bge_log_data.level, bge_log_data.fmt, bge_log_data.who, buf);
130 char buf[FM_MAX_CLASS]; local
132 (void) snprintf(buf, FM_MAX_CLASS, "%s.%s", DDI_FM_DEVICE, detail);
135 ddi_fm_ereport_post(bgep->devinfo, buf, ena, DDI_NOSLEEP,
184 uint32_t buf[4]; local
190 nbytes = MIN(len, sizeof (buf));
191 bzero(buf, sizeo
[all...]
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathsetlink.c31 * create symbolic name from external representation text in buf
36 pathsetlink(const char* buf, const char* name) argument
38 register char* t = (char*)buf;
40 register char* s = (char*)buf;
62 for (v = (char*)buf; v < s; *t++ = *v++);
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtident.c39 char* buf; local
71 buf = fmtbuf(i + 1);
72 memcpy(buf, s, i);
73 s = buf;
/illumos-gate/usr/src/uts/intel/promif/
H A Dprom_prop.c57 prom_decode_composite_string(void *buf, size_t buflen, char *prev) argument
59 if ((buf == 0) || (buflen == 0) || ((int)buflen == -1))
63 return ((char *)buf);
66 if (prev >= ((char *)buf + buflen))
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_syslog.c51 smb_syslog_fmt_m(char *buf, int buflen, const char *str, int err) argument
53 char *bp = buf;
55 const char *endp = buf + buflen - 1;
68 return (buf);
/illumos-gate/usr/src/lib/libresolv/
H A Dres_init.c98 char buf[BUFSIZ]; local
115 char *buf; local
125 buf = (char *)malloc(bufsize);
126 if (buf == NULL) {
132 ifc.ifc_buf = buf;
136 free(buf);
150 free(buf);
159 free(buf);
170 (void) getdomainname(buf, BUFSIZ);
171 if (buf[
[all...]
/illumos-gate/usr/src/test/zfs-tests/cmd/mkfiles/
H A Dmkfiles.c51 char buf[MAXPATHLEN]; local
54 (void) snprintf(buf, MAXPATHLEN, "%s%u", argv[1], i);
55 if ((fd = open(buf, O_CREAT | O_EXCL, O_RDWR)) == -1) {
56 (void) fprintf(stderr, "Failed to create %s %s\n", buf,
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr.h149 /* buf quick ptr to buffered data */
169 /* buf quick ptr to buffered data */
327 * if ((buf = XDR_INLINE(xdrs, count)) == NULL)
337 #define IXDR_GET_INT32(buf) ((int32_t)ntohl((uint32_t)*(buf)++))
338 #define IXDR_PUT_INT32(buf, v) (*(buf)++ = (int32_t)htonl((uint32_t)v))
339 #define IXDR_GET_U_INT32(buf) ((uint32_t)IXDR_GET_INT32(buf))
340 #define IXDR_PUT_U_INT32(buf,
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Daligned_alloc.c35 void *buf; local
50 buf = aligned_alloc(sizeof (void *), 16);
51 VERIFY3P(buf, !=, NULL);
52 free(buf);
/illumos-gate/usr/src/boot/sys/sys/
H A Duuid.h69 void be_uuid_dec(void const *buf, struct uuid *uuid);
70 void be_uuid_enc(void *buf, struct uuid const *uuid);
71 void le_uuid_dec(void const *buf, struct uuid *uuid);
72 void le_uuid_enc(void *buf, struct uuid const *uuid);
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dprintf.c28 char buf[10]; local
48 s = buf;
53 while (--s >= buf)
58 s = buf;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c91 static void sumarg_cb_getattr(char *buf, size_t buflen, void *obj);
93 static void sumarg_cb_recall(char *buf, size_t buflen, void *obj);
97 static void sumarg_access(char *buf, size_t buflen, void *obj);
99 static void sumarg_close(char *buf, size_t buflen, void *obj);
101 static void sumarg_commit(char *buf, size_t buflen, void *obj);
103 static void sumarg_compnt(char *buf, size_t buflen, void *obj);
105 static void sumarg_create(char *buf, size_t buflen, void *obj);
107 static void sumarg_delprge(char *buf, size_t buflen, void *obj);
109 static void sumarg_delret(char *buf, size_t buflen, void *obj);
111 static void sumarg_getattr(char *buf, size_
833 static char buf[SUM_COMPND_MAX + 2]; /* 1 for null, 1 for overflow */ local
946 static char buf[SUM_COMPND_MAX + 2]; /* 1 for null, 1 for overflow */ local
1014 static char buf[1024]; local
1034 static char buf[1024]; local
1268 static char buf[32]; local
1319 static char buf[64]; local
1410 sumarg_access(char *buf, size_t buflen, void *obj) argument
1426 sumarg_close(char *buf, size_t buflen, void *obj) argument
1444 sumarg_commit(char *buf, size_t buflen, void *obj) argument
1462 sumarg_compnt(char *buf, size_t buflen, void *obj) argument
1478 sumarg_create(char *buf, size_t buflen, void *obj) argument
1497 sumarg_delprge(char *buf, size_t buflen, void *obj) argument
1513 sumarg_delret(char *buf, size_t buflen, void *obj) argument
1529 sumarg_getattr(char *buf, size_t buflen, void *obj) argument
1545 sumarg_cb_getattr(char *buf, size_t buflen, void *obj) argument
1565 sumarg_cb_recall(char *buf, size_t buflen, void *obj) argument
1590 sumarg_open(char *buf, size_t buflen, void *obj) argument
1634 sumarg_openattr(char *buf, size_t buflen, void *obj) argument
1652 sumarg_open_confirm(char *buf, size_t buflen, void *obj) argument
1671 sumarg_open_downgrd(char *buf, size_t buflen, void *obj) argument
1695 sumarg_putfh(char *buf, size_t buflen, void *obj) argument
1711 sumarg_link(char *buf, size_t buflen, void *obj) argument
1728 sum_open_to_lock_owner(char *buf, int buflen, open_to_lock_owner4 *own) argument
1736 sum_exist_lock_owner(char *buf, int buflen, exist_lock_owner4 *own) argument
1743 sum_locker(char *buf, size_t len, locker4 *lk) argument
1778 sumarg_lock(char *buf, size_t buflen, void *obj) argument
1831 sumarg_lockt(char *buf, size_t buflen, void *obj) argument
1851 sumarg_locku(char *buf, size_t buflen, void *obj) argument
1874 sumarg_lookup(char *buf, size_t buflen, void *obj) argument
1890 sumarg_read(char *buf, size_t buflen, void *obj) argument
1909 sumarg_readdir(char *buf, size_t buflen, void *obj) argument
1940 sumarg_release_lkown(char *buf, size_t buflen, void *obj) argument
1949 sumarg_rename(char *buf, size_t buflen, void *obj) argument
1970 sumarg_renew(char *buf, size_t buflen, void *obj) argument
1985 sumarg_secinfo(char *buf, size_t buflen, void *obj) argument
2003 sumarg_setattr(char *buf, size_t buflen, void *obj) argument
2020 sumarg_setclid(char *buf, size_t buflen, void *obj) argument
2051 sumarg_setclid_cfm(char *buf, size_t buflen, void *obj) argument
2079 sumarg_write(char *buf, size_t buflen, void *obj) argument
2101 static char buf[20]; local
2159 sum_attr_bitmap(char *buf, size_t buflen, bitmap4 *mapp) argument
2208 char *buf = get_line(0, 0); local
2258 static char buf[SUM_COMPND_MAX + 2]; /* 1 for null, 1 for overflow */ local
2320 static char buf[SUM_COMPND_MAX + 2]; /* 1 for null, 1 for overflow */ local
2368 static char buf[1024]; local
2392 static char buf[1024]; local
2428 sum_nfsstat4(char *buf, size_t buflen, void *obj) argument
2445 sumres_access(char *buf, size_t buflen, void *obj) argument
2487 sumres_close(char *buf, size_t buflen, void *obj) argument
2508 sumres_commit(char *buf, size_t buflen, void *obj) argument
2546 sumres_getattr(char *buf, size_t buflen, void *obj) argument
2565 sumres_cb_getattr(char *buf, size_t buflen, void *obj) argument
2585 sumres_getfh(char *buf, size_t buflen, void *obj) argument
2622 sumres_lock(char *buf, size_t buflen, void *obj) argument
2655 sumres_lockt(char *buf, size_t buflen, void *obj) argument
2680 sumres_locku(char *buf, size_t buflen, void *obj) argument
2703 sumres_open(char *buf, size_t buflen, void *obj) argument
2751 sumres_open_confirm(char *buf, size_t buflen, void *obj) argument
2778 sumres_open_downgrd(char *buf, size_t buflen, void *obj) argument
2805 sumres_read(char *buf, size_t buflen, void *obj) argument
2834 sumres_readdir(char *buf, size_t buflen, void *obj) argument
2888 sumres_readlnk(char *buf, size_t buflen, void *obj) argument
2940 sumres_secinfo(char *buf, size_t buflen, void *obj) argument
2981 sumres_setattr(char *buf, size_t buflen, void *obj) argument
2999 sumres_setclid(char *buf, size_t buflen, void *obj) argument
3045 sumres_write(char *buf, size_t buflen, void *obj) argument
3195 static char buf[20]; local
3213 static char buf[20]; local
3231 sum_access4(char *buf, size_t buflen, uint32_t bits) argument
3279 sum_name(char *buf, size_t buflen, open_claim4 *claim) argument
3307 sum_claim(char *buf, size_t buflen, open_claim4 *claim) argument
3391 static char buf[50]; local
3412 sum_delegation(char *buf, size_t buflen, open_delegation4 *delp) argument
3525 sum_pathname4(char *buf, size_t buflen, pathname4 *pathp) argument
3540 sum_compname4(char *buf, size_t buflen, component4 *comp) argument
3606 static char buf[64]; local
3661 static char buf[20]; local
3680 static char buf[200]; local
3719 static char buf[20]; local
3736 static char buf[20]; local
3811 static char buf[50]; local
3843 static char buf[50]; local
4003 char *buf; local
4890 uchar_t *buf = p; local
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_auth_loopb.c50 rpc_inline_t *buf; local
70 buf = XDR_INLINE(&xdrs, auth_len);
71 if (buf != NULL) {
72 aup->aup_time = IXDR_GET_INT32(buf);
73 str_len = IXDR_GET_U_INT32(buf);
78 (void) memcpy(aup->aup_machname, buf, str_len);
81 buf += str_len / sizeof (int);
82 aup->aup_uid = IXDR_GET_INT32(buf);
83 aup->aup_gid = IXDR_GET_INT32(buf);
84 gid_len = IXDR_GET_U_INT32(buf);
[all...]
H A Dsvc_auth_sys.c64 rpc_inline_t *buf; local
84 buf = XDR_INLINE(&xdrs, auth_len);
85 if (buf != NULL) {
86 aup->aup_time = IXDR_GET_INT32(buf);
87 str_len = IXDR_GET_U_INT32(buf);
92 (void) memcpy(aup->aup_machname, buf, str_len);
95 buf += str_len / (int)sizeof (int32_t);
96 aup->aup_uid = IXDR_GET_INT32(buf);
97 aup->aup_gid = IXDR_GET_INT32(buf);
98 gid_len = IXDR_GET_U_INT32(buf);
[all...]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.xs100 char buf[128];
133 sprintf(buf, "%llu", UINT64_MAX);
135 newSVpv(buf, strlen(buf)));
161 char buf[PROJECT_BUFSZ];
164 if ((projp = getprojent(&proj, buf, sizeof (buf)))) {
181 char buf[PROJECT_BUFSZ];
184 if ((projp = getprojbyname(name, &proj, buf, sizeof (buf)))) {
[all...]
/illumos-gate/usr/src/cmd/msgfmt/
H A Dcheck_header.c90 char *mbuf, *p, *buf; local
98 buf = NULL;
205 buf = (char *)Xmalloc(bufsize);
210 buf[index] = '\0';
234 buf[index++] = '\b';
237 buf[index++] = '\f';
240 buf[index++] = '\n';
243 buf[index++] = '\r';
246 buf[index++] = '\t';
249 buf[inde
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c55 corrupt(int fd, unsigned char *buf, int len) argument
71 saved = buf[bit / 8];
72 buf[bit / 8] ^= (1 << (bit % 8));
77 if ((rv = ioctl(fd, DTRACEIOC_ENABLE, buf)) == -1) {
81 buf[bit / 8] = saved;
94 buf[bit / 8] = saved;
112 buf[bit / 8] = saved;
127 val[i] = buf[bit / 8];
129 buf[bit / 8] ^= (1 << (bit % 8));
135 if ((rv = ioctl(fd, DTRACEIOC_ENABLE, buf)) >
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconvtime.c130 static char buf[256];
159 p = buf;
164 (void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy);
167 (void) sm_snprintf(p, SPACELEFT(buf, p), "%02d:%02d:%02d",
169 return buf;
175 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d week%s", wk,
181 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy,
187 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d hour%s", hr,
193 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d minute%s", mi,
199 (void) sm_snprintf(p, SPACELEFT(buf,
129 static char buf[256]; local
[all...]
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsvc_authu.c77 int32_t *buf; local
95 buf = XDR_INLINE(&xdrs, auth_len);
96 if (buf != NULL) {
97 aup->aup_time = IXDR_GET_INT32(buf);
98 str_len = IXDR_GET_U_INT32(buf);
103 bcopy((caddr_t)buf, aup->aup_machname, (u_int)str_len);
106 buf += str_len / sizeof (int32_t);
107 aup->aup_uid = IXDR_GET_INT32(buf);
108 aup->aup_gid = IXDR_GET_INT32(buf);
109 gid_len = IXDR_GET_U_INT32(buf);
[all...]

Completed in 81 milliseconds

<<11121314151617181920>>