Lines Matching defs:FOR
25 * may a licensor, author or contributor be held liable for indirect,
141 * which work for all cases; no need to redefine them using the
191 * integer wraparound, even across division and modulo, for
204 /* access macros for boolean type */
443 #define MAGIC (7) /* prefix for *?[!{,} during expand */
463 * Evil hack for const correctness due to API brokenness
474 /* for const debugging */
612 /* malloc(3)/realloc(3) -> free(3) for use by the memory allocator */
617 /* malloc(3)/realloc(3) -> free(3) for use by mksh code */
642 /* 3. group structure (only the same for lalloc.c) */
703 #define E_LOOP 5 /* executing for/while # */
718 /* values for kshlongjmp(e->jbuf, i) */
773 /* null value for variable; comparison pointer for unset */
775 /* helpers for string pooling */
813 /* temporary file used for history editing (fc -e) */
833 #define shl_spare (&shf_iob[0]) /* for c_read()/c_print() */
837 #define shl_dbg (&shf_iob[3]) /* for DF() */
855 /* values for Trap.flags */
867 /* values for setsig()/setexecsig() flags argument */
875 #define SS_SHTRAP BIT(5) /* trap for internal use (ALRM, CHLD, WINCH) */
877 #define ksh_SIGEXIT 0 /* for trap EXIT */
878 #define ksh_SIGERR NSIG /* for trap ERR */
895 /* values for ksh_tmout_state */
898 TMOUT_READING, /* waiting for input */
904 /* For "You have stopped jobs" message */
928 EXTERN int ifs0 E_INIT(' '); /* for "$*" */
930 /* Argument parsing for built-in commands and getopts command */
932 /* Values for Getopt.flags */
937 /* Values for Getopt.info */
953 char buf[2]; /* for bad option OPTARG value */
956 EXTERN Getopt builtin_opt; /* for shell builtin commands */
957 EXTERN Getopt user_opt; /* parsing state for getopts builtin command */
959 /* This for co-processes */
993 * Minimum allowed value for x_cols: 2 for prompt, 3 for " < " at end of line
1017 #define KSH_RETURN_ERROR 1 /* return 1/0 for success/failure */
1101 int field; /* field with for -L/-R/-Z */
1106 uint32_t index; /* index for an array */
1129 /* flag bits used for variables */
1133 #define LOCAL BIT(11) /* for local typeset() */
1148 /* flag bits used for taliases/builtins/aliases/keywords/functions */
1181 /* Flags for findcom()/comexec() */
1196 /* Argument info. Used for $#, $* for shell, functions, includes, etc. */
1205 * activation record for function blocks
1220 /* Values for struct block.flags */
1246 /* values for set_prompt() */
1269 char *str; /* word for case; identifier for for,
1271 * path to execute for TEXEC;
1272 * time hook for TCOM.
1274 int lineno; /* TCOM/TFUNC: LINENO for this */
1313 * prefix codes for words in command tree
1337 char *delim; /* delimiter for <<,<<- */
1367 #define XERROK BIT(8) /* non-zero exit ok (for set -e) */
1385 #define DOVACHECK BIT(9) /* var assign check (for typeset, set, etc) */
1396 * is examined. The DB_* defines are the values for these second characters.
1436 /* check for overflow, expand string */
1501 char *freeme; /* also for SREREAD */
1511 char ugbuf[2]; /* buffer for ungetsc() (SREREAD) and
1557 #define FOR 267
1577 #define ONEWORD BIT(1) /* single word for substitute() */
1581 #define VARASN BIT(5) /* check for var=word */
1666 /* these cannot fail and can take NULL (not for ap) */
1889 /* table, name (key) to search for, hash(n) */