/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/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/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...] |
/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);
|
/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/Camera2/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...] |
/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...] |
/packages/apps/Launcher3/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)
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
LineBreakIteratorPoolICU.h | 45 static WTF::ThreadSpecific<LineBreakIteratorPool>* pool = new WTF::ThreadSpecific<LineBreakIteratorPool>; local 46 return **pool; 102 typedef Vector<Entry, capacity> Pool; 103 Pool m_pool;
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
SparseArrayBitmapPool.java | 22 import android.util.Pools.Pool; 26 * Bitmap pool backed by a sparse array indexing linked lists of bitmaps 36 private Pool<Node> mNodePool; 44 // - A pool-level list (accessed by mPoolNodesHead and mPoolNodesTail) 45 // that is used for FIFO eviction of nodes when the pool gets full. 55 * @param capacityBytes Maximum capacity of the pool in bytes. 56 * @param nodePool Shared pool to use for recycling linked list nodes, or null. 58 public SparseArrayBitmapPool(int capacityBytes, Pool<Node> nodePool) { 68 * Set the maximum capacity of the pool, and if necessary trim it down to size. 99 // Unlink the node from the pool-wide list [all...] |
GalleryBitmapPool.java | 21 import android.util.Pools.Pool; 27 * Pool allowing the efficient reuse of bitmaps in order to avoid long 42 // to the pool with different non-square aspect ratios but the same width, as 55 private Pool<Node> mSharedNodePool = new SynchronizedPool<Node>(128); 104 * @return Capacity of the pool in bytes. 111 * @return Approximate total size in bytes of the bitmaps stored in the pool. 115 // might be getting and putting Bitmaps from the pool and we lock at the 116 // sub-pool level to avoid unnecessary blocking. 125 * @return Bitmap from the pool with the desired height/width or null if none available. 128 SparseArrayBitmapPool pool = getPoolForDimensions(width, height) local 144 SparseArrayBitmapPool pool = getPoolForDimensions(b.getWidth(), b.getHeight()); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
__init__.py | 51 'Event', 'Queue', 'JoinableQueue', 'Pool', 'Value', 'Array', 227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None): 229 Returns a process pool object 231 from multiprocessing.pool import Pool 232 return Pool(processes, initializer, initargs, maxtasksperchild)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
__init__.py | 51 'Event', 'Queue', 'JoinableQueue', 'Pool', 'Value', 'Array', 227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None): 229 Returns a process pool object 231 from multiprocessing.pool import Pool 232 return Pool(processes, initializer, initargs, maxtasksperchild)
|
/frameworks/base/core/java/android/view/ |
InputQueue.java | 24 import android.util.Pools.Pool; 37 private final Pool<ActiveInputEvent> mActiveInputEventPool =
|
/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);
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_rename_regs.c | 64 used = memory_pool_malloc(&c->Pool, sizeof(unsigned char) * used_length);
|
/external/chromium_org/build/android/ |
adb_install_apk.py | 68 pool = multiprocessing.Pool(len(devices)) 70 pool.map(_InstallApk, zip([options.apk] * len(devices),
|