Functions | Variables
test-timer.c File Reference
#include "uv.h"
#include "task.h"
Include dependency graph for test-timer.c:

Go to the source code of this file.

Functions

static void huge_repeat_cb (uv_timer_t *handle)
 
static void never_cb (uv_timer_t *handle)
 
static void once_cb (uv_timer_t *handle)
 
static void once_close_cb (uv_handle_t *handle)
 
static void order_cb_a (uv_timer_t *handle)
 
static void order_cb_b (uv_timer_t *handle)
 
static void repeat_cb (uv_timer_t *handle)
 
static void repeat_close_cb (uv_handle_t *handle)
 
 TEST_IMPL (timer)
 
 TEST_IMPL (timer_early_check)
 
 TEST_IMPL (timer_huge_repeat)
 
 TEST_IMPL (timer_huge_timeout)
 
 TEST_IMPL (timer_init)
 
 TEST_IMPL (timer_is_closing)
 
 TEST_IMPL (timer_null_callback)
 
 TEST_IMPL (timer_order)
 
 TEST_IMPL (timer_run_once)
 
 TEST_IMPL (timer_start_twice)
 
static void timer_early_check_cb (uv_timer_t *handle)
 
static void timer_run_once_timer_cb (uv_timer_t *handle)
 
static void tiny_timer_cb (uv_timer_t *handle)
 

Variables

static uv_timer_t huge_timer1
 
static uv_timer_t huge_timer2
 
static int once_cb_called = 0
 
static int once_close_cb_called = 0
 
static int order_cb_called = 0
 
static int repeat_cb_called = 0
 
static int repeat_close_cb_called = 0
 
static uint64_t start_time
 
static uint64_t timer_early_check_expected_time
 
static unsigned int timer_run_once_timer_cb_called
 
static uv_timer_t tiny_timer
 

Function Documentation

◆ huge_repeat_cb()

static void huge_repeat_cb ( uv_timer_t handle)
static

Definition at line 241 of file test-timer.c.

◆ never_cb()

static void never_cb ( uv_timer_t handle)
static

Definition at line 85 of file test-timer.c.

◆ once_cb()

static void once_cb ( uv_timer_t handle)
static

Definition at line 47 of file test-timer.c.

◆ once_close_cb()

static void once_close_cb ( uv_handle_t handle)
static

Definition at line 37 of file test-timer.c.

◆ order_cb_a()

static void order_cb_a ( uv_timer_t handle)
static

Definition at line 171 of file test-timer.c.

◆ order_cb_b()

static void order_cb_b ( uv_timer_t handle)
static

Definition at line 176 of file test-timer.c.

◆ repeat_cb()

static void repeat_cb ( uv_timer_t handle)
static

Definition at line 71 of file test-timer.c.

◆ repeat_close_cb()

static void repeat_close_cb ( uv_handle_t handle)
static

Definition at line 62 of file test-timer.c.

◆ TEST_IMPL() [1/10]

TEST_IMPL ( timer  )

Definition at line 90 of file test-timer.c.

◆ TEST_IMPL() [2/10]

TEST_IMPL ( timer_early_check  )

Definition at line 328 of file test-timer.c.

◆ TEST_IMPL() [3/10]

TEST_IMPL ( timer_huge_repeat  )

Definition at line 256 of file test-timer.c.

◆ TEST_IMPL() [4/10]

TEST_IMPL ( timer_huge_timeout  )

Definition at line 228 of file test-timer.c.

◆ TEST_IMPL() [5/10]

TEST_IMPL ( timer_init  )

Definition at line 159 of file test-timer.c.

◆ TEST_IMPL() [6/10]

TEST_IMPL ( timer_is_closing  )

Definition at line 295 of file test-timer.c.

◆ TEST_IMPL() [7/10]

TEST_IMPL ( timer_null_callback  )

Definition at line 308 of file test-timer.c.

◆ TEST_IMPL() [8/10]

TEST_IMPL ( timer_order  )

Definition at line 181 of file test-timer.c.

◆ TEST_IMPL() [9/10]

TEST_IMPL ( timer_run_once  )

Definition at line 275 of file test-timer.c.

◆ TEST_IMPL() [10/10]

TEST_IMPL ( timer_start_twice  )

Definition at line 139 of file test-timer.c.

◆ timer_early_check_cb()

static void timer_early_check_cb ( uv_timer_t handle)
static

Definition at line 322 of file test-timer.c.

◆ timer_run_once_timer_cb()

static void timer_run_once_timer_cb ( uv_timer_t handle)
static

Definition at line 270 of file test-timer.c.

◆ tiny_timer_cb()

static void tiny_timer_cb ( uv_timer_t handle)
static

Definition at line 220 of file test-timer.c.

Variable Documentation

◆ huge_timer1

uv_timer_t huge_timer1
static

Definition at line 33 of file test-timer.c.

◆ huge_timer2

uv_timer_t huge_timer2
static

Definition at line 34 of file test-timer.c.

◆ once_cb_called

int once_cb_called = 0
static

Definition at line 26 of file test-timer.c.

◆ once_close_cb_called

int once_close_cb_called = 0
static

Definition at line 27 of file test-timer.c.

◆ order_cb_called

int order_cb_called = 0
static

Definition at line 30 of file test-timer.c.

◆ repeat_cb_called

int repeat_cb_called = 0
static

Definition at line 28 of file test-timer.c.

◆ repeat_close_cb_called

int repeat_close_cb_called = 0
static

Definition at line 29 of file test-timer.c.

◆ start_time

uint64_t start_time
static

Definition at line 31 of file test-timer.c.

◆ timer_early_check_expected_time

uint64_t timer_early_check_expected_time
static

Definition at line 319 of file test-timer.c.

◆ timer_run_once_timer_cb_called

unsigned int timer_run_once_timer_cb_called
static

Definition at line 267 of file test-timer.c.

◆ tiny_timer

uv_timer_t tiny_timer
static

Definition at line 32 of file test-timer.c.



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