Lines Matching defs:factory

384     // Release the reference to the factory
1542 * symbol, calls the routine to create a new factory and returns it to the
1545 * No attempt is made to store the factory in any form anywhere.
1560 ("nsComponentManager: FAILED to load factory from %s (%s)\n",
1615 * Given a classID, this finds the factory for this CID by first searching the
1616 * local CID<->factory mapping. Next it searches for a Dll that implements
1617 * this classID and calls LoadFactory() to create the factory.
1619 * Again, no attempt is made at storing the factory.
1663 nsCOMPtr<nsIFactory> factory;
1677 rv = FindFactory(aClass, getter_AddRefs(factory));
1680 rv = factory->QueryInterface(aIID, aResult);
1696 nsCOMPtr<nsIFactory> factory;
1707 rv = FindFactory(contractID, strlen(contractID), getter_AddRefs(factory));
1710 rv = factory->QueryInterface(aIID, aResult);
1825 * to the implementation aClass using the factory. The factory is immediately
1871 nsIFactory *factory = nsnull;
1872 nsresult rv = entry->GetFactory(&factory, this);
1876 rv = factory->CreateInstance(aDelegate, aIID, aResult);
1877 NS_RELEASE(factory);
1952 nsIFactory *factory = nsnull;
1953 nsresult rv = entry->GetFactory(&factory, this);
1958 rv = factory->CreateInstance(aDelegate, aIID, aResult);
1959 NS_RELEASE(factory);
2097 NS_ASSERTION(entry, "we should have a factory entry since CI succeeded - we should not get here");
2112 // check to see if we have a factory entry for the service
2172 // check to see if we have a factory entry for the service
2395 NS_ASSERTION(entry, "we should have a factory entry since CI succeeded - we should not get here");
2585 * Register a factory to be responsible for creation of implementation of
2934 nsIFactory* factory;
2953 (data->factory && data->factory == factoryEntry->mFactory.get())))
2965 aData.factory = nsnull;
2971 nsComponentManagerImpl::DeleteContractIDEntriesByCID(const nsCID* aClass, nsIFactory* factory)
2976 aData.factory = factory;