Home
last modified time | relevance | path

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

1234567891011

/aosp_15_r20/external/rust/android-crates-io/crates/libbpf-sys/
Dbuild.rs22 fn generate_bindings(src_dir: path::PathBuf) { in generate_bindings()
54 let out_dir = &src_dir.join("src"); in generate_bindings()
85 .clang_arg(format!("-I{}", src_dir.join("libbpf/include").display())) in generate_bindings()
88 src_dir.join("libbpf/include/uapi").display() in generate_bindings()
114 let src_dir = path::PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap()); in main() localVariable
116 generate_bindings(src_dir.clone()); in main()
166 make_zlib(compiler.as_ref().unwrap(), &src_dir, &out_dir); in main()
167 cflags.push(&format!(" -I{}/zlib/", src_dir.display())); in main()
171 make_elfutils(compiler.as_ref().unwrap(), &src_dir, &out_dir); in main()
172 cflags.push(&format!(" -I{}/elfutils/libelf/", src_dir.display())); in main()
[all …]
/aosp_15_r20/prebuilts/sdk/update_prebuilts/
H A Dtest_utils.py15 src_dir = os.path.join(tmpdir, "src")
16 src_dir_b = os.path.join(src_dir, "b")
20 os.mkdir(src_dir)
27 utils.cp(src_dir, dst_dir)
38 src_dir = os.path.join(tmpdir, "src")
39 src_dir_b = os.path.join(src_dir, "b")
42 os.mkdir(src_dir)
47 utils.cp(src_dir, dst_dir)
58 src_dir = os.path.join(tmpdir, "src")
59 src_dir_b = os.path.join(src_dir, "b")
[all …]
/aosp_15_r20/external/libffi/
H A Dgenerate-darwin-source-and-headers.py21 src_dir = 'x86' variable in simulator_platform
34 src_dir = 'x86' variable in simulator64_platform
47 src_dir = 'arm' variable in device_platform
60 src_dir = 'aarch64' variable in device64_platform
70 src_dir = 'x86' variable in desktop32_platform
86 src_dir = 'x86' variable in desktop64_platform
98 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): argument
109 with open(os.path.join(src_dir, filename)) as in_file:
120 def list_files(src_dir, pattern=None, filelist=None): argument
121 if pattern: filelist = glob.iglob(os.path.join(src_dir, pattern))
[all …]
/aosp_15_r20/external/python/cpython2/Modules/_ctypes/libffi/
Dgenerate-darwin-source-and-headers.py21 src_dir = 'x86' variable in simulator_platform
34 src_dir = 'x86' variable in simulator64_platform
47 src_dir = 'arm' variable in device_platform
60 src_dir = 'aarch64' variable in device64_platform
70 src_dir = 'x86' variable in desktop32_platform
86 src_dir = 'x86' variable in desktop64_platform
100 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): argument
108 with open(os.path.join(src_dir, filename)) as in_file:
119 def list_files(src_dir, pattern=None, filelist=None): argument
120 if pattern: filelist = glob.iglob(os.path.join(src_dir, pattern))
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_shutil.py472 src_dir = self.mkdtemp()
474 self.addCleanup(shutil.rmtree, src_dir)
476 write_file((src_dir, 'test.txt'), '123')
477 os.mkdir(os.path.join(src_dir, 'test_dir'))
478 write_file((src_dir, 'test_dir', 'test.txt'), '456')
480 shutil.copytree(src_dir, dst_dir)
491 src_dir = self.mkdtemp()
493 self.addCleanup(shutil.rmtree, src_dir)
496 write_file((src_dir, 'nonexisting.txt'), '123')
497 os.mkdir(os.path.join(src_dir, 'existing_dir'))
[all …]
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_shutil.py156 src_dir = tempfile.mkdtemp()
159 write_data(os.path.join(src_dir, 'test.txt'), '123')
161 os.mkdir(os.path.join(src_dir, 'test_dir'))
162 write_data(os.path.join(src_dir, 'test_dir', 'test.txt'), '456')
165 shutil.copytree(src_dir, dst_dir)
176 os.path.join(src_dir, 'test.txt'),
178 os.path.join(src_dir, 'test_dir', 'test.txt'),
183 for path in (src_dir,
205 src_dir = tempfile.mkdtemp()
208 write_data(join(src_dir, 'test.txt'), '123')
[all …]
/aosp_15_r20/external/clang/tools/scan-build-py/libear/
H A D__init__.py24 src_dir = os.path.dirname(os.path.realpath(__file__))
25 toolset = make_toolset(src_dir)
45 os.path.join(src_dir, 'config.h.in'),
82 def __init__(self, src_dir): argument
83 self.src_dir = src_dir
114 def __init__(self, src_dir): argument
115 Toolset.__init__(self, src_dir)
129 def __init__(self, src_dir): argument
130 Toolset.__init__(self, src_dir)
144 def __init__(self, src_dir): argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/lib/libear/
D__init__.py23 src_dir = os.path.dirname(os.path.realpath(__file__))
24 toolset = make_toolset(src_dir)
45 os.path.join(src_dir, "config.h.in"), os.path.join(dst_dir, "config.h")
83 def __init__(self, src_dir): argument
84 self.src_dir = src_dir
115 def __init__(self, src_dir): argument
116 Toolset.__init__(self, src_dir)
130 def __init__(self, src_dir): argument
131 Toolset.__init__(self, src_dir)
145 def __init__(self, src_dir): argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/lib/libear/
D__init__.py23 src_dir = os.path.dirname(os.path.realpath(__file__))
24 toolset = make_toolset(src_dir)
45 os.path.join(src_dir, "config.h.in"), os.path.join(dst_dir, "config.h")
83 def __init__(self, src_dir): argument
84 self.src_dir = src_dir
115 def __init__(self, src_dir): argument
116 Toolset.__init__(self, src_dir)
130 def __init__(self, src_dir): argument
131 Toolset.__init__(self, src_dir)
145 def __init__(self, src_dir): argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/lib/libear/
D__init__.py23 src_dir = os.path.dirname(os.path.realpath(__file__))
24 toolset = make_toolset(src_dir)
45 os.path.join(src_dir, "config.h.in"), os.path.join(dst_dir, "config.h")
83 def __init__(self, src_dir): argument
84 self.src_dir = src_dir
115 def __init__(self, src_dir): argument
116 Toolset.__init__(self, src_dir)
130 def __init__(self, src_dir): argument
131 Toolset.__init__(self, src_dir)
145 def __init__(self, src_dir): argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/lib/libear/
D__init__.py23 src_dir = os.path.dirname(os.path.realpath(__file__))
24 toolset = make_toolset(src_dir)
45 os.path.join(src_dir, "config.h.in"), os.path.join(dst_dir, "config.h")
83 def __init__(self, src_dir): argument
84 self.src_dir = src_dir
115 def __init__(self, src_dir): argument
116 Toolset.__init__(self, src_dir)
130 def __init__(self, src_dir): argument
131 Toolset.__init__(self, src_dir)
145 def __init__(self, src_dir): argument
[all …]
/aosp_15_r20/external/cronet/testing/scripts/
H A Dcheck_static_initializers.py72 def get_mod_init_count(src_dir, executable, hermetic_xcode_path): argument
73 show_mod_init_func = os.path.join(src_dir, 'tools', 'mac',
91 def main_ios(src_dir, hermetic_xcode_path): argument
98 stdout, si_count = get_mod_init_count(src_dir, chromium_executable,
109 def main_mac(src_dir, hermetic_xcode_path, allow_coverage_initializer = False): argument
122 stdout, si_count = get_mod_init_count(src_dir,
137 def main_linux(src_dir): argument
144 dump_static_initializers = os.path.join(src_dir, 'tools', 'linux',
173 src_dir = args.paths['checkout']
174 build_dir = os.path.join(src_dir, 'out', args.build_config_fs)
[all …]
/aosp_15_r20/device/google/cuttlefish_vmm/qemu/scripts/
Drebuild.py322 def copy_dir(self, src_dir: Path, dst_dir: Path):
325 ["cp", "-rfL", "--no-target-directory", src_dir, dst_dir], None, None
487 src_dir = src_rust_dir / d
489 build.copy_dir(src_dir, dst_dir)
600 src_dir = build.third_party_dir / lib_name
620 src_dir,
668 src_dir = build.third_party_dir / "glib"
688 src_dir,
701 src_dir = build.third_party_dir / "pixman"
713 src_dir,
[all …]
/aosp_15_r20/external/grpc-grpc/
H A DgRPC-RxLibrary.podspec47 src_dir = 'src/objective-c/RxLibrary'
49 ss.header_mappings_dir = "#{src_dir}"
50 ss.source_files = "#{src_dir}/*.h"
51 ss.public_header_files = "#{src_dir}/*.h"
55 ss.header_mappings_dir = "#{src_dir}"
56 ss.source_files = "#{src_dir}/*.m", "#{src_dir}/**/*.{h,m}"
57 ss.private_header_files = "#{src_dir}/**/*.h"
62 src_dir = 'src/objective-c/RxLibrary'
63 s.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
64 s.private_header_files = "#{src_dir}/private/*.h"
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/
DgRPC-RxLibrary.podspec47 src_dir = 'src/objective-c/RxLibrary'
49 ss.header_mappings_dir = "#{src_dir}"
50 ss.source_files = "#{src_dir}/*.h"
51 ss.public_header_files = "#{src_dir}/*.h"
55 ss.header_mappings_dir = "#{src_dir}"
56 ss.source_files = "#{src_dir}/*.m", "#{src_dir}/**/*.{h,m}"
57 ss.private_header_files = "#{src_dir}/**/*.h"
62 src_dir = 'src/objective-c/RxLibrary'
63 s.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
64 s.private_header_files = "#{src_dir}/private/*.h"
[all …]
/aosp_15_r20/external/grpc-grpc/templates/
H A DgRPC-RxLibrary.podspec.template49 src_dir = 'src/objective-c/RxLibrary'
51 ss.header_mappings_dir = "#{src_dir}"
52 ss.source_files = "#{src_dir}/*.h"
53 ss.public_header_files = "#{src_dir}/*.h"
57 ss.header_mappings_dir = "#{src_dir}"
58 ss.source_files = "#{src_dir}/*.m", "#{src_dir}/**/*.{h,m}"
59 ss.private_header_files = "#{src_dir}/**/*.h"
64 src_dir = 'src/objective-c/RxLibrary'
65 s.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
66 s.private_header_files = "#{src_dir}/private/*.h"
[all …]
/aosp_15_r20/tools/asuite/aidegen/lib/
H A Dsource_locator.py268 src_dir = None
275 src_dir = self._get_source_folder(src_item)
279 if src_dir:
281 self._switch_repackaged(src_dir))
291 def _add_to_source_or_test_dirs(self, src_dir): argument
297 if (src_dir not in _IGNORE_DIRS and src_dir not in self.src_dirs
298 and src_dir not in self.test_dirs):
299 if self._is_test_module(src_dir):
300 self.test_dirs.append(src_dir)
302 self.src_dirs.append(src_dir)
[all …]
/aosp_15_r20/external/libchrome/build/
H A Dlandmines.py39 def get_build_dir(src_dir): argument
55 return os.path.abspath(os.path.join(src_dir, output_dir))
58 def clobber_if_necessary(new_landmines, src_dir): argument
60 out_dir = get_build_dir(src_dir)
61 landmines_path = os.path.normpath(os.path.join(src_dir, '.landmines'))
112 if options.src_dir:
113 if not os.path.isdir(options.src_dir):
114 parser.error('Cannot find source root dir at %s' % options.src_dir)
115 logging.debug('Overriding source root dir. Using: %s', options.src_dir)
117 options.src_dir = \
[all …]
/aosp_15_r20/external/cronet/build/
H A Dlandmines.py39 def get_build_dir(src_dir): argument
52 return os.path.abspath(os.path.join(src_dir, output_dir))
55 def clobber_if_necessary(new_landmines, src_dir, landmines_path): argument
57 out_dir = get_build_dir(src_dir)
112 if options.src_dir:
113 if not os.path.isdir(options.src_dir):
114 parser.error('Cannot find source root dir at %s' % options.src_dir)
115 logging.debug('Overriding source root dir. Using: %s', options.src_dir)
117 options.src_dir = \
121 options.landmine_scripts = [os.path.join(options.src_dir, 'build',
[all …]
/aosp_15_r20/external/angle/build/
H A Dlandmines.py39 def get_build_dir(src_dir): argument
52 return os.path.abspath(os.path.join(src_dir, output_dir))
55 def clobber_if_necessary(new_landmines, src_dir, landmines_path): argument
57 out_dir = get_build_dir(src_dir)
112 if options.src_dir:
113 if not os.path.isdir(options.src_dir):
114 parser.error('Cannot find source root dir at %s' % options.src_dir)
115 logging.debug('Overriding source root dir. Using: %s', options.src_dir)
117 options.src_dir = \
121 options.landmine_scripts = [os.path.join(options.src_dir, 'build',
[all …]
/aosp_15_r20/external/zlib/google/
H A Dzip.cc49 explicit DirectFileAccessor(base::FilePath src_dir) in DirectFileAccessor() argument
50 : src_dir_(std::move(src_dir)) {} in DirectFileAccessor()
125 DirectFileAccessor default_accessor(params.src_dir); in Zip()
156 params->filter_callback.Run(params->src_dir.Append(path))); in Zip()
246 bool ZipWithFilterCallback(const base::FilePath& src_dir, in ZipWithFilterCallback() argument
249 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
250 return Zip({.src_dir = src_dir, in ZipWithFilterCallback()
255 bool Zip(const base::FilePath& src_dir, in Zip() argument
258 return Zip({.src_dir = src_dir, in Zip()
264 bool ZipFiles(const base::FilePath& src_dir, in ZipFiles() argument
[all …]
H A Dzip_unittest.cc329 base::FilePath src_dir = temp_dir.GetPath().AppendASCII("input"); in TestTimeStamp() local
332 base::FilePath src_file = src_dir.AppendASCII("test.txt"); in TestTimeStamp()
335 EXPECT_TRUE(base::CreateDirectory(src_dir)); in TestTimeStamp()
354 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TestTimeStamp()
1011 base::FilePath src_dir = GetDataDirectory().AppendASCII("test"); in TEST_F() local
1017 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/true)); in TEST_F()
1022 base::FilePath src_dir = GetDataDirectory().AppendASCII("test"); in TEST_F() local
1028 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/false)); in TEST_F()
1033 base::FilePath src_dir = GetDataDirectory().AppendASCII("test"); in TEST_F() local
1040 base::CopyDirectory(src_dir, src_dir_russian, true); in TEST_F()
[all …]
/aosp_15_r20/external/tflite-support/third_party/tensorflow/
H A Dtf_configure.bzl59 def _read_dir(repository_ctx, src_dir):
68 src_dir: directory to find files from.
74 src_dir = src_dir.replace("/", "\\")
77 ["cmd.exe", "/c", "dir", src_dir, "/b", "/s", "/a-d"],
87 ["find", src_dir, "-follow", "-type", "f"],
128 src_dir,
136 If src_dir is passed, files will be read from the given directory; otherwise
141 src_dir: source directory.
144 src_files: list of source files instead of src_dir.
159 if src_dir != None:
[all …]
/aosp_15_r20/external/python/setuptools/setuptools/command/
Dbuild_py.py82 src_dir = self.get_package_dir(package)
89 os.path.relpath(file, src_dir)
90 for file in self.find_data_files(package, src_dir)
92 return package, src_dir, build_dir, filenames
94 def find_data_files(self, package, src_dir): argument
99 src_dir,
109 return self.exclude_data_files(package, src_dir, files)
113 for package, src_dir, build_dir, filenames in self.data_files:
117 srcfile = os.path.join(src_dir, filename)
189 def exclude_data_files(self, package, src_dir, files): argument
[all …]
/aosp_15_r20/external/perfetto/infra/luci/recipes/
H A Dperfetto.py67 def __init__(self, src_dir): argument
68 self.src_dir = src_dir
137 out_dir = ctx.src_dir.join('out', platform)
142 with api.context(cwd=ctx.src_dir), api.macos_sdk(), api.windows_sdk():
158 with api.step.nest('Artifact upload'), api.context(cwd=ctx.src_dir):
165 src_dir = builder_cache_dir.join('perfetto')
168 ctx = BuildContext(src_dir)
172 api.file.ensure_directory('ensure source dir', src_dir)
173 api.step('init', ['git', 'init', src_dir])
174 with api.context(cwd=src_dir):
[all …]

1234567891011