FreeRDP
TestPrimitivesAndOr.c File Reference
#include <freerdp/config.h>
#include <winpr/sysinfo.h>
#include "prim_test.h"

Macros

#define FUNC_TEST_SIZE   65536
 
#define VALUE   (0xA5A5A5A5U)
 

Functions

static BOOL test_and_32u_impl (const char *name, __andC_32u_t fkt, const UINT32 *src, const UINT32 val, UINT32 *dst, size_t size)
 
static BOOL test_and_32u_func (void)
 
static BOOL test_and_32u_speed (void)
 
static BOOL check (const UINT32 *src, const UINT32 *dst, UINT32 size, UINT32 value)
 
static BOOL test_or_32u_func (void)
 
static BOOL test_or_32u_speed (void)
 
int TestPrimitivesAndOr (int argc, char *argv[])
 

Macro Definition Documentation

◆ FUNC_TEST_SIZE

#define FUNC_TEST_SIZE   65536

◆ VALUE

#define VALUE   (0xA5A5A5A5U)

Function Documentation

◆ check()

static BOOL check ( const UINT32 *  src,
const UINT32 *  dst,
UINT32  size,
UINT32  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_and_32u_func()

static BOOL test_and_32u_func ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_and_32u_impl()

static BOOL test_and_32u_impl ( const char *  name,
__andC_32u_t  fkt,
const UINT32 *  src,
const UINT32  val,
UINT32 *  dst,
size_t  size 
)
static
Here is the caller graph for this function:

◆ test_and_32u_speed()

static BOOL test_and_32u_speed ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_or_32u_func()

static BOOL test_or_32u_func ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_or_32u_speed()

static BOOL test_or_32u_speed ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestPrimitivesAndOr()

int TestPrimitivesAndOr ( int  argc,
char *  argv[] 
)
Here is the call graph for this function: