Home
last modified time | relevance | path

Searched refs:factories (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium_org/content/browser/webui/
Dweb_ui_controller_factory_registry.cc23 std::vector<WebUIControllerFactory*>* factories = g_factories.Pointer(); in UnregisterFactoryForTesting() local
24 for (size_t i = 0; i < factories->size(); ++i) { in UnregisterFactoryForTesting()
25 if ((*factories)[i] == factory) { in UnregisterFactoryForTesting()
26 factories->erase(factories->begin() + i); in UnregisterFactoryForTesting()
39 std::vector<WebUIControllerFactory*>* factories = g_factories.Pointer(); in CreateWebUIControllerForURL() local
40 for (size_t i = 0; i < factories->size(); ++i) { in CreateWebUIControllerForURL()
41 WebUIController* controller = (*factories)[i]->CreateWebUIControllerForURL( in CreateWebUIControllerForURL()
51 std::vector<WebUIControllerFactory*>* factories = g_factories.Pointer(); in GetWebUIType() local
52 for (size_t i = 0; i < factories->size(); ++i) { in GetWebUIType()
53 WebUI::TypeID type = (*factories)[i]->GetWebUIType(browser_context, url); in GetWebUIType()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dsync_file_system_service_factory.cc40 FactorySet factories; in SyncFileSystemServiceFactory() local
42 RemoteFileSyncService::V1, &factories); in SyncFileSystemServiceFactory()
44 RemoteFileSyncService::V2, &factories); in SyncFileSystemServiceFactory()
45 for (FactorySet::iterator iter = factories.begin(); in SyncFileSystemServiceFactory()
46 iter != factories.end(); in SyncFileSystemServiceFactory()
Dremote_file_sync_service.cc31 std::set<BrowserContextKeyedServiceFactory*>* factories) { in AppendDependsOnFactories() argument
34 DriveFileSyncService::AppendDependsOnFactories(factories); in AppendDependsOnFactories()
37 drive_backend::SyncEngine::AppendDependsOnFactories(factories); in AppendDependsOnFactories()
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-1560.js51 function test(factories, w) { argument
52 factories.forEach(function(f) { w(f(), 0); });
53 factories.forEach(function(f) { w(f(), 0); });
55 factories.forEach(function(f) { w(f(), 0); });
/external/skia/samplecode/
DOverView.cpp22 OverView(int count, const SkViewFactory* factories[]);
70 SkView* create_overview(int count, const SkViewFactory* factories[]) { in create_overview() argument
71 return SkNEW_ARGS(OverView, (count, factories)); in create_overview()
79 OverView::OverView(int count, const SkViewFactory* factories[]) { in OverView() argument
81 fFactories = factories; in OverView()
/external/chromium_org/third_party/skia/samplecode/
DOverView.cpp22 OverView(int count, const SkViewFactory* factories[]);
70 SkView* create_overview(int count, const SkViewFactory* factories[]) { in create_overview() argument
71 return SkNEW_ARGS(OverView, (count, factories)); in create_overview()
79 OverView::OverView(int count, const SkViewFactory* factories[]) { in OverView() argument
81 fFactories = factories; in OverView()
/external/icu/icu4c/source/common/
Dserv.cpp339 , factories(NULL) in ICUService()
349 , factories(NULL) in ICUService()
361 delete factories; in ~ICUService()
362 factories = NULL; in ~ICUService()
469 int32_t limit = factories->size(); in getKey()
474 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) { in getKey()
502 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(index++); in getKey()
667 } else if (factories != NULL) { in getVisibleIDMap()
668 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap()
669 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap()
[all …]
/external/chromium_org/third_party/icu/source/common/
Dserv.cpp334 , factories(NULL) in ICUService()
346 , factories(NULL) in ICUService()
359 delete factories; in ~ICUService()
360 factories = NULL; in ~ICUService()
468 int32_t limit = factories->size(); in getKey()
473 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) { in getKey()
501 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(index++); in getKey()
667 } else if (factories != NULL) { in getVisibleIDMap()
668 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap()
669 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap()
[all …]
/external/chromium_org/chrome/browser/apps/drive/
Ddrive_service_bridge.cc133 std::set<BrowserContextKeyedServiceFactory*>* factories) { in AppendDependsOnFactories() argument
134 DCHECK(factories); in AppendDependsOnFactories()
135 factories->insert(ProfileOAuth2TokenServiceFactory::GetInstance()); in AppendDependsOnFactories()
136 factories->insert(SigninManagerFactory::GetInstance()); in AppendDependsOnFactories()
137 factories->insert(drive::DriveNotificationManagerFactory::GetInstance()); in AppendDependsOnFactories()
/external/chromium_org/content/renderer/media/
Drtc_video_decoder.cc78 const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories) in RTCVideoDecoder() argument
79 : factories_(factories), in RTCVideoDecoder()
115 const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories) { in Create() argument
129 decoder.reset(new RTCVideoDecoder(factories)); in Create()
141 factories->GetTaskRunner()->DeleteSoon(FROM_HERE, decoder.release()); in Create()
397 const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, in ReadPixelsSyncInner() argument
402 factories->ReadPixels(texture_id, visible_rect, pixels); in ReadPixelsSyncInner()
407 const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, in ReadPixelsSync() argument
412 if (!factories->GetTaskRunner()->PostTask(FROM_HERE, in ReadPixelsSync()
414 factories, in ReadPixelsSync()
[all …]
/external/chromium_org/media/filters/
Dgpu_video_decoder.cc64 const scoped_refptr<GpuVideoAcceleratorFactories>& factories, in GpuVideoDecoder() argument
67 factories_(factories), in GpuVideoDecoder()
395 const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, in ReadPixelsSyncInner() argument
400 factories->ReadPixels(texture_id, visible_rect, pixels); in ReadPixelsSyncInner()
405 const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, in ReadPixelsSync() argument
410 if (!factories->GetTaskRunner()->PostTask(FROM_HERE, in ReadPixelsSync()
412 factories, in ReadPixelsSync()
481 const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, in ReleaseMailbox() argument
485 DCHECK(factories->GetTaskRunner()->BelongsToCurrentThread()); in ReleaseMailbox()
488 factories->WaitSyncPoint(release_sync_points[i]); in ReleaseMailbox()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DTranscoderFactory.java62 …private Map<MultiClassKey, ResourceTranscoder> factories = new HashMap<MultiClassKey, ResourceTran… field in TranscoderFactory
65 factories.put(new MultiClassKey(decodedClass, transcodedClass), factory); in register()
74 ResourceTranscoder<Z, R> result = factories.get(GET_KEY); in get()
/external/apache-http/src/org/apache/commons/logging/
DLogFactory.java284 protected static Hashtable factories = null; field in LogFactory
692 synchronized (factories) { in release()
699 LogFactory factory = (LogFactory) factories.get(classLoader); in release()
702 factories.remove(classLoader); in release()
723 synchronized (factories) { in releaseAll()
724 Enumeration elements = factories.elements(); in releaseAll()
729 factories.clear(); in releaseAll()
918 factory = (LogFactory) factories.get(contextClassLoader);
943 factories.put(classLoader, factory);
1735 factories = createFactoryStore();
/external/smack/src/de/measite/smack/
DSasl.java62 Hashtable<SaslClientFactory,Object> factories = new Hashtable<SaslClientFactory,Object>(); in getSaslClientFactories() local
63 factories.put(new SaslClientFactory(), new Object()); in getSaslClientFactories()
64 return factories.keys(); in getSaslClientFactories()
/external/smack/asmack-master/static-src/custom/de/measite/smack/
DSasl.java62 Hashtable<SaslClientFactory,Object> factories = new Hashtable<SaslClientFactory,Object>(); in getSaslClientFactories() local
63 factories.put(new SaslClientFactory(), new Object()); in getSaslClientFactories()
64 return factories.keys(); in getSaslClientFactories()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DStreamUrlLoader.java17 … public ModelLoader<URL, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
18 …return new StreamUrlLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class, context)); in build()
DStreamStringLoader.java21 … public ModelLoader<String, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
22 … return new StreamStringLoader(factories.buildModelLoader(Uri.class, InputStream.class, context)); in build()
DStreamResourceLoader.java21 … public ModelLoader<Integer, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
22 …return new StreamResourceLoader(context, factories.buildModelLoader(Uri.class, InputStream.class, … in build()
DStreamFileLoader.java21 … public ModelLoader<File, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
22 … return new StreamFileLoader(factories.buildModelLoader(Uri.class, InputStream.class, context)); in build()
DStreamUriLoader.java26 … public ModelLoader<Uri, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
27 …return new StreamUriLoader(context, factories.buildModelLoader(GlideUrl.class, InputStream.class, … in build()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
DFileDescriptorStringLoader.java21 … ModelLoader<String, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { in build() argument
22 …return new FileDescriptorStringLoader(factories.buildModelLoader(Uri.class, ParcelFileDescriptor.c… in build()
DFileDescriptorResourceLoader.java21 …ModelLoader<Integer, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { in build() argument
22 …return new FileDescriptorResourceLoader(context, factories.buildModelLoader(Uri.class, ParcelFileD… in build()
DFileDescriptorFileLoader.java21 …ic ModelLoader<File, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { in build() argument
22 …return new FileDescriptorFileLoader(factories.buildModelLoader(Uri.class, ParcelFileDescriptor.cla… in build()
DFileDescriptorUriLoader.java22 …lic ModelLoader<Uri, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { in build() argument
23 …return new FileDescriptorUriLoader(context, factories.buildModelLoader(GlideUrl.class, ParcelFileD… in build()
/external/chromium_org/chrome/browser/safe_browsing/
Dlast_download_finder_unittest.cc128 TestingProfile::TestingFactories factories; in CreateProfile() local
130 factories.push_back(std::make_pair(HistoryServiceFactory::GetInstance(), in CreateProfile()
133 factories.push_back(std::make_pair( in CreateProfile()
151 factories); in CreateProfile()

123