QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_crashtest.h File Reference

Go to the source code of this file.

Typedefs

typedef int(* CRASHTEST__FUNCTION__POINTER__) (int)
 

Functions

static int CrashTestHelper (int crash_type, ON_TextLog &textlog)
 
static int CrashTestHelper_CallBoguslFuncPtr (ON_TextLog &textlog, int crash_type, int *stack_ptr)
 
static int CrashTestHelper_CallNullFuncPtr (ON_TextLog &textlog, int crash_type, int *stack_ptr)
 
static int CrashTestHelper_DerefBogusIntPtr (ON_TextLog &textlog, int crash_type, int *stack_ptr)
 
static int CrashTestHelper_DerefNullIntPtr (ON_TextLog &textlog, int crash_type, int *stack_ptr)
 
static bool CrashTestHelper_DivideByDoubleZero (ON_TextLog &textlog, const char *zero)
 
static bool CrashTestHelper_DivideByFloatZero (ON_TextLog &textlog, const char *zero)
 
static bool CrashTestHelper_DivideByIntZero (ON_TextLog &textlog, const char *zero)
 
static bool CrashTestHelper_DoubleOverflow (ON_TextLog &textlog, const char *sx, const char *sy)
 
static void CrashTestHelper_GetBogusFuncPtr (CRASHTEST__FUNCTION__POINTER__ *pp)
 
static void CrashTestHelper_GetBogusIntPtr (int **pp)
 
static void CrashTestHelper_GetNullFuncPtr (CRASHTEST__FUNCTION__POINTER__ *pp)
 
static void CrashTestHelper_GetNullIntPrt (int **pp)
 
static bool CrashTestHelper_LogNegativeNumber (ON_TextLog &textlog, const char *minus_one)
 
static bool CrashTestHelper_Throw (ON_TextLog &textlog, const char *si)
 

Typedef Documentation

◆ CRASHTEST__FUNCTION__POINTER__

typedef int(* CRASHTEST__FUNCTION__POINTER__) (int)

Function Documentation

◆ CrashTestHelper()

static int CrashTestHelper ( int crash_type,
ON_TextLog & textlog )
static

◆ CrashTestHelper_CallBoguslFuncPtr()

static int CrashTestHelper_CallBoguslFuncPtr ( ON_TextLog & textlog,
int crash_type,
int * stack_ptr )
static

◆ CrashTestHelper_CallNullFuncPtr()

static int CrashTestHelper_CallNullFuncPtr ( ON_TextLog & textlog,
int crash_type,
int * stack_ptr )
static

◆ CrashTestHelper_DerefBogusIntPtr()

static int CrashTestHelper_DerefBogusIntPtr ( ON_TextLog & textlog,
int crash_type,
int * stack_ptr )
static

◆ CrashTestHelper_DerefNullIntPtr()

static int CrashTestHelper_DerefNullIntPtr ( ON_TextLog & textlog,
int crash_type,
int * stack_ptr )
static

◆ CrashTestHelper_DivideByDoubleZero()

static bool CrashTestHelper_DivideByDoubleZero ( ON_TextLog & textlog,
const char * zero )
static

◆ CrashTestHelper_DivideByFloatZero()

static bool CrashTestHelper_DivideByFloatZero ( ON_TextLog & textlog,
const char * zero )
static

◆ CrashTestHelper_DivideByIntZero()

static bool CrashTestHelper_DivideByIntZero ( ON_TextLog & textlog,
const char * zero )
static

◆ CrashTestHelper_DoubleOverflow()

static bool CrashTestHelper_DoubleOverflow ( ON_TextLog & textlog,
const char * sx,
const char * sy )
static

◆ CrashTestHelper_GetBogusFuncPtr()

static void CrashTestHelper_GetBogusFuncPtr ( CRASHTEST__FUNCTION__POINTER__ * pp)
static

◆ CrashTestHelper_GetBogusIntPtr()

static void CrashTestHelper_GetBogusIntPtr ( int ** pp)
static

◆ CrashTestHelper_GetNullFuncPtr()

static void CrashTestHelper_GetNullFuncPtr ( CRASHTEST__FUNCTION__POINTER__ * pp)
static

◆ CrashTestHelper_GetNullIntPrt()

static void CrashTestHelper_GetNullIntPrt ( int ** pp)
static

◆ CrashTestHelper_LogNegativeNumber()

static bool CrashTestHelper_LogNegativeNumber ( ON_TextLog & textlog,
const char * minus_one )
static

◆ CrashTestHelper_Throw()

static bool CrashTestHelper_Throw ( ON_TextLog & textlog,
const char * si )
static