Lines Matching defs:start

755 	char		*linkfile, *p, *realdir, *start, *usefile;
791 start = usefile;
793 start = usefile + basedir_len;
824 start = usefile = linkfile;
830 start = usefile + basedir_len;
865 start = p + 1;
868 start = usefile + basedir_len;
874 if (strlcpy(mlink->file, start, sizeof(mlink->file)) >=
876 say(start, "Filename too long");
887 if (op == OP_TEST || (start == usefile && *start == '/')) {
889 start = usefile + 4;
890 else if ((start = strstr(usefile, "/man/")) != NULL)
891 start += 5;
893 start = usefile;
902 if ((p = strchr(start, '/')) != NULL) {
904 if (strncmp(start, "man", 3) == 0) {
906 mlink->dsec = start + 3;
907 } else if (strncmp(start, "cat", 3) == 0) {
909 mlink->dsec = start + 3;
912 start = p;
913 if (mlink->dsec != NULL && (p = strchr(start, '/')) != NULL) {
915 mlink->arch = start;
916 start = p;
924 p = strrchr(start, '\0');
925 while (p-- > start && *p != '/' && *p != '.')
937 mlink->name = start;
938 if ((p = strrchr(start, '/')) != NULL) {
1437 char *start, *title;
1480 start = title;
1482 sz = strcspn(start, " ,");
1483 if ('\0' == start[sz])
1486 byte = start[sz];
1487 start[sz] = '\0';
1494 if ('-' == start[0] ||
1495 ('\\' == start[0] && '-' == start[1]))
1498 putkey(mpage, start, NAME_TITLE);
1500 strcasecmp(start, meta->title))) {
1501 putkey(mpage, start, NAME_HEAD);
1506 start += sz + 1;
1511 start += sz + 1;
1512 while (' ' == *start)
1513 start++;
1516 if (start == title) {
1517 putkey(mpage, start, NAME_TITLE);
1519 strcasecmp(start, meta->title))) {
1520 putkey(mpage, start, NAME_HEAD);
1527 while (isspace((unsigned char)*start))
1528 start++;
1530 if (0 == strncmp(start, "-", 1))
1531 start += 1;
1532 else if (0 == strncmp(start, "\\-\\-", 4))
1533 start += 4;
1534 else if (0 == strncmp(start, "\\-", 2))
1535 start += 2;
1536 else if (0 == strncmp(start, "\\(en", 4))
1537 start += 4;
1538 else if (0 == strncmp(start, "\\(em", 4))
1539 start += 4;
1541 while (' ' == *start)
1542 start++;
1549 mpage->desc = mandoc_strndup(start, 150);
1615 char *start, *end;
1639 start = n->string;
1640 if ('<' == *start || '"' == *start)
1641 start++;
1643 if (0 == (sz = strlen(start)))
1646 end = &start[(int)sz - 1];
1650 if (end > start)
1651 putkeys(mpage, start, end - start + 1, TYPE_In);