Home
last modified time | relevance | path

Searched refs:resbuf (Results 1 – 25 of 30) sorted by relevance

12

/netbsd-src/usr.bin/ruptime/
H A Druptime.c190 static char resbuf[32]; in interval() local
194 (void)snprintf(resbuf, sizeof(resbuf), " %s ??:??", updown); in interval()
195 return (resbuf); in interval()
204 (void)snprintf(resbuf, sizeof(resbuf), in interval()
207 (void)snprintf(resbuf, sizeof(resbuf), in interval()
209 return (resbuf); in interval()
/netbsd-src/usr.sbin/rpc.pcnfsd/
H A Dpcnfsd_print.c211 char resbuf[256]; in pr_start2() local
349 while (fgets(resbuf, 255, fd) != NULL) { in pr_start2()
350 i = strlen(resbuf); in pr_start2()
352 resbuf[i - 1] = '\0'; /* trim NL */ in pr_start2()
353 if (!strncmp(resbuf, "request id is ", 14)) in pr_start2()
355 strlcpy(req_id, strtok(&resbuf[14], delims), in pr_start2()
358 if (strembedded("disabled", resbuf)) in pr_start2()
1074 char resbuf[256]; in pr_cancel() local
1089 if (fgets(resbuf, 255, fd) == NULL) in pr_cancel()
1092 if (!strstr(resbuf, "UX:")) in pr_cancel()
[all …]
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dmd5.c92 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) in md5_read_ctx() argument
94 ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A); in md5_read_ctx()
95 ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B); in md5_read_ctx()
96 ((md5_uint32 *) resbuf)[2] = SWAP (ctx->C); in md5_read_ctx()
97 ((md5_uint32 *) resbuf)[3] = SWAP (ctx->D); in md5_read_ctx()
99 return resbuf; in md5_read_ctx()
108 md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) in md5_finish_ctx() argument
130 return md5_read_ctx (ctx, resbuf); in md5_finish_ctx()
H A Dmd5.h112 extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) __THROW;
121 extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) __THROW;
/netbsd-src/usr.sbin/rwhod/
H A Drwhod.c590 static char resbuf[32]; in interval() local
594 (void)snprintf(resbuf, sizeof(resbuf), " %s ??:??", updown); in interval()
595 return (resbuf); in interval()
601 (void)snprintf(resbuf, sizeof(resbuf), "%s %2d+%02d:%02d", in interval()
604 (void)snprintf(resbuf, sizeof(resbuf), "%s %2d:%02d", in interval()
606 return resbuf; in interval()
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dsha1.c75 sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) in sha1_read_ctx() argument
77 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A); in sha1_read_ctx()
78 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B); in sha1_read_ctx()
79 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C); in sha1_read_ctx()
80 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D); in sha1_read_ctx()
81 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E); in sha1_read_ctx()
83 return resbuf; in sha1_read_ctx()
92 sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) in sha1_finish_ctx() argument
112 return sha1_read_ctx (ctx, resbuf); in sha1_finish_ctx()
H A Dmd5.c82 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) in md5_read_ctx() argument
91 memcpy (resbuf, buffer, 16); in md5_read_ctx()
93 return resbuf; in md5_read_ctx()
102 md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) in md5_finish_ctx() argument
128 return md5_read_ctx (ctx, resbuf); in md5_finish_ctx()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dsha1.c75 sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) in sha1_read_ctx() argument
77 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A); in sha1_read_ctx()
78 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B); in sha1_read_ctx()
79 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C); in sha1_read_ctx()
80 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D); in sha1_read_ctx()
81 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E); in sha1_read_ctx()
83 return resbuf; in sha1_read_ctx()
92 sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) in sha1_finish_ctx() argument
112 return sha1_read_ctx (ctx, resbuf); in sha1_finish_ctx()
H A Dmd5.c82 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) in md5_read_ctx() argument
91 memcpy (resbuf, buffer, 16); in md5_read_ctx()
93 return resbuf; in md5_read_ctx()
102 md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) in md5_finish_ctx() argument
128 return md5_read_ctx (ctx, resbuf); in md5_finish_ctx()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dsha1.c75 sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) in sha1_read_ctx() argument
77 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A); in sha1_read_ctx()
78 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B); in sha1_read_ctx()
79 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C); in sha1_read_ctx()
80 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D); in sha1_read_ctx()
81 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E); in sha1_read_ctx()
83 return resbuf; in sha1_read_ctx()
92 sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) in sha1_finish_ctx() argument
112 return sha1_read_ctx (ctx, resbuf); in sha1_finish_ctx()
H A Dmd5.c82 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) in md5_read_ctx() argument
91 memcpy (resbuf, buffer, 16); in md5_read_ctx()
93 return resbuf; in md5_read_ctx()
102 md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) in md5_finish_ctx() argument
128 return md5_read_ctx (ctx, resbuf); in md5_finish_ctx()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dutil-int.c460 struct hostent *resbuf, in ldap_pvt_gethostbyname_a() argument
476 *result=gethostbyname_r( name, resbuf, *buf, buflen, herrno_ptr ); in ldap_pvt_gethostbyname_a()
479 while((r = gethostbyname_r( name, resbuf, *buf, buflen, result, herrno_ptr )) == ERANGE) { in ldap_pvt_gethostbyname_a()
515 } else if (copy_hostent( resbuf, buf, he )<0) { in ldap_pvt_gethostbyname_a()
519 *result = resbuf; in ldap_pvt_gethostbyname_a()
653 struct hostent *resbuf, in ldap_pvt_gethostbyaddr_a() argument
670 resbuf, *buf, buflen, herrno_ptr ); in ldap_pvt_gethostbyaddr_a()
674 resbuf, *buf, buflen, in ldap_pvt_gethostbyaddr_a()
703 } else if (copy_hostent( resbuf, buf, he )<0) { in ldap_pvt_gethostbyaddr_a()
707 *result = resbuf; in ldap_pvt_gethostbyaddr_a()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dctf.c548 typedef struct resbuf { struct
685 resbuf_t resbuf; in write_compressed_buffer() local
686 resbuf.rb_size = RES_BUF_CHUNK_SIZE; in write_compressed_buffer()
687 resbuf.rb_base = xmalloc(resbuf.rb_size); in write_compressed_buffer()
688 bcopy(h, resbuf.rb_base, sizeof (ctf_header_t)); in write_compressed_buffer()
689 resbuf.rb_ptr = resbuf.rb_base + sizeof (ctf_header_t); in write_compressed_buffer()
691 compress_start(&resbuf); in write_compressed_buffer()
693 &resbuf); in write_compressed_buffer()
694 compress_flush(&resbuf, Z_FULL_FLUSH); in write_compressed_buffer()
695 (void) strtab_write(&buf->ctb_strtab, compress_buffer, &resbuf); in write_compressed_buffer()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/include/
H A Dmd5.h127 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
136 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
H A Dsha1.h118 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf);
127 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
/netbsd-src/external/gpl3/gcc/dist/include/
H A Dsha1.h118 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf);
127 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
H A Dmd5.h131 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
140 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
/netbsd-src/external/gpl3/binutils.old/dist/include/
H A Dsha1.h118 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf);
127 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
H A Dmd5.h131 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
140 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
/netbsd-src/external/gpl3/binutils/dist/include/
H A Dsha1.h125 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf);
134 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
H A Dmd5.h131 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
140 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dmd5.c82 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) in md5_read_ctx() argument
91 memcpy (resbuf, buffer, 16); in md5_read_ctx()
93 return resbuf; in md5_read_ctx()
102 md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) in md5_finish_ctx() argument
128 return md5_read_ctx (ctx, resbuf); in md5_finish_ctx()
H A Dsha1.c80 sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) in sha1_read_ctx() argument
82 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A); in sha1_read_ctx()
83 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B); in sha1_read_ctx()
84 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C); in sha1_read_ctx()
85 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D); in sha1_read_ctx()
86 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E); in sha1_read_ctx()
88 return resbuf; in sha1_read_ctx()
97 sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) in sha1_finish_ctx() argument
117 return sha1_read_ctx (ctx, resbuf); in sha1_finish_ctx()
/netbsd-src/sys/dev/usb/
H A Dvhci.c232 vhci_response_t resbuf; member
311 res->buf = (uint8_t *)&vxfer->resbuf; in vhci_pkt_ctrl_create()
312 res->size = sizeof(vxfer->resbuf); in vhci_pkt_ctrl_create()
1139 pktsize = ulmin(vxfer->resbuf.size, pktsize); in vhci_fd_write()
1173 xfer->ux_actlen = ulmin(vxfer->resbuf.size, xfer->ux_length); in vhci_fd_write()
/netbsd-src/external/bsd/openldap/dist/include/
H A Dldap_pvt.h157 struct hostent *resbuf,
167 struct hostent *resbuf,

12