Searched defs:factory (Results 1 - 25 of 748) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/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...]
H A Dantlr3string.h4 * one chunk via a string factory - saves lots of hassle in remembering what
54 /** The factory that created this string
56 pANTLR3_STRING_FACTORY factory; member in struct:ANTLR3_STRING_struct
206 /** Definition of the string factory interface, which creates and tracks
211 /** List of all the strings that have been allocated by the factory
221 pANTLR3_STRING (*newRaw) (struct ANTLR3_STRING_FACTORY_struct * factory);
226 pANTLR3_STRING (*newSize) (struct ANTLR3_STRING_FACTORY_struct * factory, ANTLR3_UINT32 size);
232 pANTLR3_STRING (*newPtr) (struct ANTLR3_STRING_FACTORY_struct * factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
237 pANTLR3_STRING (*newPtr8) (struct ANTLR3_STRING_FACTORY_struct * factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
243 pANTLR3_STRING (*newStr) (struct ANTLR3_STRING_FACTORY_struct * factory, pANTLR3_UINT
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3collections.c100 static void newPool (pANTLR3_VECTOR_FACTORY factory);
101 static void closeVectorFactory (pANTLR3_VECTOR_FACTORY factory);
102 static pANTLR3_VECTOR newVector (pANTLR3_VECTOR_FACTORY factory);
103 static void returnVector (pANTLR3_VECTOR_FACTORY factory, pANTLR3_VECTOR vector);
1125 // Assume that this is not a factory made vector
1432 /// Vector factory creation
1437 pANTLR3_VECTOR_FACTORY factory; local
1439 // Allocate memory for the factory
1441 factory = (pANTLR3_VECTOR_FACTORY)ANTLR3_MALLOC((size_t)(sizeof(ANTLR3_VECTOR_FACTORY)));
1443 if (factory
1478 returnVector(pANTLR3_VECTOR_FACTORY factory, pANTLR3_VECTOR vector) argument
1495 newPool(pANTLR3_VECTOR_FACTORY factory) argument
1525 closeVectorFactory(pANTLR3_VECTOR_FACTORY factory) argument
1638 newVector(pANTLR3_VECTOR_FACTORY factory) argument
[all...]
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 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...]
H A Dantlr3rewritestreams.c75 // vector factory for later reuse.
79 pANTLR3_VECTOR_FACTORY factory = ((pANTLR3_COMMON_TREE_ADAPTOR)(stream->adaptor->super))->arboretum->vFactory; local
80 factory->returnVector(factory, stream->elements);
137 // vector factory for later reuse.
141 pANTLR3_VECTOR_FACTORY factory = ((pANTLR3_COMMON_TREE_ADAPTOR)(stream->adaptor->super))->arboretum->vFactory; local
142 factory->returnVector(factory, stream->elements);
548 pANTLR3_VECTOR_FACTORY factory = ((pANTLR3_COMMON_TREE_ADAPTOR)(stream->adaptor->super))->arboretum->vFactory; local
551 stream->elements = factory
[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/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/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammar.java298 protected NFAFactory factory; field in class:Grammar
972 factory = new NFAFactory(nfa);
978 NFAState ruleBeginState = factory.newState();
982 NFAState ruleEndState = factory.newState();
1004 TreeToNFAConverter nfaBuilder = new TreeToNFAConverter(input, this, nfa, factory);
/external/apache-http/src/org/apache/commons/logging/
H A DLogFactory.java232 * using the factory's current set of configuration attributes.</p>
253 * instances returned by this factory. This is useful in environments
399 // Return any previously registered factory for this class loader
400 LogFactory factory = getCachedFactory(contextClassLoader);
401 if (factory != null) {
402 return factory;
462 factory = newFactory(factoryClass, baseClassLoader, contextClassLoader);
474 + " instance of the custom factory class"
488 + " instance of the custom factory class"
502 if (factory
939 cacheFactory(ClassLoader classLoader, LogFactory factory) argument
[all...]
/external/apache-http/src/org/apache/http/auth/
H A DAuthSchemeRegistry.java66 * Registers a {@link AuthSchemeFactory} with the given identifier. If a factory with the
76 * @param factory the {@link AuthSchemeFactory} class to register
82 final AuthSchemeFactory factory) {
86 if (factory == null) {
87 throw new IllegalArgumentException("Authentication scheme factory may not be null");
89 registeredSchemes.put(name.toLowerCase(Locale.ENGLISH), factory);
122 AuthSchemeFactory factory = registeredSchemes.get(name.toLowerCase(Locale.ENGLISH));
123 if (factory != null) {
124 return factory.newInstance(params);
80 register( final String name, final AuthSchemeFactory factory) argument
/external/apache-http/src/org/apache/http/client/params/
H A DClientParamBean.java54 public void setConnectionManagerFactoryClassName (final String factory) { argument
55 params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY_CLASS_NAME, factory);
58 public void setConnectionManagerFactory(ClientConnectionManagerFactory factory) { argument
59 params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY, factory);
/external/apache-http/src/org/apache/http/conn/scheme/
H A DScheme.java67 /** The socket factory for this scheme */
84 * depends on the class of <code>factory</code>.
88 * @param factory the factory for creating sockets for communication
93 final SocketFactory factory,
100 if (factory == null) {
102 ("Socket factory may not be null");
110 this.socketFactory = factory;
112 this.layered = (factory instanceof LayeredSocketFactory);
127 * Obtains the socket factory
92 Scheme(final String name, final SocketFactory factory, final int port) argument
[all...]
/external/apache-http/src/org/apache/http/cookie/
H A DCookieSpecRegistry.java73 * @param factory the {@link CookieSpecFactory} class to register
77 public synchronized void register(final String name, final CookieSpecFactory factory) { argument
81 if (factory == null) {
82 throw new IllegalArgumentException("Cookie spec factory may not be null");
84 registeredSpecs.put(name.toLowerCase(Locale.ENGLISH), factory);
116 CookieSpecFactory factory = registeredSpecs.get(name.toLowerCase(Locale.ENGLISH));
117 if (factory != null) {
118 return factory.newInstance(params);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DAVTPartXPath.java89 * @param factory XPath factory
100 XPathParser xpathProcessor, XPathFactory factory,
98 AVTPartXPath( String val, org.apache.xml.utils.PrefixResolver nsNode, XPathParser xpathProcessor, XPathFactory factory, XPathContext liaison) argument
/external/apache-xml/src/main/java/org/apache/xalan/xslt/
H A DEnvironmentCheck.java404 * @param factory Document providing createElement, etc. services
409 public void appendEnvironmentReport(Node container, Document factory, Hashtable h) argument
411 if ((null == container) || (null == factory))
418 Element envCheckNode = factory.createElement("EnvironmentCheck");
424 Element statusNode = factory.createElement("status");
426 statusNode.appendChild(factory.createTextNode("appendEnvironmentReport called with null Hashtable!"));
433 Element hashNode = factory.createElement("environment");
450 errors |= appendFoundJars(hashNode, factory, v, keyStr);
463 Element node = factory.createElement("item");
465 node.appendChild(factory
505 appendFoundJars(Node container, Document factory, Vector v, String desc) argument
[all...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DExternalVideoSurfaceContainer.java95 public static void setFactory(Factory factory) { argument
96 sFactory = factory;
/external/chromium_org/athena/activity/
H A Dactivity_factory.cc18 void ActivityFactory::RegisterActivityFactory(ActivityFactory* factory) { argument
20 instance = factory;
H A Dactivity_manager_unittest.cc19 ActivityFactory* factory = ActivityFactory::Get(); local
22 factory->CreateWebActivity(NULL, base::string16(), GURL());
31 factory->CreateWebActivity(NULL, base::string16(), GURL());
44 ActivityFactory* factory = ActivityFactory::Get(); local
47 factory->CreateWebActivity(NULL, base::string16(), GURL());
49 factory->CreateWebActivity(NULL, base::string16(), GURL());
/external/chromium_org/athena/main/
H A Dplaceholder.cc19 athena::ActivityFactory* factory = athena::ActivityFactory::Get(); local
21 athena::Activity* activity = factory->CreateWebActivity(
/external/chromium_org/base/memory/
H A Dweak_ptr_unittest.cc55 TargetWithFactory() : factory(this) {}
56 WeakPtrFactory<Target> factory; member in struct:base::__anon2363::TargetWithFactory
189 WeakPtrFactory<int> factory(&data);
190 WeakPtr<int> ptr = factory.GetWeakPtr();
196 WeakPtrFactory<int> factory(&data);
197 WeakPtr<int> ptr = factory.GetWeakPtr();
207 WeakPtrFactory<int> factory(&data);
208 ptr = factory.GetWeakPtr();
217 WeakPtrFactory<int> factory(&data);
218 a = factory
[all...]
/external/chromium_org/base/message_loop/
H A Dmessage_loop.cc212 bool MessageLoop::InitMessagePumpForUIFactory(MessagePumpFactory* factory) { argument
216 message_pump_for_ui_factory_ = factory;
H A Dmessage_loop_test.cc88 void RunTest_PostTask(MessagePumpFactory factory) { argument
89 scoped_ptr<MessagePump> pump(factory());
117 void RunTest_PostDelayedTask_Basic(MessagePumpFactory factory) { argument
118 scoped_ptr<MessagePump> pump(factory());
140 void RunTest_PostDelayedTask_InDelayOrder(MessagePumpFactory factory) { argument
141 scoped_ptr<MessagePump> pump(factory());
165 void RunTest_PostDelayedTask_InPostOrder(MessagePumpFactory factory) {
166 scoped_ptr<MessagePump> pump(factory());
195 void RunTest_PostDelayedTask_InPostOrder_2(MessagePumpFactory factory) {
196 scoped_ptr<MessagePump> pump(factory());
364 RunTest_Nesting(MessagePumpFactory factory) argument
472 RunTest_RecursiveDenial1(MessagePumpFactory factory) argument
519 RunTest_RecursiveDenial3(MessagePumpFactory factory) argument
560 RunTest_RecursiveSupport1(MessagePumpFactory factory) argument
593 RunTest_NonNestableWithNoNesting(MessagePumpFactory factory) argument
634 RunTest_NonNestableInNestedLoop(MessagePumpFactory factory, bool use_delayed) argument
703 RunTest_QuitNow(MessagePumpFactory factory) argument
738 RunTest_RunLoopQuitTop(MessagePumpFactory factory) argument
768 RunTest_RunLoopQuitNested(MessagePumpFactory factory) argument
798 RunTest_RunLoopQuitBogus(MessagePumpFactory factory) argument
831 RunTest_RunLoopQuitDeep(MessagePumpFactory factory) argument
900 RunTest_RunLoopQuitOrderBefore(MessagePumpFactory factory) argument
921 RunTest_RunLoopQuitOrderDuring(MessagePumpFactory factory) argument
948 RunTest_RunLoopQuitOrderAfter(MessagePumpFactory factory) argument
1005 RunTest_RecursivePosts(MessagePumpFactory factory) argument
[all...]

Completed in 639 milliseconds

1234567891011>>