Home
last modified time | relevance | path

Searched refs:newModule (Results 1 – 6 of 6) sorted by relevance

/external/guice/core/test/com/google/inject/
DModulesTest.java29 Module combined = Modules.combine(newModule(1), newModule(2L), newModule((short) 3)); in testCombineVarargs()
37 Iterable<Module> modules = Arrays.asList(newModule(1), newModule(2L), newModule((short) 3)); in testCombineIterable()
46 final Module m1 = newModule(1); in testCombineSources()
47 final Module m2 = newModule(2L); in testCombineSources()
71 private <T> Module newModule(final T toBind) { in newModule() method in ModulesTest
/external/python/cpython2/Python/
Ddynload_next.c41 NSModule newModule; in _PyImport_GetDynLoadFunc() local
77 newModule = NSLinkModule(image, pathname, LINKOPTIONS); in _PyImport_GetDynLoadFunc()
78 if (newModule == NULL) { in _PyImport_GetDynLoadFunc()
103 theSym = NSLookupSymbolInModule(newModule, funcname); in _PyImport_GetDynLoadFunc()
/external/guice/core/test/com/google/inject/util/
DOverrideModuleTest.java70 Injector injector = createInjector(Modules.override(newModule("A")).with(newModule("B"))); in testOverride()
76 Modules.override(newModule("A"), newModule(1), newModule(0.5f)) in testOverrideMultiple()
77 .with(newModule("B"), newModule(2), newModule(1.5d)); in testOverrideMultiple()
86 Injector injector = createInjector(Modules.override(EMPTY_MODULE).with(newModule("B"))); in testOverrideUnmatchedTolerated()
136 Module replacements = newModule("B"); in testOverrideWhatGetProviderProvided()
219 Module original = newModule("A"); in testOverridesTwiceFails()
613 private static <T> Module newModule(final T bound) { in newModule() method in OverrideModuleTest
/external/testng/src/main/java/org/testng/internal/
DClassImpl.java161 Module module = newModule(parentModule); in getParentInjector()
171 private Module newModule(Class<Module> module) { in newModule() method in ClassImpl
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyEnumDescriptor.java171 RubyModule enumModule = RubyModule.newModule(runtime); in buildModuleFromDescriptor()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.cpp216 std::unique_ptr<Module> newModule(new Module("", mContext)); in SetupNewModule() local
217 mpCurrentModule = newModule.get(); in SetupNewModule()
219 CreateExecEngine(std::move(newModule)); in SetupNewModule()