Searched refs:VarOrigin (Results 1 – 7 of 7) sorted by relevance
/build/kati/ |
D | var.cc | 25 const char* GetOriginStr(VarOrigin origin) { in GetOriginStr() 27 case VarOrigin::UNDEFINED: return "undefined"; in GetOriginStr() 28 case VarOrigin::DEFAULT: return "default"; in GetOriginStr() 29 case VarOrigin::ENVIRONMENT: return "environment"; in GetOriginStr() 30 case VarOrigin::ENVIRONMENT_OVERRIDE: return "environment override"; in GetOriginStr() 31 case VarOrigin::FILE: return "file"; in GetOriginStr() 32 case VarOrigin::COMMAND_LINE: return "command line"; in GetOriginStr() 33 case VarOrigin::OVERRIDE: return "override"; in GetOriginStr() 34 case VarOrigin::AUTOMATIC: return "automatic"; in GetOriginStr() 50 SimpleVar::SimpleVar(VarOrigin origin) in SimpleVar() [all …]
|
D | var.h | 32 enum struct VarOrigin { enum 43 const char* GetOriginStr(VarOrigin origin); 50 virtual VarOrigin Origin() const = 0; 65 explicit SimpleVar(VarOrigin origin); 66 SimpleVar(const string& v, VarOrigin origin); 71 virtual VarOrigin Origin() const override { in Origin() 87 VarOrigin origin_; 92 RecursiveVar(Value* v, VarOrigin origin, StringPiece orig); 97 virtual VarOrigin Origin() const override { in Origin() 111 VarOrigin origin_; [all …]
|
D | symtab.cc | 55 if (v->Origin() == VarOrigin::ENVIRONMENT || in GetGlobalVar() 56 v->Origin() == VarOrigin::ENVIRONMENT_OVERRIDE) { in GetGlobalVar() 67 if (orig->Origin() == VarOrigin::OVERRIDE || in SetGlobalVar() 68 orig->Origin() == VarOrigin::ENVIRONMENT_OVERRIDE) { in SetGlobalVar() 71 if (orig->Origin() == VarOrigin::AUTOMATIC) { in SetGlobalVar()
|
D | main.cc | 108 static void SetVar(StringPiece l, VarOrigin origin) { in SetVar() 142 new SimpleVar(StringPrintf(" %s", g_flags.makefile), VarOrigin::FILE)); in Run() 144 SetVar(*p, VarOrigin::ENVIRONMENT); in Run() 158 SetVar(l, VarOrigin::COMMAND_LINE); in Run()
|
D | eval.cc | 49 VarOrigin origin = ( in EvalRHS() 50 (is_bootstrap_ ? VarOrigin::DEFAULT : in EvalRHS() 51 is_override ? VarOrigin::OVERRIDE : VarOrigin::FILE)); in EvalRHS()
|
D | command.cc | 36 virtual VarOrigin Origin() const override { in Origin() 37 return VarOrigin::AUTOMATIC; in Origin()
|
D | func.cc | 595 new SimpleVar(args[i]->Eval(ev), VarOrigin::AUTOMATIC)); in CallFunc() 614 if (v->Origin() != VarOrigin::AUTOMATIC) break; in CallFunc() 616 av.emplace_back(new SimpleVar("", VarOrigin::AUTOMATIC)); in CallFunc() 633 tok.as_string(), VarOrigin::AUTOMATIC)); in ForeachFunc()
|