• Home
  • Raw
  • Download

Lines Matching refs:c_str

75   D("Calculating required guard for %s:\n", declaration.name.c_str());  in calculateRequiredGuard()
76 D(" Declaration availability: %s\n", to_string(decl_av).c_str()); in calculateRequiredGuard()
92 arch_visibility_str.c_str()); in calculateRequiredGuard()
106 D(" Calculated result: %s\n", to_string(result).c_str()); in calculateRequiredGuard()
113 std::ifstream is(path.c_str()); in readFileLines()
126 err(1, "failed to create directory '%s'", dirname(path).c_str()); in writeFileLines()
129 std::ofstream os(path.c_str(), std::ios_base::out | std::ios_base::trunc); in writeFileLines()
163 D("Generating guard for availability: %s\n", to_string(avail).c_str()); in generateGuardCondition()
168 to_string(avail).c_str()); in generateGuardCondition()
174 to_string(avail).c_str()); in generateGuardCondition()
189 D(" Checking arch set '%s'\n", arch_expr.c_str()); in generateGuardCondition()
202 to_string(*it.second.begin()).c_str(), to_string(arch).c_str()); in generateGuardCondition()
214 D(" Generated expression '%s'\n", expressions.rbegin()->c_str()); in generateGuardCondition()
235 errx(1, "generated empty guard for availability %s", to_string(avail).c_str()); in generateGuardCondition()
354 D("Unexpected output after /: %s\n", line.substr(pos).c_str()); in mergeGuards()
362 D("Not merging blocks %s and %s\n", to_string(current->first).c_str(), in mergeGuards()
363 to_string(next->first).c_str()); in mergeGuards()
369 D("Merging blocks %s and %s\n", to_string(current->first).c_str(), in mergeGuards()
370 to_string(next->first).c_str()); in mergeGuards()
405 printf("Preprocessing %s...\n", output_path.c_str()); in rewriteFile()
435 char* fts_paths[2] = { const_cast<char*>(src_dir.c_str()), nullptr }; in preprocessHeaders()
439 err(1, "failed to open directory %s", src_dir.c_str()); in preprocessHeaders()
445 err(1, "path '%s' doesn't start with source dir '%s'", ent->fts_path, src_dir.c_str()); in preprocessHeaders()
456 errx(1, "failed to ensure existence of directory '%s'", parent_path.str().c_str()); in preprocessHeaders()
459 errx(1, "failed to copy '%s/%s' to '%s'", src_dir.c_str(), path.str().c_str(), in preprocessHeaders()
460 dst_path.c_str()); in preprocessHeaders()
486 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str()); in preprocessHeaders()