Lines Matching refs:toksuper
75 token->parent = parser->toksuper; in jsmn_parse_primitive()
108 token->parent = parser->toksuper; in jsmn_parse_string()
172 if (parser->toksuper != -1) { in jsmn_parse()
173 tokens[parser->toksuper].size++; in jsmn_parse()
175 token->parent = parser->toksuper; in jsmn_parse()
180 parser->toksuper = parser->toknext - 1; in jsmn_parse()
197 parser->toksuper = token->parent; in jsmn_parse()
201 if(token->type != type || parser->toksuper == -1) { in jsmn_parse()
215 parser->toksuper = -1; in jsmn_parse()
225 parser->toksuper = i; in jsmn_parse()
235 if (parser->toksuper != -1 && tokens != NULL) in jsmn_parse()
236 tokens[parser->toksuper].size++; in jsmn_parse()
241 parser->toksuper = parser->toknext - 1; in jsmn_parse()
244 if (tokens != NULL && parser->toksuper != -1 && in jsmn_parse()
245 tokens[parser->toksuper].type != JSMN_ARRAY && in jsmn_parse()
246 tokens[parser->toksuper].type != JSMN_OBJECT) { in jsmn_parse()
248 parser->toksuper = tokens[parser->toksuper].parent; in jsmn_parse()
253 parser->toksuper = i; in jsmn_parse()
267 if (tokens != NULL && parser->toksuper != -1) { in jsmn_parse()
268 jsmntok_t *t = &tokens[parser->toksuper]; in jsmn_parse()
281 if (parser->toksuper != -1 && tokens != NULL) in jsmn_parse()
282 tokens[parser->toksuper].size++; in jsmn_parse()
312 parser->toksuper = -1; in jsmn_init()