/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_renames.py | 33 import_from< 'from' module_name=%r 'import' 37 power< module_name=%r trailer< '.' attr_name=%r > any* > 63 mod_name = results.get("module_name")
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_renames.py | 33 import_from< 'from' module_name=%r 'import' 37 power< module_name=%r trailer< '.' attr_name=%r > any* > 63 mod_name = results.get("module_name")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_renames.py | 33 import_from< 'from' module_name=%r 'import' 37 power< module_name=%r trailer< '.' attr_name=%r > any* > 63 mod_name = results.get("module_name")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_renames.py | 33 import_from< 'from' module_name=%r 'import' 37 power< module_name=%r trailer< '.' attr_name=%r > any* > 63 mod_name = results.get("module_name")
|
/external/autotest/client/site_tests/kernel_FirmwareRequest/ |
kernel_FirmwareRequest.py | 72 module_name = "test_firmware" 77 utils.load_module(module_name) 78 if not utils.module_is_loaded(module_name): 91 utils.unload_module(module_name)
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ |
util.py | 73 * <module_name>.<class_name> 74 * <module_name>.<function_name> 75 * <module_name>.<class_name>.<method_name> (an unbound method will be 78 for_name works by doing __import__ for <module_name>, and looks for 93 module_name = __name__ 97 (module_name, short_name) = (fq_name[:fq_name.rfind(".")], 101 result = __import__(module_name, None, None, [short_name]) 113 short_name, module_name)) 115 # module_name is not actually a module. Try for_name for it to figure 118 module = for_name(module_name, recursive=True [all...] |
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
module.py | 31 module_name = None 35 module_name = s.name 37 module_name = s.name + '.css' 38 if not module_name: 42 module_name = module.name 46 module_name = module.name 48 if module_name: 50 if context[-1] != module_name: 51 context.append(module_name) 53 context.append(module_name) [all...] |
html_module.py | 142 loader, module_name, module_dir_name, href, tag_for_err_msg): 154 'it is not in the search path' % (module_name, tag_for_err_msg)) 159 module_name, tag_for_err_msg)) 163 def Parse(loader, module_name, module_dir_name, is_component, parser_results): 170 resource = _HRefToResource(loader, module_name, module_dir_name, 181 'file with an html suffix' % (module_name, href)) 184 loader, module_name, module_dir_name, href, 191 loader, module_name, module_dir_name, href,
|
project.py | 132 def LoadModule(self, module_name=None, module_filename=None): 133 return self.loader.LoadModule(module_name=module_name, 137 modules = [self.loader.LoadModule(module_name=name) for 149 modules = [self.loader.LoadModule(module_name=name) for 166 modules = [self.loader.LoadModule(module_name=name)
|
module_unittest.py | 69 my_module = loader.LoadModule(module_name='src.my_module') 88 loader.LoadModule(module_name='src.my_module') 118 my_module = loader.LoadModule(module_name='z.foo')
|
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
import_string.py | 27 module_name, expr = s.split(':', 1) 28 module = import_module(module_name) 73 def try_import_module(module_name): 81 return import_module(module_name) 91 parts = module_name.split('.')
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/ |
__init__.py | 62 module_name = '%s.protocol_%s' % (package_name, protocol,) 64 handler_module = __import__(module_name) 68 klass = sys.modules[module_name].Serial
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_py3kwarn.py | 12 def check_deprecated_module(module_name): 17 def check_deprecated_module(module_name): 21 return any(module_name in msg and ' removed' in msg 351 def check_removal(self, module_name, optional=False): 354 with CleanImport(module_name), warnings.catch_warnings(): 360 __import__(module_name, level=0) 362 self.assertIn(module_name, exc.args[0], 364 % module_name) 368 "ImportError.".format(module_name)) 372 if not check_deprecated_module(module_name) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_py3kwarn.py | 12 def check_deprecated_module(module_name): 17 def check_deprecated_module(module_name): 21 return any(module_name in msg and ' removed' in msg 351 def check_removal(self, module_name, optional=False): 354 with CleanImport(module_name), warnings.catch_warnings(): 360 __import__(module_name, level=0) 362 self.assertIn(module_name, exc.args[0], 364 % module_name) 368 "ImportError.".format(module_name)) 372 if not check_deprecated_module(module_name) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_py3kwarn.py | 12 def check_deprecated_module(module_name): 17 def check_deprecated_module(module_name): 21 return any(module_name in msg and ' removed' in msg 351 def check_removal(self, module_name, optional=False): 354 with CleanImport(module_name), warnings.catch_warnings(): 360 __import__(module_name, level=0) 362 self.assertIn(module_name, exc.args[0], 364 % module_name) 368 "ImportError.".format(module_name)) 372 if not check_deprecated_module(module_name) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_py3kwarn.py | 12 def check_deprecated_module(module_name): 17 def check_deprecated_module(module_name): 21 return any(module_name in msg and ' removed' in msg 351 def check_removal(self, module_name, optional=False): 354 with CleanImport(module_name), warnings.catch_warnings(): 360 __import__(module_name, level=0) 362 self.assertIn(module_name, exc.args[0], 364 % module_name) 368 "ImportError.".format(module_name)) 372 if not check_deprecated_module(module_name) [all...] |
/external/autotest/client/site_tests/kernel_CryptoAPI/src/ |
crypto_load_mod.c | 23 printf("usage: %s MODULE_NAME\n", argv[0]);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_libcdep.cc | 65 const char *module_name; local 68 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset)) 71 res->info.FillModuleInfo(module_name, module_offset); 84 const char *module_name; local 86 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset)) 89 info->module = internal_strdup(module_name); 101 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, 109 if (module_name) 110 *module_name = module_names_.GetOwnedCopy(internal_module_name); 140 const char **module_name, [all...] |
sanitizer_symbolizer.h | 90 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, 93 const char *module_name = nullptr; local 95 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) 96 return module_name; 140 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
definition.py | 91 def define_enum(enum_descriptor, module_name): 96 module_name: Module name to give new descriptor class. 104 class_dict['__module__'] = module_name 143 def define_message(message_descriptor, module_name): 148 module_name: Module name to give to new descriptor class. 153 class_dict = {'__module__': module_name} 156 enum_instance = define_enum(enum, module_name)
|
registry_test.py | 69 module_name = test_util.get_module_name(RegistryServiceTest) 72 service1_mapping.definition = '%s.MyService1' % module_name 76 service2_mapping.definition = '%s.MyService2' % module_name
|
/external/google-breakpad/src/common/ |
module_unittest.cc | 63 #define MODULE_NAME "name with spaces" 70 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); 79 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); 103 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); 159 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); 209 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); 254 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); 293 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); 379 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); 393 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID) [all...] |
/external/opencv3/modules/python/ |
common.cmake | 4 ocv_add_module(${MODULE_NAME} BINDINGS) 13 # message(STATUS "Wrapped in ${MODULE_NAME}:") 16 if (";${OPENCV_MODULE_${m}_WRAPPERS};" MATCHES ";${MODULE_NAME};" AND HAVE_${m})
|
/external/autotest/client/cros/cellular/wardmodem/ |
wardmodem.py | 267 def _create_state_machine(self, module_name): 269 Creates a state machine object given the |module_name|. 272 definitions. If |module_name| is new_and_shiny_machine, the state 275 @param module_name: The name of the module from which the state machine 281 @raises WardModemSetupError if |module_name| is malformed or the object 285 # Obtain the name of the state machine class from module_name. 287 parts = module_name.split('_') 291 self._import_state_machine_module_as_sm(module_name) 298 def _import_state_machine_module_as_sm(self, module_name): 300 if module_name == 'call_machine' [all...] |
/external/autotest/frontend/afe/ |
test.py | 45 for module_name in module_names: 46 modules.append(getattr(app_module, module_name))
|