Lines Matching defs:factory
427 ICUService::getKey(ICUServiceKey& key, UnicodeString* actualReturn, const ICUServiceFactory* factory, UErrorCode& status) const
441 // The factory list can't be modified until we're done,
443 // The cache has to stay in synch with the factory list.
447 // if factory is not null, we're calling from within the mutex,
450 XMutex mutex(&lock, factory != NULL);
472 if (factory != NULL) {
474 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) {
480 // throw new InternalError("Factory " + factory + "not registered with service: " + this);
879 ICUServiceFactory *factory = (ICUServiceFactory*)rkey;
881 if (factory != NULL && factories != NULL) {
884 if (factories->removeElement(factory)) {
889 delete factory;