Lines Matching refs:Slice
42 void CheckSliceSize(const Slice& s, const std::string& content) { in CheckSliceSize()
45 void CheckSlice(const Slice& s, const std::string& content) { in CheckSlice()
53 Slice empty_slice; in TEST_F()
58 Slice sized_slice(strlen(kContent)); in TEST_F()
63 Slice spp(kContent); in TEST_F()
68 Slice spp(kContent, strlen(kContent)); in TEST_F()
73 Slice spp(kContent, strlen(kContent), Slice::STATIC_SLICE); in TEST_F()
80 Slice spp(x, strlen(x), [](void* p) { delete[] static_cast<char*>(p); }); in TEST_F()
85 Slice spp(const_cast<char*>(kContent), strlen(kContent), [](void* /*p*/) {}); in TEST_F()
97 Slice spp(t->x, strlen(t->x), in TEST_F()
108 Slice spp(const_cast<char*>(kContent), strlen(kContent), in TEST_F()
115 Slice spp(s, Slice::STEAL_REF); in TEST_F()
121 Slice spp(s, Slice::ADD_REF); in TEST_F()
128 Slice spp(s, Slice::STEAL_REF); in TEST_F()