Functions
test/core/gpr/time_test.cc File Reference
#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include <grpc/support/time.h>
#include "test/core/util/test_config.h"
Include dependency graph for test/core/gpr/time_test.cc:

Go to the source code of this file.

Functions

static void i_to_s (intmax_t x, int base, int chars, void(*writer)(void *arg, const char *buf, size_t len), void *arg)
 
int main (int argc, char *argv[])
 
static void test_add_sub (void)
 
static void test_cmp_extreme (void)
 
static void test_convert_extreme (void)
 
static void test_overflow (void)
 
static void test_similar (void)
 
static void test_sticky_infinities (void)
 
static void test_values (void)
 
static void to_fp (void *arg, const char *buf, size_t len)
 
static void ts_to_s (gpr_timespec t, void(*writer)(void *arg, const char *buf, size_t len), void *arg)
 

Function Documentation

◆ i_to_s()

static void i_to_s ( intmax_t  x,
int  base,
int  chars,
void(*)(void *arg, const char *buf, size_t len writer,
void *  arg 
)
static

Definition at line 39 of file test/core/gpr/time_test.cc.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 257 of file test/core/gpr/time_test.cc.

◆ test_add_sub()

static void test_add_sub ( void  )
static

Definition at line 130 of file test/core/gpr/time_test.cc.

◆ test_cmp_extreme()

static void test_cmp_extreme ( void  )
static

Definition at line 248 of file test/core/gpr/time_test.cc.

◆ test_convert_extreme()

static void test_convert_extreme ( void  )
static

Definition at line 241 of file test/core/gpr/time_test.cc.

◆ test_overflow()

static void test_overflow ( void  )
static

Definition at line 167 of file test/core/gpr/time_test.cc.

◆ test_similar()

static void test_similar ( void  )
static

Definition at line 211 of file test/core/gpr/time_test.cc.

◆ test_sticky_infinities()

static void test_sticky_infinities ( void  )
static

Definition at line 181 of file test/core/gpr/time_test.cc.

◆ test_values()

static void test_values ( void  )
static

Definition at line 63 of file test/core/gpr/time_test.cc.

◆ to_fp()

static void to_fp ( void *  arg,
const char *  buf,
size_t  len 
)
static

Definition at line 33 of file test/core/gpr/time_test.cc.

◆ ts_to_s()

static void ts_to_s ( gpr_timespec  t,
void(*)(void *arg, const char *buf, size_t len writer,
void *  arg 
)
static

Definition at line 51 of file test/core/gpr/time_test.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:34