Searched refs:module (Results 1 - 25 of 2615) sorted by relevance

1234567891011>>

/prebuilts/misc/common/swig/include/2.0.11/
H A Dswigrun.i4 * Empty module (for now). Placeholder for runtime libs
7 %module swigrun
H A Druntime.swg14 swig_module_info *module = SWIG_GetModule(clientdata);
15 return SWIG_TypeQueryModule(module, module, name);
20 swig_module_info *module = SWIG_GetModule(clientdata);
21 return SWIG_MangledTypeQueryModule(module, module, name);
28 swig_module_info *module = SWIG_GetModule(NULL);
29 return SWIG_TypeQueryModule(module, module, name);
34 swig_module_info *module
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_bisect.py7 # and the Python implementation of the module.
15 # Now we can import the module and get the pure Python implementation.
22 # This is now the module with the C implementation.
49 module = None variable in class:TestBisect
53 (self.module.bisect_right, [], 1, 0),
54 (self.module.bisect_right, [1], 0, 0),
55 (self.module.bisect_right, [1], 1, 1),
56 (self.module.bisect_right, [1], 2, 1),
57 (self.module.bisect_right, [1, 1], 0, 0),
58 (self.module
225 module = py_bisect variable in class:TestBisectPython
228 module = c_bisect variable in class:TestBisectC
233 module = None variable in class:TestInsort
262 module = py_bisect variable in class:TestInsortPython
265 module = c_bisect variable in class:TestInsortC
286 module = None variable in class:TestErrorHandling
315 module = py_bisect variable in class:TestErrorHandlingPython
318 module = c_bisect variable in class:TestErrorHandlingC
[all...]
H A Dxmltests.py1 # Convenience test module to run all of the XML-related tests in the
11 module = sys.modules[name]
12 if hasattr(module, "test_main"):
13 module.test_main()
H A Dtest_warnings.py19 def warnings_state(module):
32 original_filters = module.filters
34 module.filters = original_filters[:]
35 module.simplefilter("once")
36 warning_tests.warnings = module
40 module.filters = original_filters
56 # The 'warnings' module must be explicitly set so that the proper
58 sys.modules['warnings'] = self.module
71 with original_warnings.catch_warnings(module=self.module) a
190 module = c_warnings variable in class:CFilterTests
193 module = py_warnings variable in class:PyFilterTests
352 module = c_warnings variable in class:CWarnTests
361 module = py_warnings variable in class:PyWarnTests
402 module = c_warnings variable in class:CWCmdLineTests
405 module = py_warnings variable in class:PyWCmdLineTests
412 module = c_warnings variable in class:_WarningsTests
591 module = c_warnings variable in class:CWarningsDisplayTests
594 module = py_warnings variable in class:PyWarningsDisplayTests
701 module = c_warnings variable in class:CCatchWarningTests
704 module = py_warnings variable in class:PyCatchWarningTests
740 module = c_warnings variable in class:CEnvironmentVariableTests
743 module = py_warnings variable in class:PyEnvironmentVariableTests
[all...]
H A Dtest_pep247.py7 warnings.filterwarnings('ignore', 'the md5 module is deprecated.*',
9 warnings.filterwarnings('ignore', 'the sha module is deprecated.*',
21 def check_module(self, module, key=None):
22 self.assertTrue(hasattr(module, 'digest_size'))
23 self.assertTrue(module.digest_size is None or module.digest_size > 0)
26 obj1 = module.new(key)
27 obj2 = module.new(key, 'string')
29 h1 = module.new(key, 'string').digest()
30 obj3 = module
[all...]
H A Dtest_heapq.py29 module = None variable in class:TestHeap
39 self.module.heappush(heap, item)
43 item = self.module.heappop(heap)
52 self.assertRaises(TypeError, self.module.heappush, [])
54 self.assertRaises(TypeError, self.module.heappush, None, None)
55 self.assertRaises(TypeError, self.module.heappop, None)
69 self.module.heapify(heap)
72 self.assertRaises(TypeError, self.module.heapify, None)
78 self.module.heappush(heap, item)
80 self.module
216 module = py_heapq variable in class:TestHeapPython
221 module = c_heapq variable in class:TestHeapC
329 module = None variable in class:TestErrorHandling
392 module = py_heapq variable in class:TestErrorHandlingPython
397 module = c_heapq variable in class:TestErrorHandlingC
[all...]
H A Dtest_importlib.py10 """Uncache a module from sys.modules.
37 sys module.
82 module = imp.new_module(import_name)
83 module.__loader__ = self
84 module.__file__ = '<mock __file__>'
85 module.__package__ = package
86 module.attr = name
88 module.__path__ = ['<mock __path__>']
89 self.modules[import_name] = module
122 # Test importing a top-level module
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_bisect.py7 # and the Python implementation of the module.
15 # Now we can import the module and get the pure Python implementation.
22 # This is now the module with the C implementation.
49 module = None variable in class:TestBisect
53 (self.module.bisect_right, [], 1, 0),
54 (self.module.bisect_right, [1], 0, 0),
55 (self.module.bisect_right, [1], 1, 1),
56 (self.module.bisect_right, [1], 2, 1),
57 (self.module.bisect_right, [1, 1], 0, 0),
58 (self.module
225 module = py_bisect variable in class:TestBisectPython
228 module = c_bisect variable in class:TestBisectC
233 module = None variable in class:TestInsort
262 module = py_bisect variable in class:TestInsortPython
265 module = c_bisect variable in class:TestInsortC
286 module = None variable in class:TestErrorHandling
315 module = py_bisect variable in class:TestErrorHandlingPython
318 module = c_bisect variable in class:TestErrorHandlingC
[all...]
H A Dxmltests.py1 # Convenience test module to run all of the XML-related tests in the
11 module = sys.modules[name]
12 if hasattr(module, "test_main"):
13 module.test_main()
H A Dtest_warnings.py19 def warnings_state(module):
32 original_filters = module.filters
34 module.filters = original_filters[:]
35 module.simplefilter("once")
36 warning_tests.warnings = module
40 module.filters = original_filters
56 # The 'warnings' module must be explicitly set so that the proper
58 sys.modules['warnings'] = self.module
71 with original_warnings.catch_warnings(module=self.module) a
190 module = c_warnings variable in class:CFilterTests
193 module = py_warnings variable in class:PyFilterTests
352 module = c_warnings variable in class:CWarnTests
361 module = py_warnings variable in class:PyWarnTests
402 module = c_warnings variable in class:CWCmdLineTests
405 module = py_warnings variable in class:PyWCmdLineTests
412 module = c_warnings variable in class:_WarningsTests
591 module = c_warnings variable in class:CWarningsDisplayTests
594 module = py_warnings variable in class:PyWarningsDisplayTests
701 module = c_warnings variable in class:CCatchWarningTests
704 module = py_warnings variable in class:PyCatchWarningTests
740 module = c_warnings variable in class:CEnvironmentVariableTests
743 module = py_warnings variable in class:PyEnvironmentVariableTests
[all...]
H A Dtest_pep247.py7 warnings.filterwarnings('ignore', 'the md5 module is deprecated.*',
9 warnings.filterwarnings('ignore', 'the sha module is deprecated.*',
21 def check_module(self, module, key=None):
22 self.assertTrue(hasattr(module, 'digest_size'))
23 self.assertTrue(module.digest_size is None or module.digest_size > 0)
26 obj1 = module.new(key)
27 obj2 = module.new(key, 'string')
29 h1 = module.new(key, 'string').digest()
30 obj3 = module
[all...]
H A Dtest_heapq.py29 module = None variable in class:TestHeap
39 self.module.heappush(heap, item)
43 item = self.module.heappop(heap)
52 self.assertRaises(TypeError, self.module.heappush, [])
54 self.assertRaises(TypeError, self.module.heappush, None, None)
55 self.assertRaises(TypeError, self.module.heappop, None)
69 self.module.heapify(heap)
72 self.assertRaises(TypeError, self.module.heapify, None)
78 self.module.heappush(heap, item)
80 self.module
216 module = py_heapq variable in class:TestHeapPython
221 module = c_heapq variable in class:TestHeapC
329 module = None variable in class:TestErrorHandling
392 module = py_heapq variable in class:TestErrorHandlingPython
397 module = c_heapq variable in class:TestErrorHandlingC
[all...]
H A Dtest_importlib.py10 """Uncache a module from sys.modules.
37 sys module.
82 module = imp.new_module(import_name)
83 module.__loader__ = self
84 module.__file__ = '<mock __file__>'
85 module.__package__ = package
86 module.attr = name
88 module.__path__ = ['<mock __path__>']
89 self.modules[import_name] = module
122 # Test importing a top-level module
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
H A D__main__.py12 main(module=None)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
H A D__main__.py12 main(module=None)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
H A D__init__.py4 distutils.tests package. Each test module has a name starting with
30 module = sys.modules[modname]
31 suite.addTest(module.test_suite())
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/
H A D__init__.py15 module = sys.modules[modname]
16 suite.addTest(loader.loadTestsFromModule(module))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
H A D__init__.py4 distutils.tests package. Each test module has a name starting with
30 module = sys.modules[modname]
31 suite.addTest(module.test_suite())
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/
H A D__init__.py15 module = sys.modules[modname]
16 suite.addTest(loader.loadTestsFromModule(module))
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
H A Dmodule.h28 #include <asm/module.h>
50 struct module;
54 ssize_t (*show)(struct module_attribute *, struct module *, char *);
55 ssize_t (*store)(struct module_attribute *, struct module *,
57 void (*setup)(struct module *, const char *);
58 int (*test)(struct module *);
59 void (*free)(struct module *);
65 struct module *mod;
76 #define THIS_MODULE ((struct module *)0)
110 struct module;
[all...]
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
H A Dmodule.h28 #include <asm/module.h>
50 struct module;
54 ssize_t (*show)(struct module_attribute *, struct module *, char *);
55 ssize_t (*store)(struct module_attribute *, struct module *,
57 void (*setup)(struct module *, const char *);
58 int (*test)(struct module *);
59 void (*free)(struct module *);
65 struct module *mod;
76 #define THIS_MODULE ((struct module *)0)
110 struct module;
[all...]
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
H A Dmodule.h28 #include <asm/module.h>
50 struct module;
54 ssize_t (*show)(struct module_attribute *, struct module *, char *);
55 ssize_t (*store)(struct module_attribute *, struct module *,
57 void (*setup)(struct module *, const char *);
58 int (*test)(struct module *);
59 void (*free)(struct module *);
65 struct module *mod;
76 #define THIS_MODULE ((struct module *)0)
110 struct module;
[all...]
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
H A Dmodule.h28 #include <asm/module.h>
50 struct module;
54 ssize_t (*show)(struct module_attribute *, struct module *, char *);
55 ssize_t (*store)(struct module_attribute *, struct module *,
57 void (*setup)(struct module *, const char *);
58 int (*test)(struct module *);
59 void (*free)(struct module *);
65 struct module *mod;
76 #define THIS_MODULE ((struct module *)0)
110 struct module;
[all...]
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
H A Dmodule.h28 #include <asm/module.h>
50 struct module;
54 ssize_t (*show)(struct module_attribute *, struct module *, char *);
55 ssize_t (*store)(struct module_attribute *, struct module *,
57 void (*setup)(struct module *, const char *);
58 int (*test)(struct module *);
59 void (*free)(struct module *);
65 struct module *mod;
76 #define THIS_MODULE ((struct module *)0)
110 struct module;
[all...]

Completed in 3685 milliseconds

1234567891011>>