Classes | Typedefs | Functions | Variables
internal Namespace Reference

Classes

class  BigInteger
 
class  DecodedStream
 
struct  DiyFp
 
class  Double
 
class  GenericRegex
 Regular expression engine with subset of ECMAscript grammar. More...
 
class  GenericRegexSearch
 
class  Hasher
 
class  ISchemaStateFactory
 
class  ISchemaValidator
 
struct  IsGenericValue
 
struct  IsGenericValueImpl
 
struct  IsGenericValueImpl< T, typename Void< typename T::EncodingType >::Type, typename Void< typename T::AllocatorType >::Type >
 
class  IValidationErrorHandler
 
class  Schema
 
struct  SchemaValidationContext
 
class  Stack
 A type-unsafe stack for storing different types of data. More...
 
class  StreamLocalCopy
 
class  StreamLocalCopy< Stream, 0 >
 Keep reference. More...
 
class  StreamLocalCopy< Stream, 1 >
 Do copy optimization. More...
 
struct  TokenHelper
 
struct  TokenHelper< Stack, char >
 
struct  TypeHelper
 
struct  TypeHelper< ValueType, bool >
 
struct  TypeHelper< ValueType, const typename ValueType::Ch * >
 
struct  TypeHelper< ValueType, double >
 
struct  TypeHelper< ValueType, float >
 
struct  TypeHelper< ValueType, int >
 
struct  TypeHelper< ValueType, int64_t >
 
struct  TypeHelper< ValueType, typename ValueType::Array >
 
struct  TypeHelper< ValueType, typename ValueType::ConstArray >
 
struct  TypeHelper< ValueType, typename ValueType::ConstObject >
 
struct  TypeHelper< ValueType, typename ValueType::Object >
 
struct  TypeHelper< ValueType, uint64_t >
 
struct  TypeHelper< ValueType, unsigned >
 

Typedefs

typedef GenericRegex< UTF8<> > Regex
 
typedef GenericRegexSearch< RegexRegexSearch
 

Functions

int CheckWithinHalfULP (double b, const BigInteger &d, int dExp)
 
uint32_t clzll (uint64_t x)
 
int CountDecimalDigit32 (uint32_t n)
 
template<typename Encoding >
bool CountStringCodePoint (const typename Encoding::Ch *s, SizeType length, SizeType *outCount)
 Returns number of code points in a encoded string. More...
 
void DigitGen (const DiyFp &W, const DiyFp &Mp, uint64_t delta, char *buffer, int *len, int *K)
 
char * dtoa (double value, char *buffer, int maxDecimalPlaces=324)
 
double FastPath (double significand, int exp)
 
DiyFp GetCachedPower (int e, int *K)
 
DiyFp GetCachedPower10 (int exp, int *outExp)
 
DiyFp GetCachedPowerByIndex (size_t index)
 
const char * GetDigitsLut ()
 
void Grisu2 (double value, char *buffer, int *length, int *K)
 
void GrisuRound (char *buffer, int len, uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t wp_w)
 
char * i32toa (int32_t value, char *buffer)
 
char * i64toa (int64_t value, char *buffer)
 
template<typename T >
Min3 (T a, T b, T c)
 
double Pow10 (int n)
 Computes integer powers of 10 in double (10.0^n). More...
 
char * Prettify (char *buffer, int length, int k, int maxDecimalPlaces)
 
template<typename Ch >
SizeType StrLen (const Ch *s)
 Custom strlen() which works on different character types. More...
 
template<>
SizeType StrLen (const char *s)
 
template<>
SizeType StrLen (const wchar_t *s)
 
double StrtodBigInteger (double approx, const char *decimals, int dLen, int dExp)
 
bool StrtodDiyFp (const char *decimals, int dLen, int dExp, double *result)
 
bool StrtodFast (double d, int p, double *result)
 
double StrtodFullPrecision (double d, int p, const char *decimals, size_t length, size_t decimalPosition, int exp)
 
double StrtodNormalPrecision (double d, int p)
 
template<typename T >
void Swap (T &a, T &b) RAPIDJSON_NOEXCEPT
 Custom swap() to avoid dependency on C++ <algorithm> header. More...
 
char * u32toa (uint32_t value, char *buffer)
 
char * u64toa (uint64_t value, char *buffer)
 
char * WriteExponent (int K, char *buffer)
 

Variables

static const SizeType kRegexInvalidRange = ~SizeType(0)
 
static const SizeType kRegexInvalidState
 Represents an invalid index in GenericRegex::State::out, out1. More...
 

Typedef Documentation

Definition at line 739 of file regex.h.

Definition at line 740 of file regex.h.

Function Documentation

int internal::CheckWithinHalfULP ( double  b,
const BigInteger d,
int  dExp 
)
inline

Definition at line 59 of file strtod.h.

uint32_t internal::clzll ( uint64_t  x)
inline

Definition at line 41 of file clzll.h.

int internal::CountDecimalDigit32 ( uint32_t  n)
inline

Definition at line 50 of file dtoa.h.

