/external/clang/tools/libclang/ |
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/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...] |
/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...] |
/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;
|
/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)
|
/cts/tools/utils/ |
buildCts.py | 27 from multiprocessing import Pool 81 pool = Pool(processes=2) 84 pool.apply_async(GenerateSignatureCheckDescription, [self.test_repository]) 88 pool.close() 89 pool.join()
|
/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/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/clang/lib/Sema/ |
IdentifierResolver.cpp | 41 IdDeclInfo Pool[POOL_SIZE]; 399 IdDeclInfo *IDI = &CurPool->Pool[CurIndex];
|
/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)
|
pool.py | 2 # Module providing the `Pool` class for managing a process pool 4 # multiprocessing/pool.py 35 __all__ = ['Pool'] 51 # Constants representing the state of a pool 127 # Class representing a process pool 130 class Pool(object): 162 target=Pool._handle_workers, 171 target=Pool._handle_tasks, 179 target=Pool._handle_results [all...] |
managers.py | 50 from multiprocessing import Process, current_process, active_children, Pool, util, connection [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 38 'Event', 'Queue', 'Manager', 'Pipe', 'Pool', 'JoinableQueue' 149 def Pool(processes=None, initializer=None, initargs=()): 150 from multiprocessing.pool import ThreadPool
|
/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)
|
pool.py | 2 # Module providing the `Pool` class for managing a process pool 4 # multiprocessing/pool.py 35 __all__ = ['Pool'] 51 # Constants representing the state of a pool 127 # Class representing a process pool 130 class Pool(object): 162 target=Pool._handle_workers, 171 target=Pool._handle_tasks, 179 target=Pool._handle_results [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 38 'Event', 'Queue', 'Manager', 'Pipe', 'Pool', 'JoinableQueue' 149 def Pool(processes=None, initializer=None, initargs=()): 150 from multiprocessing.pool import ThreadPool
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_compiler.h | 45 struct memory_pool Pool;
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler.h | 45 struct memory_pool Pool;
|
/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...] |