Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_system.h File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
#include "build/build_config.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/fx_types.h"
Include dependency graph for fx_system.h:

Go to the source code of this file.

Macros

#define FXSYS_IsFloatZero(f)
#define FXSYS_IsFloatBigger(fa, fb)
#define FXSYS_IsFloatSmaller(fa, fb)
#define FXSYS_IsFloatEqual(fa, fb)
#define FXSYS_PI   3.1415926535897932384626433832795f
#define FXSYS_BEZIER   0.5522847498308f
#define FXSYS_snprintf   (void)snprintf
#define FXSYS_vsnprintf   (void)vsnprintf
#define FXSYS_sprintf   DO_NOT_USE_SPRINTF_DIE_DIE_DIE
#define FXSYS_vsprintf   DO_NOT_USE_VSPRINTF_DIE_DIE_DIE
#define FXSYS_wcsftime   wcsftime

Functions

char * FXSYS_itoa (int value, char *str, int radix)
char * FXSYS_strlwr (char *str)
char * FXSYS_strupr (char *str)
wchar_t * FXSYS_wcslwr (wchar_t *str)
wchar_t * FXSYS_wcsupr (wchar_t *str)
void FXSYS_SetLastError (uint32_t err)
uint32_t FXSYS_GetLastError ()
const char * FXSYS_i64toa (int64_t value, char *str, int radix)
int FXSYS_roundf (float f)
int FXSYS_round (double d)
float FXSYS_sqrt2 (float a, float b)

Macro Definition Documentation

◆ FXSYS_BEZIER

#define FXSYS_BEZIER   0.5522847498308f

Definition at line 45 of file fx_system.h.

◆ FXSYS_IsFloatBigger

#define FXSYS_IsFloatBigger ( fa,
fb )
Value:
((fa) > (fb) && !FXSYS_IsFloatZero((fa) - (fb)))
#define FXSYS_IsFloatZero(f)
Definition fx_system.h:36

Definition at line 37 of file fx_system.h.

◆ FXSYS_IsFloatEqual

#define FXSYS_IsFloatEqual ( fa,
fb )
Value:
FXSYS_IsFloatZero((fa) - (fb))

Definition at line 41 of file fx_system.h.

◆ FXSYS_IsFloatSmaller

#define FXSYS_IsFloatSmaller ( fa,
fb )
Value:
((fa) < (fb) && !FXSYS_IsFloatZero((fa) - (fb)))

Definition at line 39 of file fx_system.h.

◆ FXSYS_IsFloatZero

#define FXSYS_IsFloatZero ( f)
Value:
((f) < 0.0001 && (f) > -0.0001)
GLfloat GLfloat f
[26]

Definition at line 36 of file fx_system.h.

◆ FXSYS_PI

#define FXSYS_PI   3.1415926535897932384626433832795f

Definition at line 44 of file fx_system.h.

◆ FXSYS_snprintf

#define FXSYS_snprintf   (void)snprintf

Definition at line 49 of file fx_system.h.

◆ FXSYS_sprintf

#define FXSYS_sprintf   DO_NOT_USE_SPRINTF_DIE_DIE_DIE

Definition at line 51 of file fx_system.h.

◆ FXSYS_vsnprintf

#define FXSYS_vsnprintf   (void)vsnprintf

Definition at line 50 of file fx_system.h.

◆ FXSYS_vsprintf

#define FXSYS_vsprintf   DO_NOT_USE_VSPRINTF_DIE_DIE_DIE

Definition at line 52 of file fx_system.h.

◆ FXSYS_wcsftime

#define FXSYS_wcsftime   wcsftime

Definition at line 74 of file fx_system.h.

Function Documentation

◆ FXSYS_GetLastError()

uint32_t FXSYS_GetLastError ( )

Definition at line 254 of file fx_system.cpp.

Referenced by FPDF_GetLastError().

Here is the caller graph for this function:

◆ FXSYS_i64toa()

const char * FXSYS_i64toa ( int64_t value,
char * str,
int radix )

Definition at line 132 of file fx_system.cpp.

Referenced by IFX_WriteStream::WriteFilesize().

Here is the caller graph for this function:

◆ FXSYS_itoa()

char * FXSYS_itoa ( int value,
char * str,
int radix )

Definition at line 246 of file fx_system.cpp.

Referenced by TEST(), TEST(), TEST(), and IFX_WriteStream::WriteDWord().

Here is the caller graph for this function:

◆ FXSYS_round()

int FXSYS_round ( double d)

Definition at line 110 of file fx_system.cpp.

Referenced by CStretchEngine::FixedFromDouble().

Here is the caller graph for this function:

◆ FXSYS_roundf()

◆ FXSYS_SetLastError()

void FXSYS_SetLastError ( uint32_t err)

Definition at line 250 of file fx_system.cpp.

Referenced by ProcessParseError().

Here is the caller graph for this function:

◆ FXSYS_sqrt2()

float FXSYS_sqrt2 ( float a,
float b )

Definition at line 259 of file fx_system.cpp.

◆ FXSYS_strlwr()

char * FXSYS_strlwr ( char * str)

Definition at line 166 of file fx_system.cpp.

◆ FXSYS_strupr()

char * FXSYS_strupr ( char * str)

Definition at line 178 of file fx_system.cpp.

◆ FXSYS_wcslwr()

wchar_t * FXSYS_wcslwr ( wchar_t * str)

Definition at line 190 of file fx_system.cpp.

References FXSYS_towlower().

Here is the call graph for this function:

◆ FXSYS_wcsupr()

wchar_t * FXSYS_wcsupr ( wchar_t * str)

Definition at line 202 of file fx_system.cpp.

References FXSYS_towupper().

Here is the call graph for this function: