Searched refs:VAR_CMD (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/usr.bin/make/
H A Dvar.h53 extern struct GNode *VAR_CMD;
H A Dcond.c240 cp2 = Var_Parse(cp, VAR_CMD, TRUE, &len, &doFree);
289 if (Var_Value(arg, VAR_CMD) != NULL) {
488 lhs = Var_Parse(condExpr, VAR_CMD, doEval,
599 cp2 = Var_Parse(cp, VAR_CMD,
651 string = Var_Parse(rhs, VAR_CMD, doEval,
793 VAR_CMD, FALSE, &length, &doFree);
H A Dparse.c734 result = Var_Parse(cp, VAR_CMD, TRUE,
787 if (!Arch_ParseArchive(&line, &targets, VAR_CMD)) {
1219 VAR_CMD)) {
1520 cp = Buf_Peel(Var_Subst(cp, VAR_CMD, TRUE));
1661 file = Buf_Peel(Var_Subst(file, VAR_CMD, FALSE));
2133 file = Buf_Peel(Var_Subst(file, VAR_CMD, FALSE));
2249 line = Buf_Peel(Var_Subst(line, VAR_CMD, FALSE));
2276 cp = Buf_Peel(Var_Subst(line, VAR_CMD, FALSE));
2490 cp = Buf_Peel(Var_Subst(line, VAR_CMD, TRUE));
H A Dfor.c153 sub = Buf_Peel(Var_Subst(ptr, VAR_CMD, FALSE));
H A Dvar.c184 GNode *VAR_CMD; /* variables defined on the command-line */ variable
909 * look for it in VAR_CMD, VAR_GLOBAL and the environment,
916 if (ctxt != VAR_CMD) {
917 if ((var = VarLookup(&VAR_CMD->context, name)) != NULL)
988 * only VAR_GLOBAL->context is searched. Likewise if it is VAR_CMD, only
989 * VAR_CMD->context is searched. This is done to avoid the literally
1014 if (ctxt == VAR_CMD || (v->flags & VAR_TO_ENV)) {
1045 v = VarFindOnly(name, VAR_CMD);
1885 if ((vp->ctxt == VAR_CMD) || (vp->ctxt == VAR_GLOBAL)) {
1992 if ((vp->ctxt == VAR_CMD) || (v
[all...]
H A Dmain.c586 Parse_DoVar(v, VAR_CMD);
1208 if (Var_Exists("VPATH", VAR_CMD)) {
1220 buf = Var_Subst(VPATH, VAR_CMD, FALSE);
/freebsd-9.3-release/contrib/bmake/
H A Dcond.c284 cp2 = Var_Parse(cp, VAR_CMD, TRUE, &len, &freeIt);
337 if (Var_Value(arg, VAR_CMD, &p1) != NULL) {
571 str = Var_Parse(condExpr, VAR_CMD, (qt ? 0 : doEval),
815 val = Var_Parse(cp - 1, VAR_CMD, FALSE, &length, &freeIt);
H A Dmain.c624 Parse_DoVar(argv[1], VAR_CMD);
1006 Var_Set(MAKE_LEVEL ".ENV", MAKE_LEVEL_ENV, VAR_CMD, 0);
1225 VAR_CMD, 0);
1236 VAR_CMD, 0);
1262 if (Var_Exists("VPATH", VAR_CMD)) {
1271 vpath = Var_Subst(NULL, VPATH, VAR_CMD, FALSE);
1886 s = Var_Subst(NULL, tmp, VAR_CMD, 0);
H A Dparse.c814 line = Var_Subst(NULL, line, VAR_CMD, 0);
1221 result = Var_Parse(cp, VAR_CMD, TRUE, &length, &freeIt);
1239 if (Arch_ParseArchive(&line, targets, VAR_CMD) != SUCCESS) {
1662 if (Arch_ParseArchive(&line, sources, VAR_CMD) != SUCCESS) {
1928 cp = Var_Subst(NULL, cp, VAR_CMD, TRUE);
2228 file = Var_Subst(NULL, file, VAR_CMD, FALSE);
2419 all_files = Var_Subst(NULL, file, VAR_CMD, FALSE);
2487 value = Var_Subst(NULL, value, VAR_CMD, FALSE);
3034 line = Var_Subst(NULL, line, VAR_CMD, TRUE);
H A Dvar.c192 GNode *VAR_CMD; /* variables defined on the command-line */ variable
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,
[all...]
H A Dmake.h413 extern GNode *VAR_CMD; /* Variables defined on the command line */
H A Dtarg.c761 Var_Dump(VAR_CMD);

Completed in 107 milliseconds