Searched refs:src_dir (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/kernel/tools/ |
D | generate_uapi_headers.sh | 64 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 201 src_dir="linux-stable" 208 cd ${src_dir} 214 elif [[ ! -d "${KERNEL_DIR}" ]] || [[ ! -d "${KERNEL_DIR}/${src_dir}" ]]; then 215 echo "The kernel directory $KERNEL_DIR or $KERNEL_DIR/${src_dir} does not exist." [all …]
|
D | clean_header.py | 156 src_dir = None variable 163 src_dir = arg variable 173 if src_dir is None: 174 src_dir = get_kernel_headers_original_dir() variable 182 src_file = os.path.join(src_dir, path) 199 src_file = os.path.join(src_dir, path)
|
D | update_all.py | 33 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/ |
D | Preprocessor.cpp | 410 bool preprocessHeaders(const std::string& dst_dir, const std::string& src_dir, in preprocessHeaders() argument 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() 444 if (!path.startswith(src_dir)) { in preprocessHeaders() 445 err(1, "path '%s' doesn't start with source dir '%s'", ent->fts_path, src_dir.c_str()); in preprocessHeaders() 452 std::string rel_path = path.substr(src_dir.length() + 1); in preprocessHeaders() 459 errx(1, "failed to copy '%s/%s' to '%s'", src_dir.c_str(), path.str().c_str(), in preprocessHeaders() 485 if (!file_path.startswith(src_dir)) { in preprocessHeaders() 486 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str()); in preprocessHeaders() 490 llvm::StringRef rel_path = file_path.substr(src_dir.size(), file_path.size() - src_dir.size()); in preprocessHeaders()
|