Home | History | Annotate | Download | only in makemandb

Lines Matching defs:section

49  * A data structure for holding section specific data.
59 int limit; // limit the indexing to only NAME section
68 secbuff desc; // for storing the DESCRIPTION section
69 secbuff lib; // for the LIBRARY section
76 char *section;
78 int xr_found; // To track whether a .Xr was seen when parsing a section
903 * Extracts the section number and normalizes it to only the numeric part
912 easprintf(&rec->section, "%s", s);
913 if (rec->section[0] == '?' && mflags.verbosity == 2)
914 warnx("%s: Missing section number", rec->file_path);
967 * the referenced page name along with the section number, or the .Pp macro
1069 * mdoc_parse_section to append the data to the section specific buffer.
1108 * 1. sec is an enum which indicates the section in which we are present
1110 * particular section.
1111 * The function appends string to the global section buffer and returns.
1118 * NAME section. Ignore the rest.
1185 * Parses the NAME section and puts the complete content in the name_desc
1209 * a section.
1219 * 1. If the present section is NAME, then it will:
1224 * the comma separated list of names in the NAME section as well.
1225 * (c) Move on to the one line description section, which is after the list
1226 * of names in the NAME section.
1227 * 2. Otherwise, it will check the section name and call the man_parse_section
1228 * function, passing the enum corresponding to that section.
1234 enum man_sec section;
1263 * Check if this section should be extracted and
1268 man_parse_section(mapping[i].section, n, rec);
1275 * We are in the NAME section.
1357 /* The RETURN VALUE section might be specified in multiple ways */
1367 * EXIT STATUS section can also be specified all on one line or on two
1384 * man_parse_section to parse a particular section of the man page.
1402 * sec: Tells which section we are present in
1404 * Depending on the section, we call pman_parse_node to parse that section and
1405 * concatenate the content from that section into the buffer for that section.
1412 * the NAME section, ignore the rest.
1519 sqlstr = "INSERT INTO mandb VALUES (:section, :name, :name_desc, :desc,"
1534 idx = sqlite3_bind_parameter_index(stmt, ":section");
1535 rc = sqlite3_bind_text(stmt, idx, rec->section, -1, NULL);
1773 ln, rec->name, rec->section,
1911 free(rec->section);
1912 rec->section = NULL;
1925 * which stores the data of the DESCRIPTION section,