Lines Matching refs:BIT
190 * These types are exactly 32 bit wide; signed and unsigned
434 /* define bit in flag */
435 #define BIT(i) (1 << (i))
440 * not a char that is used often. Also, can't use the high bit as it causes
709 #define EF_BRKCONT_PASS BIT(1) /* set if E_LOOP must pass break/continue on */
710 #define EF_FAKE_SIGDIE BIT(2) /* hack to get info from unwind to quitenv */
856 #define TF_SHELL_USES BIT(0) /* shell uses signal, user can't change */
857 #define TF_USER_SET BIT(1) /* user has (tried to) set trap */
858 #define TF_ORIG_IGN BIT(2) /* original action was SIG_IGN */
859 #define TF_ORIG_DFL BIT(3) /* original action was SIG_DFL */
860 #define TF_EXEC_IGN BIT(4) /* restore SIG_IGN just before exec */
861 #define TF_EXEC_DFL BIT(5) /* restore SIG_DFL just before exec */
862 #define TF_DFL_INTR BIT(6) /* when received, default action is LINTR */
863 #define TF_TTY_INTR BIT(7) /* tty generated signal (see j_waitj) */
864 #define TF_CHANGED BIT(8) /* used by runtrap() to detect trap changes */
865 #define TF_FATAL BIT(9) /* causes termination if not trapped */
873 #define SS_FORCE BIT(3) /* set signal even if original signal ignored */
874 #define SS_USER BIT(4) /* user is doing the set (ie, trap command) */
875 #define SS_SHTRAP BIT(5) /* trap for internal use (ALRM, CHLD, WINCH) */
910 #define C_ALPHA BIT(0) /* a-z_A-Z */
911 #define C_DIGIT BIT(1) /* 0-9 */
912 #define C_LEX1 BIT(2) /* \t \n\0|&;<>() */
913 #define C_VAR1 BIT(3) /* *@#!$-? */
914 #define C_IFSWS BIT(4) /* \t \n (IFS white space) */
915 #define C_SUBOP1 BIT(5) /* "=-+?" */
916 #define C_QUOTE BIT(6) /* \t\n "#$&'()*;<=>?[\]`| (needing quoting) */
917 #define C_IFS BIT(7) /* $IFS */
918 #define C_SUBOP2 BIT(8) /* "#%" (magic, see below) */
933 #define GF_ERROR BIT(0) /* call errorf() if there is an error */
934 #define GF_PLUSOPT BIT(1) /* allow +c as an option */
935 #define GF_NONAME BIT(2) /* don't print argv[0] in errors */
938 #define GI_MINUS BIT(0) /* an option started with -... */
939 #define GI_PLUS BIT(1) /* an option started with +... */
940 #define GI_MINUSMINUS BIT(2) /* arguments were ended with -- */
1123 #define ALLOC BIT(0) /* val.s has been allocated */
1124 #define DEFINED BIT(1) /* is defined in block */
1125 #define ISSET BIT(2) /* has value, vp->val.[si] */
1126 BIT(3) /* exported variable/function */
1127 #define TRACE BIT(4) /* var: user flagged, func: execution tracing */
1130 #define SPECIAL BIT(8) /* PATH, IFS, SECONDS, etc */
1131 #define INTEGER BIT(9) /* val.i contains integer value */
1132 #define RDONLY BIT(10) /* read-only variable */
1133 #define LOCAL BIT(11) /* for local typeset() */
1134 #define ARRAY BIT(13) /* array */
1135 #define LJUST BIT(14) /* left justify */
1136 #define RJUST BIT(15) /* right justify */
1137 #define ZEROFIL BIT(16) /* 0 filled if RJUSTIFY, strip 0s if LJUSTIFY */
1138 #define LCASEV BIT(17) /* convert to lower case */
1139 #define UCASEV_AL BIT(18) /* convert to upper case / autoload function */
1140 #define INT_U BIT(19) /* unsigned integer */
1141 #define INT_L BIT(20) /* long integer (no-op but used as magic) */
1142 #define IMPORT BIT(21) /* flag to typeset(): no arrays, must have = */
1143 #define LOCAL_COPY BIT(22) /* with LOCAL - copy attrs from existing var */
1144 #define EXPRINEVAL BIT(23) /* contents currently being evaluated */
1145 #define EXPRLVALUE BIT(24) /* useable as lvalue (temp flag) */
1146 #define AINDEX BIT(25) /* array index >0 = ua.index filled in */
1147 #define ASSOC BIT(26) /* ARRAY ? associative : reference */
1149 #define KEEPASN BIT(8) /* keep command assignments (eg, var=x cmd) */
1150 #define FINUSE BIT(9) /* function being executed */
1151 #define FDELETE BIT(10) /* function deleted while it was executing */
1152 #define FKSH BIT(11) /* function defined with function x (vs x()) */
1153 #define SPEC_BI BIT(12) /* a POSIX special builtin */
1154 #define REG_BI BIT(13) /* a POSIX regular builtin */
1182 #define FC_SPECBI BIT(0) /* special builtin */
1183 #define FC_FUNC BIT(1) /* function builtin */
1184 #define FC_REGBI BIT(2) /* regular builtin */
1185 #define FC_UNREGBI BIT(3) /* un-regular builtin (!special,!regular) */
1187 #define FC_PATH BIT(4) /* do path search */
1188 #define FC_DEFPATH BIT(5) /* use default path in path search */
1221 #define BF_DOGETOPTS BIT(0) /* save/restore getopts state */
1349 #define IOEVAL BIT(4) /* expand in << */
1350 #define IOSKIP BIT(5) /* <<-, skip ^\t* */
1351 #define IOCLOB BIT(6) /* >|, override -o noclobber */
1352 #define IORDUP BIT(7) /* x<&y (as opposed to x>&y) */
1353 #define IONAMEXP BIT(8) /* name has been expanded */
1354 #define IOBASH BIT(9) /* &> etc. */
1355 #define IOHERESTR BIT(10) /* <<< (here string) */
1356 #define IONDELIM BIT(11) /* null delimiter (<<) */
1359 #define XEXEC BIT(0) /* execute without forking */
1360 #define XFORK BIT(1) /* fork before executing */
1361 #define XBGND BIT(2) /* command & */
1362 #define XPIPEI BIT(3) /* input is pipe */
1363 #define XPIPEO BIT(4) /* output is pipe */
1364 #define XXCOM BIT(5) /* `...` command */
1365 #define XPCLOSE BIT(6) /* exchild: close close_fd in parent */
1366 #define XCCLOSE BIT(7) /* exchild: close close_fd in child */
1367 #define XERROK BIT(8) /* non-zero exit ok (for set -e) */
1368 #define XCOPROC BIT(9) /* starting a co-process */
1369 #define XTIME BIT(10) /* timing TCOM command */
1370 #define XPIPEST BIT(11) /* want PIPESTATUS */
1376 #define DOBLANK BIT(0) /* perform blank interpretation */
1377 #define DOGLOB BIT(1) /* expand [?* */
1378 #define DOPAT BIT(2) /* quote *?[ */
1379 #define DOTILDE BIT(3) /* normal ~ expansion (first char) */
1380 #define DONTRUNCOMMAND BIT(4) /* do not run $(command) things */
1381 #define DOASNTILDE BIT(5) /* assignment ~ expansion (after =, :) */
1382 #define DOBRACE BIT(6) /* used by expand(): do brace expansion */
1383 #define DOMAGIC BIT(7) /* used by expand(): string contains MAGIC */
1384 #define DOTEMP BIT(8) /* dito: in word part of ${..[%#=?]..} */
1385 #define DOVACHECK BIT(9) /* var assign check (for typeset, set, etc) */
1386 #define DOMARKDIRS BIT(10) /* force markdirs behaviour */
1388 #define DOTCOMEXEC BIT(11) /* not an eval flag, used by sh -c hack */
1528 #define SF_ECHO BIT(0) /* echo input to shlout */
1529 #define SF_ALIAS BIT(1) /* faking space at end of alias */
1530 #define SF_ALIASEND BIT(2) /* faking space at end of alias */
1531 #define SF_TTY BIT(3) /* type == SSTDIN & it is a tty */
1532 #define SF_HASALIAS BIT(4) /* u.tblp valid (SALIAS, SEOF) */
1534 #define SF_MAYEXEC BIT(5) /* special sh -c optimisation hack */
1576 #define CONTIN BIT(0) /* skip new lines to complete command */
1577 #define ONEWORD BIT(1) /* single word for substitute() */
1578 #define ALIAS BIT(2) /* recognise alias */
1579 #define KEYWORD BIT(3) /* recognise keywords */
1580 #define LETEXPR BIT(4) /* get expression inside (( )) */
1581 #define VARASN BIT(5) /* check for var=word */
1582 #define ARRAYVAR BIT(6) /* parse x[1 & 2] as one word */
1583 #define ESACONLY BIT(7) /* only accept esac keyword */
1584 #define CMDWORD BIT(8) /* parsing simple command (alias related) */
1585 #define HEREDELIM BIT(9) /* parsing <<,<<- delimiter */
1586 #define LQCHAR BIT(10) /* source string contains QCHAR */
1587 #define HEREDOC BIT(11) /* parsing a here document body */
1976 #define WDS_TPUTS BIT(0) /* tputS (dumpwdvar) mode */
1977 #define WDS_KEEPQ BIT(1) /* keep quote characters */
1978 #define WDS_MAGIC BIT(2) /* make MAGIC */
2047 #define TEF_ERROR BIT(0) /* set if we've hit an error */
2048 #define TEF_DBRACKET BIT(1) /* set if [[ .. ]] test */