Searched refs:option (Results 1 - 25 of 80) sorted by relevance

1234

/ast/src/lib/libast/comp/
H A Dgetopt.h39 struct option struct
47 extern int getopt_long(int, char* const*, const char*, const struct option*, int*);
48 extern int getopt_long_only(int, char* const*, const char*, const struct option*, int*);
H A Dgetoptl.c30 #include <option.h>
35 static const struct option* lastlongopts;
42 golly(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex, int flags)
45 register const struct option* o;
121 optopt = opt_info.option[1];
142 getopt_long(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex)
148 getopt_long_only(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex)
H A Dgetopt.c37 #include <option.h>
67 optopt = opt_info.option[1];
/ast/src/lib/libast/astsa/
H A Derror.h29 #include <option.h>
H A Doption.h27 * command line option parse interface
69 char option[8]; /* current flag {-,+} + option */ member in struct:Opt_s
73 unsigned char assignment; /* option arg assigment op */
/ast/src/lib/libpp/
H A Dppexpr.c617 * return non-zero if option s is set
636 return pp.option & ELSEIF;
638 return pp.option & FINAL;
644 return pp.option & INITIAL;
646 return pp.option & KEYARGS;
654 return pp.option & PLUSCOMMENT;
656 return pp.option & PLUSPLUS;
658 return pp.option & PLUSSPLICE;
660 return pp.option & PRAGMAEXPAND;
662 return pp.option
[all...]
H A Dppcontrol.c117 * name option name
118 * s string of option values
119 * n option sense
129 if (!(flags & TOKOP_UNSET) && !n) error(2, "%s: option cannot be unset", name);
173 if (!(pp.option & ALLPOSSIBLE))
334 if ((pp.option & ALLPOSSIBLE) && !pp.in->prev->prev)
368 if ((pp.option & ALLPOSSIBLE) && !pp.in->prev->prev)
370 if ((pp.option & ELSEIF) && (c = pplex()) == T_ID && ((n = (int)hashref(pp.dirtab, pp.token)) == IF || n == IFDEF || n == IFNDEF))
393 if ((pp.option & ALLPOSSIBLE) && !pp.in->prev->prev)
409 if ((pp.option
[all...]
H A Dpptrace.c180 * return string given pp.option
184 ppoptionstr(register long option) argument
186 return(ppflagstr(ppoptionmap, elementsof(ppoptionmap), option));
H A Dppargs.c37 " by the \b-D-X\b command line option.]"
50 " interpreted as a \blibpp\b(3) option; \b-\b turns the option on,"
52 " is listed with the option definition. Right, this is ugly, but its the"
100 " only if it is explicitly specified by a \b-I\b option.]:?[directory]{"
142 " argument is specified then the entire \b-H\b option is"
184 * option with return(1)
213 * this allows single arg pp option extensions
285 pp.option |= DEFINITIONS;
289 pp.option |
[all...]
H A Dpplex.c151 #define DOSTRIP() ((st&STRIP)||pp.level==1&&(st&(COMPILE|JOINING))==COMPILE&&!(pp.option&PRESERVE))
237 if (op == tp && (st & (ADD|HIDDEN)) && !(st & PASSTHROUGH) && !(pp.option & PRESERVE))
248 if ((pp.option & PRESERVE) && !(st & NEWLINE) && c != '\n')
801 else if (pp.level > 1 || (pp.option & PRESERVE)) PUTCHR(c);
806 if (!(pp.option & ALLPOSSIBLE))
886 if (!(st & HEADER) || (pp.option & (HEADEREXPAND|HEADEREXPANDALL)) && pp.in->type != IN_FILE && pp.in->type != IN_BUFFER && pp.in->type != IN_INIT && pp.in->type != IN_RESCAN)
923 if ((st & PASSTHROUGH) || (pp.option & PRESERVE))
931 if (c == '\n' && quot == '\'' && (pp.option & STRINGSPAN)) n = 0;
942 if (!(pp.option & STRINGSPAN) || (st & (COMPATIBILITY|STRICT)) == STRICT)
945 if (!(pp.option
[all...]
H A Dppcall.c254 if (pp.option & KEYARGS)
268 if (pp.option & KEYARGS)
338 if (pp.option & KEYARGS)
403 if (!(pp.option & KEYARGS))
435 else if (!(pp.state & HEADER) || (pp.option & HEADEREXPANDALL) || pp.in->type != IN_COPY)
H A Dppop.c39 * set option value
51 debug((-7, "set %s %s skipped -- readonly", p == &pp.state ? "state" : p == &pp.mode ? "mode" : "option", p == &pp.state ? ppstatestr(*r) : p == &pp.mode ? ppmodestr(*r) : ppoptionstr(*r)));
54 if (!pp.initialized && (!(pp.mode & INIT) || !(pp.mode & BUILTIN)) && (p != &pp.mode || !(op & BUILTIN)) && (p != &pp.option || !(op & PREDEFINED)))
57 debug((-7, "set %s %s readonly", p == &pp.state ? "state" : p == &pp.mode ? "mode" : "option", p == &pp.state ? ppstatestr(*r) : p == &pp.mode ? ppmodestr(*r) : ppoptionstr(*r)));
63 debug((-7, "set %s %s", p == &pp.state ? "state" : p == &pp.mode ? "mode" : "option", p == &pp.state ? ppstatestr(*r) : p == &pp.mode ? ppmodestr(*r) : ppoptionstr(*r)));
503 if (!(pp.option & PLUSPLUS))
1013 #%s !defined(__STDC__) && (!#option(compatibility) || #option(transition))\n\
1111 pp.option |= KEEPNOTEXT;
1242 ppset(&pp.option, KEYARG
[all...]
/ast/src/cmd/tests/
H A Dopt.c34 #define name option
245 sfprintf(sfstdout, "return=%c option=%s name=%s num=%I*d\n", n, opt_info.option, opt_info.name, sizeof(opt_info.number), opt_info.number);
250 sfprintf(sfstdout, "return=%c option=%s name=%s num=%I*d", n, opt_info.option, opt_info.name, sizeof(opt_info.number), opt_info.number);
251 if (!opt_info.option[0])
257 sfprintf(sfstdout, "return=%c option=%s name=%s arg%-.1s=%s num=%I*d\n", n, opt_info.option, opt_info.name, &opt_info.assignment, opt_info.arg, sizeof(opt_info.number), opt_info.number);
259 sfprintf(sfstdout, "return=%d option=%s name=%s arg%-.1s=%s num=%I*d\n", n, opt_info.option, opt_inf
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dulimit.c55 for (tp = shtab_limits; tp->option; tp++)
57 sfprintf(sp, "[%c=%d:%s?The %s", tp->option, tp - shtab_limits + 1, tp->name, tp->description);
115 for(n=0; shtab_limits[n].option; n++)
121 /* only one option at a time for setting */
127 for(tp = shtab_limits; tp->option && hit; tp++,hit>>=1)
197 sfprintf(sfstdout,"%-30s (-%c) ",tmp,tp->option);
H A Dgetopts.c130 opt_info.option[1] = '?';
133 key[0] = opt_info.option[1];
172 options = opt_info.option + (*opt_info.option!='+');
/ast/src/cmd/pzip/
H A Dpzip.c38 " (see the \b--partition\b option below) before being passed to"
53 " [+(1)?The row size is taken from the \b--row\b option"
55 " [+(2)?If the \b--partition\b option is specified then the"
69 " compressing. The comment is listed by the \b--header\b option.]:"
92 " appear after the \b--library\b option. Runtime libraries may"
96 " option lists the runtime libraries used to compress the input"
106 " fixed values (see the \b--partition\b option).]:[begin[-end]]=value]"
139 " specified by a subsequent \b--library\b option, splits the input"
155 " bytes per record, and compression wall time. This option also"
309 if (!opt_info.option[
[all...]
/ast/src/cmd/builtin/
H A Duudecode.c61 #include <option.h>
112 buf[0] = opt_info.option[1];
H A Duuencode.c60 #include <option.h>
113 buf[0] = opt_info.option[1];
/ast/src/lib/libast/include/
H A Doption.h27 * command line option parse interface
68 char option[8]; /* current flag {-,+} + option */ member in struct:Opt_s
72 unsigned char assignment; /* option arg assigment op */
H A Derror.h27 * option, error and message formatter external definitions
34 #include <option.h>
/ast/src/lib/libast/preroot/
H A Dsetpreroot.c33 #include <option.h>
/ast/src/lib/librecsort/
H A Drslib.c26 #include <option.h>
/ast/src/cmd/ksh93/include/
H A Dulimit.h164 unsigned char option; member in struct:Limit_s
/ast/src/cmd/cs/vcs_src/
H A Difs_agent.c177 AgentMount( ml, url, localpath, option )
181 char *option;
234 sfsprintf( mi->timeout, sizeof(mi->timeout), "/%d", option ? (int)strtol(option, (char**)0, 0) : 86400 );
577 * Usage: mount url local-path option
588 char remote[ STRLEN ], *option; local
602 option = (argc < 4 ? NULL : argv[3]);
603 if( (mi = AgentMount( ml, argv[1], argv[2], option )) == NULL )
/ast/src/cmd/ksh93/edit/
H A Demacs.c1344 static void draw(register Emacs_t *ep,Draw_t option) argument
1364 ep->lastdraw = option;
1366 if (option == FIRST || option == REFRESH)
1372 if (option == FIRST)
1385 if ((lookahead)&&(option != FINAL))
1403 if(option==FINAL)
1408 else if((option==UPDATE||option==APPEND) && drawbuff[0]=='#' && cur>1 && cur==eol && drawbuff[cur-1]!='*')
1431 if ((option
[all...]

Completed in 877 milliseconds

1234