Searched refs:factories_ (Results 1 – 7 of 7) sorted by relevance
35 FactoryMap::const_iterator found = factories_.find(scheme); in CreateJob()36 if (found != factories_.end()) { in CreateJob()52 FactoryMap::iterator found = factories_.find(scheme); in RegisterProtocolFactory()53 if (found != factories_.end()) { in RegisterProtocolFactory()59 factories_[scheme] = factory; in RegisterProtocolFactory()60 } else if (found != factories_.end()) { in RegisterProtocolFactory()61 factories_.erase(found); in RegisterProtocolFactory()
39 FactoryMap factories_;
81 FactoryMap::const_iterator i = factories_.find(scheme); in CreateJob()82 if (i != factories_.end()) { in CreateJob()149 if (factories_.find(scheme) != factories_.end()) in SupportsScheme()170 FactoryMap::iterator i = factories_.find(scheme); in RegisterProtocolFactory()171 if (i != factories_.end()) { in RegisterProtocolFactory()177 factories_[scheme] = factory; in RegisterProtocolFactory()178 } else if (i != factories_.end()) { // uninstall any old one in RegisterProtocolFactory()179 factories_.erase(i); in RegisterProtocolFactory()
111 FactoryMap factories_;
26 factories_.push_back(parser); in RegisterParserFactory()47 for (size_t x = 0; x < factories_.size(); ++x) { in GetParserForFile()48 if (factories_[x]->CanParse(path, buffer, amount_read)) { in GetParserForFile()49 return factories_[x]->CreateParser(path); in GetParserForFile()
35 ScopedVector<MetadataParserFactory> factories_;
106 factories_[T::function_name()] = &NewExtensionFunction<T>; in RegisterFunction()110 FactoryMap factories_; member in __anondad148a50111::FactoryRegistry335 for (FactoryMap::iterator iter = factories_.begin(); in GetAllNames()336 iter != factories_.end(); ++iter) { in GetAllNames()343 FactoryMap::iterator iter = factories_.find(name); in OverrideFunction()344 if (iter == factories_.end()) { in OverrideFunction()353 FactoryMap::iterator iter = factories_.find(name); in NewFunction()354 DCHECK(iter != factories_.end()); in NewFunction()