|
static const char * | SkipWhiteSpace (const char *p, int *curLineNumPtr) |
|
static char * | SkipWhiteSpace (char *p, int *curLineNumPtr) |
|
static bool | IsWhiteSpace (char p) |
|
static bool | IsNameStartChar (unsigned char ch) |
|
static bool | IsNameChar (unsigned char ch) |
|
static bool | StringEqual (const char *p, const char *q, int nChar=INT_MAX) |
|
static bool | IsUTF8Continuation (char p) |
|
static const char * | ReadBOM (const char *p, bool *hasBOM) |
|
static const char * | GetCharacterRef (const char *p, char *value, int *length) |
|
static void | ConvertUTF32ToUTF8 (unsigned long input, char *output, int *length) |
|
static void | ToStr (int v, char *buffer, int bufferSize) |
|
static void | ToStr (unsigned v, char *buffer, int bufferSize) |
|
static void | ToStr (bool v, char *buffer, int bufferSize) |
|
static void | ToStr (float v, char *buffer, int bufferSize) |
|
static void | ToStr (double v, char *buffer, int bufferSize) |
|
static void | ToStr (int64_t v, char *buffer, int bufferSize) |
|
static bool | ToInt (const char *str, int *value) |
|
static bool | ToUnsigned (const char *str, unsigned *value) |
|
static bool | ToBool (const char *str, bool *value) |
|
static bool | ToFloat (const char *str, float *value) |
|
static bool | ToDouble (const char *str, double *value) |
|
static bool | ToInt64 (const char *str, int64_t *value) |
|
static void | SetBoolSerialization (const char *writeTrue, const char *writeFalse) |
|