Searched refs:factory (Results 26 - 50 of 1257) sorted by relevance

1234567891011>>

/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
H A DHttpUrlRequestFactory.java15 * A factory for {@link HttpUrlRequest}'s, which uses the best HTTP stack
26 HttpUrlRequestFactory factory = null;
28 factory = createChromiumFactory(context, config);
30 if (factory == null) {
32 factory = new HttpUrlConnectionUrlRequestFactory(context, config);
34 Log.i(TAG, "Using network stack: " + factory.getName());
35 return factory;
39 * Returns true if the factory is enabled.
44 * Returns a human-readable name of the factory.
64 HttpUrlRequestFactory factory
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3commontoken.c61 static void factoryClose (pANTLR3_TOKEN_FACTORY factory);
63 static void setInputStream (pANTLR3_TOKEN_FACTORY factory, pANTLR3_INPUT_STREAM input);
64 static void factoryReset (pANTLR3_TOKEN_FACTORY factory);
68 static void newPool (pANTLR3_TOKEN_FACTORY factory);
69 static pANTLR3_COMMON_TOKEN newPoolToken (pANTLR3_TOKEN_FACTORY factory);
94 pANTLR3_TOKEN_FACTORY factory; local
98 factory = (pANTLR3_TOKEN_FACTORY) ANTLR3_MALLOC((size_t)sizeof(ANTLR3_TOKEN_FACTORY));
100 if (factory == NULL)
105 /* Install factory API
107 factory
137 setInputStream(pANTLR3_TOKEN_FACTORY factory, pANTLR3_INPUT_STREAM input) argument
152 newPool(pANTLR3_TOKEN_FACTORY factory) argument
191 newPoolToken(pANTLR3_TOKEN_FACTORY factory) argument
232 factoryReset(pANTLR3_TOKEN_FACTORY factory) argument
242 factoryClose(pANTLR3_TOKEN_FACTORY factory) argument
[all...]
H A Dantlr3string.c2 * Implementation of the ANTLR3 string and string factory classes
38 static pANTLR3_STRING newRaw8 (pANTLR3_STRING_FACTORY factory);
39 static pANTLR3_STRING newRawUTF16 (pANTLR3_STRING_FACTORY factory);
40 static pANTLR3_STRING newSize8 (pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size);
41 static pANTLR3_STRING newSizeUTF16 (pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size);
42 static pANTLR3_STRING newPtr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
43 static pANTLR3_STRING newPtrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
44 static pANTLR3_STRING newPtrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
45 static pANTLR3_STRING newStr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string);
46 static pANTLR3_STRING newStrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT
100 pANTLR3_STRING_FACTORY factory; local
186 newRaw8(pANTLR3_STRING_FACTORY factory) argument
215 newRawUTF16(pANTLR3_STRING_FACTORY factory) argument
421 newSize8(pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size) argument
449 newSizeUTF16(pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size) argument
476 newPtr8(pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr, ANTLR3_UINT32 size) argument
509 newPtrUTF16_8(pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr, ANTLR3_UINT32 size) argument
557 newPtrUTF16_UTF16(pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr, ANTLR3_UINT32 size) argument
592 newStr8(pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr) argument
603 newStrUTF16_8(pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr) argument
614 newStrUTF16_UTF16(pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr) argument
632 destroy(pANTLR3_STRING_FACTORY factory, pANTLR3_STRING string) argument
677 printable8(pANTLR3_STRING_FACTORY factory, pANTLR3_STRING instr) argument
724 printableUTF16(pANTLR3_STRING_FACTORY factory, pANTLR3_STRING instr) argument
782 closeFactory(pANTLR3_STRING_FACTORY factory) argument
[all...]
/external/chromium_org/tools/grit/grit/
H A Dclique_unittest.py26 factory = clique.UberClique()
30 c = factory.MakeClique(msg)
43 factory.FindCliqueAndAddTranslation(msg_de, 'de')
65 factory = clique.UberClique()
66 factory.MakeClique(tclib.Message(text='Alfur', description='alfaholl'))
67 factory.MakeClique(tclib.Message(text='Alfur', description=''))
68 factory.MakeClique(tclib.Message(text='Vaettur', description=''))
69 factory.MakeClique(tclib.Message(text='Vaettur', description=''))
70 factory.MakeClique(tclib.Message(text='Troll', description=''))
71 factory
[all...]
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
H A DSSLServerSocketFactoryTest.java70 SSLServerSocketFactory factory = (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
72 if (!factory.getClass().getName().equals(customServerSocketFactory.getClass().getName())) {
73 fail("incorrect instance: " + factory.getClass() +
77 if (!(factory instanceof DefaultSSLServerSocketFactory)) {
78 fail("incorrect instance " + factory.getClass());
80 if (factory.getDefaultCipherSuites().length != 0) {
83 if (factory.getSupportedCipherSuites().length != 0) {
87 factory.createServerSocket(0);
H A DSSLSocketFactoryTest.java70 SSLSocketFactory factory = (SSLSocketFactory) SSLSocketFactory.getDefault();
72 if (!factory.getClass().getName().equals(customSocketFactory.getClass().getName())) {
73 fail("incorrect instance: " + factory.getClass() +
77 if (!(factory instanceof DefaultSSLSocketFactory)) {
78 fail("incorrect instance " + factory.getClass());
80 if (factory.getDefaultCipherSuites().length != 0) {
83 if (factory.getSupportedCipherSuites().length != 0) {
87 factory.createSocket("localhost", 2021);
/external/chromium_org/athena/activity/
H A Dactivity_factory.cc18 void ActivityFactory::RegisterActivityFactory(ActivityFactory* factory) { argument
20 instance = factory;
/external/chromium_org/chrome/browser/local_discovery/wifi/
H A Dwifi_manager.cc25 void WifiManager::SetFactory(WifiManagerFactory* factory) { argument
26 g_factory = factory;
/external/chromium_org/chrome/browser/resources/cryptotoken/
H A Dgenerichelper.js40 * Registers a handler factory for a given type.
42 * @param {RequestHandlerFactory} factory A factory that can produce a handler
46 function(type, factory) {
47 this.handlerFactories_[type] = factory;
/external/chromium_org/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/
H A DHttpUrlRequestFactoryTest.java38 HttpUrlRequestFactory factory = activity.mRequestFactory;
39 assertNotNull("Factory should be created", factory);
41 factory.getName(),
43 factory.getName()));
52 HttpUrlRequestFactory factory = HttpUrlRequestFactory.createFactory(
54 assertNotNull("Factory should be created", factory);
56 factory.getName(),
59 factory.getName()));
/external/chromium_org/third_party/icu/source/test/intltest/
H A Duobjtest.h31 * @param factory String version of obj, for exanple "new UFoo(1,3,4)". NULL if object is abstract.
36 const char *className, const char *factory,
40 const char *className, const char *factory);
/external/chromium_org/third_party/skia/dm/
H A DDMTaskRunner.cpp10 GrContextFactory factory; local
12 fGpuWork[i]->run(&factory);
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLGeometryProcessor.h20 GrGLGeometryProcessor(const GrBackendProcessorFactory& factory) argument
21 : INHERITED(factory) {}
/external/icu/icu4c/source/test/intltest/
H A Duobjtest.h31 * @param factory String version of obj, for exanple "new UFoo(1,3,4)". NULL if object is abstract.
36 const char *className, const char *factory,
40 const char *className, const char *factory);
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3commontree.h76 /// Pointer to the tree factory that manufactured this
80 pANTLR3_ARBORETUM factory; member in struct:ANTLR3_COMMON_TREE_struct
109 /// \brief ANTLR3 Tree factory interface to create lots of trees efficiently
114 /// Pointers to the array of tokens that this factory has produced so far
128 /// factory is created, then just copy the memory it uses into the new token.
132 /// Pointer to a vector factory that is used to create child list vectors
134 /// vectors and auto free them when we close the factory. It also means
135 /// that all rewriting trees can use the same tree factory and the same
136 /// vector factory and we do not dup any nodes unless we must do so
151 pANTLR3_BASE_TREE (*newTree) (struct ANTLR3_ARBORETUM_struct * factory);
[all...]
/external/deqp/framework/platform/win32/
H A DtcuWin32Platform.cpp42 WGLContextFactory* factory = DE_NULL; local
46 factory = new WGLContextFactory(m_instance);
53 if (factory)
57 m_contextFactoryRegistry.registerFactory(factory);
61 delete factory;
/external/chromium_org/components/url_matcher/
H A Durl_matcher_unittest.cc169 URLMatcherConditionFactory factory;
171 factory.CreateHostPrefixCondition("foo").criterion());
173 factory.CreateHostSuffixCondition("foo").criterion());
175 factory.CreateHostContainsCondition("foo").criterion());
177 factory.CreateHostEqualsCondition("foo").criterion());
179 factory.CreatePathPrefixCondition("foo").criterion());
181 factory.CreatePathSuffixCondition("foo").criterion());
183 factory.CreatePathContainsCondition("foo").criterion());
185 factory.CreatePathEqualsCondition("foo").criterion());
187 factory
515 URLMatcherConditionFactory factory; local
793 URLMatcherConditionFactory* factory = matcher.condition_factory(); local
878 URLMatcherConditionFactory* factory = matcher.condition_factory(); local
928 URLMatcherConditionFactory* factory = matcher.condition_factory(); local
946 URLMatcherConditionFactory* factory = matcher.condition_factory(); local
[all...]
/external/chromium_org/content/browser/compositor/
H A Dimage_transport_factory_browsertest.cc42 ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
45 new OwnedMailbox(factory->GetGLHelper());
49 factory->AddObserver(&observer);
55 ui::ContextFactory* context_factory = factory->GetContextFactory();
68 factory->RemoveObserver(&observer);
102 ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
103 GLHelper* helper = factory->GetGLHelper();
/external/chromium_org/chrome/browser/sessions/
H A Dtab_restore_service_factory.cc26 TabRestoreServiceFactory* factory = GetInstance(); local
27 factory->BrowserContextShutdown(profile);
28 factory->BrowserContextDestroyed(profile);
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
H A Dutils.h27 void LoadFonts(const char* font_path, sfntly::FontFactory* factory,
30 sfntly::FontFactory* factory,
34 bool SerializeFont(const char* font_path, sfntly::FontFactory* factory,
/external/chromium_org/third_party/sfntly/cpp/src/test/
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/chromium_org/third_party/skia/tests/
H A DPictureShaderTest.cpp20 SkPictureRecorder factory; local
21 factory.beginRecording(0, 0, NULL, 0);
22 SkAutoTUnref<SkPicture> picture(factory.endRecording());
/external/javassist/src/test/test/javassist/proxy/
H A DProxyFactoryCompatibilityTest.java13 * test which checks that it is still possible to use the old style proxy factory api
45 // create a factory which, by default, uses caching
46 ProxyFactory factory = new ProxyFactory();
47 factory.setSuperclass(TestClass.class);
48 factory.setInterfaces(new Class[] { TestInterface.class});
49 factory.setFilter(filter);
52 Class proxyClass1 = factory.createClass();
59 Class proxyClass2 = factory.createClass();
68 // create a factory which, by default, uses caching then set the handler so it creates
71 factory
[all...]
/external/sfntly/cpp/src/sample/subtly/
H A Dutils.h27 void LoadFonts(const char* font_path, sfntly::FontFactory* factory,
30 sfntly::FontFactory* factory,
34 bool SerializeFont(const char* font_path, sfntly::FontFactory* factory,
/external/sfntly/cpp/src/test/
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...]

Completed in 1032 milliseconds

1234567891011>>