Lines Matching refs:version

430 next(register char* s, int version)  in next()  argument
434 while (*s == '\t' || *s == '\r' || version >= 1 && *s == ' ') in next()
462 …er int t1, register int t2, register int t3, register int n, register int b, int past, int version) in skip() argument
468 if (version < 1) in skip()
542 return past && *(s - 1) ? next(s, version) : s - 1; in skip()
554 match(char* s, char* t, int version, const char* id, const char* catalog) in match() argument
572 w = skip(t, ':', '?', 0, 1, 0, 0, version); in match()
661 } while (*(x = skip(x, '|', 0, 0, 1, 0, 0, version)) == '|' && x++); in match()
748 p->version = 0; in init()
763 p->version = 1; in init()
767 p->version = 1; in init()
771 p->version = 1; in init()
774 p->version = p->version * 10 + (*s++ - '0'); in init()
896 …if (!p->version && (t = strchr(s, '(')) && strchr(t, ')') && (opt_info.state->cp || (opt_info.stat… in init()
902 p->version = 1; in init()
937 …message((-1, "version=%d prefix=%d section=%d flags=%04x id=%s catalog=%s", p->version, p->prefix,… in init()
1046 localize(Push_t* psp, char* s, char* e, int term, int n, Sfio_t* ip, int version, char* id, char* c… in localize() argument
1053 t = skip(s, term, 0, 0, n, 0, 0, version); in localize()
1094 … char* s, int about, int z, int level, int style, int f, Sfio_t* ip, int version, char* id, char* … in label() argument
1129 if (version < 1) in label()
1149 else if (level && (*(p = skip(s, 0, 0, 0, 1, level, 1, version)) == ':' || *p == '#')) in label()
1157 if (*(p = next(p, version)) == '[') in label()
1161 (tsp = localize(psp, s, e, (sep || level) ? '?' : 0, sep || level, ip, version, id, catalog))) in label()
1225 label(sp, 0, y, 0, -1, 0, style, FONT_ITALIC, ip, version, id, catalog); in label()
1239 else if (X(catalog) && (tsp = localize(psp, s, e, 0, 1, ip, version, id, catalog))) in label()
1395 … register char* p, register int n, int flags, int style, Sfio_t* ip, int version, char* id, char* … in args() argument
1462 label(sp, sep, p, 0, n, 0, style, 0, ip, version, id, catalog); in args()
1472 item(Sfio_t* sp, char* s, int about, int level, int style, Sfio_t* ip, int version, char* id, char*… in item() argument
1493 label(sp, 0, s + 1, about, -1, level, style, FONT_LITERAL, ip, version, id, catalog); in item()
1523 label(sp, 0, s, about, -1, level, 0, 0, ip, version, id, catalog); in item()
1525 label(sp, 0, s, about, -1, level, style, level ? FONT_BOLD : 0, ip, version, id, catalog); in item()
1541 label(sp, 0, s, about, -1, level, style, FONT_BOLD, ip, version, id, catalog); in item()
1567 trace_textout(Sfio_t* sp, register char* p, int style, int level, int bump, Sfio_t* ip, int version in trace_textout() argument
1572 p = textout(sp, p, style, level, bump, ip, version, id, catalog); in trace_textout()
1580 textout(Sfio_t* sp, register char* p, int style, int level, int bump, Sfio_t* ip, int version, char… in textout() argument
1583 #define textout(sp,p,style,level,bump,ip,version,id,catalog) trace_textout(sp,p,style,level,bump,ip… in textout() argument
1605 while (*(p = next(p + 1, version)) == '\n'); in textout()
1616 p = skip(p, 0, 0, 0, 1, level, 0, version); in textout()
1650 p = skip(p, 0, 0, 0, 1, level, 0, version); in textout()
1651 while (*(p = next(p + 1, version)) == '\n'); in textout()
1665 p = skip(t = p + 1, '?', 0, 0, 1, level, 0, version); in textout()
1669 return skip(p, 0, 0, 0, 1, level, 1, version); in textout()
1671 par = item(sp, e, about, level, style, ip, version, id, ID); in textout()
1708 par = item(sp, t, about, level, style, ip, version, id, catalog); in textout()
1724 c = *(p = skip(p, '?', 0, 0, 1, 0, 0, version)); in textout()
1725 … c == '?' && *(p + 1) == ']' && *(p + 2) != ']' && p++) && (c = *(p = next(p + 1, version))) == GO) in textout()
1727 p = textout(sp, p, style, level + bump + par + 1, 0, ip, version, id, catalog); in textout()
1728 if (level > lev && *p && *(p = next(p, version)) == '[') in textout()
1742 if (X(catalog) && (tsp = localize(psp, p, NiL, 0, 1, ip, version, id, catalog))) in textout()
1796 if (*(p = next(p, version)) == '[') in textout()
1798 p = skip(p + 1, ':', '?', 0, 1, 0, 0, version); in textout()
1801 p = skip(t = p + 1, ':', '?', 0, 1, 0, 0, version); in textout()
1855 p = skip(p, 0, 0, 0, 1, 0, 1, version); in textout()
1857 if (*(p = next(p, version)) == GO) in textout()
1859 p = textout(sp, p, style, level + bump + !level, 0, ip, version, id, catalog); in textout()
1860 if (*p && *(p = next(p, version)) == '[' && !isalnum(*(p + 1))) in textout()
2128 int version; in opthelp() local
2269 version = q->version; in opthelp()
2408 p = skip(p, 0, 0, 0, 1, 0, 1, version); in opthelp()
2418 p = skip(p, '?', 0, 0, 1, 0, 0, version); in opthelp()
2427 p = skip(p, ':', '?', 0, 1, 0, 0, version); in opthelp()
2437 p = skip(p, 0, 0, 0, 1, 0, 0, version); in opthelp()
2545 p = skip(p, 0, 0, 0, 1, 0, 0, version); in opthelp()
2610 if (style > STYLE_short && style < STYLE_nroff && version < 1) in opthelp()
2636 if (!(*(p = next(p, version)))) in opthelp()
2659 if (*(x = p = next(p + 1, version))) in opthelp()
2690 if ((c = *(p = next(p + 1, version))) == '-') in opthelp()
2699 p = textout(sp_misc, p, style, 1, 3, sp_info, version, id, catalog); in opthelp()
2716 if (match(w + 1, s, version, id, catalog)) in opthelp()
2720 p = textout(sp, p, style, 1, 3, sp_info, version, id, catalog); in opthelp()
2733 p = textout(sp_body, p, style, 0, 0, sp_info, version, id, catalog); in opthelp()
2748 p = textout(sp, p, style, 1, 3, sp_info, version, id, catalog); in opthelp()
2753 if (match((char*)what + 1, p + 1, version, id, catalog)) in opthelp()
2755 p = textout(sp, p, style, 1, 3, sp_info, version, id, catalog); in opthelp()
2764 else if (c == '[' || version < 1) in opthelp()
2791 p = skip(p, ':', '?', 0, 1, 0, 0, version); in opthelp()
2809 p = skip(w = p + 1, ':', '?', 0, 1, 0, 0, version); in opthelp()
2818 p = skip(p, 0, 0, 0, 1, 0, 0, version); in opthelp()
2824 if (wl && !match((char*)what, w, version, id, catalog)) in opthelp()
2841 p = skip(p, 0, 0, 0, 1, 0, 0, version); in opthelp()
2846 p = skip(p, 0, 0, 0, 1, 0, 1, version); in opthelp()
2848 p = skip(p + 1, 0, 0, 0, 0, 1, 1, version); in opthelp()
2910 if (*(p = next(p, version)) == '[') in opthelp()
2914 p = skip(y = p + 1, ':', '?', 0, 1, 0, 0, version); in opthelp()
2917 p = skip(t = p + 1, ':', '?', 0, 1, 0, 0, version); in opthelp()
2939 p = skip(p, 0, 0, 0, 1, 0, 1, version); in opthelp()
2942 p = skip(p + 1, 0, 0, 0, 1, 0, 1, version); in opthelp()
2977 …y, (flags & OPT_functions) ? C("FUNCTIONS") : C("OPTIONS"), 0, 0, style, sp_info, version, id, ID); in opthelp()
3020 label(sp_body, ' ', w, 0, -1, 0, style, FONT_BOLD, sp_info, version, id, catalog); in opthelp()
3032 if (label(sp_body, 0, w, 0, -1, 0, style, 0, sp_info, version, id, catalog)) in opthelp()
3035 label(sp_body, 0, w, 0, -1, 0, style, 0, sp_info, version, id, native); in opthelp()
3057 label(sp_body, 0, y, 0, -1, 0, style, 0, sp_info, version, id, catalog); in opthelp()
3103 if (label(sp_body, 0, w, 0, -1, 0, style, FONT_BOLD, sp_info, version, id, catalog)) in opthelp()
3106 label(sp_body, 0, w, 0, -1, 0, style, FONT_BOLD, sp_info, version, id, native); in opthelp()
3117 label(sp_body, 0, y, 0, -1, 0, style, FONT_ITALIC, sp_info, version, id, catalog); in opthelp()
3125 textout(sp_body, d, style, 0, 3, sp_info, version, id, catalog); in opthelp()
3127 textout(sp_body, u, style, 0, 3, sp_info, version, id, catalog); in opthelp()
3130 u = skip(w, ':', '?', 0, 1, 0, 0, version); in opthelp()
3137 textout(sp_body, t, style, 0, 0, sp_info, version, NiL, NiL); in opthelp()
3141 …p = u ? skip(p + 1, 0, 0, 0, 0, 1, 1, version) : textout(sp_body, p, style, 4, 0, sp_info, version in opthelp()
3164 textout(sp_body, t, style, 4, 0, sp_info, version, NiL, NiL); in opthelp()
3181 textout(sp_body, t, style, 4, 0, sp_info, version, NiL, NiL); in opthelp()
3190 p = textout(sp_body, p, style, 4, 0, sp_info, version, id, catalog); in opthelp()
3192 p = skip(p + 1, 0, 0, 0, 0, 1, 1, version); in opthelp()
3196 p = skip(p + 1, 0, 0, 0, 0, 1, 1, version); in opthelp()
3206 item(sp_body, C("IMPLEMENTATION"), 0, 0, style, sp_info, version, id, ID); in opthelp()
3211 version = o->version; in opthelp()
3365 item(sp, C("SYNOPSIS"), 0, 0, style, sp_info, version, id, ID); in opthelp()
3373 args(sp, x, xl, flags, style, sp_info, version, id, catalog); in opthelp()
3391 args(sp, x, xl, flags, style, sp_info, version, id, catalog); in opthelp()
3760 opterror(register char* p, int err, int version, char* id, char* catalog) in opterror() argument
3788 if (*(p = next(p + 1, version)) == '[') in opterror()
3790 p = skip(s = p + 1, ':', '?', 0, 1, 0, 0, version); in opterror()
3907 int version; in optget() local
3989 version = pass->version; in optget()
4074 if (version || *s == '?' || !(pass->flags & OPT_minus)) in optget()
4306 if (!(*(s = next(s, version))) || *s == '\n' || *s == ' ') in optget()
4367 f = s = next(s + 1, version); in optget()
4371 else if (k == '[' || version < 1) in optget()
4394 s = skip(s, ':', '?', 0, 1, 0, 0, version); in optget()
4399 p = skip(s + 1, '?', 0, 0, 1, 0, 0, version); in optget()
4525 if (*(s = skip(s, ':', '|', '?', 1, 0, 0, version)) != '|') in optget()
4538 return opterror("?", 0, version, id, catalog); in optget()
4576 a = s = skip(s, 0, 0, 0, 1, 0, 0, version); in optget()
4601 s = skip(s, 0, 0, 0, 1, 0, 1, version); in optget()
4603 s = skip(s + 1, 0, 0, 0, 0, 1, 1, version); in optget()
4625 if (*(v = next(v, version)) == '[') in optget()
4626 v = skip(v + 1, 0, 0, 0, 1, 0, 1, version); in optget()
4760 if (*(s = next(s, version)) == '[') in optget()
4762 s = skip(s + 1, 0, 0, 0, 1, 0, 1, version); in optget()
4764 s = skip(s + 1, 0, 0, 0, 0, 1, 1, version); in optget()
4770 s = skip(b, '|', '?', 0, 1, 0, 0, version); in optget()
4791 return opterror(no ? "!" : "=", 0, version, id, catalog); in optget()
4816 return opterror("", 0, version, id, catalog); in optget()
4839 return opterror("!", 0, version, id, catalog); in optget()
4857 return opterror(s, 0, version, id, catalog); in optget()
4860 else if (*(t = next(s + 2, version)) == '[') in optget()
4861 while (*(t = skip(t, ':', 0, 0, 1, 0, 0, version)) == ':') in optget()
4866 e = skip(t, ':', '?', ']', 1, 0, 0, version); in optget()
4883 return opterror(s, err, version, id, catalog); in optget()
4904 c = opterror(s, err, version, id, catalog); in optget()
4940 return opterror(s, err, version, id, catalog); in optget()
4949 return opterror(s, 0, version, id, catalog); in optget()
4953 …if (*s == ':' && *(s = skip(s, 0, 0, 0, 1, 0, 1, version)) == GO && *(s = next(s + 1, version)) ==… in optget()
4961 f = s = next(s + 1, version); in optget()
4970 else if (*s == '[' || version < 1) in optget()
4975 s = skip(s, ':', '?', 0, 1, 0, 0, version); in optget()
4980 p = skip(s + 1, '?', 0, 0, 1, 0, 0, version); in optget()
5050 if (*(s = skip(s, ':', '|', '?', 1, 0, 0, version)) != '|') in optget()
5063 return opterror("&", 0, version, id, catalog); in optget()
5085 a = s = skip(s, 0, 0, 0, 1, 0, 0, version); in optget()
5091 } while (*(s = skip(s, 0, 0, 0, 1, 0, 1, version)) == '['); in optget()
5095 return opterror("*", 0, version, id, catalog); in optget()
5103 return opterror("=", 0, version, id, catalog); in optget()
5131 opt_info.arg = sfprints("\fversion=%d", version); in optget()
5149 return opterror(v, 0, version, id, catalog); in optget()
5159 return opterror(v, 0, version, id, catalog); in optget()