Lines Matching refs:root
97 struct profile_node *root;
168 (struct profile_node *root, FILE *dstfile);
171 (struct profile_node *root, char **buf);
403 if (prf->root) {
404 profile_free_node(prf->root);
405 prf->root = 0;
409 retval = profile_create_node("(root)", 0, &state.root_section);
437 if (prf->root)
438 profile_free_node(prf->root);
445 prf->root = state.root_section;
539 if (now == prf->last_stat && prf->root != NULL) {
550 if (st.st_mtime == prf->timestamp && prf->root != NULL) {
553 if (prf->root) {
554 profile_free_node(prf->root);
555 prf->root = 0;
563 if (prf->root) {
568 retval = profile_create_node("(root)", 0, &state.root_section);
592 prf->root = state.root_section;
604 if (prf->root)
605 profile_free_node(prf->root);
898 static void dump_profile(struct profile_node *root, int level,
908 retval = profile_find_node(root, 0, 0, 0, &iter, &p);
927 retval = profile_find_node(root, 0, 0, 1, &iter, &p);
965 errcode_t profile_write_tree_file(struct profile_node *root, FILE *dstfile)
967 dump_profile(root, 0, dump_profile_to_file_cb, dstfile);
1003 errcode_t profile_write_tree_to_buffer(struct profile_node *root,
1008 dump_profile(root, 0, dump_profile_to_buffer_cb, &prof_buf);
1388 section = iter->file->root;
1754 (profile->first_file->root, stdout);
1764 (profile->first_file->root);