Home
last modified time | relevance | path

Searched refs:package_name (Results 1 – 25 of 58) sorted by relevance

123

/external/python/setuptools/tests/
Dtest_pypi.py34 def _package_install(package_name, tmp_dir=None, local_setuptools=True): argument
41 package_dir = os.path.join(tmp_dir, "test_%s" % package_name)
50 returncode = subprocess.call([pip_path, "install", package_name])
54 def test_package_install(package_name, tmpdir): argument
60 new_exit_status = _package_install(package_name, tmp_dir=str(tmpdir))
63 package_name)
64 old_exit_status = _package_install(package_name, tmp_dir=str(tmpdir),
77 if not metafunc.config.option.package_name:
81 packages = metafunc.config.option.package_name
/external/libtextclassifier/utils/java/
Djni-base.h37 #define TC3_JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name) \ argument
38 Java_##package_name##_##class_name##_##method_name
40 #define TC3_JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, \ argument
43 package_name, class_name, method_name)
47 #define TC3_JNI_METHOD2(return_type, package_name, class_name, method_name) \ argument
48 TC3_JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, method_name)
53 #define TC3_JNI_METHOD_NAME2(package_name, class_name, method_name) \ argument
54 TC3_JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name)
/external/python/cpython3/Lib/test/
Dtest_pkgimport.py15 self.package_name = 'PACKAGE_'
16 while self.package_name in sys.modules:
17 self.package_name += random.choose(string.ascii_letters)
18 self.module_name = self.package_name + '.foo'
22 for module_name in (self.package_name, self.module_name):
30 self.package_name)
58 self.assertFalse(hasattr(sys.modules[self.package_name], 'foo'))
/external/python/cpython2/Lib/test/
Dtest_pkgimport.py8 self.package_name = 'PACKAGE_'
9 while self.package_name in sys.modules:
10 self.package_name += random.choose(string.letters)
11 self.module_name = self.package_name + '.foo'
15 for module_name in (self.package_name, self.module_name):
23 self.package_name)
57 self.assertFalse(hasattr(sys.modules[self.package_name], 'foo'))
Dtest_import.py620 package_name = 'sample' variable in TestSymbolicallyLinkedPackage
625 if os.path.exists(self.package_name):
626 symlink_support.remove_symlink(self.package_name)
638 symlink_support.symlink(self.tagged, self.package_name)
640 assert os.path.isdir(self.package_name)
641 assert os.path.isfile(os.path.join(self.package_name, '__init__.py'))
645 return self.package_name + '-tagged'
658 __import__(self.package_name)
662 if os.path.exists(self.package_name):
663 symlink_support.remove_symlink(self.package_name)
Dtest_pkgutil.py83 package_name = "unreadable_package"
84 d = os.path.join(self.dirname, package_name)
/external/libchrome/third_party/jinja2/
Dloaders.py220 def __init__(self, package_name, package_path='templates', argument
224 provider = get_provider(package_name)
437 package_name = '_jinja2_module_templates_%x' % id(self)
441 mod = _TemplateModule(package_name)
448 sys.modules[package_name] = weakref.proxy(mod,
449 lambda x: sys.modules.pop(package_name, None))
455 self.package_name = package_name
468 module = '%s.%s' % (self.package_name, key)
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/
Djava_plugin.cpp14 static string JavaPackageToDir(const string& package_name) { in JavaPackageToDir() argument
15 string package_dir = package_name; in JavaPackageToDir()
51 string package_name = java_grpc_generator::ServiceJavaPackage( in Generate() local
53 string package_filename = JavaPackageToDir(package_name); in Generate()
/external/chromium-trace/catapult/devil/devil/android/tools/
Dsystem_app.py49 def ReplaceSystemApp(device, package_name, replacement_apk): argument
59 relocate_app = _RelocateApp(device, package_name, storage_dir.name)
113 def _RelocateApp(device, package_name, relocate_to): argument
116 system_package_paths = _FindSystemPackagePaths(device, [package_name])
130 logger.info('No system package "%s"', package_name)
/external/grpc-grpc/src/compiler/
Druby_generator.cc163 std::string package_name; in GetServices() local
166 package_name = file->options().ruby_package(); in GetServices()
168 package_name = file->package(); in GetServices()
176 package_name, in GetServices()
201 std::vector<grpc::string> modules = Split(package_name, '.'); in GetServices()
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc304 std::string package_name, in GeneratePackageModules() argument
307 while (!package_name.empty()) { in GeneratePackageModules()
308 size_t dot_index = package_name.find("."); in GeneratePackageModules()
311 component = package_name; in GeneratePackageModules()
312 package_name = ""; in GeneratePackageModules()
314 component = package_name.substr(0, dot_index); in GeneratePackageModules()
315 package_name = package_name.substr(dot_index + 1); in GeneratePackageModules()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DBCELifier.java89 final String package_name = clazz.getPackageName(); in visitJavaClass() local
91 if (!"".equals(package_name)) { in visitJavaClass()
92 class_name = class_name.substring(package_name.length() + 1); in visitJavaClass()
93 _out.println("package " + package_name + ";"); in visitJavaClass()
108 + (("".equals(package_name)) ? class_name : package_name + "." + class_name) in visitJavaClass()
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py929 package_name = base_apk.GetPackageName()
930 device_apk_paths = self._GetApplicationPathsInternal(package_name)
947 self._ComputeStaleApks(package_name, all_apks))
952 self.Uninstall(package_name)
957 self._cache['package_apk_paths'].pop(package_name, 0)
958 self._cache['package_apk_checksums'].pop(package_name, 0)
960 partial = package_name if len(apks_to_install) < len(all_apks) else None
970 self.ForceStop(package_name)
975 self.GrantPermissions(package_name, permissions)
978 self._cache['package_apk_checksums'][package_name] = host_checksums
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/
D__init__.py61 for package_name in protocol_handler_packages:
62 module_name = '%s.protocol_%s' % (package_name, protocol,)
/external/clang/
Dbuild.py193 package_name = 'clang-' + build_name
195 install_dir = os.path.join(install_host_dir, package_name)
209 tarball_name = package_name + '-' + host
213 'tar', '-cjC', install_host_dir, '-f', package_path, package_name
697 package_name = 'clang-' + args.build_name
699 install_dir = os.path.join(install_host_dir, package_name)
710 prebuilts_version=package_name,
720 prebuilts_version=package_name,
Dupdate-prebuilts.py91 def package_name(build_number, host): function
101 filename = package_name(build_number, host)
/external/python/cpython3/Lib/importlib/
Dresources.py108 package_name = package.__spec__.name
110 resource, package_name)
142 package_name = package.__spec__.name
144 resource, package_name)
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DLoadedArsc.java68 DynamicPackageEntry(String package_name, int package_id) { in DynamicPackageEntry() argument
69 this.package_name = package_name; in DynamicPackageEntry()
73 String package_name; field in LoadedArsc.DynamicPackageEntry
730 String package_name = in Load() local
737 dtohl(entry_iter.packageId), package_name)); in Load()
743 loaded_package.dynamic_package_map_.add(new DynamicPackageEntry(package_name, in Load()
DCppAssetManager2.java337 entry.package_name, (byte) entry.package_id); in BuildDynamicRefTable()
344 String package_name = iter.packages_.get(0).loaded_package_.GetPackageName(); in BuildDynamicRefTable() local
346 iter2.dynamic_ref_table.addMapping(package_name, in BuildDynamicRefTable()
588 void apply(String package_name, byte package_id); in apply() argument
1230 final Ref<String> package_name = new Ref<>(null), in GetResourceId() local
1233 if (!ExtractResourceName(resource_name, package_name, type, entry)) { in GetResourceId()
1241 if (package_name.get().isEmpty()) { in GetResourceId()
1242 package_name.set(fallback_package); in GetResourceId()
1265 if (!Objects.equals(package_name.get(), package_.GetPackageName())) { in GetResourceId()
/external/chromium-trace/catapult/devil/devil/utils/
Dmarkdown.py163 for package_name in reversed(module_names):
167 r = imp.find_module(package_name, d)
168 full_module_name += package_name
/external/python/cpython3/Lib/test/test_import/
D__init__.py920 package_name = 'sample' variable in TestSymbolicallyLinkedPackage
921 tagged = package_name + '-tagged'
925 test.support.rmtree(self.package_name)
938 os.symlink(self.tagged, self.package_name, target_is_directory=True)
939 self.addCleanup(test.support.unlink, self.package_name)
942 self.assertEqual(os.path.isdir(self.package_name), True)
944 assert os.path.isfile(os.path.join(self.package_name, '__init__.py'))
958 assert os.path.exists(self.package_name)
959 assert os.path.exists(os.path.join(self.package_name, '__init__.py'))
962 importlib.import_module(self.package_name)
/external/autotest/client/common_lib/
Dpackages.py728 checksum, package_name = line.split(None, 1)
729 self._checksum_dict[package_name] = checksum
813 package_name = os.path.basename(pkg_path)
814 if not checksum_dict or package_name not in checksum_dict:
817 repository_checksum = checksum_dict[package_name]
/external/flatbuffers/grpc/src/compiler/
Dgo_generator.h51 grpc::string package_name; member
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DJavaClass.java52 private String package_name; field in JavaClass
161 package_name = ""; in JavaClass()
163 package_name = class_name.substring(0, index); in JavaClass()
360 return package_name; in getPackageName()
/external/chromium-trace/catapult/devil/
DBUILD.gn9 package_name = "com.android.webview"

123