Home
last modified time | relevance | path

Searched refs:Var (Results 1 – 22 of 22) sorted by relevance

/build/kati/
Dvar.h45 class Var : public Evaluable {
47 virtual ~Var();
60 Var();
63 class SimpleVar : public Var {
90 class RecursiveVar : public Var {
115 class UndefinedVar : public Var {
136 class RuleVar : public Var {
138 RuleVar(Var* v, AssignOp op) in RuleVar()
166 Var* v() const { return v_; } in v()
170 Var* v_;
[all …]
Dvar.cc40 Var::Var() { in Var() function in Var
43 Var::~Var() { in ~Var()
46 void Var::AppendVar(Evaluator*, Value*) { in AppendVar()
121 Var* Vars::Lookup(Symbol name) const { in Lookup()
125 Var* v = found->second; in Lookup()
133 void Vars::Assign(Symbol name, Var* v) { in Assign()
136 Var* orig = p.first->second; in Assign()
152 ScopedVar::ScopedVar(Vars* vars, Symbol name, Var* var) in ScopedVar()
Dvar.go25 type Var interface { interface
27 Append(*Evaluator, string) (Var, error)
28 AppendVar(*Evaluator, Value) (Var, error)
35 v Var
39 func (v *targetSpecificVar) Append(ev *Evaluator, s string) (Var, error) {
49 func (v *targetSpecificVar) AppendVar(ev *Evaluator, v2 Value) (Var, error) {
130 func (v *simpleVar) Append(ev *Evaluator, s string) (Var, error) {
145 func (v *simpleVar) AppendVar(ev *Evaluator, val Value) (Var, error) {
176 func (v *automaticVar) Append(ev *Evaluator, s string) (Var, error) {
194 func (v *automaticVar) AppendVar(ev *Evaluator, val Value) (Var, error) {
[all …]
Deval.cc47 Var* Evaluator::EvalRHS(Symbol lhs, Value* rhs_v, StringPiece orig_rhs, in EvalRHS()
53 Var* rhs = NULL; in EvalRHS()
66 Var* prev = LookupVarInCurrentScope(lhs); in EvalRHS()
77 Var* prev = LookupVarInCurrentScope(lhs); in EvalRHS()
101 Var* rhs = EvalRHS(lhs, stmt->rhs, stmt->orig_rhs, stmt->op, in EvalAssign()
158 Var* rhs_var = EvalRHS(lhs, rhs, StringPiece("*TODO*"), rule_var.op); in EvalRule()
194 Var* v = LookupVarInCurrentScope(lhs); in EvalIf()
227 Var* var_list = LookupVar(Intern("MAKEFILE_LIST")); in DoInclude()
285 Var* Evaluator::LookupVarGlobal(Symbol name) { in LookupVarGlobal()
286 Var* v = name.GetGlobalVar(); in LookupVarGlobal()
[all …]
Dsymtab.h28 class Var; variable
58 Var* GetGlobalVar() const;
59 void SetGlobalVar(Var* v) const;
71 ScopedGlobalVar(Symbol name, Var* var);
76 Var* orig_;
Deval.h31 class Var; variable
46 Var* LookupVar(Symbol name);
48 Var* LookupVarInCurrentScope(Symbol name);
93 Var* EvalRHS(Symbol lhs, Value* rhs, StringPiece orig_rhs, AssignOp op,
97 Var* LookupVarGlobal(Symbol name);
Dsymtab.cc37 Var* gv;
50 Var* Symbol::GetGlobalVar() const { in GetGlobalVar()
54 Var* v = g_symbol_data[v_].gv; in GetGlobalVar()
62 void Symbol::SetGlobalVar(Var* v) const { in SetGlobalVar()
66 Var* orig = g_symbol_data[v_].gv; in SetGlobalVar()
79 ScopedGlobalVar::ScopedGlobalVar(Symbol name, Var* var) in ScopedGlobalVar()
Dfunc_test.go28 ev := NewEvaluator(make(map[string]Var))
47 ev := NewEvaluator(make(map[string]Var))
68 ev := NewEvaluator(make(map[string]Var))
Dcommand.cc31 class AutoVar : public Var {
77 AutoSuffixDVar(CommandEvaluator* ce, const char* sym, Var* wrapped) in AutoSuffixDVar()
84 Var* wrapped_;
89 AutoSuffixFVar(CommandEvaluator* ce, const char* sym, Var* wrapped) in AutoSuffixFVar()
95 Var* wrapped_;
175 Var* v = new name(this, sym); \ in CommandEvaluator()
Ddep.h29 class Var; variable
47 Var* depfile_var;
Devalcmd.go45 for k, v := range map[string]Var{
86 func (v autoVar) Append(*Evaluator, string) (Var, error) {
89 func (v autoVar) AppendVar(*Evaluator, Value) (Var, error) {
148 func suffixDVar(k string) Var {
175 func suffixFVar(k string) Var {
Deval.go174 func NewEvaluator(vars map[string]Var) *Evaluator { argument
219 func (ev *Evaluator) evalAssignAST(ast *assignAST) (string, Var, error) {
403 func (ev *Evaluator) paramVar(name string) (Var, error) {
416 func (ev *Evaluator) LookupVar(name string) Var {
434 func (ev *Evaluator) lookupVarInCurrentScope(name string) Var {
Dserialize.go154 func encVar(k string, v Var) (string, error) { argument
481 v, ok := dv.(Var)
502 vv, ok := dv.(Var)
516 var tsvValues []Var
522 vv, ok := dv.(Var)
Dfunc.cc453 Var* var = ev->LookupVar(Intern(var_name)); in ValueFunc()
587 Var* func = ev->LookupVar(Intern(func_name)); in CallFunc()
612 Var *v = ev->LookupVar(tmpvar_name_sym); in CallFunc()
643 Var* var = ev->LookupVar(Intern(var_name)); in OriginFunc()
649 Var* var = ev->LookupVar(Intern(var_name)); in FlavorFunc()
Dexpr.cc136 Var* v = ev->LookupVar(name_); in Eval()
161 Var* v = ev->LookupVar(Intern(name)); in Eval()
187 Var* v = ev->LookupVar(Intern(name)); in Eval()
Dast.go40 func (ast *assignAST) evalRHS(ev *Evaluator, lhs string) (Var, error) {
Ddep.cc587 Var* new_var = var->v(); in BuildPlan()
589 Var* old_var = ev_->LookupVar(name); in BuildPlan()
600 Var* old_var = ev_->LookupVar(name); in BuildPlan()
Dmain.cc193 Var* v = ev->LookupVar(name); in Run()
Dfunc.go1247 var rvalue Var
/build/blueprint/bpmodify/
Dbpmodify.go35 flag.Var(targetedModules, "m", "comma or whitespace separated list of modules on which to operate")
36 flag.Var(addIdents, "a", "comma or whitespace separated list of identifiers to add")
37 flag.Var(removeIdents, "r", "comma or whitespace separated list of identifiers to remove")
/build/soong/cmd/soong_jar/
Dsoong_jar.go62 flag.Var(&listFiles, "l", "file containing list of .class files")
63 flag.Var(&files, "f", "file to include in jar")
/build/soong/cmd/soong_glob/
Dsoong_glob.go36 flag.Var(&excludes, "e", "pattern to exclude from results")