Lines Matching refs:fsec
99 char *fsec; /* section from file name suffix */
586 char *dsec, *arch, *fsec, *cp;
648 fsec = NULL;
649 while (fsec == NULL) {
650 fsec = strrchr(ff->fts_name, '.');
651 if (fsec == NULL || strcmp(fsec+1, "gz"))
654 *fsec = '\0';
655 fsec = NULL;
657 if (fsec == NULL) {
664 } else if ( ! strcmp(++fsec, "html")) {
668 } else if ( ! strcmp(fsec, "ps")) {
672 } else if ( ! strcmp(fsec, "pdf")) {
678 strncmp(fsec, dsec, strlen(dsec))) ||
679 (dform == FORM_CAT && strcmp(fsec, "0")))) {
684 fsec[-1] = '\0';
698 mlink->fsec = fsec;
921 mlink->fsec = p;
948 mlink->fsec = mandoc_strdup(mlink->fsec ? mlink->fsec : "");
950 if ('0' == *mlink->fsec) {
951 free(mlink->fsec);
952 mlink->fsec = mandoc_strdup(mlink->dsec);
954 } else if ('1' <= *mlink->fsec && '9' >= *mlink->fsec)
990 free(mlink->fsec);
2002 dba_page_add(mlink->mpage->dba, DBP_SECT, mlink->fsec);
2037 strcmp(mlink->fsec, mlink->next->fsec) ||
2041 fputs(mlink->fsec, stdout);