Home
last modified time | relevance | path

Searched refs:importer (Results 1 – 25 of 56) sorted by relevance

123

/external/python/cpython2/Lib/email/
D__init__.py113 importer = LazyImporter(_name.lower()) variable
114 sys.modules['email.' + _name] = importer
115 setattr(sys.modules['email'], _name, importer)
120 importer = LazyImporter('mime.' + _name.lower()) variable
121 sys.modules['email.MIME' + _name] = importer
122 setattr(sys.modules['email'], 'MIME' + _name, importer)
123 setattr(sys.modules['email.mime'], _name, importer)
/external/python/cpython2/Lib/
Dpkgutil.py105 for importer, name, ispkg in iter_modules(path, prefix):
106 yield importer, name, ispkg
154 def iter_importer_modules(importer, prefix=''): argument
155 if not hasattr(importer, 'iter_modules'):
157 return importer.iter_modules(prefix)
331 def iter_zipimport_modules(importer, prefix=''): argument
332 dirlist = zipimport._zip_directory_cache[importer.archive].keys()
334 _prefix = importer.prefix
380 importer = sys.path_importer_cache[path_item]
384 importer = path_hook(path_item)
[all …]
Drunpy.py201 importer = cache[path_name]
209 importer = hook(path_name)
219 importer = imp.NullImporter(path_name)
222 cache[path_name] = importer
223 return importer
247 importer = _get_importer(path_name)
248 if isinstance(importer, imp.NullImporter):
Dimputil.py133 importer = top_module.__dict__.get('__importer__')
134 if importer:
135 return importer._finish_import(top_module, parts[1:], fromlist)
205 importer = module.__dict__.get('__importer__')
206 if not importer:
Drexec.py207 self.importer = RModuleImporter(self.loader, verbose)
347 return self.importer.import_module(mname, globals, locals, fromlist)
357 return self.importer.reload(m)
369 return self.importer.unload(m)
/external/drm_hwcomposer/
Dplatformdrmgeneric.cpp36 DrmGenericImporter *importer = new DrmGenericImporter(drm); in CreateInstance() local
37 if (!importer) in CreateInstance()
40 int ret = importer->Init(); in CreateInstance()
43 delete importer; in CreateInstance()
46 return importer; in CreateInstance()
Dplatformnv.cpp37 NvImporter *importer = new NvImporter(drm); in CreateInstance() local
38 if (!importer) in CreateInstance()
41 int ret = importer->Init(); in CreateInstance()
44 delete importer; in CreateInstance()
47 return importer; in CreateInstance()
87 buf->importer = this; in ImportBuffer()
143 buf->importer->ReleaseBuffer(&buf->bo); in NvGrallocRelease()
Ddrmhwcomposer.h46 DrmHwcBuffer(const hwc_drm_bo &bo, Importer *importer) in DrmHwcBuffer() argument
47 : bo_(bo), importer_(importer) { in DrmHwcBuffer()
73 int ImportBuffer(buffer_handle_t handle, Importer *importer);
152 int InitFromHwcLayer(hwc_layer_1_t *sf_layer, Importer *importer,
Ddrmcompositor.cpp56 Importer *importer) { in CreateComposition() argument
58 new DrmComposition(drm_, importer, planner_.get())); in CreateComposition()
Dhwcomposer.cpp197 std::unique_ptr<Importer> importer; member
247 int DrmHwcBuffer::ImportBuffer(buffer_handle_t handle, Importer *importer) { in ImportBuffer() argument
250 int ret = importer->ImportBuffer(handle, &tmp_bo); in ImportBuffer()
258 importer_ = importer; in ImportBuffer()
301 int DrmHwcLayer::InitFromHwcLayer(hwc_layer_1_t *sf_layer, Importer *importer, in InitFromHwcLayer() argument
346 int ret = buffer.ImportBuffer(sf_layer->handle, importer); in InitFromHwcLayer()
586 ret = layer.InitFromHwcLayer(sf_layer, ctx->importer.get(), ctx->gralloc); in hwc_set()
596 ctx->drm.compositor()->CreateComposition(ctx->importer.get())); in hwc_set()
933 ctx->importer.reset(Importer::CreateInstance(&ctx->drm)); in hwc_device_open()
934 if (!ctx->importer) { in hwc_device_open()
Ddrmcomposition.cpp34 DrmComposition::DrmComposition(DrmResources *drm, Importer *importer, in DrmComposition() argument
36 : drm_(drm), importer_(importer), planner_(planner) { in DrmComposition()
Ddrmdisplaycomposition.h109 int Init(DrmResources *drm, DrmCrtc *crtc, Importer *importer,
174 Importer *importer() const { in importer() function
Ddrmcompositor.h37 std::unique_ptr<DrmComposition> CreateComposition(Importer *importer);
Ddrmcomposition.h47 DrmComposition(DrmResources *drm, Importer *importer, Planner *planner);
Dplatformnv.h42 NvImporter *importer; member
/external/javassist/sample/rmi/
DCountApplet.java12 private ObjectImporter importer; field in CountApplet
23 importer = new ObjectImporter(this); in init()
34 importer = new ObjectImporter(cl.getServer(), cl.getPort()); in applicationInit()
53 counter = (Counter)importer.lookupObject(paramName); in start()
/external/python/cpython2/Lib/test/
Dtest_importhooks.py159 def doTestImports(self, importer=None): argument
172 if importer:
173 self.assertEqual(hooktestmodule.__loader__, importer)
174 self.assertEqual(hooktestpackage.__loader__, importer)
175 self.assertEqual(hooktestpackage.sub.__loader__, importer)
176 self.assertEqual(hooktestpackage.sub.subber.__loader__, importer)
Dtest_fork1.py36 def importer(): function
43 t = threading.Thread(target=importer)
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_bootstrap_unittest.cc125 Importer importer(&source_tree, &error_collector); in TEST() local
127 importer.Import("google/protobuf/descriptor.proto"); in TEST()
129 importer.Import("google/protobuf/compiler/plugin.proto"); in TEST()
/external/javassist/src/main/javassist/tools/rmi/
DSample.java24 private ObjectImporter importer; field in Sample
28 return importer.call(objectId, identifier, args); in forward()
/external/python/cpython2/Modules/
Dmain.c208 PyObject *argv0 = NULL, *importer = NULL; in RunMainFromImporter() local
211 (importer = PyImport_GetImporter(argv0)) && in RunMainFromImporter()
212 (importer->ob_type != &PyNullImporter_Type)) in RunMainFromImporter()
221 Py_DECREF(importer); in RunMainFromImporter()
227 Py_XDECREF(importer); in RunMainFromImporter()
/external/python/cpython2/Python/
Dimport.c1234 PyObject *importer; in get_path_importer() local
1245 importer = PyDict_GetItem(path_importer_cache, p); in get_path_importer()
1246 if (importer != NULL) in get_path_importer()
1247 return importer; in get_path_importer()
1257 importer = PyObject_CallFunctionObjArgs(hook, p, NULL); in get_path_importer()
1258 if (importer != NULL) in get_path_importer()
1266 if (importer == NULL) { in get_path_importer()
1267 importer = PyObject_CallFunctionObjArgs( in get_path_importer()
1270 if (importer == NULL) { in get_path_importer()
1277 if (importer != NULL) { in get_path_importer()
[all …]
/external/python/cpython2/Doc/library/
Dpkgutil.rst53 If *dirname* is a string, a :pep:`302` importer is created that searches that
54 directory. If *dirname* is ``None``, a :pep:`302` importer is created that
80 Retrieve a :pep:`302` importer for the given *path_item*.
82 The returned importer is cached in :data:`sys.path_importer_cache` if it was
85 If there is no importer, a wrapper around the basic import machinery is
86 returned. This wrapper is never inserted into the importer cache (``None``
/external/icu/icu4c/source/i18n/
Dcollationruleparser.h125 importer = importerAlias; in setImporter()
189 Importer *importer; variable
/external/llvm/test/Transforms/FunctionImport/
Dfuncimport_alias.ll6 ; Do the import now. Ensures that the importer handles an external call

123