Searched defs:factory (Results 151 - 175 of 748) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/tests/
H A DSkResourceCacheTest.cpp92 SkResourceCache::DiscardableFactory factory = SkResourceCache::GetDiscardableFactory(); local
96 if (factory) {
97 cache.reset(SkNEW_ARGS(SkResourceCache, (factory)));
125 SkResourceCache::DiscardableFactory factory = SkResourceCache::GetDiscardableFactory(); local
129 if (factory) {
130 cache.reset(SkNEW_ARGS(SkResourceCache, (factory)));
152 if (factory) {
/external/chromium_org/third_party/webrtc/base/
H A Dreferencecountedsingletonfactory.h25 // Thus, the factory owns at most one object of the desired kind, and
28 // and if the reference count hits zero, the factory can throw the object
29 // away. If a consumer requests the pointer and the factory has none,
86 // Create a pointer that uses the factory to get the instance.
88 explicit rcsf_ptr(ReferenceCountedSingletonFactory<Interface>* factory) argument
90 factory_(factory) {
114 // Set instance to NULL and tell the factory we aren't using the instance
130 // Returns the factory that this pointer is using.
131 ReferenceCountedSingletonFactory<Interface>* factory() const { function in class:rtc::rcsf_ptr
H A Dsslsocketfactory.cc29 ProxySocketAdapter(SslSocketFactory* factory, int family, int type) argument
30 : AsyncSocketAdapter(NULL), factory_(factory), family_(family),
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
H A Dbwe_simulations.cc24 static const AbsoluteSendTimeRemoteBitrateEstimatorFactory factory = local
27 return BweTestConfig::EstimatorConfig("AST", flow_id, &factory, kAimdControl,
/external/chromium_org/v8/src/ic/
H A Daccess-compiler.h50 Factory* factory() const { return isolate()->factory(); } function in class:v8::internal::BASE_EMBEDDED
/external/chromium_org/v8/test/cctest/compiler/
H A Dgraph-builder-tester.h101 Factory* factory() const { return isolate()->factory(); } function in class:v8::internal::compiler::GraphBuilderTester
H A Dtest-js-constant-cache.cc49 Factory* factory() { return main_isolate()->factory(); } function in class:JSConstantCacheTester
240 Handle<Object> num = T.factory()->NewNumber(value);
241 Handle<HeapNumber> heap = T.factory()->NewHeapNumber(value);
254 CHECK_EQ(T.UndefinedConstant(), T.Constant(T.factory()->undefined_value()));
255 CHECK_EQ(T.TheHoleConstant(), T.Constant(T.factory()->the_hole_value()));
256 CHECK_EQ(T.TrueConstant(), T.Constant(T.factory()->true_value()));
257 CHECK_EQ(T.FalseConstant(), T.Constant(T.factory()->false_value()));
258 CHECK_EQ(T.NullConstant(), T.Constant(T.factory()->null_value()));
259 CHECK_EQ(T.NaNConstant(), T.Constant(T.factory()
[all...]
/external/chromium_org/v8/test/cctest/
H A Dtest-dictionary.cc34 #include "src/factory.h"
47 Factory* factory = isolate->factory(); local
49 Handle<JSObject> a = factory->NewJSArray(7);
50 Handle<JSObject> b = factory->NewJSArray(11);
64 table = HashMap::Put(table, a, factory->NewJSArray(13));
78 Handle<JSReceiver> key = factory->NewJSArray(7);
79 Handle<JSObject> value = factory->NewJSArray(11);
90 Handle<JSReceiver> key = factory->NewJSArray(7);
100 Handle<JSReceiver> key = factory
172 Factory* factory = isolate->factory(); local
218 Factory* factory = isolate->factory(); local
[all...]
H A Dtest-weakmaps.cc45 Factory* factory = isolate->factory(); local
46 Handle<Map> map = factory->NewMap(JS_WEAK_MAP_TYPE, JSWeakMap::kSize);
47 Handle<JSObject> weakmap_obj = factory->NewJSObjectFromMap(map);
84 Factory* factory = isolate->factory(); local
94 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize);
95 Handle<JSObject> object = factory->NewJSObjectFromMap(map);
145 Factory* factory = isolate->factory(); local
187 Factory* factory = isolate->factory(); local
227 Factory* factory = isolate->factory(); local
[all...]
H A Dtest-weaksets.cc45 Factory* factory = isolate->factory(); local
46 Handle<Map> map = factory->NewMap(JS_WEAK_SET_TYPE, JSWeakSet::kSize);
47 Handle<JSObject> weakset_obj = factory->NewJSObjectFromMap(map);
84 Factory* factory = isolate->factory(); local
94 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize);
95 Handle<JSObject> object = factory->NewJSObjectFromMap(map);
145 Factory* factory = isolate->factory(); local
187 Factory* factory = isolate->factory(); local
227 Factory* factory = isolate->factory(); local
[all...]
/external/deqp/framework/common/
H A DtcuFactoryRegistry.hpp52 void registerFactory (AbstractFactory* factory);
92 void registerFactory (Factory* factory) { m_registry.registerFactory(factory); } argument
/external/deqp/framework/opengl/
H A DgluFboRenderContext.cpp141 FboRenderContext::FboRenderContext (const ContextFactory& factory, const RenderConfig& config, const tcu::CommandLine& cmdLine) argument
154 m_context = factory.createContext(nativeRenderConfig, cmdLine);
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DGenericLoaderFactory.java10 * Maintain a map of model class to factory to retrieve a {@link ModelLoaderFactory} and/or a {@link ModelLoader}
33 * null if no such factory is registered. Clears all cached model loaders.
54 * factory registered for the given model and resource classes or null if no such factory existed. Clears all cached
59 * @param factory The factory to register.
65 ModelLoaderFactory<T, Y> factory) {
74 ModelLoaderFactory<T, Y> previous = resourceToFactories.put(resourceClass, factory);
77 // This factory may be being used by another model. We don't want to say it has been removed unless we
113 final ModelLoaderFactory<T, Y> factory
64 register(Class<T> modelClass, Class<Y> resourceClass, ModelLoaderFactory<T, Y> factory) argument
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
H A DTranscoderFactory.java64 public <Z, R> void register(Class<Z> decodedClass, Class<R> transcodedClass, ResourceTranscoder<Z, R> factory) { argument
65 factories.put(new MultiClassKey(decodedClass, transcodedClass), factory);
/external/guava/guava/src/com/google/common/collect/
H A DHashBasedTable.java109 HashBasedTable(Map<R, Map<C, V>> backingMap, Factory<C, V> factory) { argument
110 super(backingMap, factory);
/external/guava/guava-tests/test/com/google/common/collect/
H A DBstTesting.java127 BstPathFactory<N, P> factory, N root, BstSide... sides) {
128 P path = factory.initialPath(root);
130 path = factory.extension(path, side);
126 extension( BstPathFactory<N, P> factory, N root, BstSide... sides) argument
/external/javassist/src/main/javassist/scopedpool/
H A DScopedClassPoolRepositoryImpl.java51 /** The factory for creating class pools */
52 protected ScopedClassPoolFactory factory = new ScopedClassPoolFactoryImpl(); field in class:ScopedClassPoolRepositoryImpl
99 return factory.create(cl, src, this);
180 public void setClassPoolFactory(ScopedClassPoolFactory factory) { argument
181 this.factory = factory;
185 return factory;
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d11/
H A Ddxgid3d11.cpp50 ComPtr<IDXGIFactory1> factory; local
51 hr = CreateDXGIFactory1(IID_IDXGIFactory1, (void**)&factory);
54 hr = factory->EnumAdapters1(0, &adapter_to_release);
114 ComPtr<IDXGIFactory> factory; local
125 adapter->GetParent(IID_IDXGIFactory, (void**)&factory);
126 hr = factory->CreateSwapChain(dev.p, (DXGI_SWAP_CHAIN_DESC*)pSwapChainDesc, out_swap_chain);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTabSpec.java97 public android.widget.TabHost.TabSpec setContent(TabContentFactory factory) { argument
98 contentView = factory.createTabContent(this.tag);
/external/sfntly/cpp/src/test/
H A Dfont_parsing_test.cc38 FontFactoryPtr factory; local
39 factory.Attach(FontFactory::GetInstance());
42 BuilderForFontFile(SAMPLE_TTF_FILE, factory, &font_builder_array);
46 factory->LoadFontsForBuilding(&input_buffer, &font_builder_array2);
102 FontFactoryPtr factory; local
103 factory.Attach(FontFactory::GetInstance());
105 BuilderForFontFile(SAMPLE_TTF_FILE, factory, &font_builder_array);
110 factory->SerializeFont(font, &output_stream);
120 FontFactoryPtr factory; local
121 factory
[all...]
H A Dname_editing_test.cc38 void LoadTestFile(FontFactory* factory, FontBuilderArray* font_builders) { argument
39 assert(factory);
44 factory->LoadFontsForBuilding(&input_buffer, font_builders);
48 FontFactoryPtr factory; local
49 factory.Attach(FontFactory::GetInstance());
51 LoadTestFile(factory, &font_builder_array);
72 factory->SerializeFont(font, &os);
76 factory->LoadFonts(&is, &font_array);
92 FontFactoryPtr factory; local
93 factory
143 FontFactoryPtr factory; local
[all...]
H A Dtest_font_utils.cc27 void BuilderForFontFile(const char* font_path, FontFactory* factory, argument
29 assert(factory);
32 factory->LoadFontsForBuilding(&is, builders);
36 void SerializeFont(const char* font_path, FontFactory* factory, Font* font) { argument
38 assert(factory);
41 factory->SerializeFont(font, &output_stream);
45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { argument
48 factory->LoadFonts(&is, fonts);
57 FontFactoryPtr factory; local
58 factory
[all...]
/external/skia/dm/
H A DDMBenchTask.cpp16 BenchRegistry::Factory factory)
18 , fBench(factory(NULL))
24 BenchRegistry::Factory factory,
27 , fBench(factory(NULL))
34 BenchRegistry::Factory factory,
38 , fBench(factory(NULL))
13 NonRenderingBenchTask(const char* config, Reporter* reporter, TaskRunner* tasks, BenchRegistry::Factory factory) argument
21 CpuBenchTask(const char* config, Reporter* reporter, TaskRunner* tasks, BenchRegistry::Factory factory, SkColorType colorType) argument
31 GpuBenchTask(const char* config, Reporter* reporter, TaskRunner* tasks, BenchRegistry::Factory factory, GrContextFactory::GLContextType contextType, int sampleCount) argument
H A DDMPDFTask.cpp26 skiagm::GMRegistry::Factory factory,
29 , fGM(factory(NULL))
23 PDFTask(const char* config, Reporter* reporter, TaskRunner* taskRunner, skiagm::GMRegistry::Factory factory, RasterizePdfProc rasterizePdfProc) argument
/external/skia/include/core/
H A DSkFlattenable.h74 /** Implement this to return a factory function pointer that can be called
92 Registrar(const char name[], Factory factory, Type type) { argument
93 SkFlattenable::Register(name, factory, type);

Completed in 392 milliseconds

1234567891011>>