/external/python/cpython2/Modules/_ctypes/libffi/ |
D | generate-darwin-source-and-headers.py | 21 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/libffi/ |
D | generate-darwin-source-and-headers.py | 21 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/clang/tools/scan-build-py/libear/ |
D | __init__.py | 24 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/epid-sdk/epid/common/ |
D | common.parts | 19 api_headers = Pattern(src_dir='.', 22 src_files = Pattern(src_dir='src', 25 internal_headers = Pattern(src_dir='src', 28 utest_files = Pattern(src_dir='unittests', 32 epid11_headers = Pattern(src_dir='1.1', 35 epid11_src_files = Pattern(src_dir='1.1/src', 38 epid11_internal_headers = Pattern(src_dir='1.1/src', 41 epid11_utest_files = Pattern(src_dir='1.1/unittests', 45 math_headers = Pattern(src_dir='math', 48 math_src_files = Pattern(src_dir='math/src', [all …]
|
/external/epid-sdk/epid/verifier/ |
D | verifier.parts | 19 api_headers = Pattern(src_dir='.', 22 src_files = Pattern(src_dir='src', 25 internal_headers = Pattern(src_dir='src', 28 utest_files = Pattern(src_dir='unittests', 31 utest_headers = Pattern(src_dir='unittests', 34 utest_data_files = Pattern(src_dir='unittests/testdata/sigrl', 39 epid11_headers = Pattern(src_dir='1.1', 42 epid11_src_files = Pattern(src_dir='1.1/src', 45 epid11_internal_headers = Pattern(src_dir='1.1/src', 48 epid11_utest_files = Pattern(src_dir='1.1/unittests', [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_shutil.py | 156 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/cpython3/Lib/test/ |
D | test_shutil.py | 619 src_dir = tempfile.mkdtemp() 621 self.addCleanup(shutil.rmtree, src_dir) 623 write_file((src_dir, 'test.txt'), '123') 624 os.mkdir(os.path.join(src_dir, 'test_dir')) 625 write_file((src_dir, 'test_dir', 'test.txt'), '456') 627 shutil.copytree(src_dir, dst_dir) 640 src_dir = os.path.join(tmp_dir, 'src') 642 sub_dir = os.path.join(src_dir, 'sub') 643 os.mkdir(src_dir) 645 write_file((src_dir, 'file.txt'), 'foo') [all …]
|
/external/python/setuptools/setuptools/command/ |
D | build_py.py | 87 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/epid-sdk/epid/member/ |
D | member.parts | 22 api_headers = Pattern(src_dir='.', includes=['*.h'], recursive=False).files() 23 src_files = Pattern(src_dir='src', includes=['*.c'], recursive=False).files() 25 src_dir='src', includes=['*.h'], recursive=False).files() 28 src_dir='tpm2/unittests', 33 src_dir='unittests', 40 src_dir='unittests', includes=[ 45 src_dir='.', includes=['*.parts', 'Makefile'], recursive=False).files() 47 tpm2_install_files = Pattern(src_dir='tpm2', 55 tpm2_include_files = Pattern(src_dir='.', 79 tpm2_src_files = Pattern(src_dir='tpm2/ibm_tss', [all …]
|
/external/skqp/infra/bots/recipes/ |
D | recreate_skps.py | 51 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/skia/infra/bots/recipes/ |
D | recreate_skps.py | 51 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/ |
D | namespaces.py | 7 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/tensorflow/tensorflow/tools/docs/ |
D | generate_lib.py | 335 def build_doc_index(src_dir): argument 338 if not os.path.isabs(src_dir): 340 " src_dir='%s'" % src_dir) 342 if not os.path.exists(src_dir): 344 " src_dir='%s'" % src_dir) 346 for dirpath, _, filenames in os.walk(src_dir): 347 suffix = os.path.relpath(path=dirpath, start=src_dir) 433 def update_id_tags_inplace(src_dir): argument 441 for dirpath, _, filenames in os.walk(src_dir): 445 full_path = os.path.join(src_dir, dirpath, base_name) [all …]
|
/external/grpc-grpc/templates/ |
D | gRPC.podspec.template | 44 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}"
|
D | gRPC-RxLibrary.podspec.template | 45 src_dir = 'src/objective-c/RxLibrary' 46 s.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}" 47 s.private_header_files = "#{src_dir}/private/*.h" 48 s.header_mappings_dir = "#{src_dir}"
|
/external/grpc-grpc/ |
D | gRPC.podspec | 42 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}"
|
D | gRPC-RxLibrary.podspec | 43 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/epid-sdk/epid/common-testhelper/ |
D | common-testhelper.parts | 20 src_dir='.', includes=['*-testhelper.cc'], excludes=[], 23 src_dir='.', includes=['*-testhelper.h'], excludes=[], 26 src_dir='1.1', includes=['*-testhelper.cc'], excludes=[], 29 src_dir='1.1', includes=['*-testhelper.h'], excludes=[], 32 src_dir='testdata', includes=['*'], excludes=[], recursive=True) 34 src_dir='1.1/testdata', includes=['*'], excludes=[], recursive=True) 38 src_dir='.', includes=['*-test.cc'], excludes=[], recursive=True).files()
|
/external/autotest/utils/ |
D | packager.py | 114 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/ |
D | build_py.py | 105 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/ |
D | python_configure.bzl | 63 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/python/cpython3/Lib/distutils/command/ |
D | build_py.py | 104 src_dir = self.get_package_dir(package) 111 if src_dir: 112 plen = len(src_dir)+1 116 file[plen:] for file in self.find_data_files(package, src_dir) 118 data.append((package, src_dir, build_dir, filenames)) 121 def find_data_files(self, package, src_dir): argument 128 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, 324 for package, src_dir, build_dir, filenames in self.data_files
|
/external/autotest/client/bin/ |
D | site_sysinfo_unittest.py | 27 self.src_dir = os.path.join(self.tempdir.name, 'src') 32 self.existing_files_path = [os.path.join(self.src_dir, folder, f) 37 self.new_files_path = [os.path.join(self.src_dir, folder, f) 46 self.src_dir,'sub/sub2/existing_fifo') 88 info = site_sysinfo.diffable_logdir(self.src_dir, 114 new_fifo_path = os.path.join(self.src_dir, 'sub/sub2/new_fifo') 136 full_sysinfo_path = self.dest_dir + self.src_dir 141 self.assertNotEqual(self.src_dir, full_sysinfo_path) 142 self.assert_trees_equal(self.src_dir, full_sysinfo_path)
|
/external/grpc-grpc/src/ruby/spec/pb/codegen/ |
D | package_option_spec.rb | 24 src_dir = File.join(File.dirname(__FILE__), '..', '..', '..', '..') 25 pb_dir = File.join(src_dir, 'proto') 26 bins_dir = File.join(src_dir, '..', 'bins', bins_sub_dir)
|
/external/skqp/infra/bots/assets/win_toolchain/ |
D | create.py | 61 src_dir = os.path.abspath(args.src_dir) 63 shutil.copytree(src_dir, target_dir, ignore=filter_toolchain_files)
|