template<typename Encoding >
bool internal::CountStringCodePoint ( const typename Encoding::Ch *  s,
SizeType  length,
SizeType outCount 
)

Returns number of code points in a encoded string.

Definition at line 55 of file strfunc.h.

void internal::DigitGen ( const DiyFp W,
const DiyFp Mp,
uint64_t  delta,
char *  buffer,
int *  len,
int *  K 
)
inline

Definition at line 67 of file dtoa.h.

char* internal::dtoa ( double  value,
char *  buffer,
int  maxDecimalPlaces = 324 
)
inline

Definition at line 242 of file dtoa.h.

double internal::FastPath ( double  significand,
int  exp 
)
inline

Definition at line 32 of file strtod.h.

DiyFp internal::GetCachedPower ( int  e,
int *  K 
)
inline

Definition at line 272 of file diyfp.h.

DiyFp internal::GetCachedPower10 ( int  exp,
int *  outExp 
)
inline

Definition at line 286 of file diyfp.h.

DiyFp internal::GetCachedPowerByIndex ( size_t  index)
inline

Definition at line 169 of file diyfp.h.

const char* internal::GetDigitsLut ( )
inline

Definition at line 27 of file itoa.h.

void internal::Grisu2 ( double  value,
char *  buffer,
int *  length,
int *  K 
)
inline

Definition at line 150 of file dtoa.h.

void internal::GrisuRound ( char *  buffer,
int  len,
uint64_t  delta,
uint64_t  rest,
uint64_t  ten_kappa,
uint64_t  wp_w 
)
inline

closer

Definition at line 40 of file dtoa.h.

char* internal::i32toa ( int32_t  value,
char *  buffer 
)
inline

Definition at line 113 of file itoa.h.

char* internal::i64toa ( int64_t  value,
char *  buffer 
)
inline

Definition at line 274 of file itoa.h.

template<typename T >
T internal::Min3 ( a,
b,
c 
)
inline

Definition at line 52 of file strtod.h.

double internal::Pow10 ( int  n)
inline

Computes integer powers of 10 in double (10.0^n).

This function uses lookup table for fast and accurate results.

Parameters
nnon-negative exponent. Must <= 308.
Returns
10.0^n

Definition at line 32 of file pow10.h.

char* internal::Prettify ( char *  buffer,
int  length,
int  k,
int  maxDecimalPlaces 
)
inline

Definition at line 186 of file dtoa.h.

template<typename Ch >
SizeType internal::StrLen ( const Ch *  s)
inline

Custom strlen() which works on different character types.

Template Parameters
ChCharacter type (e.g. char, wchar_t, short)
Parameters
sNull-terminated input string.
Returns
Number of characters in the string.
Note
This has the same semantics as strlen(), the return value is not number of Unicode codepoints.

Definition at line 36 of file strfunc.h.

template<>
SizeType internal::StrLen ( const char *  s)
inline

Definition at line 44 of file strfunc.h.

template<>
SizeType internal::StrLen ( const wchar_t *  s)
inline

Definition at line 49 of file strfunc.h.

double internal::StrtodBigInteger ( double  approx,
const char *  decimals,
int  dLen,
int  dExp 
)
inline

Definition at line 222 of file strtod.h.

bool internal::StrtodDiyFp ( const char *  decimals,
int  dLen,
int  dExp,
double *  result 
)
inline

Definition at line 137 of file strtod.h.

bool internal::StrtodFast ( double  d,
int  p,
double *  result 
)
inline

Definition at line 119 of file strtod.h.

double internal::StrtodFullPrecision ( double  d,
int  p,
const char *  decimals,
size_t  length,
size_t  decimalPosition,
int  exp 
)
inline

Definition at line 240 of file strtod.h.

double internal::StrtodNormalPrecision ( double  d,
int  p 
)
inline

Definition at line 41 of file strtod.h.

template<typename T >
void internal::Swap ( T &  a,
T &  b 
)
inline

Custom swap() to avoid dependency on C++ <algorithm> header.

Template Parameters
TType of the arguments to swap, should be instantiated with primitive C++ types only.
Note
This has the same semantics as std::swap().

Definition at line 37 of file swap.h.

char* internal::u32toa ( uint32_t  value,
char *  buffer 
)
inline

Definition at line 46 of file itoa.h.

char* internal::u64toa ( uint64_t  value,
char *  buffer 
)
inline

Definition at line 124 of file itoa.h.

char* internal::WriteExponent ( int  K,
char *  buffer 
)
inline

Definition at line 164 of file dtoa.h.

Variable Documentation

const SizeType internal::kRegexInvalidRange = ~SizeType(0)
static

Definition at line 76 of file regex.h.

const SizeType internal::kRegexInvalidState
static
Initial value:
0)
RAPIDJSON_NAMESPACE_BEGIN typedef unsigned SizeType
Size type (for string lengths, array sizes, etc.)
Definition: rapidjson.h:411

Represents an invalid index in GenericRegex::State::out, out1.

Definition at line 74 of file regex.h.



livox_ros_driver
Author(s): Livox Dev Team
autogenerated on Mon Mar 15 2021 02:40:46