Lines Matching refs:BIT

567 #define BIT(i)		(1U << (i))
886 #define EF_BRKCONT_PASS BIT(1) /* set if E_LOOP must pass break/continue on */
887 #define EF_FAKE_SIGDIE BIT(2) /* hack to get info from unwind to quitenv */
888 #define EF_IN_EVAL BIT(3) /* inside an eval */
1352 #define TF_SHELL_USES BIT(0) /* shell uses signal, user can't change */
1353 #define TF_USER_SET BIT(1) /* user has (tried to) set trap */
1354 #define TF_ORIG_IGN BIT(2) /* original action was SIG_IGN */
1355 #define TF_ORIG_DFL BIT(3) /* original action was SIG_DFL */
1356 #define TF_EXEC_IGN BIT(4) /* restore SIG_IGN just before exec */
1357 #define TF_EXEC_DFL BIT(5) /* restore SIG_DFL just before exec */
1358 #define TF_DFL_INTR BIT(6) /* when received, default action is LINTR */
1359 #define TF_TTY_INTR BIT(7) /* tty generated signal (see j_waitj) */
1360 #define TF_CHANGED BIT(8) /* used by runtrap() to detect trap changes */
1361 #define TF_FATAL BIT(9) /* causes termination if not trapped */
1369 #define SS_FORCE BIT(3) /* set signal even if original signal ignored */
1370 #define SS_USER BIT(4) /* user is doing the set (ie, trap command) */
1371 #define SS_SHTRAP BIT(5) /* trap for internal use (ALRM, CHLD, WINCH) */
1410 #define CiIFS BIT(0)
1411 #define CiCNTRL BIT(1) /* \x01‥\x08\x0E‥\x1F\x7F */
1412 #define CiUPPER BIT(2) /* A‥Z */
1413 #define CiLOWER BIT(3) /* a‥z */
1414 #define CiHEXLT BIT(4) /* A‥Fa‥f */
1415 #define CiOCTAL BIT(5) /* 0‥7 */
1416 #define CiQCL BIT(6) /* &();| */
1417 #define CiALIAS BIT(7) /* !,.@ */
1418 #define CiQCX BIT(8) /* *[\\ */
1419 #define CiVAR1 BIT(9) /* !*@ */
1420 #define CiQCM BIT(10) /* /^~ */
1421 #define CiDIGIT BIT(11) /* 89 */
1422 #define CiQC BIT(12) /* "' */
1423 #define CiSPX BIT(13) /* \x0B\x0C */
1424 #define CiCURLY BIT(14) /* {} */
1425 #define CiANGLE BIT(15) /* <> */
1426 #define CiNUL BIT(16) /* \x00 */
1427 #define CiTAB BIT(17) /* \x09 */
1428 #define CiNL BIT(18) /* \x0A */
1429 #define CiCR BIT(19) /* \x0D */
1430 #define CiSP BIT(20) /* \x20 */
1431 #define CiHASH BIT(21) /* # */
1432 #define CiSS BIT(22) /* $ */
1433 #define CiPERCT BIT(23) /* % */
1434 #define CiPLUS BIT(24) /* + */
1435 #define CiMINUS BIT(25) /* - */
1436 #define CiCOLON BIT(26) /* : */
1437 #define CiEQUAL BIT(27) /* = */
1438 #define CiQUEST BIT(28) /* ? */
1439 #define CiBRACK BIT(29) /* [] */
1440 #define CiUNDER BIT(30) /* _ */
1441 #define CiGRAVE BIT(31) /* ` */
1609 #define GF_ERROR BIT(0) /* call errorf() if there is an error */
1610 #define GF_PLUSOPT BIT(1) /* allow +c as an option */
1611 #define GF_NONAME BIT(2) /* don't print argv[0] in errors */
1614 #define GI_MINUS BIT(0) /* an option started with -... */
1615 #define GI_PLUS BIT(1) /* an option started with +... */
1616 #define GI_MINUSMINUS BIT(2) /* arguments were ended with -- */
1794 #define ALLOC BIT(0) /* val.s has been allocated */
1795 #define DEFINED BIT(1) /* is defined in block */
1796 #define ISSET BIT(2) /* has value, vp->val.[si] */
1797 #define EXPORT BIT(3) /* exported variable/function */
1798 #define TRACE BIT(4) /* var: user flagged, func: execution tracing */
1801 #define SPECIAL BIT(8) /* PATH, IFS, SECONDS, etc */
1802 #define INTEGER BIT(9) /* val.i contains integer value */
1803 #define RDONLY BIT(10) /* read-only variable */
1804 #define LOCAL BIT(11) /* for local typeset() */
1805 #define ARRAY BIT(13) /* array */
1806 #define LJUST BIT(14) /* left justify */
1807 #define RJUST BIT(15) /* right justify */
1808 #define ZEROFIL BIT(16) /* 0 filled if RJUSTIFY, strip 0s if LJUSTIFY */
1809 #define LCASEV BIT(17) /* convert to lower case */
1810 #define UCASEV_AL BIT(18) /* convert to upper case / autoload function */
1811 #define INT_U BIT(19) /* unsigned integer */
1812 #define INT_L BIT(20) /* long integer (no-op but used as magic) */
1813 #define IMPORT BIT(21) /* flag to typeset(): no arrays, must have = */
1814 #define LOCAL_COPY BIT(22) /* with LOCAL - copy attrs from existing var */
1815 #define EXPRINEVAL BIT(23) /* contents currently being evaluated */
1816 #define EXPRLVALUE BIT(24) /* useable as lvalue (temp flag) */
1817 #define AINDEX BIT(25) /* array index >0 = ua.index filled in */
1818 #define ASSOC BIT(26) /* ARRAY ? associative : reference */
1820 #define KEEPASN BIT(8) /* keep command assignments (eg, var=x cmd) */
1821 #define FINUSE BIT(9) /* function being executed */
1822 #define FDELETE BIT(10) /* function deleted while it was executing */
1823 #define FKSH BIT(11) /* function defined with function x (vs x()) */
1824 #define SPEC_BI BIT(12) /* a POSIX special builtin */
1825 #define LOWER_BI BIT(13) /* (with LOW_BI) override even w/o flags */
1826 #define LOW_BI BIT(14) /* external utility overrides built-in one */
1827 #define DECL_UTIL BIT(15) /* is declaration utility */
1828 #define DECL_FWDR BIT(16) /* is declaration utility forwarder */
1829 #define NEXTLOC_BI BIT(17) /* needs BF_RESETSPEC on e->loc */
1858 #define FC_SPECBI BIT(0) /* special builtin */
1859 #define FC_FUNC BIT(1) /* function */
1860 #define FC_NORMBI BIT(2) /* not special builtin */
1862 #define FC_PATH BIT(3) /* do path search */
1863 #define FC_DEFPATH BIT(4) /* use default path in path search */
1864 #define FC_WHENCE BIT(5) /* for use by command and whence */
1896 #define BF_DOGETOPTS BIT(0) /* save/restore getopts state */
1897 #define BF_STOPENV BIT(1) /* do not export further */
1899 #define BF_RESETSPEC BIT(17) /* use ->next for set and shift */
2026 #define IOEVAL BIT(4) /* expand in << */
2027 #define IOSKIP BIT(5) /* <<-, skip ^\t* */
2028 #define IOCLOB BIT(6) /* >|, override -o noclobber */
2029 #define IORDUP BIT(7) /* x<&y (as opposed to x>&y) */
2030 #define IODUPSELF BIT(8) /* x>&x (as opposed to x>&y) */
2031 #define IONAMEXP BIT(9) /* name has been expanded */
2032 #define IOBASH BIT(10) /* &> etc. */
2033 #define IOHERESTR BIT(11) /* <<< (here string) */
2034 #define IONDELIM BIT(12) /* null delimiter (<<) */
2037 #define XEXEC BIT(0) /* execute without forking */
2038 #define XFORK BIT(1) /* fork before executing */
2039 #define XBGND BIT(2) /* command & */
2040 #define XPIPEI BIT(3) /* input is pipe */
2041 #define XPIPEO BIT(4) /* output is pipe */
2042 #define XXCOM BIT(5) /* `...` command */
2043 #define XPCLOSE BIT(6) /* exchild: close close_fd in parent */
2044 #define XCCLOSE BIT(7) /* exchild: close close_fd in child */
2045 #define XERROK BIT(8) /* non-zero exit ok (for set -e) */
2046 #define XCOPROC BIT(9) /* starting a co-process */
2047 #define XTIME BIT(10) /* timing TCOM command */
2048 #define XPIPEST BIT(11) /* want PIPESTATUS */
2054 #define DOBLANK BIT(0) /* perform blank interpretation */
2055 #define DOGLOB BIT(1) /* expand [?* */
2056 #define DOPAT BIT(2) /* quote *?[ */
2057 #define DOTILDE BIT(3) /* normal ~ expansion (first char) */
2058 #define DONTRUNCOMMAND BIT(4) /* do not run $(command) things */
2059 #define DOASNTILDE BIT(5) /* assignment ~ expansion (after =, :) */
2060 #define DOBRACE BIT(6) /* used by expand(): do brace expansion */
2061 #define DOMAGIC BIT(7) /* used by expand(): string contains MAGIC */
2062 #define DOTEMP BIT(8) /* dito: in word part of ${..[%#=?]..} */
2063 #define DOVACHECK BIT(9) /* var assign check (for typeset, set, etc) */
2064 #define DOMARKDIRS BIT(10) /* force markdirs behaviour */
2065 #define DOTCOMEXEC BIT(11) /* not an eval flag, used by sh -c hack */
2066 #define DOSCALAR BIT(12) /* change field handling to non-list context */
2067 #define DOHEREDOC BIT(13) /* change scalar handling to heredoc body */
2068 #define DOHERESTR BIT(14) /* append a newline char */
2069 #define DODBMAGIC BIT(15) /* add magic to expansions for [[ x = $y ]] */
2227 #define SF_ECHO BIT(0) /* echo input to shlout */
2228 #define SF_ALIAS BIT(1) /* faking space at end of alias */
2229 #define SF_ALIASEND BIT(2) /* faking space at end of alias */
2230 #define SF_TTY BIT(3) /* type == SSTDIN & it is a tty */
2231 #define SF_HASALIAS BIT(4) /* u.tblp valid (SALIAS, SEOF) */
2232 #define SF_MAYEXEC BIT(5) /* special sh -c optimisation hack */
2273 #define CONTIN BIT(0) /* skip new lines to complete command */
2274 #define ONEWORD BIT(1) /* single word for substitute() */
2275 #define ALIAS BIT(2) /* recognise alias */
2276 #define KEYWORD BIT(3) /* recognise keywords */
2277 #define LETEXPR BIT(4) /* get expression inside (( )) */
2278 #define CMDASN BIT(5) /* parse x[1 & 2] as one word, for typeset */
2279 #define HEREDOC BIT(6) /* parsing a here document body */
2280 #define ESACONLY BIT(7) /* only accept esac keyword */
2281 #define CMDWORD BIT(8) /* parsing simple command (alias related) */
2282 #define HEREDELIM BIT(9) /* parsing <<,<<- delimiter */
2283 #define LQCHAR BIT(10) /* source string contains QCHAR */
2725 #define WDS_TPUTS BIT(0) /* tputS (dumpwdvar) mode */
2816 #define TEF_ERROR BIT(0) /* set if we've hit an error */
2817 #define TEF_DBRACKET BIT(1) /* set if [[ .. ]] test */