Macros | Functions
byte_buffer_reader_test.cc File Reference
#include <string.h>
#include <grpc/byte_buffer.h>
#include <grpc/byte_buffer_reader.h>
#include <grpc/grpc.h>
#include <grpc/slice.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include "src/core/lib/gprpp/thd.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "test/core/util/test_config.h"
Include dependency graph for byte_buffer_reader_test.cc:

Go to the source code of this file.

Macros

#define LOG_TEST(x)   gpr_log(GPR_INFO, "%s", x)
 

Functions

int main (int argc, char **argv)
 
static void test_byte_buffer_copy (void)
 
static void test_byte_buffer_from_reader (void)
 
static void test_peek_none_compressed_slice (void)
 
static void test_peek_one_slice (void)
 
static void test_peek_one_slice_malloc (void)
 
static void test_read_none_compressed_slice (void)
 
static void test_read_one_slice (void)
 
static void test_read_one_slice_malloc (void)
 
static void test_readall (void)
 

Macro Definition Documentation

◆ LOG_TEST

#define LOG_TEST (   x)    gpr_log(GPR_INFO, "%s", x)

Definition at line 33 of file byte_buffer_reader_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 265 of file byte_buffer_reader_test.cc.

◆ test_byte_buffer_copy()

static void test_byte_buffer_copy ( void  )
static

Definition at line 228 of file byte_buffer_reader_test.cc.

◆ test_byte_buffer_from_reader()

static void test_byte_buffer_from_reader ( void  )
static

Definition at line 169 of file byte_buffer_reader_test.cc.

◆ test_peek_none_compressed_slice()

static void test_peek_none_compressed_slice ( void  )
static

Definition at line 147 of file byte_buffer_reader_test.cc.

◆ test_peek_one_slice()

static void test_peek_one_slice ( void  )
static

Definition at line 102 of file byte_buffer_reader_test.cc.

◆ test_peek_one_slice_malloc()

static void test_peek_one_slice_malloc ( void  )
static

Definition at line 124 of file byte_buffer_reader_test.cc.

◆ test_read_none_compressed_slice()

static void test_read_none_compressed_slice ( void  )
static

Definition at line 80 of file byte_buffer_reader_test.cc.

◆ test_read_one_slice()

static void test_read_one_slice ( void  )
static

Definition at line 35 of file byte_buffer_reader_test.cc.

◆ test_read_one_slice_malloc()

static void test_read_one_slice_malloc ( void  )
static

Definition at line 57 of file byte_buffer_reader_test.cc.

◆ test_readall()

static void test_readall ( void  )
static

Definition at line 194 of file byte_buffer_reader_test.cc.



grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:02:02