HomeSort by relevance Sort by last modified time
    Searched refs:Pool (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /external/llvm/lib/Target/NVPTX/
ManagedStringPool.h 1 //===-- ManagedStringPool.h - Managed String Pool ---------------*- C++ -*-===//
10 // The strings allocated from a managed string pool are owned by the string
11 // pool and will be deleted together with the managed string pool.
23 /// ManagedStringPool - The strings allocated from a managed string pool are
24 /// owned by the string pool and will be deleted together with the managed
25 /// string pool.
27 SmallVector<std::string *, 8> Pool;
32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin();
33 while (Current != Pool.end())
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
AddressPool.cpp 22 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(), TLS)));
28 if (Pool.empty())
34 // Order the address pool entries by ID
35 SmallVector<const MCExpr *, 64> Entries(Pool.size());
37 for (const auto &I : Pool)
AddressPool.h 28 DenseMap<const MCSymbol *, AddressPoolEntry> Pool;
39 /// \brief Returns the index into the address pool with the given
45 bool isEmpty() { return Pool.empty(); }
DwarfStringPool.cpp 19 StringMap<std::pair<MCSymbol *, unsigned>, BumpPtrAllocator &> &Pool,
22 Pool.GetOrCreateValue(Str).getValue();
24 Entry.second = Pool.size() - 1;
31 return getEntry(Asm, Pool, Prefix, Str).first;
35 return getEntry(Asm, Pool, Prefix, Str).second;
41 if (Pool.empty())
47 // Get all of the string pool entries and put them in an array by their ID so
50 Entries(Pool.size());
52 for (const auto &E : Pool)
DwarfStringPool.h 29 StringMap<std::pair<MCSymbol *, unsigned>, BumpPtrAllocator &> Pool;
35 : Pool(A), Prefix(Prefix), SectionSymbol(Asm.GetTempSymbol(Prefix)) {}
41 /// \brief Returns the entry into the start of the pool.
44 /// \brief Returns an entry into the string pool with the given
48 /// \brief Returns the index into the string pool with the given
52 bool empty() const { return Pool.empty(); }
  /external/chromium_org/gpu/command_buffer/service/
memory_tracking.h 21 enum Pool {
28 Pool pool) = 0;
47 MemoryTypeTracker(MemoryTracker* memory_tracker, MemoryTracker::Pool pool)
49 pool_(pool),
101 MemoryTracker::Pool pool_;
  /external/chromium_org/v8/tools/testrunner/local/
pool_unittest.py 8 from pool import Pool
18 pool = Pool(3)
19 for result in pool.imap_unordered(Run, [[x] for x in range(0, 10)]):
25 pool = Pool(3)
26 for result in pool.imap_unordered(Run, [[x] for x in range(0, 12)]):
35 pool = Pool(3
    [all...]
  /external/clang/tools/libclang/
CXString.cpp 121 for (std::vector<CXStringBuf *>::iterator I = Pool.begin(), E = Pool.end();
128 if (Pool.empty())
131 CXStringBuf *Buf = Pool.back();
133 Pool.pop_back();
142 TU->StringPool->Pool.push_back(this);
CXString.h 71 /// \brief A string pool used for fast allocation/deallocation of strings.
79 std::vector<CXStringBuf *> Pool;
90 /// \brief Return this buffer to the pool.
96 /// \brief Returns true if the CXString data is managed by a pool.
  /external/llvm/lib/Support/
StringPool.cpp 1 //===-- StringPool.cpp - Interned string pool -----------------------------===//
31 S->getValue().Pool = this;
  /external/llvm/include/llvm/Support/
StringPool.h 1 //===-- StringPool.h - Interned string pool ---------------------*- C++ -*-===//
10 // This file declares an interned string pool, which helps reduce the cost of
15 // StringPool Pool;
16 // PooledStringPtr Str = Pool.intern("wakka wakka");
25 // strings in the string pool are reference-counted (automatically).
41 /// StringPool - An interned string pool. Use the intern method to add a
45 /// PooledString - This is the value of an entry in the pool's interning
48 StringPool *Pool; ///< So the string can remove itself.
52 PooledString() : Pool(nullptr), Refcount(0) { }
65 /// intern - Adds a string to the pool and returns a reference-counte
    [all...]
  /external/chromium_org/content/common/gpu/
gpu_memory_tracking.cc 29 gpu::gles2::MemoryTracker::Pool tracking_pool) {
gpu_memory_tracking.h 25 gpu::gles2::MemoryTracker::Pool tracking_pool);
gpu_memory_manager.h 136 gpu::gles2::MemoryTracker::Pool tracking_pool);
  /developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /developers/samples/android/common/src/java/com/example/android/common/util/
Pools.java 26 * The object pool pattern provided by the {@link Pool} interface facilitates
29 * improvement, as objects are only created once and returned to the Pool when
31 * {@link Pools} keep track of these unused objects. An object pool provides two
34 * <li><b>{@link Pool#acquire()}:</b> Returns an used object if one is
36 * <li><b> {@link Pool#release(Object)}:</b> Adds the given object to the pool,
40 * This class contains the interface defining a {@link Pool}, an implementation
41 * based on a fixed length array ({@link SimplePool}) and a synchronized pool
69 * Interface for managing a pool of objects
    [all...]
  /developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /external/lldb/source/Core/
ConstString.cpp 17 class Pool
29 Pool () :
38 ~Pool ()
120 // Make string pool entry with the mangled counterpart already set
154 size_t mem_size = sizeof(Pool);
179 // initializers so we hide the string pool in a static function so
183 // Note, for now we make the string pool a pointer to the pool, because
186 // touch ConstStrings is difficult. So we leak the pool instead.
192 static Pool
    [all...]
  /cts/suite/audio_quality/test_description/processing/
calc_delay.py 24 from multiprocessing import Pool
53 pool = Pool(processes = 4)
55 result = pool.map(convolutionstar, TASK)
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
radeon_rename_regs.c 64 used = memory_pool_malloc(&c->Pool, sizeof(unsigned char) * used_length);
radeon_variable.c 280 memory_pool_malloc(&c->Pool, sizeof(struct rc_variable));
308 rc_list_add(variable_list, rc_list(&variable->C->Pool, variable));
436 rc_list_add(&list, rc_list(&var->C->Pool, a));
484 rc_list_add(&writer_list, rc_list(&var->C->Pool, var));
489 rc_list(&var->C->Pool, friend));
  /external/chromium_org/tools/flakiness/
is_flaky.py 38 pool = multiprocessing.dummy.Pool(processes=options.jobs)
41 results = pool.map(run_test, args)
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_rename_regs.c 64 used = memory_pool_malloc(&c->Pool, sizeof(unsigned char) * used_length);
radeon_variable.c 280 memory_pool_malloc(&c->Pool, sizeof(struct rc_variable));
308 rc_list_add(variable_list, rc_list(&variable->C->Pool, variable));
436 rc_list_add(&list, rc_list(&var->C->Pool, a));
484 rc_list_add(&writer_list, rc_list(&var->C->Pool, var));
489 rc_list(&var->C->Pool, friend));

Completed in 681 milliseconds

1 2 3 4