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

1 2

  /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.
24 /// ManagedStringPool - The strings allocated from a managed string pool are
25 /// owned by the string pool and will be deleted together with the managed
26 /// string pool.
28 SmallVector<std::string *, 8> Pool;
33 SmallVector<std::string *, 8>::iterator Current = Pool.begin();
34 while (Current != Pool.end())
    [all...]
  /external/clang/tools/libclang/
CXString.cpp 117 for (std::vector<CXStringBuf *>::iterator I = Pool.begin(), E = Pool.end();
124 if (Pool.empty())
127 CXStringBuf *Buf = Pool.back();
129 Pool.pop_back();
138 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).
40 /// StringPool - An interned string pool. Use the intern method to add a
44 /// PooledString - This is the value of an entry in the pool's interning
47 StringPool *Pool; ///< So the string can remove itself.
51 PooledString() : Pool(0), Refcount(0) { }
64 /// intern - Adds a string to the pool and returns a reference-counte
    [all...]
  /developers/samples/android/common/src/com/example/android/common/
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/BasicMultitouch/src/main/java/com/example/android/common/
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...]
  /frameworks/base/core/java/android/util/
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...]
  /frameworks/compile/mclinker/unittests/
StringTableTest.cpp 22 StrSymPool* Pool = new StrSymPool(1, 1, *R);
23 m_pTestee = new StringTable(*Pool);
  /packages/apps/Gallery2/src/android/util/
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...]
  /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)
  /packages/apps/Gallery2/src/com/android/photos/data/
SparseArrayBitmapPool.java 22 import android.util.Pools.Pool;
31 private Pool<Node> mNodePool;
43 public SparseArrayBitmapPool(int capacityBytes, Pool<Node> nodePool) {
71 // Remove the node from its spot in the list of pool nodes
BitmapDecoder.java 22 import android.util.Pools.Pool;
33 * BitmapDecoder keeps a pool of temporary storage to reuse for decoding
46 private static final Pool<BitmapFactory.Options> sOptions =
60 GalleryBitmapPool pool = GalleryBitmapPool.getInstance(); local
61 Bitmap reuseBitmap = pool.get(opts.outWidth, opts.outHeight);
65 pool.put(reuseBitmap);
87 GalleryBitmapPool pool = GalleryBitmapPool.getInstance(); local
88 Bitmap reuseBitmap = pool.get(opts.outWidth, opts.outHeight);
92 pool.put(reuseBitmap);
GalleryBitmapPool.java 21 import android.util.Pools.Pool;
39 private Pool<Node> mSharedNodePool = new SynchronizedPool<Node>(128);
100 SparseArrayBitmapPool pool = getPoolForDimensions(width, height); local
101 if (pool == null) {
104 return pool.get(width, height);
112 SparseArrayBitmapPool pool = getPoolForDimensions(b.getWidth(), b.getHeight()); local
113 if (pool == null) {
117 return pool.put(b);
  /frameworks/base/core/java/android/view/
InputQueue.java 24 import android.util.Pools.Pool;
37 private final Pool<ActiveInputEvent> mActiveInputEventPool =
  /cts/tools/utils/
buildCts.py 26 from multiprocessing import Pool
77 pool = Pool(processes=2)
80 pool.apply_async(GenerateSignatureCheckDescription, [self.test_repository])
84 pool.close()
85 pool.join()
  /external/llvm/lib/TableGen/
Record.cpp 459 typedef FoldingSet<BitsInit> Pool;
460 static Pool ThePool;
561 typedef DenseMap<int64_t, IntInit *> Pool;
562 static Pool ThePool;
589 typedef StringMap<StringInit *> Pool;
590 static Pool ThePool;
611 typedef FoldingSet<ListInit> Pool;
612 static Pool ThePool;
730 typedef DenseMap<Key, UnOpInit *> Pool;
731 static Pool ThePool;
    [all...]
  /external/libvpx/libvpx/vp8/common/arm/armv6/
dc_only_idct_add_v6.asm 68 ; Constant Pool
dequant_idct_v6.asm 185 ; Constant Pool
iwalsh_v6.asm 134 ; Constant Pool
  /external/clang/lib/Sema/
IdentifierResolver.cpp 41 IdDeclInfo Pool[POOL_SIZE];
436 IdDeclInfo *IDI = &CurPool->Pool[CurIndex];
  /external/webkit/Tools/Scripts/
run-qtwebkit-tests 190 from multiprocessing import Pool
196 class Pool(object):
197 """ A hack, created to avoid problems with multiprocessing module, this class is single thread replacement for the multiprocessing.Pool class. """
207 self._Pool = Pool
238 """ Executes given files by using a pool of workers. """
241 self.debug("Using %s the workers pool, number of workers %i", repr(workers), self._options.parallel_level)
  /external/libvpx/libvpx/vp8/common/arm/neon/
dequant_idct_neon.asm 127 ; Constant Pool
  /external/ppp/pppd/plugins/radius/etc/
dictionary.ascend 40 ATTRIBUTE Ascend-Assign-IP-Global-Pool 146 string
42 ATTRIBUTE Ascend-DHCP-Pool-Number 148 integer
111 ATTRIBUTE Ascend-IP-Pool-Definition 217 string
112 ATTRIBUTE Ascend-Assign-IP-Pool 218 integer
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
gjslint.py 93 pool = multiprocessing.Pool()
95 for results in pool.imap(_CheckPath, paths):
99 pool.close()
100 pool.join()

Completed in 525 milliseconds

1 2