Lines Matching defs:VAR_CMD
192 GNode *VAR_CMD; /* variables defined on the command-line */
194 #define FIND_CMD 0x1 /* look in VAR_CMD when searching */
351 * to look in the VAR_CMD context also. FIND_ENV
411 * look for it in VAR_CMD, VAR_GLOBAL and the environment, in that order,
416 if ((var == NULL) && (flags & FIND_CMD) && (ctxt != VAR_CMD)) {
417 var = Hash_FindEntry(&VAR_CMD->context, name);
905 * only VAR_GLOBAL->context is searched. Likewise if it is VAR_CMD, only
906 * VAR_CMD->context is searched. This is done to avoid the literally
910 * was set in VAR_CMD from the command line and skip it if so.
938 v = VarFind(name, VAR_CMD, 0);
951 if (ctxt == VAR_CMD && (flags & VAR_NO_EXPORT) == 0) {
975 if (ctxt == VAR_CMD && (flags & VAR_NO_EXPORT) == 0) {
3676 if ((ctxt == VAR_CMD) || (ctxt == VAR_GLOBAL)) {
3768 if ((v == NULL) && (ctxt != VAR_CMD) && (ctxt != VAR_GLOBAL) &&
3808 ((ctxt == VAR_CMD) || (ctxt == VAR_GLOBAL)))
3829 ((ctxt == VAR_CMD) || (ctxt == VAR_GLOBAL)))
4187 * The VAR_CMD and VAR_GLOBAL contexts are created
4195 VAR_CMD = Targ_NewGN("Command");