Lines Matching refs:secv
148 char **secv; /* submandir suffices */ member
467 freev(currp->secv); in build_manpath()
529 manp->secv = NULL; in getsect()
533 manp->secv = split(mansec, ','); in getsect()
534 for (sectp = manp->secv; *sectp; sectp++) in getsect()
539 manp->secv = split(sections, ','); in getsect()
540 for (sectp = manp->secv; *sectp; sectp++) in getsect()
542 if (*manp->secv == NULL) in getsect()
548 manp->secv = split(sections, ','); in getsect()
549 for (sectp = manp->secv; *sectp; sectp++) in getsect()
551 if (*manp->secv == NULL) in getsect()
556 manp->secv = NULL; in getsect()
583 if (manp->secv == NULL) { in get_all_sect()
584 if ((manp->secv = malloc(maxentries * sizeof (char *))) == NULL) in get_all_sect()
588 for (dv = dirv, p = manp->secv; *dv; dv++) { in get_all_sect()
614 if ((manp->secv = realloc(manp->secv, in get_all_sect()
617 p = manp->secv + entries; in get_all_sect()
890 p = manp->secv; in free_manp()
895 free(manp->secv); in free_manp()
969 mandir(local->secv, ldir, name, 1); in manual()
980 mandir(p->secv, p->path, name, 0); in manual()
1007 mandir(char **secv, char *path, char *name, int lspec) in mandir() argument
1023 for (; *secv; secv++) { in mandir()
1024 len = strlen(*secv); in mandir()
1029 if (**secv == '\\') { in mandir()
1030 if (strcmp(*secv + 1, *dv + 3) != 0) in mandir()
1032 } else if (strncasecmp(*secv, *dv + 3, len) != 0) { in mandir()
1034 (newsection = map_section(*secv, path)) in mandir()
1359 if (mnp->secv == NULL) in dupcheck()
1381 for (i = 0; mnp->secv[i] != NULL; i++) { in dupcheck()
1387 if ((cursnp->secp = strdup(mnp->secv[i])) == NULL) in dupcheck()
1401 for (i = 0; mnp->secv[i] != NULL; i++) { in dupcheck()
1405 if (strcmp(mnp->secv[i], cursnp->secp) == 0) { in dupcheck()
1411 mnp->secv[i][0] = '\0'; in dupcheck()
1424 if ((cursnp->secp = strdup(mnp->secv[i])) == NULL) in dupcheck()
1568 for (secp = manp->secv; *secp != NULL; secp++) { in print_manpath()