Searched refs:send_slice (Results 1 – 3 of 3) sorted by relevance
406 grpc_slice send_slice = grpc_slice_malloc_large(state.range(0)); in BM_TransportStreamSend() local407 memset(GRPC_SLICE_START_PTR(send_slice), 0, GRPC_SLICE_LENGTH(send_slice)); in BM_TransportStreamSend()430 grpc_slice_buffer_add(&send_buffer, grpc_slice_ref(send_slice)); in BM_TransportStreamSend()462 grpc_slice_unref(send_slice); in BM_TransportStreamSend()
59 grpc::Slice send_slice = grpc::Slice(kMessage, sizeof(kMessage) / sizeof(kMessage[0]));60 std::unique_ptr<grpc::ByteBuffer> send_buffer(new grpc::ByteBuffer(&send_slice, 1));
185 Slice send_slice = Slice("hello world", 11);187 std::unique_ptr<ByteBuffer>(new ByteBuffer(&send_slice, 1));