Classes | Macros | Functions | Variables
lib557.c File Reference
#include "test.h"
#include "memdebug.h"
Include dependency graph for lib557.c:

Go to the source code of this file.

Classes

struct  curloff_st
 
struct  sigint_st
 
struct  siglong_st
 
struct  sigshort_st
 
struct  unsint_st
 
struct  unslong_st
 
struct  unsshort_st
 

Macros

#define BUFSZ   256
 
#define COFFT_TESTS_ARRSZ   1 + 100
 
#define MAXIMIZE   -1.7976931348623157081452E+308
 
#define MPRNT_OFF_T_C(Val)   MPRNT_OFF_T_C_HELPER1(Val,MPRNT_SUFFIX_CURL_OFF_T)
 
#define MPRNT_OFF_T_C_HELPER1(Val, Suffix)   MPRNT_OFF_T_C_HELPER2(Val,Suffix)
 
#define MPRNT_OFF_T_C_HELPER2(Val, Suffix)   ValSuffix
 
#define MPRNT_SUFFIX_CURL_OFF_T   L
 
#define SINT_TESTS_ARRSZ   1 + 100
 
#define SLONG_TESTS_ARRSZ   1 + 100
 
#define SSHORT_TESTS_ARRSZ   1 + 100
 
#define string_check(x, y)   _string_check(__LINE__, x, y)
 
#define strlen_check(x, y)   _strlen_check(__LINE__, x, y)
 
#define UINT_TESTS_ARRSZ   1 + 100
 
#define ULONG_TESTS_ARRSZ   1 + 100
 
#define USHORT_TESTS_ARRSZ   1 + 100
 

Functions

static int _string_check (int linenumber, char *buf, const char *buf2)
 
static int _strlen_check (int linenumber, char *buf, size_t len)
 
int test (char *URL)
 
static int test_curl_off_t_formatting (void)
 
static int test_float_formatting (void)
 
static int test_signed_int_formatting (void)
 
static int test_signed_long_formatting (void)
 
static int test_signed_short_formatting (void)
 
static int test_string_formatting (void)
 
static int test_unsigned_int_formatting (void)
 
static int test_unsigned_long_formatting (void)
 
static int test_unsigned_short_formatting (void)
 
static int test_weird_arguments (void)
 

Variables

static struct curloff_st co_test [COFFT_TESTS_ARRSZ]
 
static struct sigint_st si_test [SINT_TESTS_ARRSZ]
 
static struct siglong_st sl_test [SLONG_TESTS_ARRSZ]
 
static struct sigshort_st ss_test [SSHORT_TESTS_ARRSZ]
 
static struct unsint_st ui_test [UINT_TESTS_ARRSZ]
 
static struct unslong_st ul_test [ULONG_TESTS_ARRSZ]
 
static struct unsshort_st us_test [USHORT_TESTS_ARRSZ]
 

Macro Definition Documentation

#define BUFSZ   256

Definition at line 56 of file lib557.c.

#define COFFT_TESTS_ARRSZ   1 + 100

Definition at line 63 of file lib557.c.

#define MAXIMIZE   -1.7976931348623157081452E+308

Definition at line 1550 of file lib557.c.

#define MPRNT_OFF_T_C (   Val)    MPRNT_OFF_T_C_HELPER1(Val,MPRNT_SUFFIX_CURL_OFF_T)

Definition at line 53 of file lib557.c.

#define MPRNT_OFF_T_C_HELPER1 (   Val,
  Suffix 
)    MPRNT_OFF_T_C_HELPER2(Val,Suffix)

Definition at line 52 of file lib557.c.

#define MPRNT_OFF_T_C_HELPER2 (   Val,
  Suffix 
)    ValSuffix

Definition at line 50 of file lib557.c.

#define MPRNT_SUFFIX_CURL_OFF_T   L

Definition at line 43 of file lib557.c.

#define SINT_TESTS_ARRSZ   1 + 100

Definition at line 60 of file lib557.c.

#define SLONG_TESTS_ARRSZ   1 + 100

Definition at line 62 of file lib557.c.

#define SSHORT_TESTS_ARRSZ   1 + 100

Definition at line 58 of file lib557.c.

#define string_check (   x,
  y 
)    _string_check(__LINE__, x, y)

Definition at line 1394 of file lib557.c.

#define strlen_check (   x,
  y 
)    _strlen_check(__LINE__, x, y)

Definition at line 1408 of file lib557.c.

#define UINT_TESTS_ARRSZ   1 + 100

Definition at line 59 of file lib557.c.

#define ULONG_TESTS_ARRSZ   1 + 100

Definition at line 61 of file lib557.c.

#define USHORT_TESTS_ARRSZ   1 + 100

Definition at line 57 of file lib557.c.

Function Documentation

static int _string_check ( int  linenumber,
char *  buf,
const char *  buf2 
)
static

Definition at line 1384 of file lib557.c.

static int _strlen_check ( int  linenumber,
char *  buf,
size_t  len 
)
static

Definition at line 1396 of file lib557.c.

int test ( char *  URL)

Definition at line 1663 of file lib557.c.

static int test_curl_off_t_formatting ( void  )
static

Definition at line 1156 of file lib557.c.

static int test_float_formatting ( void  )
static

Definition at line 1552 of file lib557.c.

static int test_signed_int_formatting ( void  )
static

Definition at line 551 of file lib557.c.

static int test_signed_long_formatting ( void  )
static

Definition at line 928 of file lib557.c.

static int test_signed_short_formatting ( void  )
static

Definition at line 231 of file lib557.c.

static int test_string_formatting ( void  )
static

Definition at line 1414 of file lib557.c.

static int test_unsigned_int_formatting ( void  )
static

Definition at line 401 of file lib557.c.

static int test_unsigned_long_formatting ( void  )
static

Definition at line 779 of file lib557.c.

static int test_unsigned_short_formatting ( void  )
static

Definition at line 124 of file lib557.c.

static int test_weird_arguments ( void  )
static

Definition at line 1447 of file lib557.c.

Variable Documentation

struct curloff_st co_test[COFFT_TESTS_ARRSZ]
static

Definition at line 121 of file lib557.c.

struct sigint_st si_test[SINT_TESTS_ARRSZ]
static

Definition at line 118 of file lib557.c.

struct siglong_st sl_test[SLONG_TESTS_ARRSZ]
static

Definition at line 120 of file lib557.c.

struct sigshort_st ss_test[SSHORT_TESTS_ARRSZ]
static

Definition at line 116 of file lib557.c.

struct unsint_st ui_test[UINT_TESTS_ARRSZ]
static

Definition at line 117 of file lib557.c.

struct unslong_st ul_test[ULONG_TESTS_ARRSZ]
static

Definition at line 119 of file lib557.c.

struct unsshort_st us_test[USHORT_TESTS_ARRSZ]
static

Definition at line 115 of file lib557.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17