/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/chromium_org/sandbox/win/src/ |
target_interceptions.cc | 47 UNICODE_STRING* module_name = local 51 if ((!module_name) && (image_flags & MODULE_HAS_CODE)) { 54 module_name = ExtractModuleName(file_name); 60 if (!agent->OnDllLoad(file_name, module_name, *base)) { 67 if (module_name) 68 operator delete(module_name, NT_ALLOC);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_linux_libcdep.cc | 61 InternalScopedBuffer<char> module_name(kMaxPathLength); 62 module_name.data()[0] = '\0'; 66 ReadBinaryName(module_name.data(), module_name.size()); 68 internal_strncpy(module_name.data(), info->dlpi_name, module_name.size()); 70 if (module_name.data()[0] == '\0') 72 if (data->filter && !data->filter(module_name.data())) 75 LoadedModule *cur_module = new(mem) LoadedModule(module_name.data(),
|
sanitizer_symbolizer_mac.cc | 30 InternalScopedBuffer<char> module_name(kMaxPathLength); 35 module_name.data(), module_name.size(), 0); 37 const char *cur_name = module_name.data();
|
sanitizer_symbolizer_libcdep.cc | 29 LoadedModule::LoadedModule(const char *module_name, uptr base_address) { 30 full_name_ = internal_strdup(module_name); 93 // <module_name> <module_offset> 113 char *SendCommand(bool is_data, const char *module_name, uptr module_offset) { 114 CHECK(module_name); 116 is_data ? "DATA " : "", module_name, module_offset); 211 char *SendCommand(bool is_data, const char *module_name, uptr module_offset) { 214 if (symbolize_fn(module_name, module_offset, buffer_, kBufferSize)) 254 char *SendCommand(bool is_data, const char *module_name, uptr module_offset) { 273 const char *module_name = module->full_name() local 331 const char *module_name = module->full_name(); local [all...] |
/external/chromium_org/chrome/browser/install_verification/win/ |
module_info.h | 16 ModuleInfo(const base::char16* const module_name, 21 name(module_name) {
|
module_verification_common.h | 16 // Calculates a canonical digest for |module_name|. Ignores case and strips path 18 std::string CalculateModuleNameDigest(const base::string16& module_name);
|
module_verification_common.cc | 15 std::string CalculateModuleNameDigest(const base::string16& module_name) { 17 base::FilePath(module_name).BaseName().value())));
|
/external/chromium_org/native_client_sdk/src/ |
test_all.py | 36 for module_name in TEST_MODULES: 37 module = __import__(module_name)
|
/external/antlr/antlr-3.4/runtime/Perl5/ |
Build.PL | 4 module_name => 'ANTLR::Runtime',
|
/external/chromium_org/tools/grit/grit/extern/ |
FP.py | 49 def UseUnsignedFingerPrintFromModule(module_name): 50 """Imports module_name and replaces UnsignedFingerPrint in the 57 hash_module = __import__(module_name, fromlist=[module_name])
|
/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 >"""
|
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_future.py | 14 PATTERN = """import_from< 'from' module_name="__future__" 'import' any >"""
|
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/chromium_org/content/browser/accessibility/ |
browser_accessibility_state_impl_win.cc | 60 base::string16 module_name(base::FilePath(filename).BaseName().value()); 61 if (LowerCaseEqualsASCII(module_name, "fsdomsrv.dll")) 63 if (LowerCaseEqualsASCII(module_name, "vbufbackend_gecko_ia2.dll")) 65 if (LowerCaseEqualsASCII(module_name, "stsaw32.dll")) 67 if (LowerCaseEqualsASCII(module_name, "zslhook.dll"))
|
/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/chromium_org/chrome/renderer/extensions/ |
module_system.h | 76 // require('module_name') from the loaded JS files. 77 v8::Handle<v8::Value> Require(const std::string& module_name); 81 // equivalent to calling require('module_name').method_name() from JS. 82 v8::Local<v8::Value> CallModuleMethod(const std::string& module_name, 85 const std::string& module_name, 89 const std::string& module_name, 109 // require(|module_name|)[|module_field|]. 116 const std::string& module_name, 121 const std::string& module_name, 126 // requireNative(|module_name|)[|module_field|] [all...] |
module_system.cc | 28 const char* kModuleName = "module_name"; 186 v8::Handle<v8::Value> ModuleSystem::Require(const std::string& module_name) { 189 v8::String::NewFromUtf8(GetIsolate(), module_name.c_str()))); 194 v8::Handle<v8::String> module_name = args[0]->ToString(); local 195 args.GetReturnValue().Set(RequireForJsInner(module_name)); 199 v8::Handle<v8::String> module_name) { 216 v8::Local<v8::Value> exports(modules->Get(module_name)); 220 std::string module_name_str = *v8::String::Utf8Value(module_name); 229 v8::Handle<v8::Value> func_as_value = RunString(wrapped_source, module_name); 269 modules->Set(module_name, exports) [all...] |
/development/tools/idegen/ |
intellij-gen.sh | 37 echo "Usage: $progname <module_name>" 40 module_name=$1 66 echo "Generating project files for $module_name" 67 cmd="java -cp $idegenjar com.android.idegen.IntellijProject $index_file $module_name"
|
/external/chromium_org/tools/telemetry/telemetry/unittest/ |
system_stub.py | 35 for module_name in module_list: 36 self._overrides[module_name] = getattr(base_module, module_name, None) 37 setattr(self, module_name, stubs[module_name]()) 38 setattr(base_module, module_name, getattr(self, module_name)) 47 for module_name, original_module in self._overrides.iteritems(): 48 setattr(self._base_module, module_name, original_module)
|
/external/chromium_org/tools/generate_stubs/ |
generate_stubs_unittest.py | 128 module_name = 'my_module-1' 131 gs.WriteWindowsDefFile(module_name, signatures, outfile) 137 """ % module_name)) 161 self.module_name = 'my_module-1' 164 self.writer = gs.PosixStubWriter(self.module_name, self.signatures) 168 gs.PosixStubWriter.EnumName(self.module_name)) 172 gs.PosixStubWriter.IsInitializedName(self.module_name)) 177 gs.PosixStubWriter.InitializeModuleName(self.module_name)) 182 gs.PosixStubWriter.UninitializeModuleName(self.module_name)) 224 decl = gs.PosixStubWriter.InitializeModuleName(self.module_name) [all...] |