Home
last modified time | relevance | path

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

1234

/external/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 …]
/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 …]
/external/zlib/google/
Dzip.cc53 explicit DirectFileAccessor(base::FilePath src_dir) : src_dir_(src_dir) {} in DirectFileAccessor() argument
103 ZipParams::ZipParams(const base::FilePath& src_dir, in ZipParams() argument
105 : src_dir_(src_dir), in ZipParams()
107 file_accessor_(new DirectFileAccessor(src_dir)) {} in ZipParams()
111 ZipParams::ZipParams(const base::FilePath& src_dir, int dest_fd) in ZipParams() argument
112 : src_dir_(src_dir), in ZipParams()
114 file_accessor_(new DirectFileAccessor(src_dir)) {} in ZipParams()
129 params.src_dir(), true /* is directory*/)); in Zip()
143 params.src_dir().AppendRelativePath(entry_path, &relative_path); in Zip()
161 params.dest_fd(), params.src_dir(), params.file_accessor()); in Zip()
[all …]
Dzip_unittest.cc252 base::FilePath src_dir = temp_dir.GetPath().AppendASCII("input"); in TestTimeStamp() local
255 base::FilePath src_file = src_dir.AppendASCII("test.txt"); in TestTimeStamp()
258 EXPECT_TRUE(base::CreateDirectory(src_dir)); in TestTimeStamp()
277 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TestTimeStamp()
412 base::FilePath src_dir; in TEST_F() local
413 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
414 src_dir = src_dir.AppendASCII("test"); in TEST_F()
420 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/true)); in TEST_F()
425 base::FilePath src_dir; in TEST_F() local
426 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
[all …]
Dzip.h53 ZipParams(const base::FilePath& src_dir, const base::FilePath& dest_file);
56 ZipParams(const base::FilePath& src_dir, int dest_fd);
61 const base::FilePath& src_dir() const { return src_dir_; } in src_dir() function
129 bool ZipWithFilterCallback(const base::FilePath& src_dir,
136 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file,
145 bool ZipFiles(const base::FilePath& src_dir,
/external/v8/third_party/zlib/google/
Dzip.cc53 explicit DirectFileAccessor(base::FilePath src_dir) : src_dir_(src_dir) {} in DirectFileAccessor() argument
103 ZipParams::ZipParams(const base::FilePath& src_dir, in ZipParams() argument
105 : src_dir_(src_dir), in ZipParams()
107 file_accessor_(new DirectFileAccessor(src_dir)) {} in ZipParams()
111 ZipParams::ZipParams(const base::FilePath& src_dir, int dest_fd) in ZipParams() argument
112 : src_dir_(src_dir), in ZipParams()
114 file_accessor_(new DirectFileAccessor(src_dir)) {} in ZipParams()
129 params.src_dir(), true /* is directory*/)); in Zip()
143 params.src_dir().AppendRelativePath(entry_path, &relative_path); in Zip()
161 params.dest_fd(), params.src_dir(), params.file_accessor()); in Zip()
[all …]
Dzip_unittest.cc253 base::FilePath src_dir = temp_dir.GetPath().AppendASCII("input"); in TestTimeStamp() local
256 base::FilePath src_file = src_dir.AppendASCII("test.txt"); in TestTimeStamp()
259 EXPECT_TRUE(base::CreateDirectory(src_dir)); in TestTimeStamp()
278 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TestTimeStamp()
413 base::FilePath src_dir; in TEST_F() local
414 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
415 src_dir = src_dir.AppendASCII("test"); in TEST_F()
421 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/true)); in TEST_F()
426 base::FilePath src_dir; in TEST_F() local
427 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
[all …]
Dzip.h53 ZipParams(const base::FilePath& src_dir, const base::FilePath& dest_file);
56 ZipParams(const base::FilePath& src_dir, int dest_fd);
61 const base::FilePath& src_dir() const { return src_dir_; } in src_dir() function
129 bool ZipWithFilterCallback(const base::FilePath& src_dir,
136 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file,
145 bool ZipFiles(const base::FilePath& src_dir,
/external/clang/tools/scan-build-py/libear/
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 …]
/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 …]
/external/python/setuptools/setuptools/command/
Dbuild_py.py87 src_dir = self.get_package_dir(package)
94 os.path.relpath(file, src_dir)
95 for file in self.find_data_files(package, src_dir)
97 return package, src_dir, build_dir, filenames
99 def find_data_files(self, package, src_dir): argument
104 src_dir,
114 return self.exclude_data_files(package, src_dir, files)
118 for package, src_dir, build_dir, filenames in self.data_files:
122 srcfile = os.path.join(src_dir, filename)
196 def exclude_data_files(self, package, src_dir, files): argument
[all …]
/external/skqp/infra/bots/recipes/
Drecreate_skps.py51 src_dir = checkout_root.join('src')
53 out_dir = src_dir.join('out', 'Release')
55 with api.context(cwd=src_dir):
58 gn = src_dir.join('buildtools', platform, 'gn')
76 '--chrome_src_path', src_dir,
77 '--browser_executable', src_dir.join('out', 'Release', 'chrome'),
90 '--chromium_path', src_dir]
/external/oss-fuzz/infra/base-images/base-builder/
Ddetect_repo.py53 if args.src_dir:
54 src_dir = args.src_dir
56 src_dir = os.environ.get('SRC', '/src')
58 for single_dir in os.listdir(src_dir):
59 full_path = os.path.join(src_dir, single_dir)
69 args.example_commit, src_dir)
/external/skia/infra/bots/recipes/
Drecreate_skps.py51 src_dir = checkout_root.join('src')
53 out_dir = src_dir.join('out', 'Release')
55 with api.context(cwd=src_dir):
58 gn = src_dir.join('buildtools', platform, 'gn')
76 '--chrome_src_path', src_dir,
77 '--browser_executable', src_dir.join('out', 'Release', 'chrome'),
89 '--chromium_path', src_dir]
/external/python/setuptools/setuptools/tests/
Dnamespaces.py7 src_dir = tmpdir / name
8 src_dir.mkdir()
9 setup_py = src_dir / 'setup.py'
21 ns_pkg_dir = src_dir / namespace
30 return src_dir
/external/python/cpython3/Lib/test/
Dtest_shutil.py743 src_dir = tempfile.mkdtemp()
745 self.addCleanup(shutil.rmtree, src_dir)
747 write_file((src_dir, 'test.txt'), '123')
748 os.mkdir(os.path.join(src_dir, 'test_dir'))
749 write_file((src_dir, 'test_dir', 'test.txt'), '456')
751 shutil.copytree(src_dir, dst_dir)
762 src_dir = tempfile.mkdtemp()
764 self.addCleanup(shutil.rmtree, src_dir)
767 write_file((src_dir, 'nonexisting.txt'), '123')
768 os.mkdir(os.path.join(src_dir, 'existing_dir'))
[all …]
/external/grpc-grpc/templates/
DgRPC.podspec.template44 src_dir = 'src/objective-c/GRPCClient'
59 ss.header_mappings_dir = "#{src_dir}"
61 ss.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
62 ss.exclude_files = "#{src_dir}/GRPCCall+GID.{h,m}"
63 ss.private_header_files = "#{src_dir}/private/*.h"
81 ss.header_mappings_dir = "#{src_dir}"
83 ss.source_files = "#{src_dir}/GRPCCall+GID.{h,m}"
/external/grpc-grpc/
DgRPC.podspec42 src_dir = 'src/objective-c/GRPCClient'
57 ss.header_mappings_dir = "#{src_dir}"
59 ss.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
60 ss.exclude_files = "#{src_dir}/GRPCCall+GID.{h,m}"
61 ss.private_header_files = "#{src_dir}/private/*.h"
79 ss.header_mappings_dir = "#{src_dir}"
81 ss.source_files = "#{src_dir}/GRPCCall+GID.{h,m}"
DgRPC-RxLibrary.podspec43 src_dir = 'src/objective-c/RxLibrary'
44 s.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
45 s.private_header_files = "#{src_dir}/private/*.h"
46 s.header_mappings_dir = "#{src_dir}"
/external/tensorflow/tensorflow/tools/docs/
Dgenerate_lib.py298 def build_doc_index(src_dir): argument
301 if not os.path.isabs(src_dir):
303 " src_dir='%s'" % src_dir)
305 if not os.path.exists(src_dir):
307 " src_dir='%s'" % src_dir)
309 for dirpath, _, filenames in os.walk(src_dir):
310 suffix = os.path.relpath(path=dirpath, start=src_dir)
397 def update_id_tags_inplace(src_dir): argument
405 for dirpath, _, filenames in os.walk(src_dir):
409 full_path = os.path.join(src_dir, dirpath, base_name)
[all …]
/external/icu/icu4c/source/python/icutools/databuilder/
D__main__.py244 def __init__(self, src_dir): argument
245 self.src_dir = src_dir
248 absolute_paths = pyglob.glob(os.path.join(self.src_dir, pattern))
250 relative_paths = [v[len(self.src_dir)+1:] for v in sorted(absolute_paths)]
260 with pyio.open(os.path.join(self.src_dir, filename), "r", encoding="utf-8-sig") as f:
284 "SRC_DIR": args.src_dir,
285 "IN_DIR": args.src_dir,
296 sys.path.append(args.src_dir)
303 io = IO(args.src_dir)
/external/autotest/utils/
Dpackager.py114 def process_packages(pkgmgr, pkg_type, pkg_names, src_dir, argument
127 pkg_dir = src_dir
132 pkg_dir = os.path.join(get_test_dir(name, src_dir), name)
135 pkg_dir = os.path.join(src_dir, name)
197 def tar_packages(pkgmgr, pkg_type, pkg_names, src_dir, temp_dir): argument
205 pkg_dir = src_dir
210 pkg_dir = os.path.join(get_test_dir(name, src_dir), name)
213 pkg_dir = os.path.join(src_dir, name)
303 src_dir = os.path.join(client_dir, 'tests')
305 src_dir = os.path.join(client_dir, 'site_tests')
[all …]
/external/python/cpython2/Lib/distutils/command/
Dbuild_py.py105 src_dir = self.get_package_dir(package)
112 if src_dir:
113 plen = len(src_dir)+1
117 file[plen:] for file in self.find_data_files(package, src_dir)
119 data.append((package, src_dir, build_dir, filenames))
122 def find_data_files(self, package, src_dir): argument
129 filelist = glob(os.path.join(src_dir, convert_path(pattern)))
137 for package, src_dir, build_dir, filenames in self.data_files:
141 self.copy_file(os.path.join(src_dir, filename), target,
323 for package, src_dir, build_dir, filenames in self.data_files
/external/grpc-grpc/third_party/py/
Dpython_configure.bzl63 def _read_dir(repository_ctx, src_dir):
71 src_dir = src_dir.replace("/", "\\")
74 ["cmd.exe", "/c", "dir", src_dir, "/b", "/s", "/a-d"],
81 repository_ctx, ["find", src_dir, "-follow", "-type", "f"],
86 def _genrule(src_dir, genrule_name, command, outs):
105 src_dir,
112 If src_dir is passed, files will be read from the given directory; otherwise
115 if src_dir != None:
116 src_dir = _normalize_path(src_dir)
119 sorted(_read_dir(repository_ctx, src_dir).splitlines()))
[all …]
/external/OpenCL-CTS/
Dbuild_android.py72 cmdline.extend([args.src_dir])
114 args.android_cmake = os.path.join(args.src_dir,"android-cmake")
130 args.src_dir = os.path.realpath(os.path.dirname( sys.argv[ 0 ]))
133 if os.path.exists(os.path.join(args.src_dir,"android-cmake")):
134 args.android_cmake = os.path.join(args.src_dir,"android-cmake")
149 args.bld_dir = os.path.join(args.src_dir, 'bld_android_%s' % args.arch)

1234