Searched defs:factory (Results 1 - 25 of 568) 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-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpDec.java30 * @param factory factory linked to this instance
32 protected DfpDec(final DfpField factory) { argument
33 super(factory);
37 * @param factory factory linked to this instance
40 protected DfpDec(final DfpField factory, byte x) { argument
41 super(factory, x);
45 * @param factory factory linke
48 DfpDec(final DfpField factory, int x) argument
56 DfpDec(final DfpField factory, long x) argument
64 DfpDec(final DfpField factory, double x) argument
81 DfpDec(final DfpField factory, final String s) argument
92 DfpDec(final DfpField factory, final byte sign, final byte nans) argument
[all...]
/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/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
H A DRandomAccessFileInputStreamFactoryTest.java37 private RandomAccessFileInputStreamFactory factory = null; field in class:RandomAccessFileInputStreamFactoryTest
61 factory = new RandomAccessFileInputStreamFactory(tempFile, 0, testData.length);
75 RandomAccessFileInputStream rafis1 = factory.newStream();
76 RandomAccessFileInputStream rafis2 = factory.newStream();
/external/autotest/contrib/
H A Dprint_host_labels.py9 from autotest_lib.server.hosts import factory namespace
15 host = factory.create_host(sys.argv[1])
/external/autotest/frontend/client/src/autotest/afe/
H A DAfeUtils.java35 public static final ClassFactory factory = new SiteClassFactory(); field in class:AfeUtils
/external/autotest/frontend/client/src/autotest/common/
H A DUtils.java311 public static <T> List<T> createList(JSONArray objects, JsonObjectFactory<T> factory) { argument
314 list.add(factory.fromJsonObject(object));
/external/autotest/frontend/client/src/autotest/tko/
H A DTkoUtils.java25 public static final ClassFactory factory = new SiteClassFactory(); field in class:TkoUtils
H A DWidgetList.java23 private ListWidgetFactory<T> factory; field in class:WidgetList
28 public WidgetList(ListWidgetFactory<T> factory) { argument
29 this.factory = factory;
32 for (String type : factory.getWidgetTypes()) {
58 T widget = factory.getNewWidget(addLink.getText());

Completed in 624 milliseconds

1234567891011>>