/external/python/cpython2/Lib/distutils/command/ |
D | build_py.py | 38 self.package_dir = None 53 self.package_dir = {} 54 if self.distribution.package_dir: 55 for name, path in self.distribution.package_dir.items(): 56 self.package_dir[name] = convert_path(path) 151 if not self.package_dir: 160 pdir = self.package_dir['.'.join(path)] 175 pdir = self.package_dir.get('') 184 def check_package(self, package, package_dir): argument 189 if package_dir != "": [all …]
|
/external/python/cpython3/Lib/distutils/command/ |
D | build_py.py | 37 self.package_dir = None 52 self.package_dir = {} 53 if self.distribution.package_dir: 54 for name, path in self.distribution.package_dir.items(): 55 self.package_dir[name] = convert_path(path) 150 if not self.package_dir: 159 pdir = self.package_dir['.'.join(path)] 174 pdir = self.package_dir.get('') 183 def check_package(self, package, package_dir): argument 188 if package_dir != "": [all …]
|
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/ |
D | java_plugin.cpp | 15 string package_dir = package_name; in JavaPackageToDir() local 16 for (size_t i = 0; i < package_dir.size(); ++i) { in JavaPackageToDir() 17 if (package_dir[i] == '.') { in JavaPackageToDir() 18 package_dir[i] = '/'; in JavaPackageToDir() 21 if (!package_dir.empty()) package_dir += "/"; in JavaPackageToDir() 22 return package_dir; in JavaPackageToDir()
|
/external/python/cpython2/Lib/test/ |
D | test_pkgimport.py | 22 self.package_dir = os.path.join(self.test_dir, 24 os.mkdir(self.package_dir) 26 self.package_dir, '__init__'+os.extsep+'py'), 'w').close() 27 self.module_path = os.path.join(self.package_dir, 'foo'+os.extsep+'py') 30 for file in os.listdir(self.package_dir): 31 os.remove(os.path.join(self.package_dir, file)) 32 os.rmdir(self.package_dir)
|
D | test_pkgutil.py | 31 package_dir = os.path.join(self.dirname, pkg) 32 os.mkdir(package_dir) 34 f = open(os.path.join(package_dir, '__init__.py'), "wb") 37 f = open(os.path.join(package_dir, 'res.txt'), "wb") 40 os.mkdir(os.path.join(package_dir, 'sub')) 41 f = open(os.path.join(package_dir, 'sub', 'res.txt'), "wb")
|
/external/ruy/cmake/ |
D | bazel_to_cmake.sh | 29 package_dir="$(dirname "${build_file}")" 30 if [[ "${package_dir}" == "${root_dir}" ]]; then 34 …nd}" "${this_script_dir}/bazel_to_cmake.py" "${root_dir}" "${package_dir}" > "${package_dir}/CMake…
|
/external/python/setuptools/tests/ |
D | test_pypi.py | 41 package_dir = os.path.join(tmp_dir, "test_%s" % package_name) 43 package_dir = package_dir + "_baseline" 45 virtualenv.create_environment(package_dir) 47 pip_path = os.path.join(package_dir, "bin", "pip")
|
/external/gflags/src/ |
D | gflags_completions.cc | 118 const string &package_dir, 124 string *package_dir); 248 string package_dir; in PrintFlagCompletionInfo() local 249 TryFindModuleAndPackageDir(all_flags, &module, &package_dir); in PrintFlagCompletionInfo() 251 DVLOG(1) << "Identified package_dir: '" << package_dir << "'"; in PrintFlagCompletionInfo() 258 package_dir, in PrintFlagCompletionInfo() 420 const string &package_dir, // empty if we couldn't find any in CategorizeAllMatchingFlags() argument 435 if (!package_dir.empty()) in CategorizeAllMatchingFlags() 436 pos = (*it)->filename.find(package_dir); in CategorizeAllMatchingFlags() 441 pos + package_dir.size() + 1); in CategorizeAllMatchingFlags() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_generator.cc | 170 string package_dir = in Generate() local 172 if (!package_dir.empty()) package_dir += "/"; in Generate() 177 string java_filename = package_dir; in Generate() 190 file_generator.GenerateSiblings(package_dir, output_directory, &all_files); in Generate()
|
D | javamicro_file.cc | 196 static void GenerateSibling(const string& package_dir, in GenerateSibling() argument 202 string filename = package_dir + descriptor->name() + ".java"; in GenerateSibling() 222 void FileGenerator::GenerateSiblings(const string& package_dir, in GenerateSiblings() argument 227 GenerateSibling<MessageGenerator>(package_dir, java_package_, in GenerateSiblings()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_generator.cc | 190 string package_dir = in Generate() local 192 if (!package_dir.empty()) package_dir += "/"; in Generate() 197 string java_filename = package_dir; in Generate() 210 file_generator.GenerateSiblings(package_dir, output_directory, &all_files); in Generate()
|
D | javanano_file.cc | 215 static void GenerateSibling(const string& package_dir, in GenerateSibling() argument 221 string filename = package_dir + descriptor->name() + ".java"; in GenerateSibling() 240 void FileGenerator::GenerateSiblings(const string& package_dir, in GenerateSiblings() argument 245 GenerateSibling<MessageGenerator>(package_dir, java_package_, in GenerateSiblings() 252 GenerateSibling<EnumGenerator>(package_dir, java_package_, in GenerateSiblings()
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_pkg_import.py | 29 self.package_dir = os.path.join(self.test_dir, 31 os.mkdir(self.package_dir) 32 create_empty_file(os.path.join(self.package_dir, '__init__.py')) 33 self.module_path = os.path.join(self.package_dir, 'foo.py')
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | git_repo.py | 194 package_dir = file.relative_to(py_dir).parts[0] 197 common_dir = package_dir 198 elif common_dir != package_dir: 203 py_dir, common_dir, package_dir)
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_file.cc | 588 const std::string& package_dir, const std::string& java_package, in GenerateSibling() argument 595 package_dir + descriptor->name() + name_suffix + ".java"; in GenerateSibling() 629 const std::string& package_dir, GeneratorContext* context, in GenerateSiblings() argument 638 package_dir, java_package_, file_->enum_type(i), context, file_list, in GenerateSiblings() 645 package_dir, java_package_, file_->enum_type(i), context, file_list, in GenerateSiblings() 653 package_dir, java_package_, file_->message_type(i), context, in GenerateSiblings() 658 package_dir, java_package_, file_->message_type(i), context, in GenerateSiblings() 667 package_dir, java_package_, file_->service(i), context, file_list, in GenerateSiblings()
|
D | java_generator.cc | 137 std::string package_dir = JavaPackageToDir(file_generator->java_package()); in Generate() local 139 std::string java_filename = package_dir; in Generate() 161 file_generator->GenerateSiblings(package_dir, context, &all_files, in Generate()
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_build_ext.py | 52 dist.package_dir = self.tmp_dir 314 build_py.package_dir = {'': 'bar'} 339 cmd.distribution.package_dir = {'': 'src'} 355 build_py.package_dir = {} 375 cmd.distribution.package_dir = {'': 'src'} 400 cmd.distribution.package_dir = {'': 'src'} 509 dist.package_dir = self.tmp_dir
|
/external/python/setuptools/setuptools/tests/ |
D | test_config.py | 31 package_dir, init_file = make_package_dir('fake_package', tmpdir) 42 return package_dir, config 358 assert dist.package_dir == {'': 'src', 'b': 'c'} 428 assert dist.package_dir == {'': 'src', 'b': 'c'}
|
/external/python/cpython2/Doc/distutils/ |
D | examples.rst | 107 package_dir={'': 'src'}, 133 need to use the ``package_dir`` option again. For example, if the 148 package_dir={'foobar': 'src'}, 166 package_dir={'foobar': ''}, 173 but any entries in ``package_dir`` automatically extend to sub-packages. 203 ``package_dir`` has no effect on where extension source files are found;
|
/external/python/cpython3/Lib/test/ |
D | test_pkgutil.py | 36 package_dir = os.path.join(self.dirname, pkg) 37 os.mkdir(package_dir) 39 f = open(os.path.join(package_dir, '__init__.py'), "wb") 42 f = open(os.path.join(package_dir, 'res.txt'), "wb") 45 os.mkdir(os.path.join(package_dir, 'sub')) 46 f = open(os.path.join(package_dir, 'sub', 'res.txt'), "wb")
|
/external/autotest/utils/ |
D | build_externals.py | 64 package_dir = os.path.join(top_of_tree, PACKAGE_DIR) 79 package_dir, install_dir, set(options.names_to_check))
|
/external/libiio/src/bindings/python/ |
D | setup.py.cmakein | 20 package_dir={'': '${CMAKE_CURRENT_SOURCE_DIR}'},
|
/external/python/cpython2/Mac/Modules/osa/ |
D | setup.py | 12 package_dir={'OSA':'../../../Lib/plat-mac/Carbon'}
|
/external/python/cpython2/Mac/Modules/qt/ |
D | setup.py | 12 package_dir={'QuickTime':'../../../Lib/plat-mac/Carbon'}
|
/external/python/cpython2/Mac/Modules/launch/ |
D | setup.py | 12 package_dir={'LaunchServices':'../../../Lib/plat-mac/Carbon'}
|