/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/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/javanano/ |
D | javanano_generator.cc | 200 string package_dir = in Generate() local 202 if (!package_dir.empty()) package_dir += "/"; in Generate() 207 string java_filename = package_dir; in Generate() 220 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/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/python/cpython3/Lib/test/ |
D | test_pkgimport.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')
|
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/protobuf/src/google/protobuf/compiler/java/ |
D | java_file.cc | 527 static void GenerateSibling(const string& package_dir, in GenerateSibling() argument 535 string filename = package_dir + descriptor->name() + name_suffix + ".java"; in GenerateSibling() 556 void FileGenerator::GenerateSiblings(const string& package_dir, in GenerateSiblings() argument 564 GenerateSibling<EnumGenerator>(package_dir, java_package_, in GenerateSiblings() 572 GenerateSibling<EnumLiteGenerator>(package_dir, java_package_, in GenerateSiblings() 581 GenerateSibling<MessageGenerator>(package_dir, java_package_, in GenerateSiblings() 588 GenerateSibling<MessageGenerator>(package_dir, java_package_, in GenerateSiblings() 598 GenerateSibling<ServiceGenerator>(package_dir, java_package_, in GenerateSiblings()
|
D | java_generator.cc | 137 string package_dir = JavaPackageToDir(file_generator->java_package()); in Generate() local 139 string java_filename = package_dir; in Generate() 151 file_generator->GenerateSiblings(package_dir, context, &all_files); in Generate()
|
D | java_shared_code_generator.cc | 65 string package_dir = JavaPackageToDir(java_package); in Generate() local 70 string filename = package_dir + classname + ".java"; in Generate()
|
D | java_helpers.cc | 185 string package_dir = in JavaPackageToDir() local 187 if (!package_dir.empty()) package_dir += "/"; in JavaPackageToDir() 188 return package_dir; in JavaPackageToDir()
|
/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
|
D | setuptools_build_ext.py | 60 package_dir = build_py.get_package_dir(package) 61 dest_filename = os.path.join(package_dir,os.path.basename(filename)) 72 self.write_stub(package_dir or os.curdir, ext, True)
|
/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/tensorflow/tensorflow/tools/lib_package/ |
D | BUILD | 66 package_dir = "include/tensorflow/c", 80 package_dir = "include/tensorflow/c/eager", 98 package_dir = "lib", 114 package_dir = "include/tensorflow/c",
|
/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/python/cpython3/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/distutils/tests/ |
D | test_build_ext.py | 70 dist.package_dir = self.tmp_dir 355 build_py.package_dir = {'': 'bar'} 384 cmd.distribution.package_dir = {'': 'src'} 400 build_py.package_dir = {} 488 dist.package_dir = self.tmp_dir
|