/freebsd-13-stable/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-13-stable/sys/sys/ |
H A D | sbuf.h | 38 struct sbuf; 44 struct sbuf { struct 59 #define SBUF_DYNSTRUCT 0x00080000 /* sbuf must be freed */ 79 struct sbuf *sbuf_new(struct sbuf *, char *, int, int); 82 int sbuf_get_flags(struct sbuf *); 83 void sbuf_clear_flags(struct sbuf *, int); 84 void sbuf_set_flags(struct sbuf *, int); 85 void sbuf_clear(struct sbuf *); 86 int sbuf_setpos(struct sbuf *, ssize_ [all...] |
H A D | devctl.h | 41 struct sbuf; 42 void devctl_safe_quote_sb(struct sbuf *__sb, const char *__src);
|
H A D | stack.h | 40 struct sbuf; 58 void stack_sbuf_print(struct sbuf *, const struct stack *); 59 void stack_sbuf_print_ddb(struct sbuf *, const struct stack *); 60 int stack_sbuf_print_flags(struct sbuf *, const struct stack *,
|
/freebsd-13-stable/tools/regression/netinet6/inet6_rth/ |
H A D | test_subr.c | 61 char sbuf[LINESIZE]; local 63 memset((void *)sbuf, 0, LINESIZE); 69 len = snprintf(sbuf, LINESIZE, "ok"); 73 len = snprintf(sbuf, LINESIZE, "not ok"); 78 snprintf(sbuf + len, LINESIZE - len, " %d - %s (%s)", 80 printf(sbuf); 94 char sbuf[LINESIZE]; local 96 memset((void *)sbuf, 0, LINESIZE); 102 len = snprintf(sbuf, LINESIZE, "ok"); 106 len = snprintf(sbuf, LINESIZ 128 char sbuf[LINESIZE]; local [all...] |
/freebsd-13-stable/sbin/pfctl/tests/ |
H A D | Makefile | 8 LIBADD+= sbuf
|
/freebsd-13-stable/sys/cam/nvme/ |
H A D | nvme_all.h | 43 struct sbuf; 44 void nvme_print_ident(const struct nvme_controller_data *, 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-13-stable/lib/libsbuf/tests/ |
H A D | Makefile | 7 LIBADD+= sbuf util
|
/freebsd-13-stable/usr.sbin/nghook/ |
H A D | main.c | 255 char ch, sbuf[100]; local 259 snprintf(sbuf, sizeof(sbuf), "%04x: ", count); 262 snprintf(sbuf + strlen(sbuf), 263 sizeof(sbuf) - strlen(sbuf), 266 snprintf(sbuf + strlen(sbuf), 267 sizeof(sbuf) [all...] |
/freebsd-13-stable/sys/geom/ |
H A D | geom_int.h | 49 void g_conf_specific(struct sbuf *sb, struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp); 50 void g_conf_cat_escaped(struct sbuf *sb, const char *buf); 51 void g_conf_printf_escaped(struct sbuf *sb, const char *fmt, ...);
|
/freebsd-13-stable/lib/libmt/ |
H A D | Makefile | 8 LIBADD= sbuf bsdxml
|
H A D | mtlib.h | 69 struct sbuf *cur_sb[32]; 92 void mt_status_tree_sbuf(struct sbuf *sb, struct mt_status_entry *entry, 93 int indent, void (*sbuf_func)(struct sbuf *sb, 104 void mt_entry_sbuf(struct sbuf *sb, struct mt_status_entry *entry, char *fmt); 107 void mt_param_parent_sbuf(struct sbuf *sb, struct mt_status_entry *entry, 109 void mt_param_entry_sbuf(struct sbuf *sb, struct mt_status_entry *entry,
|
/freebsd-13-stable/usr.bin/apply/ |
H A D | Makefile | 8 LIBADD= sbuf
|
/freebsd-13-stable/usr.bin/ident/ |
H A D | Makefile | 7 LIBADD= sbuf
|
/freebsd-13-stable/tools/regression/geom/MdLoad/ |
H A D | Makefile | 4 LIBADD= sbuf bsdxml
|
/freebsd-13-stable/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-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/ |
H A D | mkbusy.c | 72 struct stat sbuf; local 97 if ((ret = stat(argv[0], &sbuf)) != 0) { 130 if ((ret = stat(dname, &sbuf)) != 0 || !(sbuf.st_mode & 140 } else if ((sbuf.st_mode & S_IFMT) == S_IFREG || 141 (sbuf.st_mode & S_IFMT) == S_IFLNK || 142 (sbuf.st_mode & S_IFMT) == S_IFCHR || 143 (sbuf.st_mode & S_IFMT) == S_IFBLK) { 145 } else if ((sbuf.st_mode & S_IFMT) == S_IFDIR) {
|
/freebsd-13-stable/sys/cam/ |
H A D | cam_xpt_periph.h | 51 struct sbuf *sb, 56 struct sbuf *sb, 59 void xpt_denounce_periph_sbuf(struct cam_periph *periph, struct sbuf *sb);
|
/freebsd-13-stable/usr.sbin/ngctl/ |
H A D | status.c | 62 u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE]; local 63 struct ng_mesg *const resp = (struct ng_mesg *) sbuf; 89 if (NgRecvMsg(csock, resp, sizeof(sbuf), NULL) < 0
|
/freebsd-13-stable/sys/fs/procfs/ |
H A D | procfs_note.c | 43 #include <sys/sbuf.h>
|
/freebsd-13-stable/sys/cam/ctl/ |
H A D | ctl_scsi_all.h | 45 struct scsi_inquiry_data *inq_data,struct sbuf *sb); 47 struct scsi_inquiry_data *inq_data, struct sbuf *sb,
|
/freebsd-13-stable/usr.bin/w/ |
H A D | Makefile | 7 LIBADD= kvm sbuf xo util
|
/freebsd-13-stable/usr.sbin/newsyslog/ |
H A D | Makefile | 9 LIBADD= sbuf
|
/freebsd-13-stable/usr.sbin/zonectl/ |
H A D | Makefile | 6 LIBADD= cam sbuf util
|