Lines Matching refs:factory
254 /** Indicates if the structure was made by a factory, in which
255 * case only the factory can free the memory for the actual vector,
282 * in the vector factory when closed.
303 /** Consumers from the factory can release a factory produced vector
304 * back to the factory so that it may be reused (and thus conserve memory)
306 * the only vectors avaible in the free chain are produced by this factory, so they
307 * need not be explicitly freed when the factory is closed.
311 /** Function to close the vector factory
313 void (*close) (struct ANTLR3_VECTOR_FACTORY_struct * factory);
317 pANTLR3_VECTOR (*newVector) (struct ANTLR3_VECTOR_FACTORY_struct * factory);
319 /// Function to return a vector to the factory for reuse
321 void (*returnVector) (struct ANTLR3_VECTOR_FACTORY_struct * factory, pANTLR3_VECTOR vector);