/build/kati/ |
D | regen.cc | 93 FILE* fp = fopen(GetNinjaStampFilename().c_str(), "rb+"); in NeedsRegen() 109 GetNinjaFilename().c_str()); in IsMissingOutputs() 114 GetNinjaShellScriptFilename().c_str()); in IsMissingOutputs() 140 FILE* fp = fopen(stamp_filename.c_str(), "rb"); in CheckStep1() 143 printf("%s: %s\n", stamp_filename.c_str(), strerror(errno)); in CheckStep1() 168 fprintf(stderr, "%s was modified, ignored.\n", s.c_str()); in CheckStep1() 174 printf("file %s: ignored (%f)\n", s.c_str(), ts); in CheckStep1() 178 printf("file %s: dirty (%f)\n", s.c_str(), ts); in CheckStep1() 180 fprintf(stderr, "%s was modified, regenerating...\n", s.c_str()); in CheckStep1() 183 printf("file %s: clean (%f)\n", s.c_str(), ts); in CheckStep1() [all …]
|
D | exec.cc | 57 needed_by ? needed_by->output.c_str() : "(null)", in ExecNode() 58 n->output.c_str()); in ExecNode() 63 double output_ts = GetTimestamp(n->output.c_str()); in ExecNode() 65 LOG("ExecNode: %s for %s", n->output.c_str(), in ExecNode() 66 needed_by ? needed_by->output.c_str() : "(null)"); in ExecNode() 71 n->output.c_str(), needed_by->output.c_str()); in ExecNode() 73 ERROR("*** No rule to make target '%s'.", n->output.c_str()); in ExecNode() 103 printf("%s\n", command->cmd.c_str()); in ExecNode() 108 int result = RunCommand(shell_, shellflag_, command->cmd.c_str(), in ExecNode() 110 printf("%s", out.c_str()); in ExecNode() [all …]
|
D | log.h | 40 fprintf(stderr, "*kati*: %s\n", StringPrintf(args).c_str()); \ 47 fprintf(stderr, "*kati*: %s\n", StringPrintf(args).c_str()); \ 52 fprintf(stderr, "%s: %s\n", StringPrintf(__VA_ARGS__).c_str(), \ 64 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 70 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 76 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 93 ColorWarnLog(LOCF(loc), StringPrintf(__VA_ARGS__).c_str()); \ 99 ColorWarnLog(LOCF(loc), StringPrintf(__VA_ARGS__).c_str()); \ 104 ColorErrorLog(LOCF(loc), StringPrintf(__VA_ARGS__).c_str()); \
|
D | stmt.cc | 30 Value::DebugString(lhs).c_str(), sep, in DebugString() 31 Value::DebugString(rhs).c_str(), LOCF(loc())); in DebugString() 65 Value::DebugString(lhs).c_str(), Value::DebugString(rhs).c_str(), in DebugString() 66 NoLineBreak(orig_rhs.as_string()).c_str(), opstr, dirstr, LOCF(loc())); in DebugString() 84 Value::DebugString(expr).c_str(), LOCF(loc())); in DebugString() 104 opstr, Value::DebugString(lhs).c_str(), in DebugString() 105 Value::DebugString(rhs).c_str(), true_stmts.size(), in DebugString() 111 Value::DebugString(expr).c_str(), LOCF(loc())); in DebugString() 116 Value::DebugString(expr).c_str(), is_export, LOCF(loc())); in DebugString() 120 return StringPrintf("ParseErrorStmt(%s, loc=%s:%d)", msg.c_str(), in DebugString()
|
D | find_test.cc | 61 fprintf(stderr, "Failed to run `%s`\n", cmd.c_str()); in Run() 75 fprintf(stderr, "Find emulator cannot parse `%s`\n", cmd.c_str()); in CompareFind() 80 fprintf(stderr, "Find emulator cannot parse `%s`\n", cmd.c_str()); in CompareFind() 91 fprintf(stderr, "Failed to match `%s`:\n", cmd.c_str()); in CompareFind() 101 : (*nativeIter++).as_string().c_str(), in CompareFind() 104 : (*emulatedIter++).as_string().c_str()); in CompareFind() 116 fprintf(stderr, "Expected parse failure for `%s`\n", cmd.c_str()); in ExpectParseFailure()
|
D | file.cc | 31 int fd = open(filename.c_str(), O_RDONLY); in Makefile() 38 PERROR("fstat failed for %s", filename.c_str()); in Makefile() 48 PERROR("read failed for %s", filename.c_str()); in Makefile() 53 PERROR("close failed for %s", filename.c_str()); in Makefile()
|
D | rule.cc | 84 target.c_str()); in ParsePrerequisites() 104 v.push_back(StringPrintf("outputs=[%s]", JoinSymbols(outputs, ",").c_str())); in DebugString() 105 v.push_back(StringPrintf("inputs=[%s]", JoinSymbols(inputs, ",").c_str())); in DebugString() 108 JoinSymbols(order_only_inputs, ",").c_str())); in DebugString() 112 JoinSymbols(output_patterns, ",").c_str())); in DebugString() 119 v.push_back(StringPrintf("cmds=[%s]", JoinValues(cmds, ",").c_str())); in DebugString()
|
D | regen_dump.cc | 73 printf("%s\n", s.c_str()); in main() 84 printf("undefined: %s\n", s.c_str()); in main() 98 printf("%s: %s\n", name.c_str(), val.c_str()); in main()
|
D | main.cc | 104 JoinStrings(g_flags.subkati_args, " ").c_str()); in ReadBootstrapMakefile() 107 StringPrintf("MAKECMDGOALS?=%s\n", JoinSymbols(targets, " ").c_str()); in ReadBootstrapMakefile() 255 LOG("%s", stmt->DebugString().c_str()); in Run() 273 LOG("%s", stmt->DebugString().c_str()); in Run() 280 err->msg.c_str()); in Run() 304 LOG("setenv(%s, %s)", name.c_str(), value.c_str()); in Run() 305 setenv(name.c_str(), value.c_str(), 1); in Run() 307 LOG("unsetenv(%s)", name.c_str()); in Run() 308 unsetenv(name.c_str()); in Run()
|
D | ninja.cc | 118 ERROR("Cannot find the depfile in %s", cmd.as_string().c_str()); in GetDepfileFromCommandImpl() 147 ERROR("Cannot find removal of .d file: %s", cmd->c_str()); in GetDepfileFromCommand() 204 unlink(GetNinjaStampFilename().c_str()); in Generate() 413 const char* in = c->cmd.c_str(); in GenShellScript() 499 use_local_pool |= GenShellScript(node->output.c_str(), commands, &cmd_buf, in EmitNode() 564 *o << " " << EscapeBuildTarget(d.first).c_str(); in EmitBuild() 569 *o << " " << EscapeBuildTarget(d.first).c_str(); in EmitBuild() 590 fp_ = fopen(GetNinjaFilename().c_str(), "wb"); in GenerateNinja() 600 fprintf(fp_, "# %s=%s\n", p.first.c_str(), p.second.c_str()); in GenerateNinja() 634 fprintf(fp_, "%s", buf.str().c_str()); in GenerateNinja() [all …]
|
D | dep.cc | 159 ERROR("*** implicit output `%s' on phony target `%s'", output.c_str(), in SetImplicitOutput() 160 p.c_str()); in SetImplicitOutput() 166 output.c_str(), p.c_str(), parent_sym.c_str(), in SetImplicitOutput() 172 output.c_str()); in SetImplicitOutput() 183 output.c_str()); in AddRule() 192 output.c_str(), LOCF(primary_rule->cmd_loc())); in AddRule() 195 output.c_str()); in AddRule() 198 output.c_str()); in AddRule() 435 ERROR_LOC(rule->loc, "*** suffix rules are obsolete: %s", output.c_str()); in PopulateSuffixRule() 438 output.c_str()); in PopulateSuffixRule() [all …]
|
D | eval.cc | 95 lhs.c_str())); in EvalRHS() 122 LOG("Assign: %s=%s", lhs.c_str(), result->DebugString().c_str()); in EvalRHS() 140 StringPrintf("*** unknown variable: %s", name.as_string().c_str())); in EvalAssign() 157 lhs.c_str())); in EvalAssign() 201 Error(StringPrintf("*** unknown variable: %s", name.as_string().c_str())); in MarkVarsReadonly() 343 LOG("Rule: %s", rule->DebugString().c_str()); in EvalRule() 362 LOG("Command: %s", Value::DebugString(stmt->expr).c_str()); in EvalCommand() 401 LOG("%s", a->DebugString().c_str()); in EvalIf() 411 Error(StringPrintf("%s does not exist", fname.c_str())); in DoInclude() 418 LOG("%s", stmt->DebugString().c_str()); in DoInclude() [all …]
|
D | fileutil.cc | 40 if (stat(filename.as_string().c_str(), &st) < 0) { in Exists() 57 if (stat(filename.as_string().c_str(), &st) < 0) { in GetTimestamp() 76 argv[2] = cmd_with_shell.c_str(); in RunCommand() 79 argv[0] = shell.c_str(); in RunCommand() 80 argv[1] = shellflag.c_str(); in RunCommand() 81 argv[2] = cmd.c_str(); in RunCommand()
|
D | find.cc | 66 return fnmatch(name_.c_str(), Basename(path).data(), 0) == 0; in IsTrue() 262 path->c_str(), srdt.conflicted().c_str()); in RunFind() 368 FIND_WARN_LOC(loc, "FindEmulator: find: `%s': %s", path->c_str(), in RunFind() 375 LOG("FindEmulator does not support %s", path->c_str()); in RunFind() 616 long d = strtol(depth_str.c_str(), &endptr, 10); in ParseFind() 684 long d = strtol(mindepth_str.c_str(), &endptr, 10); in ParseFindLeaves() 797 cmd.c_str()); in HandleFind() 815 cmd.c_str()); in HandleFind() 821 cmd.c_str()); in HandleFind() 831 cmd.c_str()); in HandleFind() [all …]
|
D | func.cc | 58 const char* in = cmd->c_str(); in StripShellComment() 224 n_str.c_str())); in WordFunc() 246 s_str.c_str())); in WordlistFunc() 251 s_str.c_str())); in WordlistFunc() 259 e_str.c_str())); in WordlistFunc() 474 text->c_str()); in EvalFunc() 479 LOG("%s", stmt->DebugString().c_str()); in EvalFunc() 506 LOG("ShellFunc: %s", cmd.c_str()); in ShellFuncImpl() 529 COLLECT_STATS_WITH_SLOW_REPORT("func shell time", cmd.c_str()); in ShellFuncImpl() 536 ERROR("FindEmulator is broken: %s\n%s\nvs\n%s", cmd.c_str(), s->c_str(), in ShellFuncImpl() [all …]
|
D | log.cc | 37 filtered.as_string().c_str()); in ColorErrorLog() 55 line, filtered.as_string().c_str()); in ColorWarnLog()
|
D | stats.cc | 54 LOG_STAT(" %5.3f %s", v[i].first.c_str(), v[i].second); in DumpTop() 103 LOG_STAT("%s", st->String().c_str()); in ReportAllStats()
|
D | var.cc | 73 ev->Error(StringPrintf("*** %s is obsolete%s.", sym.c_str(), in Used() 76 WARN_LOC(ev->loc(), "%s has been deprecated%s.", sym.c_str(), in Used() 83 return it == diagnostic_messages_.end() ? "" : it->second.c_str(); in diagnostic_message_text()
|
D | expr.cc | 133 return StringPrintf("SymRef(%s)", name_.c_str()); in DebugString_() 157 return StringPrintf("VarRef(%s)", Value::DebugString(name_).c_str()); in DebugString_() 194 return StringPrintf("VarSubst(%s:%s=%s)", Value::DebugString(name_).c_str(), in DebugString_() 195 Value::DebugString(pat_).c_str(), in DebugString_() 196 Value::DebugString(subst_).c_str()); in DebugString_() 216 LOG("Invoke func %s(%s)", name(), JoinValues(args_, ",").c_str()); in Eval() 224 JoinValues(args_, ",").c_str()); in DebugString_()
|
D | rule.h | 61 void Error(const string& msg) { ERROR_LOC(loc, "%s", msg.c_str()); } in Error()
|
/build/make/tools/atree/ |
D | fs.cpp | 25 err = stat(path.c_str(), &st); in is_dir() 32 int err = unlink(path.c_str()); in remove_file() 34 fprintf(stderr, "error deleting file %s (%s)\n", path.c_str(), in remove_file() 47 DIR *d = opendir(path.c_str()); in remove_recursively() 50 path.c_str(), strerror(errno)); in remove_recursively() 89 err = rmdir(path.c_str()); in remove_recursively() 91 fprintf(stderr, "error deleting directory %s (%s)\n", path.c_str(), in remove_recursively() 114 err = stat(p.c_str(), &st); in mkdir_recursively() 116 err = mkdir(p.c_str(), 0770); in mkdir_recursively() 119 path.c_str(), strerror(errno)); in mkdir_recursively() [all …]
|
D | atree.cpp | 193 printf("-f \"%s\"\n", it->c_str()); in main() 197 printf("-I \"%s\"\n", it->c_str()); in main() 199 printf("-o \"%s\"\n", g_outputBase.c_str()); in main() 274 debug_printf("deleting %s\n", it->c_str()); in main() 288 debug_printf("remove %s\n", it->outPath.c_str()); in main() 300 debug_printf("mkdir %s\n", it->c_str()); in main() 316 it->sourcePath.c_str(), it->sourceMod, in main() 317 it->outPath.c_str(), it->outMod); in main() 330 debug_printf("strip %s\n", it->outPath.c_str()); in main() 341 FILE *f = fopen(g_dependency.c_str(), "w"); in main() [all …]
|
D | files.cpp | 167 it->first.c_str(), it->second.c_str()); in replace_variables() 190 f = fopen(filename.c_str(), "r"); in read_list_file() 193 filename.c_str(), strerror(errno)); in read_list_file() 201 filename.c_str(), strerror(errno)); in read_list_file() 211 filename.c_str(), strerror(errno)); in read_list_file() 226 filename.c_str(), strerror(errno)); in read_list_file() 264 printf("'%s' ", words[k].c_str()); in read_list_file() 305 filename.c_str(), i+1, p, errstr.c_str()); in read_list_file() 347 err = stat(full.c_str(), &st); in locate() 359 rec->listFile.c_str(), rec->listLine, rec->sourceName.c_str()); in locate() [all …]
|
/build/soong/cc/libbuildversion/tests/ |
D | build_version_test.cpp | 26 printf("binary version: %s\n", android::build::GetBuildNumber().c_str()); in TEST() 33 printf("shared library version: %s\n", LibGetBuildNumber().c_str()); in TEST()
|
/build/make/tools/makeparallel/ |
D | makeparallel.cpp | 110 getopt_argv.push_back(strdup(v.c_str())); in ParseMakeflags() 342 args.push_back(strdup(jarg.c_str())); in main() 350 args.push_back(strdup(jarg.c_str())); in main()
|