/freebsd-current/contrib/lib9p/sbuf/ |
H A D | sbuf.h | 37 struct sbuf struct 45 struct sbuf *sbuf_new_auto(void); 46 int sbuf_cat(struct sbuf *s, const char *str); 47 int sbuf_printf(struct sbuf *s, const char *fmt, ...); 48 int sbuf_vprintf(struct sbuf *s, const char *fmt, va_list args); 49 int sbuf_done(struct sbuf *s); 50 void sbuf_delete(struct sbuf *s); 51 int sbuf_finish(struct sbuf *s); 52 char *sbuf_data(struct sbuf *s);
|
H A D | sbuf.c | 37 #include "sbuf.h" 41 struct sbuf * 44 struct sbuf *s; 46 s = malloc(sizeof(struct sbuf)); 55 sbuf_cat(struct sbuf *s, const char *str) 73 sbuf_printf(struct sbuf *s, const char *fmt, ...) 86 sbuf_vprintf(struct sbuf *s, const char *fmt, va_list args) 109 sbuf_data(struct sbuf *s) 115 sbuf_finish(struct sbuf *s) 123 sbuf_delete(struct sbuf * [all...] |
/freebsd-current/sys/x86/include/ |
H A D | vmware_guestrpc.h | 31 struct sbuf; 33 int vmware_guestrpc_cmd(struct sbuf *sbufp); 35 int vmware_guestrpc_get_guestinfo(const char *keyword, struct sbuf *sbufp);
|
/freebsd-current/sys/sys/ |
H A D | sbuf.h | 36 struct sbuf; 42 struct sbuf { struct 57 #define SBUF_DYNSTRUCT 0x00080000 /* sbuf must be freed */ 77 struct sbuf *sbuf_new(struct sbuf *, char *, int, int); 80 int sbuf_get_flags(struct sbuf *); 81 void sbuf_clear_flags(struct sbuf *, int); 82 void sbuf_set_flags(struct sbuf *, int); 83 void sbuf_clear(struct sbuf *); 84 int sbuf_setpos(struct sbuf *, ssize_ [all...] |
H A D | devctl.h | 19 struct sbuf; 20 void devctl_safe_quote_sb(struct sbuf *__sb, const char *__src);
|
H A D | stack.h | 38 struct sbuf; 56 void stack_sbuf_print(struct sbuf *, const struct stack *); 57 void stack_sbuf_print_ddb(struct sbuf *, const struct stack *); 58 int stack_sbuf_print_flags(struct sbuf *, const struct stack *,
|
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_nvme_all.h | 12 void ctl_nvme_command_string(struct ctl_nvmeio *ctnio, struct sbuf *sb); 13 void ctl_nvme_status_string(struct ctl_nvmeio *ctnio, struct sbuf *sb);
|
/freebsd-current/tools/regression/netinet6/inet6_rth/ |
H A D | test_subr.c | 58 char sbuf[LINESIZE]; local 60 memset((void *)sbuf, 0, LINESIZE); 66 len = snprintf(sbuf, LINESIZE, "ok"); 70 len = snprintf(sbuf, LINESIZE, "not ok"); 75 snprintf(sbuf + len, LINESIZE - len, " %d - %s (%s)", 77 printf(sbuf); 91 char sbuf[LINESIZE]; local 93 memset((void *)sbuf, 0, LINESIZE); 99 len = snprintf(sbuf, LINESIZE, "ok"); 103 len = snprintf(sbuf, LINESIZ 125 char sbuf[LINESIZE]; local [all...] |
/freebsd-current/sbin/pfctl/tests/ |
H A D | Makefile | 7 LIBADD+= sbuf
|
/freebsd-current/tests/sys/netinet/ |
H A D | udp_io.c | 67 char sbuf[] = "Hello, peer!", rbuf[sizeof(sbuf)]; local 69 .iov_base = sbuf, 70 .iov_len = sizeof(sbuf), 81 ATF_REQUIRE(sendmsg(s[1], &msg, 0) == sizeof(sbuf)); 82 n = (arc4random() % (sizeof(sbuf) - 1)) + 1; 87 ATF_REQUIRE(strncmp(sbuf, rbuf, n) == 0); 102 char sbuf[] = "Hello, peer!", rbuf[sizeof(sbuf)]; local 104 .iov_base = sbuf, [all...] |
/freebsd-current/lib/libsbuf/tests/ |
H A D | Makefile | 6 LIBADD+= sbuf util
|
/freebsd-current/sys/cam/nvme/ |
H A D | nvme_all.h | 41 struct sbuf; 42 void nvme_print_ident(const struct nvme_controller_data *, const struct nvme_namespace_data *, struct sbuf *); 44 const struct nvme_namespace_data *, struct sbuf *); 47 void nvme_cmd_sbuf(const struct nvme_command *, struct sbuf *sb); 48 int nvme_command_sbuf(struct ccb_nvmeio *nvmeio, struct sbuf *sb);
|
/freebsd-current/usr.sbin/nghook/ |
H A D | main.c | 253 char ch, sbuf[100]; local 257 snprintf(sbuf, sizeof(sbuf), "%04x: ", count); 260 snprintf(sbuf + strlen(sbuf), 261 sizeof(sbuf) - strlen(sbuf), 264 snprintf(sbuf + strlen(sbuf), 265 sizeof(sbuf) [all...] |
/freebsd-current/sys/cam/ |
H A D | cam_xpt_periph.h | 48 struct sbuf *sb, 53 struct sbuf *sb, 56 void xpt_denounce_periph_sbuf(struct cam_periph *periph, struct sbuf *sb);
|
/freebsd-current/sys/geom/ |
H A D | geom_int.h | 47 void g_conf_specific(struct sbuf *sb, struct g_geom **gps); 48 void g_conf_cat_escaped(struct sbuf *sb, const char *buf); 49 void g_conf_printf_escaped(struct sbuf *sb, const char *fmt, ...);
|
/freebsd-current/lib/libmt/ |
H A D | Makefile | 7 LIBADD= sbuf bsdxml
|
H A D | mtlib.h | 67 struct sbuf *cur_sb[32]; 90 void mt_status_tree_sbuf(struct sbuf *sb, struct mt_status_entry *entry, 91 int indent, void (*sbuf_func)(struct sbuf *sb, 102 void mt_entry_sbuf(struct sbuf *sb, struct mt_status_entry *entry, char *fmt); 105 void mt_param_parent_sbuf(struct sbuf *sb, struct mt_status_entry *entry, 107 void mt_param_entry_sbuf(struct sbuf *sb, struct mt_status_entry *entry,
|
/freebsd-current/usr.bin/ctlstat/ |
H A D | Makefile | 7 LIBADD= sbuf bsdxml
|
/freebsd-current/tools/regression/geom/MdLoad/ |
H A D | Makefile | 3 LIBADD= sbuf bsdxml
|
/freebsd-current/usr.bin/apply/ |
H A D | Makefile | 6 LIBADD= sbuf
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | findconfig.c | 21 struct stat sbuf; local 26 if (stat(result, &sbuf) == 0) { 27 if (S_ISDIR(sbuf.st_mode)) { 32 if (stat(result, &sbuf) == 0) { 43 if (stat(result, &sbuf) == 0) { 49 if (stat(result, &sbuf) == 0) {
|
/freebsd-current/usr.sbin/ngctl/ |
H A D | status.c | 60 u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE]; local 61 struct ng_mesg *const resp = (struct ng_mesg *) sbuf; 87 if (NgRecvMsg(csock, resp, sizeof(sbuf), NULL) < 0
|
/freebsd-current/usr.bin/locale/ |
H A D | Makefile | 6 LIBADD+= sbuf
|
/freebsd-current/usr.sbin/zonectl/ |
H A D | Makefile | 5 LIBADD= cam sbuf util
|
/freebsd-current/usr.bin/gcore/ |
H A D | Makefile | 4 LIBADD= sbuf util
|