Lines Matching refs:Slice
36 void CheckSliceSize(const Slice& s, const grpc::string& content) { in CheckSliceSize()
39 void CheckSlice(const Slice& s, const grpc::string& content) { in CheckSlice()
47 Slice empty_slice; in TEST_F()
52 Slice sized_slice(strlen(kContent)); in TEST_F()
57 Slice spp(kContent); in TEST_F()
62 Slice spp(kContent, strlen(kContent)); in TEST_F()
67 Slice spp(kContent, strlen(kContent), Slice::STATIC_SLICE); in TEST_F()
74 Slice spp(x, strlen(x), [](void* p) { delete[] static_cast<char*>(p); }); in TEST_F()
79 Slice spp(const_cast<char*>(kContent), strlen(kContent), [](void* p) {}); in TEST_F()
91 Slice spp(t->x, strlen(t->x), in TEST_F()
102 Slice spp(const_cast<char*>(kContent), strlen(kContent), in TEST_F()
109 Slice spp(s, Slice::STEAL_REF); in TEST_F()
115 Slice spp(s, Slice::ADD_REF); in TEST_F()
122 Slice spp(s, Slice::STEAL_REF); in TEST_F()