FreeRDP
TestEncodedTypes.c File Reference
#include <stdio.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <winpr/crypto.h>
#include <freerdp/utils/encoded_types.h>

Macros

#define MIN(x, y)   ((x) < (y)) ? (x) : (y)
 
#define MAX(x, y)   ((x) > (y)) ? (x) : (y)
 

Functions

static BOOL test_signed_integer_read_write_equal (INT32 value)
 
static BOOL test_signed_integer_write_oor (INT32 value)
 
static BOOL test_signed_integers (void)
 
static BOOL test_float_read_write_equal (double value)
 
static BOOL test_floag_write_oor (double value)
 
static double get (void)
 
static BOOL test_floats (void)
 
int TestEncodedTypes (int argc, char *argv[])
 

Macro Definition Documentation

◆ MAX

#define MAX (   x,
  y 
)    ((x) > (y)) ? (x) : (y)

◆ MIN

#define MIN (   x,
  y 
)    ((x) < (y)) ? (x) : (y)

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2024 Thincast Technologies GmbH Copyright 2024 Armin Novak anova.nosp@m.k@th.nosp@m.incas.nosp@m.t.co.nosp@m.m

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ get()

static double get ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_floag_write_oor()

static BOOL test_floag_write_oor ( double  value)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_float_read_write_equal()

static BOOL test_float_read_write_equal ( double  value)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_floats()

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

◆ test_signed_integer_read_write_equal()

static BOOL test_signed_integer_read_write_equal ( INT32  value)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_signed_integer_write_oor()

static BOOL test_signed_integer_write_oor ( INT32  value)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_signed_integers()

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

◆ TestEncodedTypes()

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