Searched refs:resbuf (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/usr.sbin/portsnap/phttpget/
H A Dphttpget.c221 readln(int sd, char * resbuf, int * resbuflen, int * resbufpos) argument
225 while (strnstr(resbuf + *resbufpos, "\r\n",
229 memmove(resbuf, resbuf + *resbufpos,
240 len = recv(sd, resbuf + *resbuflen, BUFSIZ - *resbuflen, 0);
253 copybytes(int sd, int fd, off_t copylen, char * resbuf, int * resbuflen, argument
259 /* Write data from resbuf to fd */
265 len = write(fd, resbuf + *resbufpos, len);
274 len = recv(sd, resbuf, BUFSIZ, 0);
296 char * resbuf local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dgethost.c80 * *error. resbuf is a pointer to a struct hostent which is initialised
83 * h_addr_list elements of the struct hostent returned in resbuf.
84 * Successful calls to lwres_gethostbyname_r() return resbuf, which is a
91 * identical to those in lwres_gethostbyname_r(). resbuf is a pointer to
95 * struct hostent returned in resbuf. Successful calls to
96 * lwres_gethostbyaddr_r() return resbuf, which is a pointer to the
128 * lwres_gethostbyaddr_r() return resbuf, a pointer to the struct hostent
229 lwres_gethostbyname_r(const char *name, struct hostent *resbuf, argument
238 res = copytobuf(he, resbuf, buf, buflen);
244 return (resbuf);
249 lwres_gethostbyaddr_r(const char *addr, int len, int type, struct hostent *resbuf, char *buf, int buflen, int *error) argument
270 lwres_gethostent_r(struct hostent *resbuf, char *buf, int buflen, int *error) argument
[all...]
/freebsd-9.3-release/contrib/binutils/include/
H A Dmd5.h118 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
127 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
/freebsd-9.3-release/contrib/gcclibs/include/
H A Dmd5.h118 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
127 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
/freebsd-9.3-release/usr.bin/ruptime/
H A Druptime.c126 static char resbuf[32]; local
130 (void)snprintf(resbuf, sizeof(resbuf), " %s ??:??", updown);
131 return (resbuf);
140 (void)snprintf(resbuf, sizeof(resbuf),
143 (void)snprintf(resbuf, sizeof(resbuf),
145 return (resbuf);
/freebsd-9.3-release/contrib/gdb/include/
H A Dmd5.h119 extern void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf));
128 extern void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf));
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.c353 void *resbuf = NULL; local
397 resbuf = realloc(resbuf, test->ressize);
398 if ((argbuf == NULL) || (resbuf == NULL)) {
403 bzero(resbuf, test->ressize);
406 test->xdrres, resbuf,
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dmd5.c82 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) argument
84 ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A);
85 ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B);
86 ((md5_uint32 *) resbuf)[2] = SWAP (ctx->C);
87 ((md5_uint32 *) resbuf)[3] = SWAP (ctx->D);
89 return resbuf;
98 md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) argument
120 return md5_read_ctx (ctx, resbuf);
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dmd5.c82 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) argument
84 ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A);
85 ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B);
86 ((md5_uint32 *) resbuf)[2] = SWAP (ctx->C);
87 ((md5_uint32 *) resbuf)[3] = SWAP (ctx->D);
89 return resbuf;
98 md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) argument
120 return md5_read_ctx (ctx, resbuf);
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c453 typedef struct resbuf { struct
590 resbuf_t resbuf; local
591 resbuf.rb_size = RES_BUF_CHUNK_SIZE;
592 resbuf.rb_base = xmalloc(resbuf.rb_size);
593 bcopy(h, resbuf.rb_base, sizeof (ctf_header_t));
594 resbuf.rb_ptr = resbuf.rb_base + sizeof (ctf_header_t);
596 compress_start(&resbuf);
598 &resbuf);
[all...]
/freebsd-9.3-release/usr.sbin/rwhod/
H A Drwhod.c692 static char resbuf[32]; local
696 (void) sprintf(resbuf, " %s ??:??", updown);
697 return (resbuf);
703 (void) sprintf(resbuf, "%s %2d+%02d:%02d",
706 (void) sprintf(resbuf, "%s %2d:%02d",
708 return (resbuf);
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c454 u_char *resbuf, embuf[100]; local
459 if ((resbuf = malloc(resbufsiz + 1)) == NULL) {
466 if ((len = NgRecvData(fd, resbuf, resbufsiz + 1, hook)) == -1) {
469 free(resbuf);
473 free(resbuf);
479 free(resbuf);
490 (*d->func)(hook, resbuf, len, d->arg);
494 free(resbuf);

Completed in 221 milliseconds