Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <ctype.h>
#include <math.h>
#include <time.h>
#include <wctype.h>
#include "build/build_config.h"
#include "third_party/icu/source/common/unicode/uchar.h"
Go to the source code of this file.
Macros | |
#define | FX_INVALID_OFFSET static_cast<uint32_t>(-1) |
#define | FX_IsOdd(a) |
Functions | |
float | FXSYS_wcstof (const wchar_t *pwsStr, size_t nLength, size_t *pUsedLen) |
wchar_t * | FXSYS_wcsncpy (wchar_t *dstStr, const wchar_t *srcStr, size_t count) |
int32_t | FXSYS_wcsnicmp (const wchar_t *s1, const wchar_t *s2, size_t count) |
bool | FXSYS_iswlower (int32_t c) |
bool | FXSYS_iswupper (int32_t c) |
int32_t | FXSYS_towlower (wchar_t c) |
int32_t | FXSYS_towupper (wchar_t c) |
bool | FXSYS_IsLowerASCII (int32_t c) |
bool | FXSYS_IsUpperASCII (int32_t c) |
char | FXSYS_ToUpperASCII (char c) |
bool | FXSYS_iswalpha (wchar_t c) |
bool | FXSYS_iswalnum (wchar_t c) |
bool | FXSYS_iswspace (wchar_t c) |
bool | FXSYS_IsOctalDigit (char c) |
bool | FXSYS_IsHexDigit (char c) |
bool | FXSYS_IsWideHexDigit (wchar_t c) |
int | FXSYS_HexCharToInt (char c) |
int | FXSYS_WideHexCharToInt (wchar_t c) |
bool | FXSYS_IsDecimalDigit (char c) |
bool | FXSYS_IsDecimalDigit (wchar_t c) |
int | FXSYS_DecimalCharToInt (char c) |
int | FXSYS_DecimalCharToInt (wchar_t c) |
void | FXSYS_IntToTwoHexChars (uint8_t n, char *buf) |
void | FXSYS_IntToFourHexChars (uint16_t n, char *buf) |
size_t | FXSYS_ToUTF16BE (uint32_t unicode, char *buf) |
template<typename T > | |
bool | FXSYS_SafeEQ (const T &lhs, const T &rhs) |
template<typename T > | |
bool | FXSYS_SafeLT (const T &lhs, const T &rhs) |
void | FXSYS_SetTimeFunction (time_t(*func)()) |
void | FXSYS_SetLocaltimeFunction (struct tm *(*func)(const time_t *)) |
time_t | FXSYS_time (time_t *tloc) |
struct tm * | FXSYS_localtime (const time_t *tp) |
#define FX_INVALID_OFFSET static_cast<uint32_t>(-1) |
Definition at line 23 of file fx_extension.h.
#define FX_IsOdd | ( | a | ) |
Definition at line 25 of file fx_extension.h.
|
inline |
Definition at line 105 of file fx_extension.h.
References FXSYS_IsDecimalDigit().
Referenced by CBC_OnedEAN13Writer::Encode(), and CBC_OnedEAN8Writer::Encode().
|
inline |
Definition at line 109 of file fx_extension.h.
References FXSYS_IsDecimalDigit().
Referenced by fxjs::FX_ParseStringInteger(), and CPDF_SyntaxParser::ReadString().
|
inline |
Definition at line 83 of file fx_extension.h.
References FXSYS_IsHexDigit(), and FXSYS_ToUpperASCII().
Referenced by HexDecode(), and CPDF_SyntaxParser::ReadHexString().
void FXSYS_IntToFourHexChars | ( | uint16_t | n, |
char * | buf ) |
Definition at line 148 of file fx_extension.cpp.
References FXSYS_IntToTwoHexChars().
Referenced by FXSYS_ToUTF16BE().
void FXSYS_IntToTwoHexChars | ( | uint8_t | n, |
char * | buf ) |
Definition at line 142 of file fx_extension.cpp.
Referenced by FXSYS_IntToFourHexChars().
|
inline |
Definition at line 97 of file fx_extension.h.
Referenced by FXSYS_DecimalCharToInt().
|
inline |
Definition at line 101 of file fx_extension.h.
Referenced by CFGAS_Decimal::CFGAS_Decimal(), CJS_PublicMethods::AFExtractNums(), CBC_OnedEAN13Writer::CheckContentValidity(), CBC_OnedEAN8Writer::CheckContentValidity(), CBC_OnedUPCAWriter::CheckContentValidity(), CBC_C40Encoder::EncodeChar(), CBC_TextEncoder::EncodeChar(), CBC_X12Encoder::EncodeChar(), CBC_OnedEAN13Writer::FilterContents(), CBC_OnedEAN8Writer::FilterContents(), CBC_OnedUPCAWriter::FilterContents(), fxjs::FX_ParseStringInteger(), FXSYS_DecimalCharToInt(), FXSYS_wcstof(), CJS_PublicMethods::IsNumber(), CBC_HighLevelEncoder::LookAheadTest(), CJS_PublicMethods::MaskSatisfied(), CFX_CSSValueListParser::NextValue(), CXFA_Node::NumericLimit(), CJS_Util::ParseDataType(), and CJS_PublicMethods::ParseDate().
|
inline |
Definition at line 75 of file fx_extension.h.
Referenced by FXSYS_HexCharToInt().
|
inline |
Definition at line 47 of file fx_extension.h.
Referenced by CBC_TextEncoder::EncodeChar(), and FXSYS_ToUpperASCII().
|
inline |
Definition at line 71 of file fx_extension.h.
Referenced by CPDF_SyntaxParser::ReadString().
|
inline |
Definition at line 51 of file fx_extension.h.
Referenced by CBC_C40Encoder::EncodeChar(), CBC_TextEncoder::EncodeChar(), and CBC_X12Encoder::EncodeChar().
|
inline |
Definition at line 63 of file fx_extension.h.
Referenced by CPDF_LinkExtract::CheckMailLink().
|
inline |
Definition at line 59 of file fx_extension.h.
|
inline |
Definition at line 79 of file fx_extension.h.
Referenced by FXSYS_WideHexCharToInt().
|
inline |
Definition at line 31 of file fx_extension.h.
|
inline |
Definition at line 67 of file fx_extension.h.
|
inline |
Definition at line 35 of file fx_extension.h.
struct tm * FXSYS_localtime | ( | const time_t * | tp | ) |
Definition at line 183 of file fx_extension.cpp.
Referenced by FPDF_CreateNewDocument(), fxjs::FX_GetDateTime(), and CFX_DateTime::Now().
bool FXSYS_SafeEQ | ( | const T & | lhs, |
const T & | rhs ) |
Definition at line 121 of file fx_extension.h.
bool FXSYS_SafeLT | ( | const T & | lhs, |
const T & | rhs ) |
Definition at line 127 of file fx_extension.h.
void FXSYS_SetLocaltimeFunction | ( | struct tm *(* | func )(const time_t *) | ) |
Definition at line 172 of file fx_extension.cpp.
Referenced by FSDK_SetLocaltimeFunction(), FakeTimeTest::SetUp(), and FakeTimeTest::TearDown().
void FXSYS_SetTimeFunction | ( | time_t(* | func )() | ) |
Definition at line 168 of file fx_extension.cpp.
Referenced by FSDK_SetTimeFunction(), FakeTimeTest::SetUp(), and FakeTimeTest::TearDown().
time_t FXSYS_time | ( | time_t * | tloc | ) |
Definition at line 176 of file fx_extension.cpp.
Referenced by CFXJSE_FormCalcContext::Date(), FPDF_CreateNewDocument(), fxjs::FX_GetDateTime(), CFX_DateTime::Now(), and CFXJSE_FormCalcContext::Time().
|
inline |
Definition at line 55 of file fx_extension.h.
References FXSYS_IsLowerASCII().
Referenced by CBC_OnedCode39Writer::FilterContents(), FXSYS_HexCharToInt(), and CBC_OnedCode39Writer::RenderTextContents().
size_t FXSYS_ToUTF16BE | ( | uint32_t | unicode, |
char * | buf ) |
Definition at line 153 of file fx_extension.cpp.
References pdfium::SurrogatePair::SurrogatePair(), FXSYS_IntToFourHexChars(), pdfium::SurrogatePair::high(), and pdfium::SurrogatePair::low().
|
inline |
Definition at line 39 of file fx_extension.h.
Referenced by FXSYS_wcslwr(), and FXSYS_wcsnicmp().
|
inline |
Definition at line 43 of file fx_extension.h.
Referenced by CPWL_ListCtrl::FindNext(), FXSYS_wcsicmp(), and FXSYS_wcsupr().
wchar_t * FXSYS_wcsncpy | ( | wchar_t * | dstStr, |
const wchar_t * | srcStr, | ||
size_t | count ) |
Definition at line 116 of file fx_extension.cpp.
int32_t FXSYS_wcsnicmp | ( | const wchar_t * | s1, |
const wchar_t * | s2, | ||
size_t | count ) |
Definition at line 127 of file fx_extension.cpp.
References FXSYS_towlower().
Referenced by CFX_CSSValueListParser::NextValue().
float FXSYS_wcstof | ( | const wchar_t * | pwsStr, |
size_t | nLength, | ||
size_t * | pUsedLen ) |
Definition at line 31 of file fx_extension.cpp.
References FXSYS_IsDecimalDigit().
|
inline |
Definition at line 90 of file fx_extension.h.
References FXSYS_IsWideHexDigit().