Searched refs:stringf (Results 1 – 9 of 9) sorted by relevance
/freebsd/lib/libutil++/tests/ |
H A D | stringf_test.cc | 17 ATF_REQUIRE_EQ("foo", freebsd::stringf("foo")); in ATF_TEST_CASE_BODY() 18 ATF_REQUIRE_EQ("bar", freebsd::stringf("%s", "bar")); in ATF_TEST_CASE_BODY() 19 ATF_REQUIRE_EQ("42", freebsd::stringf("%u", 42)); in ATF_TEST_CASE_BODY() 20 ATF_REQUIRE_EQ("0xdeadbeef", freebsd::stringf("%#x", 0xdeadbeef)); in ATF_TEST_CASE_BODY() 21 ATF_REQUIRE_EQ("", freebsd::stringf("")); in ATF_TEST_CASE_BODY() 22 ATF_REQUIRE_EQ("this is a test", freebsd::stringf("this %s test", in ATF_TEST_CASE_BODY() 32 std::string str = freebsd::stringf(fmt, ap); in stringv()
|
/freebsd/lib/libutil++/ |
H A D | stringf.cc | 31 freebsd::stringf(const char *fmt, va_list ap) in stringf() function in freebsd 47 freebsd::stringf(const char *fmt, ...) in stringf() function in freebsd 53 str = freebsd::stringf(fmt, ap); in stringf()
|
H A D | Makefile | 4 SRCS= stringf.cc 12 freebsd::stringf.3
|
H A D | libutil++.hh | 226 std::string stringf(const char *fmt, ...) __printflike(1, 2); 227 std::string stringf(const char *fmt, std::va_list ap);
|
/freebsd/lib/libsm/ |
H A D | Makefile | 29 wbuf.c wsetup.c string.c stringf.c \
|
/freebsd/usr.sbin/ctld/ |
H A D | uclparse.cc | 319 freebsd::stringf("lun %u for target \"%s\"", id, t_name); in uclparse_target_lun() 374 freebsd::stringf("namespace %u for controller \"%s\"", id, in uclparse_controller_namespace() 1291 std::string lun_name = freebsd::stringf("lun \"%s\"", name); in uclparse_lun()
|
H A D | ctld.cc | 476 std::make_shared<auth_group>(freebsd::stringf("auth-group \"%s\"", in add_auth_group() 1131 std::string name = freebsd::stringf("%s-%s", pg->name(), in add_port() 1147 std::string name = freebsd::stringf("%s-%s", pg->name(), in add_port() 1162 std::string name = freebsd::stringf("%s-%s", pp->name(), in add_port() 1180 std::string pname = freebsd::stringf("ioctl/%d/%d", pp, vp); in add_port() 1243 t_label = freebsd::stringf("%s \"%s\"", keyword, t_name.c_str()); in target()
|
H A D | iscsi.cc | 364 std::string lun_name = freebsd::stringf("%s,lun,%u", name(), id); in start_lun()
|
H A D | nvmf.cc | 429 std::string lun_name = freebsd::stringf("%s,nsid,%u", name(), id); in start_namespace()
|