Lines Matching refs:version

540 next(register char* s, int version)  in next()  argument
544 while (*s == '\t' || *s == '\r' || version >= 1 && *s == ' ') in next()
572 …er int t1, register int t2, register int t3, register int n, register int b, int past, int version) in skip() argument
578 if (version < 1) in skip()
652 return past && *(s - 1) ? next(s, version) : s - 1; in skip()
694 match(char* s, char* t, int version, const char* id, const char* catalog) in match() argument
712 w = skip(t, ':', '?', 0, 1, 0, 0, version); in match()
801 } while (*(x = skip(x, '|', 0, 0, 1, 0, 0, version)) == '|' && x++); in match()
961 p->version = 0; in init()
977 p->version = 1; in init()
981 p->version = 1; in init()
985 p->version = 1; in init()
988 p->version = p->version * 10 + (*s++ - '0'); in init()
1138 …if (!p->version && (t = strchr(s, '(')) && strchr(t, ')') && (state.cp || (state.cp = sfstropen())… in init()
1144 p->version = 1; in init()
1179 …message((-2, "version=%d prefix=%d section=%s flags=%04x id=%s catalog=%s oopts=%p", p->version, p… in init()
1243 localize(Push_t* psp, char* s, char* e, int term, int n, Sfio_t* ip, int version, char* id, char* c… in localize() argument
1250 t = skip(s, term, 0, 0, n, 0, 0, version); in localize()
1291 … char* s, int about, int z, int level, int style, int f, Sfio_t* ip, int version, char* id, char* … in label() argument
1327 if (version < 1) in label()
1347 else if (level && (*(p = skip(s, 0, 0, 0, 1, level, 1, version)) == ':' || *p == '#')) in label()
1355 if (*(p = next(p, version)) == '[') in label()
1359 (tsp = localize(psp, s, e, (sep || level) ? '?' : 0, sep || level, ip, version, id, catalog))) in label()
1426 label(sp, 0, y, 0, -1, 0, style, f >= 0 ? FONT_ITALIC : f, ip, version, id, catalog); in label()
1440 else if (X(catalog) && (tsp = localize(psp, s, e, 0, 1, ip, version, id, catalog))) in label()
1616 … register char* p, register int n, int flags, int style, Sfio_t* ip, int version, char* id, char* … in args() argument
1683 label(sp, sep, p, 0, n, 0, style, 0, ip, version, id, catalog); in args()
1693 item(Sfio_t* sp, char* s, int about, int level, int style, Sfio_t* ip, int version, char* id, char*… in item() argument
1714 label(sp, 0, s + 1, about, -1, level, style, FONT_LITERAL, ip, version, id, catalog); in item()
1750 label(sp, 0, s, about, -1, level, style, -1, ip, version, id, catalog); in item()
1752 label(sp, 0, s, about, -1, level, style, level ? FONT_BOLD : 0, ip, version, id, catalog); in item()
1777 label(sp, 0, s, about, -1, level, style, FONT_BOLD, ip, version, id, catalog); in item()
1803 …conform, int conformlen, int style, int level, int bump, Sfio_t* ip, int version, char* id, char* … in trace_textout() argument
1808 p = textout(sp, p, conform, conformlen, style, level, bump, ip, version, id, catalog, hflags); in trace_textout()
1816 …conform, int conformlen, int style, int level, int bump, Sfio_t* ip, int version, char* id, char* … in textout() argument
1819 …onformlen,style,level,bump,ip,version,id,catalog,hflags) trace_textout(sp,s,conform,conformlen,sty… in textout() argument
1842 while (*(s = next(s + 1, version)) == '\n'); in textout()
1853 s = skip(s, 0, 0, 0, 1, level, 0, version); in textout()
1887 s = skip(s, 0, 0, 0, 1, level, 0, version); in textout()
1888 while (*(s = next(s + 1, version)) == '\n'); in textout()
1902 s = skip(t = s + 1, '?', 0, 0, 1, level, 0, version); in textout()
1906 return skip(s, 0, 0, 0, 1, level, 1, version); in textout()
1908 par = item(sp, w, about, level, style, ip, version, id, ID, hflags); in textout()
1945 par = item(sp, t, about, level, style, ip, version, id, catalog, hflags); in textout()
1961 c = *(s = skip(s, '?', 0, 0, 1, 0, 0, version)); in textout()
1962 … c == '?' && *(s + 1) == ']' && *(s + 2) != ']' && s++) && (c = *(s = next(s + 1, version))) == GO) in textout()
1964 …s = textout(sp, s, conform, conformlen, style, level + bump + par + 1, 0, ip, version, id, catalog… in textout()
1965 if (level > lev && *s && *(s = next(s, version)) == '[') in textout()
1979 if (X(catalog) && (tsp = localize(psp, s, NiL, 0, 1, ip, version, id, catalog))) in textout()
2043 if (*(s = next(s, version)) == '[') in textout()
2045 s = skip(s + 1, ':', '?', 0, 1, 0, 0, version); in textout()
2048 s = skip(t = s + 1, ':', '?', 0, 1, 0, 0, version); in textout()
2102 s = skip(s, 0, 0, 0, 1, 0, 1, version); in textout()
2104 if (*(s = next(s, version)) == GO) in textout()
2106 s = textout(sp, s, 0, 0, style, level + bump + !level, 0, ip, version, id, catalog, hflags); in textout()
2107 if (*s && *(s = next(s, version)) == '[' && !isalnum(*(s + 1))) in textout()
2388 int version; in opthelp() local
2544 version = q->version; in opthelp()
2683 p = skip(p, 0, 0, 0, 1, 0, 1, version); in opthelp()
2693 p = skip(p, '?', 0, 0, 1, 0, 0, version); in opthelp()
2702 p = skip(p, ':', '?', 0, 1, 0, 0, version); in opthelp()
2712 p = skip(p, 0, 0, 0, 1, 0, 0, version); in opthelp()
2820 p = skip(p, 0, 0, 0, 1, 0, 0, version); in opthelp()
2885 if (style > STYLE_short && style < STYLE_nroff && version < 1) in opthelp()
2911 if (!(*(p = next(p, version)))) in opthelp()
2934 if (*(x = p = next(p + 1, version))) in opthelp()
2965 if ((c = *(p = next(p + 1, version))) == '(') in opthelp()
2982 p = textout(sp_misc, p, cb, cl, style, 1, 3, sp_info, version, id, catalog, &hflags); in opthelp()
2988 …if (*(p + 1) == '?' || *(s = skip(p + 1, ':', '?', 0, 1, 0, 0, version)) == '?' && isspace(*(s + 1… in opthelp()
2999 if (match(w + 1, s, version, id, catalog)) in opthelp()
3003 p = textout(sp, p, cb, cl, style, 1, 3, sp_info, version, id, catalog, &hflags); in opthelp()
3016 p = textout(sp_body, p, cb, cl, style, 0, 0, sp_info, version, id, catalog, &bflags); in opthelp()
3032 p = textout(sp, p, cb, cl, style, 1, 3, sp_info, version, id, catalog, &hflags); in opthelp()
3037 if (match((char*)what + 1, p + 1, version, id, catalog)) in opthelp()
3039 p = textout(sp, p, cb, cl, style, 1, 3, sp_info, version, id, catalog, &hflags); in opthelp()
3048 else if (c == '[' || version < 1) in opthelp()
3075 p = skip(p, ':', '?', 0, 1, 0, 0, version); in opthelp()
3093 p = skip(w = p + 1, ':', '?', 0, 1, 0, 0, version); in opthelp()
3102 p = skip(p, 0, 0, 0, 1, 0, 0, version); in opthelp()
3108 if (wl && !match((char*)what, w, version, id, catalog)) in opthelp()
3125 p = skip(p, 0, 0, 0, 1, 0, 0, version); in opthelp()
3130 p = skip(p, 0, 0, 0, 1, 0, 1, version); in opthelp()
3132 p = skip(p + 1, 0, 0, 0, 0, 1, 1, version); in opthelp()
3194 if (*(p = next(p, version)) == '[') in opthelp()
3198 p = skip(y = p + 1, ':', '?', 0, 1, 0, 0, version); in opthelp()
3201 p = skip(t = p + 1, ':', '?', 0, 1, 0, 0, version); in opthelp()
3223 p = skip(p, 0, 0, 0, 1, 0, 1, version); in opthelp()
3226 p = skip(p + 1, 0, 0, 0, 1, 0, 1, version); in opthelp()
3261 … & OPT_functions) ? C("FUNCTIONS") : C("OPTIONS"), 0, 0, style, sp_info, version, id, ID, &bflags); in opthelp()
3304 label(sp_body, ' ', w, 0, -1, 0, style, FONT_BOLD, sp_info, version, id, catalog); in opthelp()
3316 if (label(sp_body, 0, w, 0, -1, 0, style, 0, sp_info, version, id, catalog)) in opthelp()
3319 label(sp_body, 0, w, 0, -1, 0, style, 0, sp_info, version, id, native); in opthelp()
3341 label(sp_body, 0, y, 0, -1, 0, style, 0, sp_info, version, id, catalog); in opthelp()
3387 if (label(sp_body, 0, w, 0, -1, 0, style, FONT_BOLD, sp_info, version, id, catalog)) in opthelp()
3390 label(sp_body, 0, w, 0, -1, 0, style, FONT_BOLD, sp_info, version, id, native); in opthelp()
3401 label(sp_body, 0, y, 0, -1, 0, style, FONT_ITALIC, sp_info, version, id, catalog); in opthelp()
3410 textout(sp_body, d, cb, cl, style, 0, 3, sp_info, version, id, catalog, &bflags); in opthelp()
3414 textout(sp_body, u, cb, cl, style, 0, 3, sp_info, version, id, catalog, &bflags); in opthelp()
3417 u = skip(w, ':', '?', 0, 1, 0, 0, version); in opthelp()
3424 textout(sp_body, t, 0, 0, style, 0, 0, sp_info, version, NiL, NiL, &bflags); in opthelp()
3428 …p = u ? skip(p + 1, 0, 0, 0, 0, 1, 1, version) : textout(sp_body, p, 0, 0, style, 4, 0, sp_info, v… in opthelp()
3451 textout(sp_body, t, 0, 0, style, 4, 0, sp_info, version, NiL, NiL, &bflags); in opthelp()
3468 textout(sp_body, t, 0, 0, style, 4, 0, sp_info, version, NiL, NiL, &bflags); in opthelp()
3477 p = textout(sp_body, p, 0, 0, style, 4, 0, sp_info, version, id, catalog, &bflags); in opthelp()
3479 p = skip(p + 1, 0, 0, 0, 0, 1, 1, version); in opthelp()
3483 p = skip(p + 1, 0, 0, 0, 0, 1, 1, version); in opthelp()
3493 item(sp_body, C("IMPLEMENTATION"), 0, 0, style, sp_info, version, id, ID, &bflags); in opthelp()
3500 version = o->version; in opthelp()
3665 item(sp, C("SYNOPSIS"), 0, 0, style, sp_info, version, id, ID, &hflags); in opthelp()
3686 args(sp, x, xl, o->flags, style, sp_info, version, u, catalog); in opthelp()
3708 args(sp, x, xl, flags, style, sp_info, version, id, catalog); in opthelp()
4128 opterror(register char* p, int err, int version, char* id, char* catalog) in opterror() argument
4156 if (*(p = next(p + 1, version)) == '[') in opterror()
4158 p = skip(s = p + 1, ':', '?', 0, 1, 0, 0, version); in opterror()
4275 int version; in optget() local
4355 version = pass->version; in optget()
4440 if (version || *s == '?' || !(pass->flags & OPT_minus)) in optget()
4686 if (!(*(s = next(s, version))) || *s == '\n' || *s == ' ') in optget()
4747 s = next(s + 1, version); in optget()
4757 else if (k == '[' || version < 1) in optget()
4780 s = skip(s, ':', '?', 0, 1, 0, 0, version); in optget()
4785 p = skip(s + 1, '?', 0, 0, 1, 0, 0, version); in optget()
4911 if (*(s = skip(s, ':', '|', '?', 1, 0, 0, version)) != '|') in optget()
4924 return opterror("?", 0, version, id, catalog); in optget()
4962 a = s = skip(s, 0, 0, 0, 1, 0, 0, version); in optget()
4988 s = skip(s, 0, 0, 0, 1, 0, 1, version); in optget()
4990 s = skip(s + 1, 0, 0, 0, 0, 1, 1, version); in optget()
5012 if (*(v = next(v, version)) == '[') in optget()
5013 v = skip(v + 1, 0, 0, 0, 1, 0, 1, version); in optget()
5147 if (*(s = next(s, version)) == '[') in optget()
5149 s = skip(s + 1, 0, 0, 0, 1, 0, 1, version); in optget()
5151 s = skip(s + 1, 0, 0, 0, 0, 1, 1, version); in optget()
5157 s = skip(b, '|', '?', 0, 1, 0, 0, version); in optget()
5178 return opterror(no ? "!" : "=", 0, version, id, catalog); in optget()
5203 return opterror("", 0, version, id, catalog); in optget()
5226 return opterror("!", 0, version, id, catalog); in optget()
5244 return opterror(s, 0, version, id, catalog); in optget()
5247 else if (*(t = next(s + 2, version)) == '[') in optget()
5248 while (*(t = skip(t, ':', 0, 0, 1, 0, 0, version)) == ':') in optget()
5253 e = skip(t, ':', '?', ']', 1, 0, 0, version); in optget()
5270 return opterror(s, err, version, id, catalog); in optget()
5291 c = opterror(s, err, version, id, catalog); in optget()
5328 return opterror(s, err, version, id, catalog); in optget()
5337 return opterror(s, 0, version, id, catalog); in optget()
5341 …if (*s == ':' && *(s = skip(s, 0, 0, 0, 1, 0, 1, version)) == GO && *(s = next(s + 1, version)) ==… in optget()
5349 f = s = next(s + 1, version); in optget()
5358 else if (*s == '[' || version < 1) in optget()
5363 s = skip(s, ':', '?', 0, 1, 0, 0, version); in optget()
5368 p = skip(s + 1, '?', 0, 0, 1, 0, 0, version); in optget()
5438 if (*(s = skip(s, ':', '|', '?', 1, 0, 0, version)) != '|') in optget()
5451 return opterror("&", 0, version, id, catalog); in optget()
5473 a = s = skip(s, 0, 0, 0, 1, 0, 0, version); in optget()
5479 } while (*(s = skip(s, 0, 0, 0, 1, 0, 1, version)) == '['); in optget()
5483 return opterror("*", 0, version, id, catalog); in optget()
5491 return opterror("=", 0, version, id, catalog); in optget()
5519 opt_info.arg = sfprints("\fversion=%d", version); in optget()
5555 return opterror(v, 0, version, id, catalog); in optget()
5565 return opterror(v, 0, version, id, catalog); in optget()