Home | History | Annotate | Download | only in src

Lines Matching defs:BIT

352 #define BIT(i)		(1 << (i))	/* define bit in flag */
371 * not a char that is used often. Also, can't use the high bit as it causes
552 #define EF_FUNC_PARSE BIT(0) /* function being parsed */
553 #define EF_BRKCONT_PASS BIT(1) /* set if E_LOOP must pass break/continue on */
554 #define EF_FAKE_SIGDIE BIT(2) /* hack to get info from unwind to quitenv */
675 #define TF_SHELL_USES BIT(0) /* shell uses signal, user can't change */
676 #define TF_USER_SET BIT(1) /* user has (tried to) set trap */
677 #define TF_ORIG_IGN BIT(2) /* original action was SIG_IGN */
678 #define TF_ORIG_DFL BIT(3) /* original action was SIG_DFL */
679 #define TF_EXEC_IGN BIT(4) /* restore SIG_IGN just before exec */
680 #define TF_EXEC_DFL BIT(5) /* restore SIG_DFL just before exec */
681 #define TF_DFL_INTR BIT(6) /* when received, default action is LINTR */
682 #define TF_TTY_INTR BIT(7) /* tty generated signal (see j_waitj) */
683 #define TF_CHANGED BIT(8) /* used by runtrap() to detect trap changes */
684 #define TF_FATAL BIT(9) /* causes termination if not trapped */
692 #define SS_FORCE BIT(3) /* set signal even if original signal ignored */
693 #define SS_USER BIT(4) /* user is doing the set (ie, trap command) */
694 #define SS_SHTRAP BIT(5) /* trap for internal use (ALRM, CHLD, WINCH) */
729 #define C_ALPHA BIT(0) /* a-z_A-Z */
730 #define C_DIGIT BIT(1) /* 0-9 */
731 #define C_LEX1 BIT(2) /* \t \n\0|&;<>() */
732 #define C_VAR1 BIT(3) /* *@#!$-? */
733 #define C_IFSWS BIT(4) /* \t \n (IFS white space) */
734 #define C_SUBOP1 BIT(5) /* "=-+?" */
735 #define C_QUOTE BIT(6) /* \t\n "#$&'()*;<=>?[\]`| (needing quoting) */
736 #define C_IFS BIT(7) /* $IFS */
737 #define C_SUBOP2 BIT(8) /* "#%" (magic, see below) */
752 #define GF_ERROR BIT(0) /* call errorf() if there is an error */
753 #define GF_PLUSOPT BIT(1) /* allow +c as an option */
754 #define GF_NONAME BIT(2) /* don't print argv[0] in errors */
757 #define GI_MINUS BIT(0) /* an option started with -... */
758 #define GI_PLUS BIT(1) /* an option started with +... */
759 #define GI_MINUSMINUS BIT(2) /* arguments were ended with -- */
921 #define ALLOC BIT(0) /* val.s has been allocated */
922 #define DEFINED BIT(1) /* is defined in block */
923 #define ISSET BIT(2) /* has value, vp->val.[si] */
924 #define EXPORT BIT(3) /* exported variable/function */
925 #define TRACE BIT(4) /* var: user flagged, func: execution tracing */
928 #define SPECIAL BIT(8) /* PATH, IFS, SECONDS, etc */
929 #define INTEGER BIT(9) /* val.i contains integer value */
930 #define RDONLY BIT(10) /* read-only variable */
931 #define LOCAL BIT(11) /* for local typeset() */
932 #define ARRAY BIT(13) /* array */
933 #define LJUST BIT(14) /* left justify */
934 #define RJUST BIT(15) /* right justify */
935 #define ZEROFIL BIT(16) /* 0 filled if RJUSTIFY, strip 0s if LJUSTIFY */
936 #define LCASEV BIT(17) /* convert to lower case */
937 #define UCASEV_AL BIT(18) /* convert to upper case / autoload function */
938 #define INT_U BIT(19) /* unsigned integer */
939 #define INT_L BIT(20) /* long integer (no-op) */
940 #define IMPORT BIT(21) /* flag to typeset(): no arrays, must have = */
941 #define LOCAL_COPY BIT(22) /* with LOCAL - copy attrs from existing var */
942 #define EXPRINEVAL BIT(23) /* contents currently being evaluated */
943 #define EXPRLVALUE BIT(24) /* useable as lvalue (temp flag) */
944 #define AINDEX BIT(25) /* array index >0 = ua.index filled in */
945 #define ASSOC BIT(26) /* ARRAY ? associative : reference */
947 #define KEEPASN BIT(8) /* keep command assignments (eg, var=x cmd) */
948 #define FINUSE BIT(9) /* function being executed */
949 #define FDELETE BIT(10) /* function deleted while it was executing */
950 #define FKSH BIT(11) /* function defined with function x (vs x()) */
951 #define SPEC_BI BIT(12) /* a POSIX special builtin */
952 #define REG_BI BIT(13) /* a POSIX regular builtin */
972 #define FC_SPECBI BIT(0) /* special builtin */
973 #define FC_FUNC BIT(1) /* function builtin */
974 #define FC_REGBI BIT(2) /* regular builtin */
975 #define FC_UNREGBI BIT(3) /* un-regular builtin (!special,!regular) */
977 #define FC_PATH BIT(4) /* do path search */
978 #define FC_DEFPATH BIT(5) /* use default path in path search */
1011 #define BF_DOGETOPTS BIT(0) /* save/restore getopts state */
1133 #define IOEVAL BIT(4) /* expand in << */
1134 #define IOSKIP BIT(5) /* <<-, skip ^\t* */
1135 #define IOCLOB BIT(6) /* >|, override -o noclobber */
1136 #define IORDUP BIT(7) /* x<&y (as opposed to x>&y) */
1137 #define IONAMEXP BIT(8) /* name has been expanded */
1138 #define IOBASH BIT(9) /* &> etc. */
1141 #define XEXEC BIT(0) /* execute without forking */
1142 #define XFORK BIT(1) /* fork before executing */
1143 #define XBGND BIT(2) /* command & */
1144 #define XPIPEI BIT(3) /* input is pipe */
1145 #define XPIPEO BIT(4) /* output is pipe */
1147 #define XXCOM BIT(5) /* `...` command */
1148 #define XPCLOSE BIT(6) /* exchild: close close_fd in parent */
1149 #define XCCLOSE BIT(7) /* exchild: close close_fd in child */
1150 #define XERROK BIT(8) /* non-zero exit ok (for set -e) */
1151 #define XCOPROC BIT(9) /* starting a co-process */
1152 #define XTIME BIT(10) /* timing TCOM command */
1158 #define DOBLANK BIT(0) /* perform blank interpretation */
1159 #define DOGLOB BIT(1) /* expand [?* */
1160 #define DOPAT BIT(2) /* quote *?[ */
1161 #define DOTILDE BIT(3) /* normal ~ expansion (first char) */
1162 #define DONTRUNCOMMAND BIT(4) /* do not run $(command) things */
1163 #define DOASNTILDE BIT(5) /* assignment ~ expansion (after =, :) */
1164 #define DOBRACE_ BIT(6) /* used by expand(): do brace expansion */
1165 #define DOMAGIC_ BIT(7) /* used by expand(): string contains MAGIC */
1166 #define DOTEMP_ BIT(8) /* ditto : in word part of ${..[%#=?]..} */
1167 #define DOVACHECK BIT(9) /* var assign check (for typeset, set, etc) */
1168 #define DOMARKDIRS BIT(10) /* force markdirs behaviour */
1303 #define SF_ECHO BIT(0) /* echo input to shlout */
1304 #define SF_ALIAS BIT(1) /* faking space at end of alias */
1305 #define SF_ALIASEND BIT(2) /* faking space at end of alias */
1306 #define SF_TTY BIT(3) /* type == SSTDIN & it is a tty */
1307 #define SF_FIRST BIT(4) /* initial state (to ignore UTF-8 BOM) */
1308 #define SF_HASALIAS BIT(5) /* u.tblp valid (SALIAS, SEOF) */
1347 #define CONTIN BIT(0) /* skip new lines to complete command */
1348 #define ONEWORD BIT(1) /* single word for substitute() */
1349 #define ALIAS BIT(2) /* recognise alias */
1350 #define KEYWORD BIT(3) /* recognise keywords */
1351 #define LETEXPR BIT(4) /* get expression inside (( )) */
1352 #define VARASN BIT(5) /* check for var=word */
1353 #define ARRAYVAR BIT(6) /* parse x[1 & 2] as one word */
1354 #define ESACONLY BIT(7) /* only accept esac keyword */
1355 #define CMDWORD BIT(8) /* parsing simple command (alias related) */
1356 #define HEREDELIM BIT(9) /* parsing <<,<<- delimiter */
1357 #define LQCHAR BIT(10) /* source string contains QCHAR */
1358 #define HEREDOC BIT(11) /* parsing a here document */
1359 #define LETARRAY BIT(12) /* copy expression inside =( ) */
1716 #define TEF_ERROR BIT(0) /* set if we've hit an error */
1717 #define TEF_DBRACKET BIT(1) /* set if [[ .. ]] test */