Apache HTTPD
Functions
testatomic.c File Reference
#include "testutil.h"
#include "apr_strings.h"
#include "apr_thread_proc.h"
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_atomic.h"
#include "apr_time.h"

Go to the source code of this file.

Functions

static void test_init (abts_case *tc, void *data)
 
static void test_set32 (abts_case *tc, void *data)
 
static void test_read32 (abts_case *tc, void *data)
 
static void test_dec32 (abts_case *tc, void *data)
 
static void test_xchg32 (abts_case *tc, void *data)
 
static void test_xchgptr (abts_case *tc, void *data)
 
static void test_cas_equal (abts_case *tc, void *data)
 
static void test_cas_equal_nonnull (abts_case *tc, void *data)
 
static void test_cas_notequal (abts_case *tc, void *data)
 
static void test_casptr_equal (abts_case *tc, void *data)
 
static void test_casptr_equal_nonnull (abts_case *tc, void *data)
 
static void test_casptr_notequal (abts_case *tc, void *data)
 
static void test_add32 (abts_case *tc, void *data)
 
static void test_add32_neg (abts_case *tc, void *data)
 
static void test_inc32 (abts_case *tc, void *data)
 
static void test_set_add_inc_sub (abts_case *tc, void *data)
 
static void test_wrap_zero (abts_case *tc, void *data)
 
static void test_inc_neg1 (abts_case *tc, void *data)
 
static void test_set64 (abts_case *tc, void *data)
 
static void test_read64 (abts_case *tc, void *data)
 
static void test_dec64 (abts_case *tc, void *data)
 
static void test_xchg64 (abts_case *tc, void *data)
 
static void test_add64 (abts_case *tc, void *data)
 
static void test_add64_neg (abts_case *tc, void *data)
 
static void test_inc64 (abts_case *tc, void *data)
 
static void test_set_add_inc_sub64 (abts_case *tc, void *data)
 
static void test_wrap_zero64 (abts_case *tc, void *data)
 
static void test_inc_neg164 (abts_case *tc, void *data)
 
abts_suitetestatomic (abts_suite *suite)
 

Function Documentation

◆ test_add32()

static void test_add32 ( abts_case tc,
void *  data 
)
static

Definition at line 159 of file testatomic.c.

◆ test_add32_neg()

static void test_add32_neg ( abts_case tc,
void *  data 
)
static

Definition at line 170 of file testatomic.c.

◆ test_add64()

static void test_add64 ( abts_case tc,
void *  data 
)
static

Definition at line 275 of file testatomic.c.

◆ test_add64_neg()

static void test_add64_neg ( abts_case tc,
void *  data 
)
static

Definition at line 286 of file testatomic.c.

◆ test_cas_equal()

static void test_cas_equal ( abts_case tc,
void *  data 
)
static

Definition at line 96 of file testatomic.c.

◆ test_cas_equal_nonnull()

static void test_cas_equal_nonnull ( abts_case tc,
void *  data 
)
static

Definition at line 106 of file testatomic.c.

◆ test_cas_notequal()

static void test_cas_notequal ( abts_case tc,
void *  data 
)
static

Definition at line 116 of file testatomic.c.

◆ test_casptr_equal()

static void test_casptr_equal ( abts_case tc,
void *  data 
)
static

Definition at line 126 of file testatomic.c.

◆ test_casptr_equal_nonnull()

static void test_casptr_equal_nonnull ( abts_case tc,
void *  data 
)
static

Definition at line 137 of file testatomic.c.

◆ test_casptr_notequal()

static void test_casptr_notequal ( abts_case tc,
void *  data 
)
static

Definition at line 148 of file testatomic.c.

◆ test_dec32()

static void test_dec32 ( abts_case tc,
void *  data 
)
static

Definition at line 56 of file testatomic.c.

◆ test_dec64()

static void test_dec64 ( abts_case tc,
void *  data 
)
static

Definition at line 247 of file testatomic.c.

◆ test_inc32()

static void test_inc32 ( abts_case tc,
void *  data 
)
static

Definition at line 181 of file testatomic.c.

◆ test_inc64()

static void test_inc64 ( abts_case tc,
void *  data 
)
static

Definition at line 297 of file testatomic.c.

◆ test_inc_neg1()

static void test_inc_neg1 ( abts_case tc,
void *  data 
)
static

Definition at line 219 of file testatomic.c.

◆ test_inc_neg164()

static void test_inc_neg164 ( abts_case tc,
void *  data 
)
static

Definition at line 335 of file testatomic.c.

◆ test_init()

static void test_init ( abts_case tc,
void *  data 
)
static

Definition at line 37 of file testatomic.c.

◆ test_read32()

static void test_read32 ( abts_case tc,
void *  data 
)
static

Definition at line 49 of file testatomic.c.

◆ test_read64()

static void test_read64 ( abts_case tc,
void *  data 
)
static

Definition at line 240 of file testatomic.c.

◆ test_set32()

static void test_set32 ( abts_case tc,
void *  data 
)
static

Definition at line 42 of file testatomic.c.

◆ test_set64()

static void test_set64 ( abts_case tc,
void *  data 
)
static

Definition at line 233 of file testatomic.c.

◆ test_set_add_inc_sub()

static void test_set_add_inc_sub ( abts_case tc,
void *  data 
)
static

Definition at line 192 of file testatomic.c.

◆ test_set_add_inc_sub64()

static void test_set_add_inc_sub64 ( abts_case tc,
void *  data 
)
static

Definition at line 308 of file testatomic.c.

◆ test_wrap_zero()

static void test_wrap_zero ( abts_case tc,
void *  data 
)
static

Definition at line 204 of file testatomic.c.

◆ test_wrap_zero64()

static void test_wrap_zero64 ( abts_case tc,
void *  data 
)
static

Definition at line 320 of file testatomic.c.

◆ test_xchg32()

static void test_xchg32 ( abts_case tc,
void *  data 
)
static

Definition at line 72 of file testatomic.c.

◆ test_xchg64()

static void test_xchg64 ( abts_case tc,
void *  data 
)
static

Definition at line 263 of file testatomic.c.

◆ test_xchgptr()

static void test_xchgptr ( abts_case tc,
void *  data 
)
static

Definition at line 84 of file testatomic.c.

◆ testatomic()

abts_suite * testatomic ( abts_suite suite)

Definition at line 933 of file testatomic.c.