Lines Matching refs:empty
13 skstd::string_view empty; in DEF_TEST() local
14 REPORTER_ASSERT(r, empty.data() == nullptr); in DEF_TEST()
15 REPORTER_ASSERT(r, empty.length() == 0); in DEF_TEST()
36 skstd::string_view empty(""); in DEF_TEST() local
37 REPORTER_ASSERT(r, empty.empty()); in DEF_TEST()
38 REPORTER_ASSERT(r, !empty.starts_with('x')); in DEF_TEST()
39 REPORTER_ASSERT(r, !empty.ends_with('x')); in DEF_TEST()
40 REPORTER_ASSERT(r, !empty.starts_with("x")); in DEF_TEST()
41 REPORTER_ASSERT(r, !empty.ends_with("x")); in DEF_TEST()
42 REPORTER_ASSERT(r, empty.starts_with("")); in DEF_TEST()
43 REPORTER_ASSERT(r, empty.ends_with("")); in DEF_TEST()
46 REPORTER_ASSERT(r, !xyz.empty()); in DEF_TEST()
69 xyz.swap(empty); in DEF_TEST()
71 REPORTER_ASSERT(r, empty == "xyz"); in DEF_TEST()
86 skstd::string_view empty; in DEF_TEST() local
87 REPORTER_ASSERT(r, empty.begin() == empty.end()); in DEF_TEST()
91 skstd::string_view empty; in DEF_TEST() local
92 REPORTER_ASSERT(r, empty == empty); in DEF_TEST()
93 REPORTER_ASSERT(r, empty == ""); in DEF_TEST()
94 REPORTER_ASSERT(r, "" == empty); in DEF_TEST()
95 REPORTER_ASSERT(r, !(empty != "")); in DEF_TEST()
151 REPORTER_ASSERT(r, xyz.substr(0, 0).empty()); in DEF_TEST()
152 REPORTER_ASSERT(r, xyz.substr(1, 0).empty()); in DEF_TEST()
153 REPORTER_ASSERT(r, xyz.substr(2, 0).empty()); in DEF_TEST()
154 REPORTER_ASSERT(r, xyz.substr(3, 0).empty()); in DEF_TEST()
156 REPORTER_ASSERT(r, xyz.substr(3).empty()); in DEF_TEST()
157 REPORTER_ASSERT(r, xyz.substr(4).empty()); in DEF_TEST()