Lines Matching defs:VAR_CMD
181 GNode *VAR_CMD; /* variables defined on the command-line */
183 #define FIND_CMD 0x1 /* look in VAR_CMD when searching */
340 * to look in the VAR_CMD context also. FIND_ENV
400 * look for it in VAR_CMD, VAR_GLOBAL and the environment, in that order,
405 if ((var == NULL) && (flags & FIND_CMD) && (ctxt != VAR_CMD)) {
406 var = Hash_FindEntry(&VAR_CMD->context, name);
898 * only VAR_GLOBAL->context is searched. Likewise if it is VAR_CMD, only
899 * VAR_CMD->context is searched. This is done to avoid the literally
903 * was set in VAR_CMD from the command line and skip it if so.
931 v = VarFind(name, VAR_CMD, 0);
944 if (ctxt == VAR_CMD && (flags & VAR_NO_EXPORT) == 0) {
968 if (ctxt == VAR_CMD && (flags & VAR_NO_EXPORT) == 0) {
3650 if ((ctxt == VAR_CMD) || (ctxt == VAR_GLOBAL)) {
3753 if ((v == NULL) && (ctxt != VAR_CMD) && (ctxt != VAR_GLOBAL) &&
3776 ((ctxt == VAR_CMD) || (ctxt == VAR_GLOBAL)))
3797 ((ctxt == VAR_CMD) || (ctxt == VAR_GLOBAL)))
4166 * The VAR_CMD and VAR_GLOBAL contexts are created
4174 VAR_CMD = Targ_NewGN("Command");