Searched defs:curbuf (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libpkg/common/
H A Dsrchcfile.c136 char *curbuf; local
232 curbuf = pkggetentry_named(server, path, &linelen, &cpath_len);
234 curbuf = pkggetentry(server, &linelen, &cpath_len);
236 if (curbuf == NULL)
247 cpath_start = curbuf;
H A Dpkgserv.c61 char *curbuf; member in struct:pkg_server
305 server->curbuf = malloc(1024);
306 if (server->curbuf == NULL ||
472 free(server->curbuf);
717 free(server->curbuf);
719 server->curbuf = malloc(server->buflen);
720 if (server->curbuf == NULL)
723 if (fread(server->curbuf, 1, num[0], server->fp) != num[0])
729 return (server->curbuf);
744 result = server->curbuf;
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dmisc.c200 char *curbuf = buf; local
207 curbuf = grub_malloc (s + 1);
208 if (!curbuf)
215 curbuf = buf;
218 s = grub_vsnprintf_real (curbuf, s, fmt, ap2);
223 grub_xputs (curbuf);
225 if (curbuf != buf)
226 grub_free (curbuf);
/osnet-11/usr/src/lib/libc/port/rt/
H A Dmqueue.c312 msghdr_t *curbuf; local
332 curbuf = MQ_PTR(mqhp, currentp);
334 if ((*headpp = curbuf->msg_next) == NULL) {
355 (void) memcpy(msgp, (char *)&curbuf[1], curbuf->msg_len);
356 curbuf->msg_next = mqhp->mq_freep;
359 return (curbuf->msg_len);
367 msghdr_t *curbuf; local
380 curbuf = MQ_PTR(mqhp, currentp);
385 mqhp->mq_freep = curbuf
[all...]

Completed in 41 milliseconds