Searched refs:factory (Results 1 - 25 of 1175) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/tests/
H A DGrContextFactoryTest.cpp13 DEF_GPUTEST(GrContextFactoryTest, reporter, factory) {
15 factory->destroyContexts();
19 NULL == factory->getGLContext(GrContextFactory::kNative_GLContextType));
22 factory->get(GrContextFactory::kNative_GLContextType);
24 factory->getGLContext(GrContextFactory::kNative_GLContextType) != NULL);
29 NULL == factory->getGLContext(GrContextFactory::kNull_GLContextType));
H A DGLInterfaceValidationTest.cpp15 DEF_GPUTEST(GLInterfaceValidation, reporter, factory) {
18 // this forces the factory to make the context if it hasn't yet
19 factory->get(glCtxType);
20 SkGLContextHelper* glCtxHelper = factory->getGLContext(glCtxType);
25 NULL != factory->getGLContext(GrContextFactory::kNative_GLContextType) &&
26 !factory->getGLContext(GrContextFactory::kNative_GLContextType)->hasExtension("GL_NV_path_rendering")) {
/external/skia/tests/
H A DGrContextFactoryTest.cpp13 DEF_GPUTEST(GrContextFactoryTest, reporter, factory) {
15 factory->destroyContexts();
19 NULL == factory->getGLContext(GrContextFactory::kNative_GLContextType));
22 factory->get(GrContextFactory::kNative_GLContextType);
24 factory->getGLContext(GrContextFactory::kNative_GLContextType) != NULL);
29 NULL == factory->getGLContext(GrContextFactory::kNull_GLContextType));
H A DGLInterfaceValidationTest.cpp15 DEF_GPUTEST(GLInterfaceValidation, reporter, factory) {
18 // this forces the factory to make the context if it hasn't yet
19 factory->get(glCtxType);
20 SkGLContextHelper* glCtxHelper = factory->getGLContext(glCtxType);
25 NULL != factory->getGLContext(GrContextFactory::kNative_GLContextType) &&
26 !factory->getGLContext(GrContextFactory::kNative_GLContextType)->hasExtension("GL_NV_path_rendering")) {
/external/chromium_org/net/proxy/
H A Ddhcp_proxy_script_fetcher_factory_unittest.cc14 DhcpProxyScriptFetcherFactory factory; local
15 factory.set_enabled(false);
16 scoped_ptr<DhcpProxyScriptFetcher> fetcher(factory.Create(NULL));
22 DhcpProxyScriptFetcherFactory factory; local
23 factory.set_enabled(true);
26 scoped_ptr<DhcpProxyScriptFetcher> fetcher(factory.Create(context.get()));
40 DhcpProxyScriptFetcherFactory factory; local
42 EXPECT_TRUE(factory.enabled());
44 EXPECT_FALSE(factory.enabled());
47 factory
[all...]
/external/chromium_org/base/message_loop/
H A Dmessage_loop_test.h14 // RUN_MESSAGE_LOOP_TESTS(UI, factory). Factory is a function called to create
21 void RunTest_PostTask(MessagePumpFactory factory);
22 void RunTest_PostDelayedTask_Basic(MessagePumpFactory factory);
23 void RunTest_PostDelayedTask_InDelayOrder(MessagePumpFactory factory);
24 void RunTest_PostDelayedTask_InPostOrder(MessagePumpFactory factory);
25 void RunTest_PostDelayedTask_InPostOrder_2(MessagePumpFactory factory);
26 void RunTest_PostDelayedTask_InPostOrder_3(MessagePumpFactory factory);
27 void RunTest_PostDelayedTask_SharedTimer(MessagePumpFactory factory);
28 void RunTest_EnsureDeletion(MessagePumpFactory factory);
29 void RunTest_EnsureDeletion_Chain(MessagePumpFactory factory);
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dnative_browser_frame_factory.cc11 NativeBrowserFrameFactory* factory = NULL; member in namespace:__anon5210
19 if (!factory)
20 factory = new NativeBrowserFrameFactory;
21 return factory->Create(browser_frame, browser_view);
26 delete factory;
27 factory = new_factory;
/external/chromium_org/chrome/browser/resources/options/
H A Dfactory_reset_overlay.css5 #factory-reset-overlay {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
H A DPerformanceResultsPerspective.java22 private IPageLayout factory; field in class:PerformanceResultsPerspective
29 this.factory = layout;
40 this.factory.createFolder(
44 this.factory.getEditorArea());
49 this.factory.createFolder(
53 this.factory.getEditorArea());
59 this.factory.createFolder(
63 this.factory.getEditorArea());
66 this.factory.setEditorAreaVisible(false);
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
H A Dps.h74 * For use with C projects, this macro calls the provided factory with
77 #define PPAPI_SIMPLE_USE_MAIN(factory, func) \
79 return factory(inst, func); \
/external/chromium_org/content/renderer/
H A Drenderer_font_platform_win.h13 IDWriteFontCollection* GetCustomFontCollection(IDWriteFactory* factory);
/external/chromium_org/third_party/skia/src/core/
H A DSkImageGeneratorPriv.h30 * @param factory If not NULL, this object will be used as a
37 SkDiscardableMemory::Factory* factory);
/external/skia/src/core/
H A DSkImageGeneratorPriv.h30 * @param factory If not NULL, this object will be used as a
37 SkDiscardableMemory::Factory* factory);
/external/chromium_org/crypto/
H A Dec_signature_creator.cc27 ECSignatureCreatorFactory* factory) {
28 // We should always clear the factory after each test to avoid
30 DCHECK(!g_factory_ || !factory);
31 g_factory_ = factory;
26 SetFactoryForTesting( ECSignatureCreatorFactory* factory) argument
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-138887.js34 function factory(worker) { function
41 var f1 = factory(worker1);
42 var f2 = factory(f1);
H A Dregress-crbug-147475.js34 function factory(worker) { function
41 var f1 = factory(worker1);
42 var f2 = factory(f1);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dreferencecountedsingletonfactory_unittest.cc59 ReferenceCountedSingletonFactory<MyExistenceWatcher> *factory) {
60 rcsf_ptr<MyExistenceWatcher> ptr(factory);
66 TestReferenceCountedSingletonFactory factory; local
68 DoCreateAndGoOutOfScope(&factory);
73 TestReferenceCountedSingletonFactory factory; local
74 rcsf_ptr<MyExistenceWatcher> ptr(&factory);
77 DoCreateAndGoOutOfScope(&factory);
82 TestReferenceCountedSingletonFactory factory; local
83 rcsf_ptr<MyExistenceWatcher> one(&factory), two(&factory);
58 DoCreateAndGoOutOfScope( ReferenceCountedSingletonFactory<MyExistenceWatcher> *factory) argument
89 TestReferenceCountedSingletonFactory factory; local
100 TestReferenceCountedSingletonFactory factory; local
110 TestReferenceCountedSingletonFactory factory; local
120 TestReferenceCountedSingletonFactory factory; local
136 TestReferenceCountedSingletonFactory factory; local
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dreferencecountedsingletonfactory_unittest.cc42 ReferenceCountedSingletonFactory<MyExistenceWatcher> *factory) {
43 rcsf_ptr<MyExistenceWatcher> ptr(factory);
49 TestReferenceCountedSingletonFactory factory; local
51 DoCreateAndGoOutOfScope(&factory);
56 TestReferenceCountedSingletonFactory factory; local
57 rcsf_ptr<MyExistenceWatcher> ptr(&factory);
60 DoCreateAndGoOutOfScope(&factory);
65 TestReferenceCountedSingletonFactory factory; local
66 rcsf_ptr<MyExistenceWatcher> one(&factory), two(&factory);
41 DoCreateAndGoOutOfScope( ReferenceCountedSingletonFactory<MyExistenceWatcher> *factory) argument
72 TestReferenceCountedSingletonFactory factory; local
83 TestReferenceCountedSingletonFactory factory; local
93 TestReferenceCountedSingletonFactory factory; local
103 TestReferenceCountedSingletonFactory factory; local
119 TestReferenceCountedSingletonFactory factory; local
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DNFA.java44 /** Which factory created this NFA? */
45 protected NFAFactory factory = null; field in class:NFA
66 return factory;
69 public void setFactory(NFAFactory factory) { argument
70 this.factory = factory;
/external/chromium_org/google_apis/gcm/engine/
H A Dconnection_factory_impl_unittest.cc105 // A connection factory that stubs out network requests and overrides the
266 TestConnectionFactoryImpl* factory() { return &factory_; } function in class:gcm::ConnectionFactoryImplTest
290 factory()->SetConnectionListener(this);
291 factory()->Initialize(
321 ConnectionHandler* handler = factory()->GetConnectionHandler();
323 EXPECT_FALSE(factory()->IsEndpointReachable());
329 factory()->SetConnectResult(net::OK);
330 factory()->Connect();
331 EXPECT_TRUE(factory()->NextRetryAttempt().is_null());
332 EXPECT_EQ(factory()
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3commontree.c58 static void newPool (pANTLR3_ARBORETUM factory);
59 static pANTLR3_BASE_TREE newPoolTree (pANTLR3_ARBORETUM factory);
60 static pANTLR3_BASE_TREE newFromTree (pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TREE tree);
61 static pANTLR3_BASE_TREE newFromToken (pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TOKEN token);
62 static void factoryClose (pANTLR3_ARBORETUM factory);
67 pANTLR3_ARBORETUM factory; local
71 factory = (pANTLR3_ARBORETUM) ANTLR3_MALLOC((size_t)sizeof(ANTLR3_ARBORETUM));
72 if (factory == NULL)
77 // Install a vector factory to create, track and free() any child
80 factory
124 newPool(pANTLR3_ARBORETUM factory) argument
154 newPoolTree(pANTLR3_ARBORETUM factory) argument
213 newFromTree(pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TREE tree) argument
233 newFromToken(pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TOKEN token) argument
252 factoryClose(pANTLR3_ARBORETUM factory) argument
[all...]
/external/chromium_org/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/
H A DHttpUrlRequestFactoryTest.java22 HttpUrlRequestFactory factory = HttpUrlRequestFactory.createFactory(
24 assertNotNull("Factory should be created", factory);
26 "HttpUrlConnection" != factory.getName());
35 HttpUrlRequestFactory factory = HttpUrlRequestFactory.createFactory(
37 assertNotNull("Factory should be created", factory);
38 assertEquals("HttpUrlConnection", factory.getName());
/external/chromium_org/ui/base/ime/
H A Dinput_method_initializer.cc42 const LinuxInputMethodContextFactory* factory =
44 CHECK(!factory || factory == g_linux_input_method_context_factory)
56 const LinuxInputMethodContextFactory* factory =
58 CHECK(!factory || factory == g_linux_input_method_context_factory)
/external/chromium_org/chrome/browser/extensions/api/
H A Dchrome_extensions_api_client.cc23 const scoped_refptr<SettingsStorageFactory>& factory,
28 new SyncValueStoreCache(factory, observers, context->GetPath());
33 new ManagedValueStoreCache(context, factory, observers);
21 AddAdditionalValueStoreCaches( content::BrowserContext* context, const scoped_refptr<SettingsStorageFactory>& factory, const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers, std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) argument
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dtest_font_utils.h26 void BuilderForFontFile(const char* font_path, FontFactory* factory,
28 void SerializeFont(const char* font_path, FontFactory* factory, Font* font);
29 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts);

Completed in 788 milliseconds

1234567891011>>