Searched refs:Intern (Results 1 – 12 of 12) sorted by relevance
/build/kati/ |
D | symtab.cc | 115 CHECK(Intern("") == s); in Symtab() 124 kEmptySym = Intern(""); in Symtab() 125 kShellSym = Intern("SHELL"); in Symtab() 146 Symbol Intern(StringPiece s) { in Intern() function in Symtab 176 Symbol Intern(StringPiece s) { in Intern() function 177 return g_symtab->Intern(s); in Intern()
|
D | eval.cc | 38 posix_sym_(Intern(".POSIX")), in Evaluator() 40 kati_readonly_(Intern(".KATI_READONLY")) { in Evaluator() 112 Var* var = Intern(name).GetGlobalVar(); in EvalAssign() 169 Symbol lhs = Intern(rule_var.lhs); in EvalRule() 198 Var* var = current_scope_->Lookup(Intern(name)); in EvalRule() 246 Symbol lhs = Intern(TrimRightSpace(var_name)); in EvalIf() 283 Var* var_list = LookupVar(Intern("MAKEFILE_LIST")); in DoInclude() 284 var_list->AppendVar(this, NewLiteral(Intern(TrimLeadingCurdir(fname)).str())); in DoInclude() 326 exports_[Intern(tok)] = stmt->is_export; in EvalExport() 336 exports_[Intern(lhs)] = stmt->is_export; in EvalExport()
|
D | rule.cc | 35 Symbol input_sym = Intern(TrimLeadingCurdir(input)); in ParseInputs() 67 outputs.push_back(Intern(TrimLeadingCurdir(tok))); in ParseRule() 127 NewLiteral(Intern(TrimLeftSpace(rest.substr(term_index + 1))).str())); in ParseRule() 153 rule->output_patterns.push_back(Intern(tok)); in ParseRule()
|
D | func.cc | 459 Var* var = ev->LookupVar(Intern(var_name)); in ValueFunc() 591 Intern("0"), Intern("1"), Intern("2"), Intern("3"), Intern("4"), in CallFunc() 592 Intern("5"), Intern("6"), Intern("7"), Intern("8"), Intern("9") in CallFunc() 597 Var* func = ev->LookupVar(Intern(func_name)); in CallFunc() 616 tmpvar_name_sym = Intern(s); in CallFunc() 644 ScopedGlobalVar sv(Intern(varname), v.get()); in ForeachFunc() 653 Var* var = ev->LookupVar(Intern(var_name)); in OriginFunc() 659 Var* var = ev->LookupVar(Intern(var_name)); in FlavorFunc()
|
D | main.cc | 105 Parse(Intern(bootstrap).str(), Loc("*bootstrap*", 0), stmts); in ReadBootstrapMakefile() 111 Symbol lhs = Intern(l.substr(0, found)); in SetVar() 141 Intern("MAKEFILE_LIST").SetGlobalVar( in Run() 160 Parse(Intern(l).str(), Loc("*bootstrap*", 0), &asts); in Run()
|
D | dep.cc | 46 return Intern(r); in ReplaceSuffix() 70 out_inputs->push_back(Intern(buf)); in ApplyOutputPattern() 256 depfile_var_name_(Intern(".KATI_DEPFILE")), 257 ninja_pool_var_name_(Intern(".KATI_NINJA_POOL")) { 273 if (GetRuleInputs(Intern(".PHONY"), &targets, &loc)) { in HandleSpecialTargets() 277 if (GetRuleInputs(Intern(".KATI_RESTAT"), &targets, &loc)) { in HandleSpecialTargets() 281 if (GetRuleInputs(Intern(".SUFFIXES"), &targets, &loc)) { in HandleSpecialTargets() 305 if (GetRuleInputs(Intern(*p), &targets, &loc)) { in HandleSpecialTargets() 346 DepNode* n = BuildPlan(target, Intern("")); in Build() 402 r->inputs.push_back(Intern(input_suffix)); in PopulateSuffixRule() [all …]
|
D | stmt.cc | 62 return Intern(buf); in GetLhsSymbol() 66 lhs_sym_cache_ = Intern(lhs->GetLiteralValueUnsafe()); in GetLhsSymbol()
|
D | command.cc | 178 Intern(sym).SetGlobalVar(v); \ in CommandEvaluator() 179 Intern(sym"D").SetGlobalVar(new AutoSuffixDVar(this, sym"D", v)); \ in CommandEvaluator() 180 Intern(sym"F").SetGlobalVar(new AutoSuffixFVar(this, sym"F", v)); \ in CommandEvaluator()
|
D | expr.cc | 161 Var* v = ev->LookupVar(Intern(name)); in Eval() 187 Var* v = ev->LookupVar(Intern(name)); in Eval() 351 return new SymRef(Intern(s.substr(1, 1))); in ParseDollar() 364 Symbol sym = Intern(lit->val()); in ParseDollar() 434 return new SymRef(Intern(s.substr(2, found-2))); in ParseDollar()
|
D | symtab.h | 100 Symbol Intern(StringPiece s);
|
D | flags.cc | 142 targets.push_back(Intern(arg)); in Parse()
|
D | ninja.cc | 189 const string use_goma_str = ev->EvalVar(Intern("USE_GOMA")); in NinjaGenerator() 629 used_env_vars.insert(Intern("PATH")); in GenerateNinja()
|