Searched defs:buf (Results 176 - 200 of 1270) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetnetgrent.c206 static nss_XbyY_buf_t *buf; variable
214 (void) NSS_XbyY_ALLOC(&buf, 0, NSS_BUFLEN_NETGROUP);
216 buf->buffer, buf->buflen));
230 NSS_XbyY_FREE(&buf);
H A Dgetpw.c48 getpw(uid_t uid, char buf[]) argument
74 bp = buf;
83 bp = buf;
H A Dl64a.c62 char *buf = tsdalloc(_T_L64A, NMAX + 1, NULL); local
63 char *s = buf;
65 if (buf == NULL)
83 return (buf);
H A Dreaddir_r.c160 } buf; local
162 error = readdir64_r(dirp, (dirent64_t *)&buf, &dp64);
H A Drealpath.c45 krealpath_impl(int fd, const char *path, char *buf, size_t bufsize) argument
52 if (buf == NULL) {
63 kbuf = buf;
68 if (ret == 0 || buf != NULL || bufsize != 0 || errno != ERANGE)
72 if (buf != sbuf)
78 if (buf != kbuf && kbuf != sbuf)
87 if (buf == NULL) {
88 buf = strdup(kbuf);
92 return (buf);
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/sys/
H A Dexacctsys.c39 getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize) argument
45 0, idtype, id, buf, bufsize, 0);
52 putacct(idtype_t idtype, id_t id, void *buf, size_t bufsize, int flags) argument
54 return (syscall(SYS_exacctsys, 1, idtype, id, buf, bufsize, flags));
/osnet-11/usr/src/lib/libsum/amd64/include/ast/
H A Dsum.h54 __V_* buf; member in struct:Sumdata_s
/osnet-11/usr/src/lib/libsum/common/
H A Dsum.h45 void* buf; member in struct:Sumdata_s
/osnet-11/usr/src/lib/libsum/i386/include/ast/
H A Dsum.h54 __V_* buf; member in struct:Sumdata_s
/osnet-11/usr/src/lib/libsum/sparc/include/ast/
H A Dsum.h54 __V_* buf; member in struct:Sumdata_s
/osnet-11/usr/src/lib/libsum/sparcv9/include/ast/
H A Dsum.h54 __V_* buf; member in struct:Sumdata_s
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_admin.c48 struct stat buf; local
65 if (fstat(meta_fd, &buf) != 0)
67 meta_major = major(buf.st_rdev);
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgethostent.c86 char buf[18]; local
99 inet_ntoa_r(addr, buf), 0);
H A Dgethostent6.c88 char buf[INET6_ADDRSTRLEN + 1]; local
99 (void *)buf, INET_ADDRSTRLEN) == NULL) {
103 if (inet_ntop(AF_INET6, (void *)&addr, (void *)buf,
108 res = _nss_nis_lookup(be, argp, 1, "ipnodes.byaddr", buf, 0);
H A Dgetnetent.c40 static int nettoa(int anet, char *buf, int buflen, char **pnull);
105 nettoa(int anet, char *buf, int buflen, char **pnull) argument
113 if (buf == 0)
117 (void) strncpy(buf, inet_ntoa(in), buflen);
119 p = strchr(buf, '.');
125 p = strchr(buf, '.');
134 p = strrchr(buf, '.');
/osnet-11/usr/src/lib/nsswitch/user/common/
H A Duser_common.h55 char *buf; member in struct:user_backend
/osnet-11/usr/src/lib/passwdutil/
H A D__set_authtoken_attr.c44 void *buf; /* workspace for repository specific funcs */ local
79 buf = NULL;
86 err = rops[i]->getpwnam(name, items, rep, &buf);
90 err = rops[i]->update(items, rep, buf);
93 err = rops[i]->putpwnam(name, oldpw, rep, buf);
98 if (buf) {
99 (void) free(buf);
100 buf = NULL;
111 if (buf)
112 free(buf);
[all...]
/osnet-11/usr/src/lib/pysolaris/zones/common/
H A Dzones.c58 char buf[ZONENAME_MAX]; local
65 if ((ret = getzonenamebyid(zid, buf, ZONENAME_MAX)) == -1) {
69 return (Py_BuildValue("s", buf));
/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/libproc/common/
H A DPscantext.c62 uint32_t buf[2 * BLKSIZE / sizeof (uint32_t)]; /* text buffer */ local
142 if ((nbytes = read(P->asfd, buf, 2*BLKSIZE)) <= 0)
152 p = (uchar_t *)buf;
159 (void) memcpy(buf,
160 &buf[BLKSIZE / sizeof (buf[0])],
163 p = (uchar_t *)buf;
167 &buf[BLKSIZE / sizeof (buf[0])],
H A Dpr_stat.c69 pr_stat(struct ps_prochandle *Pr, const char *path, struct stat *buf) argument
81 return (stat(path, buf));
112 adp->arg_object = buf;
113 adp->arg_size = sizeof (*buf);
116 adp->arg_object = buf;
117 adp->arg_size = sizeof (*buf);
135 stat64_32_to_n(&statb64_32, buf);
144 pr_lstat(struct ps_prochandle *Pr, const char *path, struct stat *buf) argument
156 return (lstat(path, buf));
187 adp->arg_object = buf;
219 pr_fstat(struct ps_prochandle *Pr, int fd, struct stat *buf) argument
294 pr_stat64(struct ps_prochandle *Pr, const char *path, struct stat64 *buf) argument
373 pr_lstat64(struct ps_prochandle *Pr, const char *path, struct stat64 *buf) argument
452 pr_fstat64(struct ps_prochandle *Pr, int fd, struct stat64 *buf) argument
[all...]
/osnet-11/usr/src/lib/libresolv/
H A Dres_init.c89 char buf[BUFSIZ]; local
113 char *buf; local
124 buf = (char *)malloc(bufsize);
125 if (buf == NULL) {
131 ifc.ifc_buf = buf;
135 free(buf);
149 free(buf);
158 free(buf);
169 getdomainname(buf, BUFSIZ);
170 if (buf[
[all...]
H A Dres_query.c78 char buf[MAXPACKET]; local
89 buf, sizeof (buf));
99 n = res_send(buf, n, answer, anslen);
275 char buf[BUFSIZ]; local
281 buf[sizeof (buf) - 1] = '\0';
282 while (fgets(buf, sizeof (buf), fp)) {
283 for (C1 = buf; *C
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dhex.c28 isc_gethexstring(unsigned char *buf, size_t len, int count, FILE *fp, argument
68 *buf++ = x;
85 isc_puthexstring(FILE *fp, const unsigned char *buf, size_t buflen, argument
95 fputc(hex[(buf[0]>>4)&0xf], fp);
96 fputc(hex[buf[0]&0xf], fp);
99 buf++;
109 isc_tohex(const unsigned char *buf, size_t buflen, char *t) { argument
111 *t++ = hex[(buf[0]>>4)&0xf];
112 *t++ = hex[buf[0]&0xf];
113 buf
[all...]

Completed in 142 milliseconds

1234567891011>>