Lines Matching refs:kContent
32 const char* kContent = "hello xxxxxxxxxxxxxxxxxxxx world"; variable
52 Slice sized_slice(strlen(kContent)); in TEST_F()
53 CheckSliceSize(sized_slice, kContent); in TEST_F()
57 Slice spp(kContent); in TEST_F()
58 CheckSlice(spp, kContent); in TEST_F()
62 Slice spp(kContent, strlen(kContent)); in TEST_F()
63 CheckSlice(spp, kContent); in TEST_F()
67 Slice spp(kContent, strlen(kContent), Slice::STATIC_SLICE); in TEST_F()
68 CheckSlice(spp, kContent); in TEST_F()
72 char* x = new char[strlen(kContent) + 1]; in TEST_F()
73 strcpy(x, kContent); in TEST_F()
75 CheckSlice(spp, kContent); in TEST_F()
79 Slice spp(const_cast<char*>(kContent), strlen(kContent), [](void* p) {}); in TEST_F()
80 CheckSlice(spp, kContent); in TEST_F()
89 t->x = new char[strlen(kContent) + 1]; in TEST_F()
90 strcpy(t->x, kContent); in TEST_F()
98 CheckSlice(spp, kContent); in TEST_F()
102 Slice spp(const_cast<char*>(kContent), strlen(kContent), in TEST_F()
103 [](void* p, size_t l) { EXPECT_EQ(l, strlen(kContent)); }); in TEST_F()
104 CheckSlice(spp, kContent); in TEST_F()
108 grpc_slice s = grpc_slice_from_copied_string(kContent); in TEST_F()
110 CheckSlice(spp, kContent); in TEST_F()
114 grpc_slice s = grpc_slice_from_copied_string(kContent); in TEST_F()
117 CheckSlice(spp, kContent); in TEST_F()
121 grpc_slice s = grpc_slice_from_copied_string(kContent); in TEST_F()
123 CheckSlice(spp, kContent); in TEST_F()