Lines Matching refs:child
195 if (json_check_tree_state(token->child) < 0 || in json_check_tree_state()
262 token->child = json_alloc_token(&tokens); in json_parse()
263 if (!token->child) in json_parse()
265 curr_token = token->child; in json_parse()
287 if (curr_token->child->state == JSON_EMPTY && in json_parse()
288 !curr_token->child->child && in json_parse()
289 !curr_token->child->sibling) { in json_parse()
292 json_free(curr_token->child); in json_parse()
293 curr_token->child = NULL; in json_parse()
485 json_free(json->child); in json_free()
500 for (token = json->child; token; token = token->sibling) { in json_get_member()
569 json_print_token(token->child, depth + 1, buf, buflen); in json_print_token()