jsmntok_t
const char *a, jsmntok_t *bt)
static void cut_comma(char *map, jsmntok_t *newval)
static struct msrmap *lookup_msr(char *map, jsmntok_t *val)
jsmntok_t newval = *val;
static const char *field_to_perf(struct map *table, char *map, jsmntok_t *val)
jsmntok_t *loc = (t); \
jsmntok_t *tokens, *tok;
jsmntok_t *msrval = NULL;
jsmntok_t *precise = NULL;
jsmntok_t *obj = tok++;
jsmntok_t *field, *val;
jsmntok_t *tokens, size_t num_tokens)
jsmntok_t *token;
jsmntok_t *tokens, unsigned int num_tokens)
jsmntok_t *token;
static jsmntok_t *jsmn_alloc_token(jsmn_parser *parser,
jsmntok_t *tokens, size_t num_tokens)
jsmntok_t *tok;
static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type,
jsmntok_t *tokens, size_t num_tokens)
jsmntok_t *token;
jsmntok_t *tokens, unsigned int num_tokens);
sz / sizeof(jsmntok_t));
void free_json(char *map, size_t size, jsmntok_t *tokens)
int json_line(char *map, jsmntok_t *t)
const char *json_name(jsmntok_t *t)
int json_len(jsmntok_t *t)
int json_streq(char *map, jsmntok_t *t, const char *s)
int json_copystr(char *map, jsmntok_t *t, char *s, int len)
jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len)
jsmntok_t *tokens;
int json_streq(char *map, jsmntok_t *t, const char *s);
int json_len(jsmntok_t *t);
int json_copystr(char *map, jsmntok_t *t, char *s, int len);
jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len);
void free_json(char *map, size_t size, jsmntok_t *tokens);
int json_line(char *map, jsmntok_t *t);
const char *json_name(jsmntok_t *t);