HomeSort by: relevance | last modified time | path
    Searched refs:Factory (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
BlockCounter.h 40 class Factory {
43 Factory(llvm::BumpPtrAllocator& Alloc);
44 ~Factory();
52 friend class Factory;
ProgramStateTrait.h 48 /// Declares a factory for objects of type \p Type in the program state
49 /// manager. The type must provide a ::Factory sub-class. Commonly used for
88 /// Declares an immutable map type \p Name and registers the factory
112 /// Declares an immutable set type \p Name and registers the factory
135 /// Declares an immutable list of type \p Name and registers the factory
148 using context_type = typename data_type::Factory &;
180 return *((typename data_type::Factory *) p);
184 return new typename data_type::Factory(Alloc);
188 delete (typename data_type::Factory *) Ctx;
196 using context_type = typename data_type::Factory &
    [all...]
RangedConstraintManager.h 65 /// New RangeSet objects can be ONLY produced by RangeSet::Factory object, which
72 class Factory;
104 // The memory is fully managed by the factory and is alive as long as the
105 // factory itself is alive.
120 class Factory {
122 Factory(BasicValueFactory &BV) : ValueFactory(BV) {}
225 // we need this factory.
244 RangeSet(Factory &F, const llvm::APSInt &From, const llvm::APSInt &To)
248 RangeSet(Factory &F, const llvm::APSInt &Point)
307 friend class Factory;
    [all...]
Environment.h 101 using FactoryTy = Environment::BindingsTy::Factory;
BasicValueFactory.h 117 llvm::ImmutableList<SVal>::Factory SValListFactory;
118 llvm::ImmutableList<const CXXBaseSpecifier *>::Factory CXXBaseListFactory;
123 // This is private because external clients should use the factory
CoreEngine.h 82 /// BCounterFactory - A factory object for created BlockCounter objects.
85 BlockCounter::Factory BCounterFactory;
101 NoteTag::Factory NoteTags;
203 NoteTag::Factory &getNoteTags() { return NoteTags; }
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
BlockCounter.cpp 53 static inline CountMap::Factory& GetFactory(void *F) {
54 return *static_cast<CountMap::Factory*>(F);
64 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) {
65 F = new CountMap::Factory(Alloc);
68 BlockCounter::Factory::~Factory() {
69 delete static_cast<CountMap::Factory*>(F);
73 BlockCounter::Factory::IncrementCount(BlockCounter BC,
82 BlockCounter::Factory::GetEmptyCounter()
    [all...]
RangeConstraintManager.cpp 109 RangeSet::ContainerType RangeSet::Factory::EmptySet{};
111 RangeSet RangeSet::Factory::add(RangeSet Original, Range Element) {
123 RangeSet RangeSet::Factory::add(RangeSet Original, const llvm::APSInt &Point) {
127 RangeSet RangeSet::Factory::getRangeSet(Range From) {
133 RangeSet RangeSet::Factory::makePersistent(ContainerType &&From) {
151 RangeSet::ContainerType *RangeSet::Factory::construct(ContainerType &&From) {
156 RangeSet RangeSet::Factory::add(RangeSet LHS, RangeSet RHS) {
275 RangeSet RangeSet::Factory::intersect(RangeSet What, llvm::APSInt Lower,
318 RangeSet RangeSet::Factory::intersect(const RangeSet::ContainerType &LHS,
401 RangeSet RangeSet::Factory::intersect(RangeSet LHS, RangeSet RHS)
    [all...]
  /src/external/bsd/zstd/dist/contrib/pzstd/utils/
ResourcePool.h 21 * A `ResourcePool<T>` requires a factory function that takes allocates `T*` and
34 using Factory = std::function<T*()>;
40 Factory factory_;
49 * @param factory The function to use to create new resources.
50 * @param free The function to use to free resources created by `factory`.
52 ResourcePool(Factory factory, Free free)
53 : factory_(std::move(factory)), free_(std::move(free)), inUse_(0) {}
57 * there are no available resources and `factory()` returns null.
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
ImmutableMap.h 77 /// should use a Factory object to create maps instead of directly
82 class Factory {
83 typename TreeTy::Factory F;
87 Factory(bool canonicalize = true) : Canonicalize(canonicalize) {}
89 Factory(BumpPtrAllocator &Alloc, bool canonicalize = true)
92 Factory(const Factory &) = delete;
93 Factory &operator=(const Factory &) = delete;
108 typename TreeTy::Factory *getTreeFactory() const
    [all...]
ImmutableSet.h 47 using Factory = ImutAVLFactory<ImutInfo>;
222 Factory *factory; member in class:llvm::ImutAVLTree
238 // Internal methods (node manipulation; used by Factory).
244 ImutAVLTree(Factory *f, ImutAVLTree* l, ImutAVLTree* r, value_type_ref v,
246 : factory(f), left(l), right(r), height(height), IsMutable(true),
268 // methods of a factory object (see below). When a tree
351 factory->Cache[factory->maskCacheIndex(computeDigest())] = next;
357 factory->freeNodes.push_back(this)
    [all...]
ImmutableList.h 61 /// of a group of lists. When the factory object is reclaimed, all lists
62 /// created by that factory are released as well.
67 using Factory = ImmutableListFactory<T>;
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/
showcase.d 62 static struct Factory
83 auto shop = Factory(bytesPerRegion);
84 return AllocatorList!(Factory, NullAllocator)(shop);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
xray-graph-diff.h 47 class Factory {
51 template <typename... Ts> Factory(Ts &... Args) : G{{Args...}} {}
xray-graph-diff.cpp 213 Expected<GraphDiffRenderer> GraphDiffRenderer::Factory::getGraphDiffRenderer() {
414 std::array<GraphRenderer::Factory, 2> Factories{
450 GraphDiffRenderer::Factory DGF(Graphs[0], Graphs[1]);
xray-graph.h 145 class Factory {
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
UninitializedObject.h 165 FieldChain::Factory &ChainFactory;
168 FieldChainInfo(FieldChain::Factory &F, FieldChain NewChain)
175 FieldChainInfo(FieldChain::Factory &F) : ChainFactory(F) {}
204 FieldChainInfo::FieldChain::Factory ChainFactory;
  /src/external/apache2/llvm/dist/clang/tools/clang-rename/
ClangRename.cpp 186 std::unique_ptr<tooling::FrontendActionFactory> Factory =
191 ExitCode = Tool.runAndSave(Factory.get());
193 ExitCode = Tool.run(Factory.get());
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
allocator_list.d 19 object factory) of type `Factory` or a factory function
47 amid concerns regarding garbage creation for the environment. When the factory
48 needs state, a `Factory` object should be used.
58 Factory = Type of a factory object that returns new allocators on a need
59 basis. For an object `sweatshop` of type `Factory`, `sweatshop(n)` should
60 return an allocator able to allocate at least `n` bytes (i.e. `Factory` must
64 minimum necessary for the next allocation. The factory object is allowed to hol
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
LiveVariables.cpp 30 llvm::ImmutableSet<const Expr *>::Factory ESetFact;
31 llvm::ImmutableSet<const VarDecl *>::Factory DSetFact;
32 llvm::ImmutableSet<const BindingDecl *>::Factory BSetFact;
206 llvm::ImmutableSet<const Expr *>::Factory &F,
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
InnerPointerChecker.cpp 245 PtrSet::Factory &F = State->getStateManager().get_context<PtrSet>();
265 PtrSet::Factory &F = State->getStateManager().get_context<PtrSet>();
Taint.cpp 135 TaintedSubRegions::Factory &F = State->get_context<TaintedSubRegions>();
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
ParsedAttr.h 681 /// A factory, from which one makes pools, from which one creates
743 AttributeFactory &Factory;
747 return Factory.allocate(size);
764 /// Create a new pool for a factory.
765 AttributePool(AttributeFactory &factory) : Factory(factory) {}
769 ~AttributePool() { Factory.reclaimPool(*this); }
774 AttributeFactory &getFactory() const { return Factory; }
777 Factory.reclaimPool(*this)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderInternals.h 203 SmallVector<ObjCMethodDecl *, 2> Factory;
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
RetainSummaryManager.h 321 void addArg(ArgEffects::Factory &af, unsigned idx, ArgEffect e) {
483 /// AF - A factory for ArgEffects objects.
484 ArgEffects::Factory AF;

Completed in 66 milliseconds

1 2