Lines Matching refs:sections
47 BusDesktopFileSection *sections;
126 bus_desktop_file_section_free (&desktop_file->sections[i]);
127 dbus_free (desktop_file->sections);
160 BusDesktopFileSection *sections;
167 sections = dbus_realloc (desktop_file->sections,
169 if (sections == NULL)
172 desktop_file->sections = sections;
283 desktop_file->sections[n].section_name = name_copy;
285 desktop_file->sections[n].n_lines = 0;
286 desktop_file->sections[n].lines = NULL;
287 desktop_file->sections[n].n_allocated_lines = 0;
289 if (!grow_lines_in_section (&desktop_file->sections[n]))
291 dbus_free (desktop_file->sections[n].section_name);
292 desktop_file->sections[n].section_name = NULL;
298 return &desktop_file->sections[n];
312 _dbus_assert (&parser->desktop_file->sections[parser->current_section] == section);
323 section = &parser->desktop_file->sections[parser->current_section];
589 section_name = parser->desktop_file->sections[parser->current_section].section_name;
609 printf ("[%s]\n", file->sections[i].section_name);
611 for (j = 0; j < file->sections[i].n_lines; j++)
613 printf ("%s=%s\n", file->sections[i].lines[j].key,
614 file->sections[i].lines[j].value);
715 section = &desktop_file->sections[i];