Home
last modified time | relevance | path

Searched refs:src_dir (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/kernel/tools/
Dgenerate_uapi_headers.sh64 local src_dir=$1
73 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
90 local src_dir=$2
96 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
108 local src_dir=$1
115 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
Dclean_header.py157 src_dir = None variable
164 src_dir = arg variable
174 if src_dir is None:
175 src_dir = get_kernel_headers_original_dir() variable
183 src_file = os.path.join(src_dir, path)
200 src_file = os.path.join(src_dir, path)
Dupdate_all.py33 src_dir = os.path.normpath(os.path.join(original_dir, src_rel_dir))
34 src_dir_len = len(src_dir) + 1
39 for root, _, files in os.walk(src_dir):
/bionic/tools/versioner/src/
DPreprocessor.cpp407 bool preprocessHeaders(const std::string& dst_dir, const std::string& src_dir, in preprocessHeaders() argument
432 char* fts_paths[2] = { const_cast<char*>(src_dir.c_str()), nullptr }; in preprocessHeaders()
436 err(1, "failed to open directory %s", src_dir.c_str()); in preprocessHeaders()
441 if (!path.startswith(src_dir)) { in preprocessHeaders()
442 err(1, "path '%s' doesn't start with source dir '%s'", ent->fts_path, src_dir.c_str()); in preprocessHeaders()
449 std::string rel_path = path.substr(src_dir.length() + 1).str(); in preprocessHeaders()
456 errx(1, "failed to copy '%s/%s' to '%s'", src_dir.c_str(), path.str().c_str(), in preprocessHeaders()
482 if (!file_path.startswith(src_dir)) { in preprocessHeaders()
483 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str()); in preprocessHeaders()
487 llvm::StringRef rel_path = file_path.substr(src_dir.size(), file_path.size() - src_dir.size()); in preprocessHeaders()