Lines Matching refs:nodes
86 /* This is used for a list of nodes found by parsing the dir file. */
996 nodes, and their menus, and the sections of their menus. */
998 parse_dir_file (struct line_data *lines, int nlines, struct node **nodes,
1005 *nodes = 0;
1026 (*nodes)->name = copy_string (line + j, end - j);
1036 next->next = *nodes;
1044 if (*nodes != 0)
1045 (*nodes)->end_line = i;
1048 if (*nodes != 0 && (*nodes)->last_section != 0)
1049 (*nodes)->last_section->end_line = i;
1051 *nodes = next;
1059 if (*nodes != 0 && !strncmp ("* Menu:", lines[i].start, 7))
1060 (*nodes)->menu_start = lines[i + 1].start;
1063 if (*nodes != 0
1064 && (*nodes)->menu_start != 0
1079 if ((*nodes)->sections)
1081 (*nodes)->last_section->next = next;
1082 (*nodes)->last_section->end_line = i;
1085 (*nodes)->sections = next;
1086 (*nodes)->last_section = next;
1138 if (*nodes != 0)
1140 (*nodes)->end_line = nlines;
1141 if ((*nodes)->last_section != 0)
1142 (*nodes)->last_section->end_line = nlines;
1171 as lines, and as nodes. */