Lines Matching refs:root
222 struct json_token *root = NULL, *curr_token = NULL, *token = NULL;
240 if (!root)
241 root = token;
460 if (!root)
461 root = token;
466 if (json_check_tree_state(root) < 0) {
471 return root;
474 json_free(root);
572 void json_print_tree(struct json_token *root, char *buf, size_t buflen)
575 json_print_token(root, 1, buf, buflen);