/external/autotest/site_utils/autoupdate/ |
import_common.py | 14 def download_and_import(module_name, package_class): 17 @param module_name: Name of the module e.g. devserver. 21 return imp.load_module(module_name, *imp.find_module(module_name)) 30 return imp.load_module(module_name, *imp.find_module(module_name))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_coding.py | 7 module_name = 'bad_coding' 8 self.verify_bad_module(module_name) 11 module_name = 'bad_coding2' 12 self.verify_bad_module(module_name) 14 def verify_bad_module(self, module_name): 15 self.assertRaises(SyntaxError, __import__, 'test.' + module_name) 18 filename = os.path.join(path, module_name + '.py')
|
test_pkgimport.py | 11 self.module_name = self.package_name + '.foo' 15 for module_name in (self.package_name, self.module_name): 16 if module_name in sys.modules: 17 del sys.modules[module_name] 53 try: __import__(self.module_name) 56 self.assertNotIn(self.module_name, sys.modules) 67 try: __import__(self.module_name) 74 module = __import__(self.module_name).foo
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_coding.py | 7 module_name = 'bad_coding' 8 self.verify_bad_module(module_name) 11 module_name = 'bad_coding2' 12 self.verify_bad_module(module_name) 14 def verify_bad_module(self, module_name): 15 self.assertRaises(SyntaxError, __import__, 'test.' + module_name) 18 filename = os.path.join(path, module_name + '.py')
|
test_pkgimport.py | 11 self.module_name = self.package_name + '.foo' 15 for module_name in (self.package_name, self.module_name): 16 if module_name in sys.modules: 17 del sys.modules[module_name] 53 try: __import__(self.module_name) 56 self.assertNotIn(self.module_name, sys.modules) 67 try: __import__(self.module_name) 74 module = __import__(self.module_name).foo
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_coding.py | 7 module_name = 'bad_coding' 8 self.verify_bad_module(module_name) 11 module_name = 'bad_coding2' 12 self.verify_bad_module(module_name) 14 def verify_bad_module(self, module_name): 15 self.assertRaises(SyntaxError, __import__, 'test.' + module_name) 18 filename = os.path.join(path, module_name + '.py')
|
test_pkgimport.py | 11 self.module_name = self.package_name + '.foo' 15 for module_name in (self.package_name, self.module_name): 16 if module_name in sys.modules: 17 del sys.modules[module_name] 53 try: __import__(self.module_name) 56 self.assertNotIn(self.module_name, sys.modules) 67 try: __import__(self.module_name) 74 module = __import__(self.module_name).foo
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_coding.py | 7 module_name = 'bad_coding' 8 self.verify_bad_module(module_name) 11 module_name = 'bad_coding2' 12 self.verify_bad_module(module_name) 14 def verify_bad_module(self, module_name): 15 self.assertRaises(SyntaxError, __import__, 'test.' + module_name) 18 filename = os.path.join(path, module_name + '.py')
|
test_pkgimport.py | 11 self.module_name = self.package_name + '.foo' 15 for module_name in (self.package_name, self.module_name): 16 if module_name in sys.modules: 17 del sys.modules[module_name] 53 try: __import__(self.module_name) 56 self.assertNotIn(self.module_name, sys.modules) 67 try: __import__(self.module_name) 74 module = __import__(self.module_name).foo
|
/external/autotest/client/cros/cellular/wardmodem/state_machines/ |
__init__.py | 8 module_name = file_name.rstrip('.py') variable 9 __all__.append(module_name)
|
/external/opencv3/modules/python/python3/ |
CMakeLists.txt | 6 set(MODULE_NAME python3) 20 unset(MODULE_NAME)
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/scripts/ |
extract_implies.py | 25 module_name = fn[:-2] 26 if module_name.endswith('module'): 27 module_name = module_name[:-6] 34 yield module_name, imports
|
/external/autotest/frontend/ |
client_compilation_unittest.py | 12 def _compile_module(self, module_name): 15 cmd = '%s -d -c %s -e "-validateOnly"' % (compile_script, module_name)
|
/external/opencv3/modules/python/python2/ |
CMakeLists.txt | 6 set(MODULE_NAME python2) 21 unset(MODULE_NAME)
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
AbiUtilsTest.java | 26 private static final String MODULE_NAME = "ModuleName"; 37 String id = AbiUtils.createId(ABI_NAME, MODULE_NAME); 45 assertEquals("Wrong module name", MODULE_NAME, parts[1]); 50 assertEquals("Incorrect module name", MODULE_NAME, name);
|
/external/deqp/ |
CMakeLists.txt | 226 macro (add_deqp_module MODULE_NAME SRCS LIBS ENTRY) 229 add_library(${MODULE_NAME} STATIC ${SRCS}) 230 target_link_libraries(${MODULE_NAME} ${LIBS}) 232 set(DEQP_MODULE_LIBRARIES ${DEQP_MODULE_LIBRARIES} ${MODULE_NAME}) 241 add_executable(${MODULE_NAME} ${CMAKE_SOURCE_DIR}/framework/platform/tcuMain.cpp ${ENTRY} ${SRCS}) 242 target_link_libraries(${MODULE_NAME} tcutil-platform ${LIBS}) 243 target_copy_files(${MODULE_NAME} platform-libs-${MODULE_NAME} "${DEQP_PLATFORM_COPY_LIBRARIES}") 247 add_custom_target(${MODULE_NAME}-data) 248 add_dependencies(${MODULE_NAME} ${MODULE_NAME}-data [all...] |
/external/chromium-trace/catapult/third_party/apiclient/apiclient/ |
__init__.py | 41 for module_name, module in iteritems(_SUBMODULES): 42 sys.modules['apiclient.%s' % module_name] = module
|
/external/antlr/antlr-3.4/runtime/Perl5/ |
Build.PL | 4 module_name => 'ANTLR::Runtime',
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_future.py | 14 PATTERN = """import_from< 'from' module_name="__future__" 'import' any >"""
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_future.py | 14 PATTERN = """import_from< 'from' module_name="__future__" 'import' any >"""
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_future.py | 14 PATTERN = """import_from< 'from' module_name="__future__" 'import' any >"""
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_future.py | 14 PATTERN = """import_from< 'from' module_name="__future__" 'import' any >"""
|
/development/testrunner/ |
create_test.py | 62 android:label="Tests for $MODULE_NAME"> 75 LOCAL_PACKAGE_NAME := ${MODULE_NAME}Tests${CERTIFICATE} 77 LOCAL_INSTRUMENTATION_FOR := ${MODULE_NAME} 86 def _GenerateTestManifest(manifest, module_name, mapping=None): 94 module_name: module name used for labelling 109 mapping = {"PACKAGE_NAME":package_name, "MODULE_NAME":module_name, 159 module_name = mk.GetVariable(mk.PACKAGE_NAME) 160 mapping = {"MODULE_NAME":module_name, "CERTIFICATE":cert_definition [all...] |
/external/autotest/client/cros/cellular/mbim_compliance/ |
mbim_test_runner.py | 41 module_name = os.path.join(self._TEST_AREA_FOLDER, subtest_name + ".py") 43 test_module = imp.load_source(subtest_name, module_name) 46 'Test module %s not found', module_name)
|
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
resource_loader.py | 111 def LoadModule(self, module_name=None, module_filename=None): 112 assert bool(module_name) ^ bool(module_filename), ( 113 'Must provide either module_name or module_filename.') 119 module_name = resource.name 123 if module_name in self.loaded_modules: 124 assert self.loaded_modules[module_name].contents 125 return self.loaded_modules[module_name] 127 if not resource: # happens when module_name was given 128 resource = self.FindModuleResource(module_name) 130 raise module.DepsException('No resource for module "%s"' % module_name) [all...] |