Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 68) sorted by relevance

123

/external/skia/src/core/
DSkFlattenable.cpp74 SkFlattenable::Factory factory = NULL; in readFlattenable() local
81 factory = fFactoryArray[index]; in readFlattenable()
84 if (NULL == factory) { in readFlattenable()
91 factory = (SkFlattenable::Factory)readFunctionPtr(); in readFlattenable()
95 if (factory) { in readFlattenable()
98 obj = (*factory)(*this); in readFlattenable()
166 SkFlattenable::Factory factory = NULL; in writeFlattenable() local
168 factory = flattenable->getFactory(); in writeFlattenable()
172 this->write32(fFactoryRecorder->record(factory)); in writeFlattenable()
174 this->writeFunctionPtr((void*)factory); in writeFlattenable()
[all …]
DSkPixelRef.cpp94 void SkPixelRef::Register(const char name[], Factory factory) { in Register() argument
96 SkASSERT(factory); in Register()
107 gPairs[gCount].fFactory = factory; in Register()
/external/apache-http/src/org/apache/commons/logging/
DLogFactory.java395 LogFactory factory = getCachedFactory(contextClassLoader); in getFactory() local
396 if (factory != null) { in getFactory()
397 return factory; in getFactory()
457 factory = newFactory(factoryClass, baseClassLoader, contextClassLoader); in getFactory()
497 if (factory == null) { in getFactory()
529factory = newFactory(factoryClassName, baseClassLoader, contextClassLoader ); in getFactory()
557 if (factory == null) { in getFactory()
572 factory = newFactory(factoryClass, baseClassLoader, contextClassLoader); in getFactory()
593 if (factory == null) { in getFactory()
610 factory = newFactory(FACTORY_DEFAULT, thisClassLoader, contextClassLoader); in getFactory()
[all …]
/external/apache-http/src/org/apache/http/auth/
DAuthSchemeRegistry.java77 final AuthSchemeFactory factory) { in register() argument
81 if (factory == null) { in register()
84 registeredSchemes.put(name.toLowerCase(Locale.ENGLISH), factory); in register() local
117 AuthSchemeFactory factory = registeredSchemes.get(name.toLowerCase(Locale.ENGLISH)); in getAuthScheme() local
118 if (factory != null) { in getAuthScheme()
119 return factory.newInstance(params); in getAuthScheme()
/external/apache-http/src/org/apache/http/cookie/
DCookieSpecRegistry.java72 public synchronized void register(final String name, final CookieSpecFactory factory) { in register() argument
76 if (factory == null) { in register()
79 registeredSpecs.put(name.toLowerCase(Locale.ENGLISH), factory); in register() local
111 CookieSpecFactory factory = registeredSpecs.get(name.toLowerCase(Locale.ENGLISH)); in getCookieSpec() local
112 if (factory != null) { in getCookieSpec()
113 return factory.newInstance(params); in getCookieSpec()
/external/apache-http/src/org/apache/http/client/params/
DClientParamBean.java48 public void setConnectionManagerFactoryClassName (final String factory) { in setConnectionManagerFactoryClassName() argument
49 params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY_CLASS_NAME, factory); in setConnectionManagerFactoryClassName()
52 public void setConnectionManagerFactory(ClientConnectionManagerFactory factory) { in setConnectionManagerFactory() argument
53 params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY, factory); in setConnectionManagerFactory()
/external/gdata/src/com/google/wireless/gdata/spreadsheets/client/
DSpreadsheetsClient.java103 GDataParserFactory factory = getGDataParserFactory(); in createEntry() local
104 GDataSerializer serializer = factory.createSerializer(entry); in createEntry()
107 GDataParser parser = factory.createParser(entry.getClass(), is); in createEntry()
216 GDataParserFactory factory = getGDataParserFactory(); in updateEntry() local
217 GDataSerializer serializer = factory.createSerializer(entry); in updateEntry()
225 GDataParser parser = factory.createParser(entry.getClass(), is); in updateEntry()
/external/apache-http/src/org/apache/http/conn/scheme/
DScheme.java88 final SocketFactory factory, in Scheme() argument
95 if (factory == null) { in Scheme()
105 this.socketFactory = factory; in Scheme()
107 this.layered = (factory instanceof LayeredSocketFactory); in Scheme()
/external/webkit/WebKitTools/BuildSlaveSupport/build.webkit.org-config/webkit/
Dfactories.py2 from buildbot.process import factory
4 s = factory.s
6 class BuildFactory(factory.BuildFactory):
9 factory.BuildFactory.__init__(self, [s(CheckOutSource)])
Dbuilders.py30 for name, factory, slaves in _builders:
34 'factory': factory()})
/external/webkit/WebKit/win/
DWebKitDLL.cpp94 WebKitClassFactory* factory = new WebKitClassFactory(rclsid); in DllGetClassObject() local
95 *ppv = reinterpret_cast<LPVOID>(factory); in DllGetClassObject()
96 if (!factory) in DllGetClassObject()
99 factory->AddRef(); in DllGetClassObject()
/external/icu4c/common/
Dservls.cpp124 ICUServiceFactory * factory = new SimpleLocaleKeyFactory(objToAdopt, locale, kind, coverage); in registerInstance() local
125 if (factory != NULL) { in registerInstance()
126 return registerFactory(factory, status); in registerInstance()
150 ICUServiceFactory * factory = new SimpleLocaleKeyFactory(objToAdopt, locale, kind, coverage);
151 if (factory != NULL) {
152 return registerFactory(factory, status);
Dserv.cpp426 …CUServiceKey& key, UnicodeString* actualReturn, const ICUServiceFactory* factory, UErrorCode& stat… in getKey() argument
449 XMutex mutex(&ncthis->lock, factory != NULL); in getKey()
468 if (factory != NULL) { in getKey()
470 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) { in getKey()
872 ICUServiceFactory *factory = (ICUServiceFactory*)rkey; in unregister() local
874 if (factory != NULL && factories != NULL) { in unregister()
877 if (factories->removeElement(factory)) { in unregister()
882 delete factory; in unregister()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultHttpClient.java166 ClientConnectionManagerFactory factory = null; in createClientConnectionManager() local
169 factory = (ClientConnectionManagerFactory) params in createClientConnectionManager()
171 if (factory == null) { // then try getting its class name. in createClientConnectionManager()
177 factory = (ClientConnectionManagerFactory) clazz.newInstance(); in createClientConnectionManager()
188 if(factory != null) { in createClientConnectionManager()
189 connManager = factory.newInstance(params, registry); in createClientConnectionManager()
/external/gdata/src/com/google/wireless/gdata/serializer/xml/
DXmlEntryGDataSerializer.java25 private final XmlParserFactory factory; field in XmlEntryGDataSerializer
36 public XmlEntryGDataSerializer(XmlParserFactory factory, in XmlEntryGDataSerializer() argument
38 this.factory = factory; in XmlEntryGDataSerializer()
64 serializer = factory.createSerializer(); in serialize()
/external/webkit/WebCore/platform/text/
DTextEncodingRegistry.cpp217 TextCodecFactory factory = textCodecMap->get(encoding.name()); in newTextCodec() local
218 ASSERT(factory.function); in newTextCodec()
219 return factory.function(encoding, factory.additionalData); in newTextCodec()
/external/webkit/WebCore/plugins/qt/
DPluginDataQt.cpp40 QWebPluginFactory* factory = webPage->pluginFactory(); in initPlugins() local
41 if (factory) { in initPlugins()
43 QList<QWebPluginFactory::Plugin> qplugins = factory->plugins(); in initPlugins()
/external/gdata/src/com/google/wireless/gdata/subscribedfeeds/client/
DSubscribedFeedsClient.java25 public SubscribedFeedsClient(GDataClient client, GDataParserFactory factory) { in SubscribedFeedsClient() argument
26 super(client, factory); in SubscribedFeedsClient()
/external/gdata/src/com/google/wireless/gdata/contacts/client/
DContactsClient.java23 public ContactsClient(GDataClient client, GDataParserFactory factory) { in ContactsClient() argument
24 super(client, factory); in ContactsClient()
/external/skia/src/images/
DSkImageDecoder_Factory.cpp30 SkImageDecoder* codec = curr->factory()(stream); in Factory()
49 SkMovie* movie = curr->factory()(stream); in DecodeStream()
/external/icu4c/test/intltest/
Duobjtest.cpp51 const char *className, const char *factory, in testClass() argument
55 …UnicodeString what = UnicodeString(className) + " * x= " + UnicodeString(factory?factory:" ABSTRAC… in testClass()
79 if(factory != NULL) { /* NULL factory means: abstract */ in testClass()
112 ids_factory[ids_count] = factory; in testClass()
/external/gdata/src/com/google/wireless/gdata/contacts/serializer/xml/
DXmlGroupEntryGDataSerializer.java19 public XmlGroupEntryGDataSerializer(XmlParserFactory factory, GroupEntry entry) { in XmlGroupEntryGDataSerializer() argument
20 super(factory, entry); in XmlGroupEntryGDataSerializer()
/external/skia/include/core/
DSkPixelRef.h121 Registrar(const char name[], Factory factory) { in Registrar() argument
122 SkPixelRef::Register(name, factory); in Registrar()
/external/gdata/src/com/google/wireless/gdata/calendar/client/
DCalendarClient.java42 public CalendarClient(GDataClient client, GDataParserFactory factory) { in CalendarClient() argument
43 super(client, factory); in CalendarClient()
/external/opencore/protocols/rtp_payload_parser/include/
Dpayload_parser_registry.h101 IPayloadParserFactory* factory) in addPayloadParserFactoryToRegistry() argument
104 iRegistry.insert(value_type(mimeString, factory)); in addPayloadParserFactoryToRegistry()

123