FreeRDP
TestSettings.c File Reference

Functions

static BOOL compare (const ADDIN_ARGV *got, const ADDIN_ARGV *expect)
 
static BOOL test_dyn_channels (void)
 
static BOOL test_static_channels (void)
 
static BOOL test_copy (void)
 
static BOOL test_helpers (void)
 
static BOOL format_uint (char *buffer, size_t size, UINT64 value, UINT16 intType, UINT64 max)
 
static BOOL print_negative (char *buffer, size_t size, INT64 value, INT64 min)
 
static BOOL print_xpositive (char *buffer, size_t size, INT64 value, INT64 max)
 
static BOOL format_int (char *buffer, size_t size, INT64 value, UINT16 intType, INT64 max, INT64 min)
 
static BOOL format_bool (char *buffer, size_t size, UINT16 intType)
 
static BOOL check_key_helpers (size_t key)
 
static BOOL check_args (const RDPDR_DEVICE *what, size_t count, const char *args[])
 
static int check_device_type_arg (UINT32 Type, size_t count, const char *args[])
 
static BOOL check_device_type (void)
 
static BOOL check_offsets (rdpSettings *settings, size_t id, size_t min, size_t max, BOOL checkPtr)
 
static BOOL test_write_offsets (rdpSettings *settings, size_t id, size_t elementSize, size_t min, size_t max)
 
static BOOL test_pointer_array (void)
 
int TestSettings (int argc, char *argv[])
 

Function Documentation

◆ check_args()

static BOOL check_args ( const RDPDR_DEVICE what,
size_t  count,
const char *  args[] 
)
static
Here is the caller graph for this function:

◆ check_device_type()

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

◆ check_device_type_arg()

static int check_device_type_arg ( UINT32  Type,
size_t  count,
const char *  args[] 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_key_helpers()

static BOOL check_key_helpers ( size_t  key)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_offsets()

static BOOL check_offsets ( rdpSettings *  settings,
size_t  id,
size_t  min,
size_t  max,
BOOL  checkPtr 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compare()

static BOOL compare ( const ADDIN_ARGV got,
const ADDIN_ARGV expect 
)
static
Here is the caller graph for this function:

◆ format_bool()

static BOOL format_bool ( char *  buffer,
size_t  size,
UINT16  intType 
)
static
Here is the caller graph for this function:

◆ format_int()

static BOOL format_int ( char *  buffer,
size_t  size,
INT64  value,
UINT16  intType,
INT64  max,
INT64  min 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ format_uint()

static BOOL format_uint ( char *  buffer,
size_t  size,
UINT64  value,
UINT16  intType,
UINT64  max 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_negative()

static BOOL print_negative ( char *  buffer,
size_t  size,
INT64  value,
INT64  min 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_xpositive()

static BOOL print_xpositive ( char *  buffer,
size_t  size,
INT64  value,
INT64  max 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_copy()

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

◆ test_dyn_channels()

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

◆ test_helpers()

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

◆ test_pointer_array()

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

◆ test_static_channels()

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

◆ test_write_offsets()

static BOOL test_write_offsets ( rdpSettings *  settings,
size_t  id,
size_t  elementSize,
size_t  min,
size_t  max 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestSettings()

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