Home
last modified time | relevance | path

Searched refs:package_dir (Results 1 – 25 of 82) sorted by relevance

1234

/external/python/cpython2/Lib/distutils/command/
Dbuild_py.py38 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/
Dbuild_py.py37 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/
Djava_plugin.cpp15 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/
Dtest_pkgimport.py22 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)
Dtest_pkgutil.py31 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/
Dbazel_to_cmake.sh29 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/
Dtest_pypi.py41 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/
Dgflags_completions.cc118 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/
Djavamicro_generator.cc170 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()
Djavamicro_file.cc196 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/
Djavanano_generator.cc190 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()
Djavanano_file.cc215 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/
Dtest_pkg_import.py29 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/
Dgit_repo.py194 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/
Djava_file.cc588 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()
Djava_generator.cc137 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/
Dtest_build_ext.py52 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/
Dtest_config.py31 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/
Dexamples.rst107 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/
Dtest_pkgutil.py36 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/
Dbuild_externals.py64 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/
Dsetup.py.cmakein20 package_dir={'': '${CMAKE_CURRENT_SOURCE_DIR}'},
/external/python/cpython2/Mac/Modules/osa/
Dsetup.py12 package_dir={'OSA':'../../../Lib/plat-mac/Carbon'}
/external/python/cpython2/Mac/Modules/qt/
Dsetup.py12 package_dir={'QuickTime':'../../../Lib/plat-mac/Carbon'}
/external/python/cpython2/Mac/Modules/launch/
Dsetup.py12 package_dir={'LaunchServices':'../../../Lib/plat-mac/Carbon'}

1234