Searched refs:buf (Results 251 - 275 of 1692) sorted by relevance

<<11121314151617181920>>

/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_rcvuderr.c74 ctlbuf.buf = tiptr->ti_lookbufs.tl_lookcbuf;
78 assert(((union T_primitives *)ctlbuf.buf)->type
83 databuf.buf = NULL;
114 databuf.buf = NULL;
140 pptr = (union T_primitives *)ctlbuf.buf;
156 (void) memcpy(uderr->addr.buf, ctlbuf.buf +
168 (void) memcpy(uderr->opt.buf, ctlbuf.buf +
183 free(ctlbuf.buf);
[all...]
H A Dt_listen.c125 free(ctlbuf.buf);
127 tiptr->ti_ctlbuf = ctlbuf.buf;
173 pptr = (union T_primitives *)ctlbuf.buf;
206 (void) memcpy(call->addr.buf, ctlbuf.buf +
217 (void) memcpy(call->opt.buf, ctlbuf.buf +
227 (void) memcpy(call->udata.buf, databuf.buf,
233 free(ctlbuf.buf);
[all...]
H A Dt_bind.c102 bind_reqp = (struct T_bind_req *)ctlbuf.buf;
121 req->addr.buf, &bind_reqp->ADDR_offset) < 0) {
133 if (_t_do_ioctl(fd, ctlbuf.buf, size, TI_BIND, &retlen) < 0) {
144 bind_ackp = (struct T_bind_ack *)ctlbuf.buf;
161 (memcmp(req->addr.buf, ctlbuf.buf +
181 (void) memcpy(ret->addr.buf,
182 ctlbuf.buf + bind_ackp->ADDR_offset,
192 free(ctlbuf.buf);
194 tiptr->ti_ctlbuf = ctlbuf.buf;
[all...]
/osnet-11/usr/src/lib/libcmd/amd64/include/ast/
H A Dcmd.h112 char buf[64]; local
120 buf[0] = '_';
121 buf[1] = 'b';
122 buf[2] = '_';
123 strncpy(buf + 3, s, sizeof(buf) - 4);
124 buf[sizeof(buf) - 1] = 0;
125 if (t = strchr(buf, '.'))
131 if (fun = (Shbltin_f)dlsym(dll, buf
[all...]
/osnet-11/usr/src/lib/libcmd/i386/include/ast/
H A Dcmd.h112 char buf[64]; local
120 buf[0] = '_';
121 buf[1] = 'b';
122 buf[2] = '_';
123 strncpy(buf + 3, s, sizeof(buf) - 4);
124 buf[sizeof(buf) - 1] = 0;
125 if (t = strchr(buf, '.'))
131 if (fun = (Shbltin_f)dlsym(dll, buf
[all...]
/osnet-11/usr/src/lib/libcmd/sparc/include/ast/
H A Dcmd.h112 char buf[64]; local
120 buf[0] = '_';
121 buf[1] = 'b';
122 buf[2] = '_';
123 strncpy(buf + 3, s, sizeof(buf) - 4);
124 buf[sizeof(buf) - 1] = 0;
125 if (t = strchr(buf, '.'))
131 if (fun = (Shbltin_f)dlsym(dll, buf
[all...]
/osnet-11/usr/src/lib/libcmd/sparcv9/include/ast/
H A Dcmd.h112 char buf[64]; local
120 buf[0] = '_';
121 buf[1] = 'b';
122 buf[2] = '_';
123 strncpy(buf + 3, s, sizeof(buf) - 4);
124 buf[sizeof(buf) - 1] = 0;
125 if (t = strchr(buf, '.'))
131 if (fun = (Shbltin_f)dlsym(dll, buf
[all...]
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DLinearDistribution.java276 StringBuilder buf = new StringBuilder();
277 buf.append(LinearDistribution.class.toString());
278 buf.append("[base = ");
279 buf.append(getBase());
280 buf.append(", step = ");
281 buf.append(getStep());
282 buf.append(", buckets = ");
285 buf.append("<empty>");
287 buf.append(Arrays.toString(getDisplayRange().toArray()));
289 buf
[all...]
H A DDistribution.java513 StringBuilder buf = new StringBuilder();
514 buf.append(Bucket.class.getName());
515 buf.append("[min = ");
516 buf.append(min);
517 buf.append(", max = ");
518 buf.append(max);
519 buf.append(", frequency = ");
520 buf.append(frequency);
521 buf.append(']');
522 return buf
[all...]
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Dosspec.c96 gchar buf[512]; local
102 strncpy (buf, devfs_path, sizeof (buf));
106 p = strrchr (buf, '/');
114 buf);
117 *ancestor_devfs_path = g_strdup (buf);
121 *hotplug_devfs_path = g_strdup (buf);
179 char buf[81]; local
196 (void) read(mnttab_fd, buf, (size_t)(sizeof (buf)
208 char buf[81]; local
[all...]
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSSrvMsg.java73 StringBuffer buf = new StringBuffer();
81 hdr.getString(buf, dis);
83 serviceType = buf.toString();
99 hdr.getString(buf, dis);
101 hdr.scopes = hdr.parseCommaSeparatedListIn(buf.toString(), true);
127 hdr.getString(buf, dis);
129 query = buf.toString();
133 hdr.getString(buf, dis);
135 spi = buf.toString();
/osnet-11/usr/src/lib/passwdutil/
H A D__failed_count.c33 void *buf; local
52 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) {
57 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) {
75 if ((ret = ops->update(items, NULL, buf)) != PWU_NO_CHANGE &&
85 if (((ret = ops->putpwnam(username, NULL, NULL, buf)) ==
106 void *buf; local
125 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS)
127 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS)
129 ret = ops->putpwnam(username, NULL, NULL, buf);
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dloop.c49 void *buf; local
50 if (!ptt_read_sector (dev, 0, &buf))
52 int found_sig = !strncmp (buf, LOOP_SIGNATURE, strlen (LOOP_SIGNATURE));
53 free (buf);
115 void *buf; local
116 if (!ptt_read_sector (dev, 0, &buf))
119 int found_sig = !strncmp (buf, LOOP_SIGNATURE, strlen (LOOP_SIGNATURE));
120 free (buf);
159 char *buf = ped_malloc (buflen); local
160 if (buf
[all...]
/osnet-11/usr/src/lib/libgss/
H A Dg_imp_name.c193 unsigned char *buf; local
205 buf = (unsigned char *)expName.value;
206 if (memcmp(expNameTokId, buf, expNameTokIdLen) != 0)
209 buf += expNameTokIdLen;
212 mechOidLen = (*buf++ << 8);
213 mechOidLen |= (*buf++);
221 if (*buf++ != 0x06)
232 mechOid.length = get_der_length(&buf,
234 mechOid.elements = (void *)buf;
243 buf
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dcat.c42 char buf[GRUB_DISK_SECTOR_SIZE]; local
56 while ((size = grub_file_read (file, buf, sizeof (buf))) > 0
63 unsigned char c = buf[i];
67 else if (dos && c == '\r' && i + 1 < size && buf[i + 1] == '\n')
/osnet-11/usr/src/grub/grub2/grub-core/hook/
H A Ddatehook.c45 static char buf[6]; local
47 buf[0] = 0;
81 grub_snprintf (buf, sizeof (buf), "%d", n);
86 return buf;
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dt-smstdio.c26 char buf[128]; local
58 n = sm_io_read(fp, SM_TIME_DEFAULT, buf, sizeof(buf));
61 buf[n] = '\0';
62 SM_TEST(strcmp(buf, testmsg) == 0);
/osnet-11/usr/src/lib/libast/common/string/
H A Dfmtscale.c43 char* buf; local
72 buf = fmtbuf(z = 8);
86 sfsprintf(buf, z, "%I*u%c%d%s", sizeof(n), n, p->decimal >= 0 ? p->decimal : '.', r, suf);
91 sfsprintf(buf, z, "%I*u%s", sizeof(n), n, suf);
93 return buf;
H A Dtokline.c67 char* buf; local
81 if (!(buf = sfgetr(d->sp, '\n', 0)) && !(buf = sfgetr(d->sp, '\n', -1)))
87 if (n > 1 && buf[n - 2] == '\\')
105 e = (b = buf) + n;
116 else if (c == '#' && (b == (buf + 1) || (c = *(b - 2)) == ' ' || c == '\t'))
118 if (buf[n - 1] != '\n')
121 n = b - buf - 2;
123 else if (n = b - buf - 1)
124 buf[
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dconfstr.c94 confstr(int name, char *buf, size_t length) argument
113 (void) strncpy(buf, path, length);
114 buf[length - 1] = '\0';
129 (void) strncpy(buf, entry->value, length);
130 buf[length - 1] = '\0';
H A Dfdopendir.c51 void *buf = lmalloc(DIRBUF); local
55 if (pdirp == NULL || buf == NULL)
69 dirp->d_buf = buf;
79 if (buf != NULL)
80 lfree(buf, DIRBUF);
/osnet-11/usr/src/lib/sun_fc/common/
H A DHBANPIVPort.cc74 char buf[MAXPATHLEN]; local
97 if ((count = readlink(node,buf,sizeof(buf)))) {
98 buf[count] = '\0';
99 if (strstr(buf, path.c_str())) {
/osnet-11/usr/src/lib/libast/common/comp/
H A Domitted.c188 execrate(const char* path, char* buf, int size, int physical) argument
197 if (physical || strlen(path) >= size || !(s = pathcanon(strcpy(buf, path), size, PATH_PHYSICAL|PATH_DOTDOT|PATH_EXISTS)))
198 snprintf(buf, size, "%s.exe", path);
199 else if (!suffix(buf) && ((buf + size) - s) >= 4)
220 unsigned char buf[512]; local
222 unsigned char buf[2]; local
230 n = sizeof(buf);
234 r = (m = sysread(fd, buf, n)) >= 2 && (buf[
269 char buf[PATH_MAX]; local
311 char buf[PATH_MAX]; local
455 char buf[PATH_MAX]; local
710 char buf[PATH_MAX]; local
734 write(int fd, const void* buf, size_t n) argument
749 char buf[PATH_MAX]; local
827 char buf[PATH_MAX]; local
847 char buf[PATH_MAX]; local
872 char buf[PATH_MAX]; local
1054 char buf[PATH_MAX]; local
1072 char buf[PATH_MAX]; local
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpc_prot.c131 rpc_inline_t *buf; local
139 (buf = XDR_INLINE(xdrs, 6 * BYTES_PER_XDR_UNIT + (rndup =
141 IXDR_PUT_INT32(buf, rmsg->rm_xid);
142 IXDR_PUT_ENUM(buf, rmsg->rm_direction);
143 IXDR_PUT_ENUM(buf, rmsg->rm_reply.rp_stat);
146 IXDR_PUT_ENUM(buf, oa->oa_flavor);
147 IXDR_PUT_INT32(buf, oa->oa_length);
149 (void) memcpy(buf, oa->oa_base, oa->oa_length);
151 buf = (rpc_inline_t *)(((caddr_t)buf)
[all...]
/osnet-11/usr/src/lib/libnsl/dial/
H A Dstoa.c100 addr->buf = NULL;
137 if ((addr->buf = xfer(addr->buf, sbuf, addr->len, addr->maxlen)) ==
148 * The binary result is placed at buf.
152 dobase(char *s, char *buf, int type) argument
169 buf[0] = '\0';
174 buf[bp] = '\0';
177 buf[bp] |= toxdigit(*end) << shift;
180 buf[--bp] = (todigit(*end) >> (8 - shift))
184 buf[
[all...]

Completed in 127 milliseconds

<<11121314151617181920>>