ROOTANA
Functions
mjson.cxx File Reference
#include "mjson.h"
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <string.h>
#include <limits.h>
#include <stdlib.h>
Include dependency graph for mjson.cxx:

Go to the source code of this file.

Functions

static const char * skip_spaces (const char *s)
 
static int hexToInt (char c)
 
static int xparse_unicode (const char *s, const char **sout)
 
static std::string xoutput_unicode (int unicode, bool *error)
 
static std::string xparse_string (const char *s, const char **sout, bool *error)
 
static MJsonNodeparse_something (const char *sin, const char *s, const char **sout)
 
static MJsonNodeparse_array (const char *sin, const char *s, const char **sout)
 
static MJsonNodeparse_object (const char *sin, const char *s, const char **sout)
 
static MJsonNodeparse_string (const char *sin, const char *s, const char **sout)
 
static std::string parse_digits (const char *s, const char **sout)
 
static int patoi_with_overflow (const char *s)
 
static int matoi_with_overflow (const char *s)
 
static void test_atoi_with_overflow_value (int sign, const char *s, int v)
 
static void test_atoi_with_overflow ()
 
static MJsonNodeparse_number (const char *sin, const char *s, const char **sout)
 
static MJsonNodeparse_null (const char *sin, const char *s, const char **sout)
 
static MJsonNodeparse_true (const char *sin, const char *s, const char **sout)
 
static MJsonNodeparse_false (const char *sin, const char *s, const char **sout)
 
static char toHexChar (int c)
 
static void pnest (int nest)
 

Function Documentation

◆ hexToInt()

static int hexToInt ( char  c)
static

Definition at line 40 of file mjson.cxx.

Here is the caller graph for this function:

◆ matoi_with_overflow()

static int matoi_with_overflow ( const char *  s)
static

Definition at line 357 of file mjson.cxx.

Here is the caller graph for this function:

◆ parse_array()

static MJsonNode* parse_array ( const char *  sin,
const char *  s,
const char **  sout 
)
static

Definition at line 175 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_digits()

static std::string parse_digits ( const char *  s,
const char **  sout 
)
static

Definition at line 320 of file mjson.cxx.

Here is the caller graph for this function:

◆ parse_false()

static MJsonNode* parse_false ( const char *  sin,
const char *  s,
const char **  sout 
)
static

Definition at line 607 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_null()

static MJsonNode* parse_null ( const char *  sin,
const char *  s,
const char **  sout 
)
static

Definition at line 585 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_number()

static MJsonNode* parse_number ( const char *  sin,
const char *  s,
const char **  sout 
)
static

Definition at line 425 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_object()

static MJsonNode* parse_object ( const char *  sin,
const char *  s,
const char **  sout 
)
static

Definition at line 228 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_something()

static MJsonNode * parse_something ( const char *  sin,
const char *  s,
const char **  sout 
)
static

Definition at line 619 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_string()

static MJsonNode* parse_string ( const char *  sin,
const char *  s,
const char **  sout 
)
static

Definition at line 307 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_true()

static MJsonNode* parse_true ( const char *  sin,
const char *  s,
const char **  sout 
)
static

Definition at line 596 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ patoi_with_overflow()

static int patoi_with_overflow ( const char *  s)
static

Definition at line 339 of file mjson.cxx.

Here is the caller graph for this function:

◆ pnest()

static void pnest ( int  nest)
static

Definition at line 1060 of file mjson.cxx.

Here is the caller graph for this function:

◆ skip_spaces()

static const char* skip_spaces ( const char *  s)
static

Definition at line 25 of file mjson.cxx.

Here is the caller graph for this function:

◆ test_atoi_with_overflow()

static void test_atoi_with_overflow ( )
static

Definition at line 394 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_atoi_with_overflow_value()

static void test_atoi_with_overflow_value ( int  sign,
const char *  s,
int  v 
)
static

Definition at line 375 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toHexChar()

static char toHexChar ( int  c)
static

Definition at line 668 of file mjson.cxx.

Here is the caller graph for this function:

◆ xoutput_unicode()

static std::string xoutput_unicode ( int  unicode,
bool *  error 
)
static

Definition at line 71 of file mjson.cxx.

Here is the caller graph for this function:

◆ xparse_string()

static std::string xparse_string ( const char *  s,
const char **  sout,
bool *  error 
)
static

Definition at line 104 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xparse_unicode()

static int xparse_unicode ( const char *  s,
const char **  sout 
)
static

Definition at line 53 of file mjson.cxx.

Here is the call graph for this function:
Here is the caller graph for this function: