| /freebsd-14.2/lib/libsbuf/tests/ |
| H A D | sbuf_string_test.c | 93 check_buffers_equal(sbuf_data(sb), test_buffer_tmp, in ATF_TC_BODY() 130 check_buffers_equal(sbuf_data(sb), test_buffer, (size_t)test_sbuf_len); in ATF_TC_BODY() 166 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, in ATF_TC_BODY() 167 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY() 202 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, in ATF_TC_BODY() 203 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY() 234 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, in ATF_TC_BODY() 235 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY() 268 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, in ATF_TC_BODY() 269 "sbuf (\"%s\") != test string (\"%s\") (trimmed)", sbuf_data(sb), in ATF_TC_BODY()
|
| H A D | sbuf_stdio_test.c | 138 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, in ATF_TC_BODY() 139 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY() 198 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, in ATF_TC_BODY() 199 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY()
|
| H A D | sbuf_core_test.c | 79 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), "", in ATF_TC_BODY() 80 "sbuf (\"%s\") was not empty", sbuf_data(sb)); in ATF_TC_BODY() 238 ATF_REQUIRE_MSG(strncmp(sbuf_data(sb), test_string, buf_len) == 0, in ATF_TC_BODY() 239 "sbuf (\"%s\") != test string (\"%s\") for [0,%zd]", sbuf_data(sb), in ATF_TC_BODY()
|
| /freebsd-14.2/tools/regression/geom/MdLoad/ |
| H A D | MdLoad.c | 123 sc->sectorsize = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement() 127 o = strtoull(sbuf_data(sc->sbuf), &p, 0); in endElement() 133 sc->fwsectors = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement() 137 sc->fwheads = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement() 141 sc->fwcylinders = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement() 145 sc->sp->offset= strtoull(sbuf_data(sc->sbuf), &p, 0); in endElement() 149 j = strtoul(sbuf_data(sc->sbuf), NULL, 16); in endElement() 153 p = sbuf_data(sc->sbuf); in endElement() 177 printf("<%s>[[%s]]\n", name, sbuf_data(sc->sbuf)); in endElement()
|
| /freebsd-14.2/tools/regression/geom/ConfCmp/ |
| H A D | ConfCmp.c | 142 sbuf_cat(mt->cur->key, sbuf_data(np->cont)); in EndElement() 210 printf("\"%s\" -- \"%s\" -- \"%s\"", np->name, sbuf_data(np->cont), sbuf_data(np->key)); in print_node() 245 if (strcmp(sbuf_data(np1->key), sbuf_data(np2->key)) > 0) { in sort_node() 300 i = refcmp(sbuf_data(n1->cont), sbuf_data(n2->cont)); in compare_node() 302 i = strcmp(sbuf_data(n1->cont), sbuf_data(n2->cont)); in compare_node()
|
| /freebsd-14.2/sbin/pfctl/tests/ |
| H A D | pfctl_test.c | 162 printf("---\n%s---\n", sbuf_data(real_output)); in run_pfctl_test() 165 "pfctl returned non-zero! Output:\n %s", sbuf_data(real_output)); in run_pfctl_test() 167 ATF_CHECK_STREQ(sbuf_data(expected_output), sbuf_data(real_output)); in run_pfctl_test()
|
| /freebsd-14.2/sys/cam/ctl/ |
| H A D | ctl_scsi_all.c | 162 return(sbuf_data(&sb)); in ctl_scsi_sense_string() 179 printf("%s", sbuf_data(&sb)); in ctl_scsi_sense_print() 199 fprintf(ofile, "%s", sbuf_data(&sb)); in ctl_scsi_sense_print()
|
| /freebsd-14.2/sys/dev/xen/xenstore/ |
| H A D | xenstore.c | 1281 error = xs_single(t, XS_DIRECTORY, sbuf_data(path), &len, in xs_directory() 1314 error = xs_single(t, XS_READ, sbuf_data(path), len, &ret); in xs_read() 1332 iovec[0].iov_base = (void *)(uintptr_t) sbuf_data(path); in xs_write() 1350 ret = xs_single(t, XS_MKDIR, sbuf_data(path), NULL, NULL); in xs_mkdir() 1363 ret = xs_single(t, XS_RM, sbuf_data(path), NULL, NULL); in xs_rm() 1383 root_path = sbuf_data(root_path_sbuf); in xs_rm_tree() 1384 cur_path = sbuf_data(cur_path_sbuf); in xs_rm_tree() 1416 cur_path = sbuf_data(cur_path_sbuf); in xs_rm_tree() 1524 error = xs_write(t, dir, node, sbuf_data(sb)); in xs_vprintf()
|
| /freebsd-14.2/usr.bin/apply/ |
| H A D | apply.c | 198 (void)printf("%s\n", sbuf_data(cmdbuf)); in main() 200 if (exec_shell(sbuf_data(cmdbuf), shell, name)) in main()
|
| /freebsd-14.2/sys/xen/xenbus/ |
| H A D | xenbusb_back.c | 152 error = xs_directory(XST_NIL, xbs->xbs_node, sbuf_data(vm_path), in xenbusb_back_enumerate_type() 164 xenbusb_add_device(dev, type, sbuf_data(id)); in xenbusb_back_enumerate_type()
|
| /freebsd-14.2/lib/libsbuf/ |
| H A D | Symbol.map | 19 sbuf_data;
|
| /freebsd-14.2/contrib/lib9p/sbuf/ |
| H A D | sbuf.h | 52 char *sbuf_data(struct sbuf *s);
|
| H A D | sbuf.c | 109 sbuf_data(struct sbuf *s) in sbuf_data() function
|
| /freebsd-14.2/sys/fs/procfs/ |
| H A D | procfs_osrel.c | 54 pp = sbuf_data(sb); in procfs_doosrel()
|
| /freebsd-14.2/usr.sbin/extattr/ |
| H A D | rmextattr.c | 227 sbuf_data(attrvalue), len); in main() 231 sbuf_data(attrvalue), len); in main()
|
| /freebsd-14.2/sys/dev/qat/qat_hw/qat_c4xxx/ |
| H A D | adf_c4xxx_pke_replay_stats.c | 40 SYSCTL_OUT(req, sbuf_data(&sb), sbuf_len(&sb)); in qat_pke_replay_counters_show()
|
| H A D | adf_c4xxx_misc_error_stats.c | 36 SYSCTL_OUT(req, sbuf_data(&sb), sbuf_len(&sb)); in qat_misc_error_show()
|
| H A D | adf_c4xxx_ae_config.c | 102 ret = SYSCTL_OUT(req, sbuf_data(&sb), sbuf_len(&sb)); in adf_ae_config_show()
|
| /freebsd-14.2/sys/sys/ |
| H A D | sbuf.h | 100 char *sbuf_data(struct sbuf *);
|
| /freebsd-14.2/usr.bin/procstat/ |
| H A D | procstat_cs.c | 111 xo_emit("{:cpu_set/%s}", sbuf_data(cpusetbuf)); in procstat_cs()
|
| /freebsd-14.2/sys/geom/ |
| H A D | geom_ctl.c | 164 sbuf_data(req->serror)); in gctl_post_messages() 302 printf(" error:\t\"%s\"\n", sbuf_data(req->serror)); in gctl_dump() 620 nerror = copyout(sbuf_data(req->serror), req->error, in g_ctl_ioctl_ctl()
|
| /freebsd-14.2/sys/geom/vinum/ |
| H A D | geom_vinum_drive.c | 328 error = g_write_data(cp, GV_CFG_OFFSET, sbuf_data(sb), in gv_save_config() 340 sbuf_data(sb), GV_CFG_LEN); in gv_save_config()
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_sysctl.c | 157 sysctl_string = sbuf_data(sb); in linux_sysctl()
|
| /freebsd-14.2/sys/geom/label/ |
| H A D | g_label_gpt.c | 127 strlcpy(label, sbuf_data(lbl), size); in g_label_gpt_taste()
|
| /freebsd-14.2/sys/kern/ |
| H A D | imgact_shell.c | 179 fname = sbuf_data(sname); in exec_shell_imgact()
|