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.sh63 local src_dir=$1
72 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
89 local src_dir=$2
95 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
107 local src_dir=$1
114 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
195 src_dir="linux-stable"
197 src_dir="common"
202 verify_modified_hdrs "${KERNEL_DIR}/${src_dir}/include/scsi" \
204 "${KERNEL_DIR}/${src_dir}"
[all …]
Dclean_header.py159 src_dir = get_kernel_headers_original_dir() variable
166 src_dir = arg variable
176 src_file = os.path.join(src_dir, path)
188 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.cpp416 bool preprocessHeaders(const std::string& dst_dir, const std::string& src_dir, in preprocessHeaders() argument
441 char* fts_paths[2] = { const_cast<char*>(src_dir.c_str()), nullptr }; in preprocessHeaders()
445 err(1, "failed to open directory %s", src_dir.c_str()); in preprocessHeaders()
450 if (!path.startswith(src_dir)) { in preprocessHeaders()
451 err(1, "path '%s' doesn't start with source dir '%s'", ent->fts_path, src_dir.c_str()); in preprocessHeaders()
458 std::string rel_path = path.substr(src_dir.length() + 1); in preprocessHeaders()
465 errx(1, "failed to copy '%s/%s' to '%s'", src_dir.c_str(), path.str().c_str(), in preprocessHeaders()
491 if (!file_path.startswith(src_dir)) { in preprocessHeaders()
492 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str()); in preprocessHeaders()
496 llvm::StringRef rel_path = file_path.substr(src_dir.size(), file_path.size() - src_dir.size()); in preprocessHeaders()