/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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
RenderableProvider.java | 21 import com.badlogic.gdx.utils.Pool;
26 /** Returns {@link Renderable} instances. Renderables are obtained from the provided {@link Pool} and added to the provided
27 * array. The Renderables obtained using {@link Pool#obtain()} will later be put back into the pool, do not store them
30 * @param pool the pool to obtain Renderables from */
31 public void getRenderables (Array<Renderable> renderables, Pool<Renderable> pool);
|
/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 : Pool(A), Prefix(Prefix), 24 auto I = Pool.insert(std::make_pair(Str, EntryTy())); 27 Entry.Index = Pool.size() - 1; 39 if (Pool.empty()) 45 // Get all of the string pool entries and put them in an array by their ID so 47 SmallVector<const StringMapEntry<EntryTy> *, 64> Entries(Pool.size()); 49 for (const auto &E : Pool)
|
DwarfStringPool.h | 30 StringMap<EntryTy, BumpPtrAllocator &> Pool; 43 bool empty() const { return Pool.empty(); } 45 /// Get a reference to an entry in the string pool.
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
Pools.java | 19 /** Stores a map of {@link Pool}s (usually {@link ReflectionPool}s) by type for convenient static access.
22 static private final ObjectMap<Class, Pool> typePools = new ObjectMap();
24 /** Returns a new or existing pool for the specified type, stored in a Class to {@link Pool} map. Note the max size is ignored
25 * if this is not the first time this pool has been requested. */
26 static public <T> Pool<T> get (Class<T> type, int max) {
27 Pool pool = typePools.get(type);
local 28 if (pool == null) {
29 pool = new ReflectionPool(type, 4, max); 54 Pool pool = typePools.get(object.getClass()); local 69 Pool pool = null; local [all...] |
Pool.java | 19 /** A pool of objects that can be reused to avoid allocation.
22 abstract public class Pool<T> {
30 /** Creates a pool with an initial capacity of 16 and no maximum. */
31 public Pool () {
35 /** Creates a pool with the specified initial capacity and no maximum. */
36 public Pool (int initialCapacity) {
40 /** @param max The maximum number of free objects to store in this pool. */
41 public Pool (int initialCapacity, int max) {
48 /** Returns an object from this pool. The object may be new (from {@link #newObject()}) or reused (previously
54 /** Puts the specified object in the pool, making it eligible to be returned by {@link #obtain()}. If the pool already contains [all...] |
/external/llvm/unittests/Support/ |
ThreadPool.cpp | 93 ThreadPool Pool; 95 Pool.async([this, &checked_in, i] { 102 Pool.wait(); 113 ThreadPool Pool; 115 Pool.async(TestFunc, std::ref(checked_in), i); 117 Pool.wait(); 123 ThreadPool Pool; 125 Pool.async([this, &i] { 129 Pool.async([&i] { ++i; }); 132 Pool.wait() [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/extras/com/badlogic/gdx/physics/bullet/extras/ |
Extras.java | 24 /** Pool of Vector3, used by native (callback) method for the arguments */ 25 public final static com.badlogic.gdx.utils.Pool<Vector3> poolVector3 = new com.badlogic.gdx.utils.Pool<Vector3>() { 35 /** Pool of Quaternion, used by native (callback) method for the arguments */ 36 public final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.Pool<Quaternion>() { 46 /** Pool of Matrix3, used by native (callback) method for the arguments */ 47 public final static com.badlogic.gdx.utils.Pool<Matrix3> poolMatrix3 = new com.badlogic.gdx.utils.Pool<Matrix3>() { 57 /** Pool of Matrix4, used by native (callback) method for the arguments * [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
Action.java | 21 import com.badlogic.gdx.utils.Pool;
22 import com.badlogic.gdx.utils.Pool.Poolable;
33 private Pool pool;
field in class:Action 48 * When set to null, if the action has a {@link #setPool(Pool) pool} then the action is {@link Pool#free(Object) returned} to
49 * the pool (which calls {@link #reset()}) and the pool is set to null. If the action does not have a pool, {@link #reset()} is [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/ |
Dynamics.java | 23 /** Pool of Vector3, used by native (callback) method for the arguments */ 24 public final static com.badlogic.gdx.utils.Pool<Vector3> poolVector3 = new com.badlogic.gdx.utils.Pool<Vector3>() { 34 /** Pool of Quaternion, used by native (callback) method for the arguments */ 35 public final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.Pool<Quaternion>() { 45 /** Pool of Matrix3, used by native (callback) method for the arguments */ 46 public final static com.badlogic.gdx.utils.Pool<Matrix3> poolMatrix3 = new com.badlogic.gdx.utils.Pool<Matrix3>() { 56 /** Pool of Matrix4, used by native (callback) method for the arguments * [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
ParticleEffectPool.java | 20 import com.badlogic.gdx.utils.Pool;
22 public class ParticleEffectPool extends Pool<PooledEffect> {
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/ |
RunnableAction.java | 20 import com.badlogic.gdx.utils.Pool;
39 Pool pool = getPool();
local 40 setPool(null); // Ensure this action can't be returned to the pool inside the runnable.
44 setPool(pool);
|
/external/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...] |
/prebuilts/go/darwin-x86/src/sync/ |
pool_test.go | 5 // Pool is no-op under race detector, so all these tests do not work. 22 var p Pool 51 p := Pool{ 72 // Test that Pool does not hold pointers to previously cached resources. 77 // Test that Pool releases resources on GC. 83 var p Pool 118 var p Pool 142 var p Pool 152 var p Pool
|
pool.go | 13 // A Pool is a set of temporary objects that may be individually saved and 16 // Any item stored in the Pool may be removed automatically at any time without 17 // notification. If the Pool holds the only reference when this happens, the 20 // A Pool is safe for use by multiple goroutines simultaneously. 22 // Pool's purpose is to cache allocated but unused items for later reuse, 27 // An appropriate use of a Pool is to manage a group of temporary items 29 // clients of a package. Pool provides a way to amortize allocation overhead 32 // An example of good use of a Pool is in the fmt package, which maintains a 38 // not a suitable use for a Pool, since the overhead does not amortize well in 42 type Pool struct [all...] |
/prebuilts/go/linux-x86/src/sync/ |
pool_test.go | 5 // Pool is no-op under race detector, so all these tests do not work. 22 var p Pool 51 p := Pool{ 72 // Test that Pool does not hold pointers to previously cached resources. 77 // Test that Pool releases resources on GC. 83 var p Pool 118 var p Pool 142 var p Pool 152 var p Pool
|
pool.go | 13 // A Pool is a set of temporary objects that may be individually saved and 16 // Any item stored in the Pool may be removed automatically at any time without 17 // notification. If the Pool holds the only reference when this happens, the 20 // A Pool is safe for use by multiple goroutines simultaneously. 22 // Pool's purpose is to cache allocated but unused items for later reuse, 27 // An appropriate use of a Pool is to manage a group of temporary items 29 // clients of a package. Pool provides a way to amortize allocation overhead 32 // An example of good use of a Pool is in the fmt package, which maintains a 38 // not a suitable use for a Pool, since the overhead does not amortize well in 42 type Pool struct [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Bresenham2.java | 20 import com.badlogic.gdx.utils.Pool;
30 private final Pool<GridPoint2> pool = new Pool<GridPoint2>() {
field in class:Bresenham2 52 pool.freeAll(points);
54 return line(startX, startY, endX, endY, pool, points);
62 * @param pool the pool from which GridPoint2 instances are fetched
65 public Array<GridPoint2> line (int startX, int startY, int endX, int endY, Pool<GridPoint2> pool, Array<GridPoint2> output) { [all...] |
/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). 39 /// StringPool - An interned string pool. Use the intern method to add a 43 /// PooledString - This is the value of an entry in the pool's interning 46 StringPool *Pool; ///< So the string can remove itself. 50 PooledString() : Pool(nullptr), Refcount(0) { } 63 /// intern - Adds a string to the pool and returns a reference-counte [all...] |
/external/llvm/include/llvm/CodeGen/PBQP/ |
CostAllocator.h | 38 PoolEntry(ValuePool &Pool, ValueKeyT Value) 39 : Pool(Pool), Value(std::move(Value)) {} 40 ~PoolEntry() { Pool.removeEntry(this); } 43 ValuePool &Pool;
|
/external/clang/tools/libclang/ |
CXString.cpp | 130 for (std::vector<CXStringBuf *>::iterator I = Pool.begin(), E = Pool.end(); 137 if (Pool.empty()) 140 CXStringBuf *Buf = Pool.back(); 142 Pool.pop_back(); 151 TU->StringPool->Pool.push_back(this);
|
/external/chromium-trace/catapult/catapult_base/catapult_base/refactor/ |
__init__.py | 28 return multiprocessing.Pool().map(transform, file_paths)
|