Home | History | Annotate | Download | only in src

Lines Matching refs:src_dir

417 bool preprocessHeaders(const std::string& dst_dir, const std::string& src_dir,
442 char* fts_paths[2] = { const_cast<char*>(src_dir.c_str()), nullptr };
446 err(1, "failed to open directory %s", src_dir.c_str());
451 if (!path.startswith(src_dir)) {
452 err(1, "path '%s' doesn't start with source dir '%s'", ent->fts_path, src_dir.c_str());
459 std::string rel_path = path.substr(src_dir.length() + 1);
466 errx(1, "failed to copy '%s/%s' to '%s'", src_dir.c_str(), path.str().c_str(),
492 if (!file_path.startswith(src_dir)) {
493 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str());
497 llvm::StringRef rel_path = file_path.substr(src_dir.size(), file_path.size() - src_dir.size());